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
38ff49ddbff5168b34801ba085d2f5cb6fb070d0
491
ex
Elixir
web/controllers/article_controller.ex
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
web/controllers/article_controller.ex
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
web/controllers/article_controller.ex
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
defmodule MarcCx.ArticleController do use MarcCx.Web, :controller alias MarcCx.Article plug :action def index(conn, %{"slug" => slug}) do case Article.get_article(slug) do {:ok, article} -> assigns = %{ content: article.html, title: article.title } render...
21.347826
47
0.578411
38ff629d24cfb4c837a73d5959fc0ea00ded1951
485
exs
Elixir
mix.exs
shawnonthenet/making_paper
ca1185e2565e4adcc5ca31b4c6d5ffaba6e4d122
[ "BSD-3-Clause" ]
null
null
null
mix.exs
shawnonthenet/making_paper
ca1185e2565e4adcc5ca31b4c6d5ffaba6e4d122
[ "BSD-3-Clause" ]
null
null
null
mix.exs
shawnonthenet/making_paper
ca1185e2565e4adcc5ca31b4c6d5ffaba6e4d122
[ "BSD-3-Clause" ]
null
null
null
defmodule MakingPaper.Mixfile do use Mix.Project def project do [ app: :making_paper, version: "0.3.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
17.321429
59
0.581443
38ff789bc461b2e7e217bb4413035c70ff32b3f6
573
exs
Elixir
test/views/error_view_test.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
defmodule MediaBot.ErrorViewTest do use MediaBot.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(MediaBot.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" ...
26.045455
66
0.678883
38ff98be952601966182774689990414cef79379
8,983
ex
Elixir
test/support/stripe_api_test_response.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/support/stripe_api_test_response.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/support/stripe_api_test_response.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.StripeApiTestReponse do def create_coupon_resp() do {:ok, %Stripe.Coupon{ amount_off: nil, created: 1_558_341_692, currency: nil, deleted: nil, duration: "forever", duration_in_months: nil, id: "61XDdQ9D", livemode: false, max_r...
28.51746
82
0.503841
38ffa40673f84a9017ab8bab3157974ecc6093f1
2,544
ex
Elixir
lib/ex_unit/lib/ex_unit/event_manager.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/ex_unit/lib/ex_unit/event_manager.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/ex_unit/lib/ex_unit/event_manager.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.EventManager do @moduledoc false @timeout 30000 @typep manager :: {supervisor_manager :: pid, event_manager :: pid} @doc """ Starts an event manager that publishes events during the suite run. This is what power formatters as well as the internal statistics server for ExUnit. """ @...
28.266667
89
0.676494
38fff412152efdfea252e40d22f0d2b42f32790f
1,524
ex
Elixir
lib/ex_hl7/segment/default/spm.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
lib/ex_hl7/segment/default/spm.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
lib/ex_hl7/segment/default/spm.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
defmodule HL7.Segment.Default.SPM do @moduledoc "7.4.3 SPM - Specimen Segment" use HL7.Segment.Spec require HL7.Composite.Default.CQ, as: CQ require HL7.Composite.Default.CWE, as: CWE require HL7.Composite.Default.DR, as: DR require HL7.Composite.Default.EIP, as: EIP segment "SPM" do field :set_id, ...
56.444444
97
0.617454
ac001b6787e8e4adfc93c1d870fb6d01467b877e
170
exs
Elixir
exercises/02-higher-order-functions/01-first-class-functions/02-receiving-functions-as-parameter-2/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/02-higher-order-functions/01-first-class-functions/02-receiving-functions-as-parameter-2/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/02-higher-order-functions/01-first-class-functions/02-receiving-functions-as-parameter-2/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
defmodule Functions do def nest(functions, 0, number), do: number def nest(functions, times, number) do nest(functions, (times-1), functions.(number)) end end
21.25
50
0.705882
ac0022888f559d6cd0a6d265ed3665d8b1296e2b
373
exs
Elixir
priv/repo/migrations/20210506222834_create_likes.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
1
2020-01-04T11:24:44.000Z
2020-01-04T11:24:44.000Z
priv/repo/migrations/20210506222834_create_likes.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20210506222834_create_likes.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.Repo.Migrations.CreatePostLikes do use Ecto.Migration def change do create table(:likes, primary_key: false) do add(:id, :uuid, primary_key: true) add(:liked_id, :integer) add(:user_id, references(:users, type: :uuid, on_delete: :delete_all)) timestamps() end c...
23.3125
76
0.670241
ac0034dba7bec6e9f6258f80d248101c9645769c
345
exs
Elixir
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/priv/repo/seeds.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/priv/repo/seeds.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/priv/repo/seeds.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Ehlo.Repo.insert!(%Ehlo.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail ...
28.75
61
0.701449
ac003b0a56ed11c6219a55f90f01ebea723c0651
987
ex
Elixir
widget_market_phoenix/test/support/channel_case.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/test/support/channel_case.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/test/support/channel_case.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
defmodule WidgetMarketPhoenix.Web.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...
25.973684
81
0.72847
ac0069ef25d20be6767e6ab5bddaaa7b4fd46d9e
1,751
exs
Elixir
clients/vault/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
26.134328
96
0.645346
ac009ce7233bf34e868bfd2b68dd1171d792a712
1,542
ex
Elixir
lib/earmark/helpers.ex
RichMorin/earmark
e65fcf67345c84c23d237c732e5c174246662c68
[ "Apache-1.1" ]
4
2018-12-29T18:55:20.000Z
2020-04-27T02:38:21.000Z
deps/earmark/lib/earmark/helpers.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
1
2019-01-16T02:37:43.000Z
2019-01-16T02:37:43.000Z
deps/earmark/lib/earmark/helpers.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
1
2018-12-26T01:34:24.000Z
2018-12-26T01:34:24.000Z
defmodule Earmark.Helpers do @doc """ Expand tabs to multiples of 4 columns """ def expand_tabs(line) do Regex.replace(~r{(.*?)\t}, line, &expander/2) end defp expander(_, leader) do extra = 4 - rem(String.length(leader), 4) leader <> pad(extra) end @doc """ Remove newlines at end of lin...
23.723077
85
0.595979
ac00d25de2e7c0b76f972d484944411c1f382b71
1,595
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/connection.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/connection.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/connection.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...
37.97619
95
0.73605
ac01102ea0ffd927fe726491c5a2d41ccc0e1854
1,326
exs
Elixir
sublist/sublist.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
sublist/sublist.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
sublist/sublist.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
defmodule Sublist do @doc """ Returns whether the first list is a sublist or a superlist of the second list and if not whether it is equal or unequal to the second list. """ def compare(a, b) when length(a) > length(b) do compare_internal(a, b) end def compare(a, b) when length(a) < length(b) do ...
20.4
79
0.638763
ac01258d6cf71e4900080a853b54d35a3d3e0c4b
33,105
ex
Elixir
lib/scaffolding/internal/implementation/domain_object/persistence/repo.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
lib/scaffolding/internal/implementation/domain_object/persistence/repo.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
lib/scaffolding/internal/implementation/domain_object/persistence/repo.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings <keith.brings@noizu.com> # Copyright (C) 2021 Noizu Labs Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.AdvancedScaffolding.Internal.Persi...
65.167323
198
0.660474
ac015e5b52e3ed001e675eab12b95009fa1104b8
1,144
ex
Elixir
lib/elixir_search_extractor_web/controllers/api/v1/keyword_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
lib/elixir_search_extractor_web/controllers/api/v1/keyword_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
32
2021-05-24T06:52:33.000Z
2021-07-19T05:04:40.000Z
lib/elixir_search_extractor_web/controllers/api/v1/keyword_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
defmodule ElixirSearchExtractorWeb.Api.V1.KeywordController do use ElixirSearchExtractorWeb, :controller alias ElixirSearchExtractor.SearchKeyword.SearchKeywords alias ElixirSearchExtractorWeb.Api.V1.ErrorView alias ElixirSearchExtractorWeb.Api.V1.Keywords.{DetailView, ListView} def index(conn, params) do ...
27.902439
82
0.690559
ac0164a6b7eec45a8a0965cedc644820fd975e1a
10,833
exs
Elixir
lib/elixir/test/elixir/record_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/record_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/record_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule RecordTest do use ExUnit.Case, async: true require Record doctest Record test "extract/2 extracts information from an Erlang file" do assert Record.extract(:file_info, from_lib: "kernel/include/file.hrl") == [ size: :undefined, ...
28.358639
105
0.581926
ac017d8afefe2d8180d289d467f676e88eaba299
21,291
ex
Elixir
lib/aws/generated/cloud_hsm.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/cloud_hsm.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/cloud_hsm.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.CloudHSM do @moduledoc """ AWS CloudHSM Service This is documentation for **AWS CloudHSM Classic**. For more information, see [AWS CloudHSM Classic FAQs](http://aws.amazon.com/cloudhsm/f...
56.325397
229
0.739139
ac018d7ae628e6b67f8640bcfe1ca092d81c9dc4
1,138
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/connection.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 ...
34.484848
77
0.741652
ac0194320fefe758084509daee79a8f84e0731b0
1,826
ex
Elixir
lib/fluminus/api/module/external_multimedia/child.ex
indocomsoft/fluminus
049c4fb53b76774bd738d52dcb0115b4fb008e37
[ "MIT" ]
34
2019-01-29T07:37:24.000Z
2021-08-24T03:04:43.000Z
lib/fluminus/api/module/external_multimedia/child.ex
indocomsoft/fluminus
049c4fb53b76774bd738d52dcb0115b4fb008e37
[ "MIT" ]
36
2019-02-13T09:16:03.000Z
2021-03-27T08:47:26.000Z
lib/fluminus/api/module/external_multimedia/child.ex
indocomsoft/fluminus
049c4fb53b76774bd738d52dcb0115b4fb008e37
[ "MIT" ]
4
2020-08-13T07:55:23.000Z
2020-12-16T21:32:10.000Z
defmodule Fluminus.API.Module.ExternalMultimedia.Child do @moduledoc """ Provides an abstraction over an external multimedia channel's child. """ defstruct ~w(name viewer_url client)a alias Fluminus.HTTPClient alias Fluminus.Util @type t :: %__MODULE__{name: String.t(), viewer_url: String.t(), client: ...
38.041667
105
0.657722
ac019a1a504717a38cfe2f0d13e2b793e4254de7
3,037
exs
Elixir
day15/test/day15_test.exs
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day15/test/day15_test.exs
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day15/test/day15_test.exs
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
defmodule Day15Test do use ExUnit.Case doctest Day15 test "adds turns" do state = Day15.record_turn(%{}, 1, 0) assert state == %{0 => [1]} state = Day15.record_turn(state, 2, 3) assert state == %{0 => [1], 3 => [2]} state = Day15.record_turn(state, 3, 6) assert state == %{0 => [1], 3 =>...
35.729412
77
0.580507
ac01b8c20d901ebeae1320abca7dd28869363b92
627
ex
Elixir
lib/mix/tasks/fix.ex
DenisGorbachev/ex_fixer
009e9fe69d628df526fae4cfa33eb492b94381ec
[ "MIT" ]
8
2018-07-19T21:52:56.000Z
2022-03-07T21:44:07.000Z
lib/mix/tasks/fix.ex
DenisGorbachev/ex_fixer
009e9fe69d628df526fae4cfa33eb492b94381ec
[ "MIT" ]
null
null
null
lib/mix/tasks/fix.ex
DenisGorbachev/ex_fixer
009e9fe69d628df526fae4cfa33eb492b94381ec
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Fix do use Mix.Task @shortdoc "Fix the warnings, make compiler happy" def run(args) do {opts, [], invalid} = OptionParser.parse( args, strict: [ force: :boolean ] ) if length(invalid) > 0, do: raise("Can't recognize switches: #{inspect(i...
23.222222
86
0.591707
ac01c4e750213acf296d51e9eb4e0145476f76c8
3,056
ex
Elixir
lib/exns/req.ex
walkr/exns
40379d38ce363b6f9208182dc3309529b1939fe3
[ "MIT" ]
6
2016-06-12T12:59:21.000Z
2018-09-23T06:57:42.000Z
lib/exns/req.ex
walkr/exns
40379d38ce363b6f9208182dc3309529b1939fe3
[ "MIT" ]
null
null
null
lib/exns/req.ex
walkr/exns
40379d38ce363b6f9208182dc3309529b1939fe3
[ "MIT" ]
null
null
null
defmodule Exns.Request.Worker do @moduledoc """ An `Exns.Request.Worker` is implemented as a GenServer, which is to be spawned by poolboy. Its basic function is to open a socket to the remove service (on init) then make requests via this socket. The socket is not closed after each request, but...
28.296296
103
0.52127
ac01c62aed0bd9e14df4e805807ad766575a2f16
1,028
ex
Elixir
lib/neko_caffe/application.ex
kamiyuzu/neko_caffe
84afd6559c89521ce95d27d65d2f0c3a88a92d11
[ "MIT" ]
2
2020-07-30T18:40:58.000Z
2020-08-01T00:14:05.000Z
lib/neko_caffe/application.ex
kamiyuzu/neko_caffe
84afd6559c89521ce95d27d65d2f0c3a88a92d11
[ "MIT" ]
null
null
null
lib/neko_caffe/application.ex
kamiyuzu/neko_caffe
84afd6559c89521ce95d27d65d2f0c3a88a92d11
[ "MIT" ]
1
2021-09-23T17:24:45.000Z
2021-09-23T17:24:45.000Z
defmodule NekoCaffe.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository NekoCaffe.Repo, # Start the Telemetry supervisor Nek...
29.371429
67
0.707198
ac01cb8331da263cc18bbd63d9ac130260717472
23,868
exs
Elixir
test/epicenter/cases/case_investigation_test.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/epicenter/cases/case_investigation_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/epicenter/cases/case_investigation_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Cases.CaseInvestigationTest do use Epicenter.DataCase, async: true import Euclid.Extra.Enum, only: [tids: 1] alias Epicenter.Accounts alias Epicenter.Cases alias Epicenter.Cases.CaseInvestigation alias Epicenter.ContactInvestigations alias Epicenter.Test alias Epicenter.Test.AuditL...
41.151724
150
0.686149
ac01f96acdb47ab0ef96f47dad8fbea4d8690a11
150
ex
Elixir
web/controllers/page_controller.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
defmodule HardThingRule.PageController do use HardThingRule.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18.75
41
0.753333
ac01ff7453d6fdf17b36404dedb97b7b8aedb1f7
1,650
exs
Elixir
elixir/pangram/pangram_test.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/pangram/pangram_test.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/pangram/pangram_test.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("pangram.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule PangramTest do use ExUnit.Case #@tag :pending test "empty sentence" do refute Pangram.pangram?("") end test "pangram with only lower ca...
26.612903
100
0.713939
ac02242ce6e05922ef442ff6173245248ede250f
51
ex
Elixir
lib/ueberauth_ibmid.ex
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
lib/ueberauth_ibmid.ex
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
lib/ueberauth_ibmid.ex
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
defmodule UeberauthIBMId do @moduledoc false end
12.75
27
0.823529
ac02313c046239eca6c65802bb1da910df35f61d
1,862
ex
Elixir
lib/banchan_web/live/auth_live/login_live.ex
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/live/auth_live/login_live.ex
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/live/auth_live/login_live.ex
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule BanchanWeb.LoginLive do @moduledoc """ Account Login """ use BanchanWeb, :surface_view alias Surface.Components.Form alias BanchanWeb.Components.Form.{Checkbox, EmailInput, Submit, TextInput} alias BanchanWeb.Components.Layout alias BanchanWeb.Endpoint @impl true def mount(_params, sess...
26.6
93
0.604189
ac0246356d31a3c4e89a94bde0746712c9424be6
70
exs
Elixir
test/test_helper.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
test/test_helper.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
test/test_helper.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Mundum.Repo, :manual)
14
52
0.757143
ac025aab779f52b50f0952b335d79e48ffdd12da
5,711
ex
Elixir
lib/encore.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
lib/encore.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
lib/encore.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
defmodule Survey.Encore do use ExActor.Strict, export: :encore import Prelude import Ecto.Query require Ecto.Query require Logger @external_resource "data/wikitemplates/wk1.txt" @url Application.get_env(:confluence, :url) @wk1 String.strip(File.read!("data/wikitemplates/wk1.txt")) @wk1_freq String.st...
27.589372
199
0.598144
ac0265e368bee3b7a734c58199c908d855862f97
4,222
exs
Elixir
test/extensions/persistent_session/plug/cookie_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
test/extensions/persistent_session/plug/cookie_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
test/extensions/persistent_session/plug/cookie_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
defmodule PowPersistentSession.Plug.CookieTest do use ExUnit.Case doctest PowPersistentSession.Plug.Cookie alias Pow.{Plug, Plug.Session} alias Pow.Test.ConnHelpers alias PowPersistentSession.{Plug.Cookie, Store.PersistentSessionCache} alias PowPersistentSession.Test.Users.User @max_age Integer.floor_di...
34.325203
115
0.662956
ac02b2e4447aef1a23977c77f50c138320f86635
981
exs
Elixir
test/ibm_speech_to_text/result_test.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
5
2019-11-15T10:44:36.000Z
2021-05-15T21:14:49.000Z
test/ibm_speech_to_text/result_test.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
null
null
null
test/ibm_speech_to_text/result_test.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
null
null
null
defmodule IBMSpeechToText.RecognitionResultTest do use ExUnit.Case, async: true alias IBMSpeechToText.{RecognitionResult, RecognitionAlternative} test "parse response" do alternatives = [ %{ "confidence" => 0.77, "transcript" => "the marketing potential there is huge " } ] ...
25.153846
86
0.593272
ac02cee92b768e047dc1a98825ccbc5965629e6b
507
ex
Elixir
lib/reservation_book_web/views/error_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/error_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/error_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
defmodule ReservationBookWeb.ErrorView do use ReservationBookWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # t...
29.823529
61
0.74359
ac03074a51282a813956dbfdfbd2d3251644542c
79
ex
Elixir
lib/hologram/compiler/js_encoder.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/js_encoder.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/js_encoder.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defprotocol Hologram.Compiler.JSEncoder do def encode(ir, context, opts) end
19.75
42
0.797468
ac03103608589256f0df2f1172b401b7f0fa51df
732
ex
Elixir
lib/atom_tweaks/releases/note.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
lib/atom_tweaks/releases/note.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
lib/atom_tweaks/releases/note.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaks.Releases.Note do @moduledoc """ Represents a release note record. ## Fields * `description` - Markdown text of the note * `detail_url` - URL of where to get more details * `title` - Title of the release note """ use Ecto.Schema import Ecto.Changeset alias AtomTweaks.Ecto.Ma...
20.914286
61
0.680328
ac03163345ddb91f00cd9f434397502ae12433aa
10,352
ex
Elixir
lib/oli_web/controllers/open_and_free_controller.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/controllers/open_and_free_controller.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/controllers/open_and_free_controller.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
defmodule OliWeb.OpenAndFreeController do use OliWeb, :controller alias Oli.Repo alias Oli.Delivery.Sections alias Oli.Delivery.Sections.Section alias Oli.Predefined alias Oli.Authoring.Course alias Oli.Publishing alias OliWeb.Common.{Breadcrumb} alias Lti_1p3.Tool.{ContextRoles} plug :add_assigns ...
28.755556
96
0.621329
ac038f16685f6d27ad14a01d88c81c4beb81402d
2,265
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.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...
36.532258
229
0.688742
ac03c5b85737da26d104be12e57475c92fea1744
1,620
ex
Elixir
lib/mipha/topics/queries.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha/topics/queries.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha/topics/queries.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule Mipha.Topics.Queries do @moduledoc false import Ecto.Query alias Mipha.Topics.{Topic, Node} @doc """ Returns the list topics. """ @spec list_topics :: Ecto.Query.t() def list_topics, do: Topic @doc """ Returns the list nodes. """ @spec list_nodes :: Ecto.Query.t() def list_nodes, ...
24.923077
82
0.675309
ac03e0040f68f4d32ae89fdc82129dba7694530d
543
exs
Elixir
mix.exs
avitex/elixir-gitlab
ca2f3a20364d39d19a1c6dd22193090ecf5d20de
[ "MIT" ]
2
2020-05-31T19:41:35.000Z
2020-09-08T13:22:53.000Z
mix.exs
avitex/elixir-gitlab
ca2f3a20364d39d19a1c6dd22193090ecf5d20de
[ "MIT" ]
23
2020-04-15T23:37:44.000Z
2021-06-25T15:36:30.000Z
mix.exs
avitex/elixir-gitlab
ca2f3a20364d39d19a1c6dd22193090ecf5d20de
[ "MIT" ]
null
null
null
defmodule Gitlab.MixProject do use Mix.Project def project do [ app: :gitlab, version: "0.1.0", elixir: "~> 1.8", deps: deps() ] end def application do [] end defp deps do [ {:tesla, "~> 1.3.3"}, {:jason, ">= 1.0.0"}, {:typed_struct, github: "ejpc...
19.392857
81
0.526703
ac03f1667cc3e1218997620eb1e0758cb61099f1
2,367
exs
Elixir
apps/google_maps/test/google_maps_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/google_maps/test/google_maps_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/google_maps/test/google_maps_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule GoogleMapsTest do use ExUnit.Case, async: true # Needs to be 27 characters followed by = @signing_key "testtesttesttesttesttesttes=" @location_1 %{lat: 42.354199, lng: -71.07399} @location_2 %{lat: 42.34735, lng: -71.075727} # To verify signatures, you can use the online version at # https://d...
33.814286
119
0.583016
ac0414eb2444b3deaf6fd2a81496c284386a3b07
3,843
exs
Elixir
test/resource/relationships/has_many_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
test/resource/relationships/has_many_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
test/resource/relationships/has_many_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
defmodule Ash.Test.Resource.Relationshihps.HasManyTest do @moduledoc false use ExUnit.Case, async: true alias Ash.Resource.Relationships.HasMany defmacrop defposts(do: body) do quote do defmodule Post do @moduledoc false use Ash.Resource attributes do attribute :id...
28.679104
135
0.550351
ac04438152ee094956d7e772a537495da624a3d9
211
exs
Elixir
priv/repo/migrations/20200920182118_create_events.exs
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
priv/repo/migrations/20200920182118_create_events.exs
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
priv/repo/migrations/20200920182118_create_events.exs
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule Wishlist.Repo.Migrations.CreateEvents do use Ecto.Migration def change do create table(:events) do add :name, :string add :event_date, :date timestamps() end end end
15.071429
50
0.663507
ac045230d26c58e167519ea0e4dedb508ef9586f
2,218
ex
Elixir
lib/central/helpers/colour_helper.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/helpers/colour_helper.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central/helpers/colour_helper.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Central.Helpers.ColourHelper do @moduledoc """ """ alias Central.Helpers.ColourHelper defstruct red: 0, green: 0, blue: 0, alpha: 0 defp hexc(v), do: String.to_integer(v, 16) # FROM RGB # def new(r, g, b, a) when is_integer(r) do # %ColourHelper{red: r...
20.728972
60
0.51578
ac04634285e82981fbd830d5c25de2dd7b841d4d
479
ex
Elixir
lib/elixir_boilerplate_web/errors/view.ex
vraravam/elixir-boilerplate
cf50130b9d0cecbbd16e0be2fa8ff1ee71de8483
[ "BSD-3-Clause" ]
1
2019-03-30T11:40:58.000Z
2019-03-30T11:40:58.000Z
lib/elixir_boilerplate_web/errors/view.ex
vraravam/elixir-boilerplate
cf50130b9d0cecbbd16e0be2fa8ff1ee71de8483
[ "BSD-3-Clause" ]
null
null
null
lib/elixir_boilerplate_web/errors/view.ex
vraravam/elixir-boilerplate
cf50130b9d0cecbbd16e0be2fa8ff1ee71de8483
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirBoilerplateWeb.Errors.View do use Phoenix.View, root: "lib/elixir_boilerplate_web", path: "errors/templates", namespace: ElixirBoilerplateWeb def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no rende...
26.611111
113
0.728601
ac046de5ced36f6d85a74b4d13aa46a8b724ba63
1,256
exs
Elixir
apps/tai/test/tai/venues/adapters/gdax/stream/route_order_books_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/test/tai/venues/adapters/gdax/stream/route_order_books_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/venues/adapters/gdax/stream/route_order_books_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.VenueAdapters.Gdax.Stream.RouteOrderBooksTest do use ExUnit.Case, async: false alias Tai.VenueAdapters.Gdax.Stream.{ProcessOrderBook, RouteOrderBooks} @venue :venue_a @venue_symbol "BTC-USD" @product struct(Tai.Venues.Product, venue_symbol: @venue_symbol) @received_at Timex.now() setup do ...
33.052632
94
0.697452
ac047e3f7ea3cec75e3bf5c657f1fa46f68ea07f
4,207
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/binding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/binding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/binding.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.07
144
0.703352
ac049bd7d302cd303fe4a9701eb94540f5c92a85
100
exs
Elixir
test/lib/poker_hands/hand/high_card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
4
2016-09-29T05:14:55.000Z
2021-05-06T08:42:03.000Z
test/lib/poker_hands/hand/high_card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
null
null
null
test/lib/poker_hands/hand/high_card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
null
null
null
defmodule PokerHands.Hand.HighCardTest do use ExUnit.Case doctest PokerHands.Hand.HighCard end
16.666667
41
0.82
ac04b287da6403c5258f4aacacb1a947b9ef5251
11,951
ex
Elixir
lib/plausible_web/router.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible_web/router.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible_web/router.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.Router do use PlausibleWeb, :router @two_weeks_in_seconds 60 * 60 * 24 * 14 pipeline :browser do plug :accepts, ["html"] plug PlausibleWeb.Firewall plug :fetch_session plug :fetch_flash plug :put_secure_browser_headers plug PlausibleWeb.SessionTimeoutPlug, timeout_a...
43.776557
98
0.744791
ac04e2d8da37ac1bc8e134a44556757ed47e1a79
2,677
ex
Elixir
lib/andy/profiles/rover/gm_defs/being.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/profiles/rover/gm_defs/being.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/profiles/rover/gm_defs/being.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.Profiles.Rover.GMDefs.Being do @moduledoc "The GM definition for :being" alias Andy.GM.{GenerativeModelDef, Intention, Conjecture, Prediction} import Andy.GM.Utils def gm_def() do %GenerativeModelDef{ name: :being, conjectures: [ conjecture(:thriving) ], cont...
27.040404
92
0.629809
ac04e5e6feb3660ef16f8cbd1b2b1514f0a85455
35,197
exs
Elixir
lib/elixir/test/elixir/registry_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-12-18T19:20:37.000Z
2020-12-18T19:20:37.000Z
lib/elixir/test/elixir/registry_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/elixir/test/elixir/registry_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule RegistryTest do use ExUnit.Case, async: true doctest Registry, except: [:moduledoc] setup config do keys = config[:keys] || :unique partitions = config[:partitions] || 1 listeners = List.wrap(config[:listener]) opts = [keys: keys, name: con...
38.763216
101
0.536949
ac04e8ce809d4683e4ed48d94c1d701756549569
2,003
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_smart_reply_answer.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_smart_reply_answer.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_smart_reply_answer.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
37.792453
240
0.728407
ac04f029c5ad5a3fa5fa43923361103e8778b60e
3,568
ex
Elixir
lib/ueberauth/strategy/twitter/oauth.ex
hammoc-app/ueberauth_twitter
c79fa4e880839eae379010748b730152a3b58f8e
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/twitter/oauth.ex
hammoc-app/ueberauth_twitter
c79fa4e880839eae379010748b730152a3b58f8e
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/twitter/oauth.ex
hammoc-app/ueberauth_twitter
c79fa4e880839eae379010748b730152a3b58f8e
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Twitter.OAuth do @moduledoc """ OAuth1 for Twitter. Add `consumer_key` and `consumer_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Twitter.OAuth, consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), consumer_secret: System.get_env("TWITTER_CONSUMER_...
26.626866
92
0.64546
ac0503cda971bd157bc411eb3853cafd8649a94c
1,443
exs
Elixir
spec/domain/formations/services/delete_squad_request_spec.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/domain/formations/services/delete_squad_request_spec.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/domain/formations/services/delete_squad_request_spec.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
defmodule Squadster.Domain.Formations.Services.DeleteSquadRequestSpec do use ESpec.Phoenix, async: true use ESpec.Phoenix.Extend, :domain import Mockery import Mockery.Assertions alias Squadster.Accounts.Tasks.Notify alias Squadster.Formations.Services.DeleteSquadRequest alias Squadster.Formations.Squad...
30.702128
76
0.702703
ac054cc13c5c384d18d2c8a735a46ecbbe237773
13,400
ex
Elixir
lib/mix/lib/mix/compilers/elixir.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/elixir.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/elixir.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Elixir do @moduledoc false @manifest_vsn :v6 import Record defrecord :module, [:module, :kind, :sources, :beam, :binary] defrecord :source, [ source: nil, size: 0, compile_references: [], runtime_references: [], compile_dispatches: [], runtime_dispatches: [],...
31.381733
96
0.648507
ac055446779e581f0cc02921f3b6396c45a2f217
1,969
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/forwarding_rules_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/forwarding_rules_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/forwarding_rules_scoped_list.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 ...
39.38
199
0.755714
ac056511816f6a1c5f7a77d9e6a4ac71a975a70b
2,337
exs
Elixir
test/lib/absinthe/type_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
test/lib/absinthe/type_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
test/lib/absinthe/type_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.TypeTest do use Absinthe.Case, async: true alias Absinthe.Type context "absinthe_types" do context "when a function is tagged as defining a type" do context "without a different identifier" do it 'includes a defined entry' do assert %Type.Object{name: "Item"} = ...
22.04717
93
0.640137
ac0567954ce105d9a8b5490a5a3cb8daedcb6db8
3,917
ex
Elixir
apps/api_accounts/lib/api_accounts/user.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/api_accounts/lib/api_accounts/user.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/api_accounts/lib/api_accounts/user.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule ApiAccounts.User do @moduledoc """ Representation of a User. """ use ApiAccounts.Table import ApiAccounts.Changeset @typedoc """ Primary key for `ApiAccounts.User.t` """ @type id :: String.t() table "api_accounts_users" do field(:id, :string, primary_key: true) field(:email, :st...
24.791139
77
0.646413
ac056e8a0eff27bcd00f753e11e1e35bd5618a73
325
exs
Elixir
test/web_driver_client/exceptions_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
test/web_driver_client/exceptions_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
test/web_driver_client/exceptions_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.ProtocolMismatchErrorTest do use ExUnit.Case, async: true alias WebDriverClient.ProtocolMismatchError test "error is raisable" do assert_raise ProtocolMismatchError, fn -> raise ProtocolMismatchError, response: :ok, expected_protocol: :jwp, actual_protocol: :w3c end end...
27.083333
96
0.778462
ac0575185b401087bdeaf108618a7485ddf45bba
120
exs
Elixir
test/elixir_phoenix_liveview_n_queen_web/views/page_view_test.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "MIT" ]
1
2020-05-09T02:03:24.000Z
2020-05-09T02:03:24.000Z
test/elixir_phoenix_liveview_n_queen_web/views/page_view_test.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "MIT" ]
null
null
null
test/elixir_phoenix_liveview_n_queen_web/views/page_view_test.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "MIT" ]
null
null
null
defmodule ElixirPhoenixLiveviewNQueenWeb.PageViewTest do use ElixirPhoenixLiveviewNQueenWeb.ConnCase, async: true end
30
58
0.883333
ac058dfcf18f938f4c01219710f2af1c864bbf1c
1,659
ex
Elixir
lib/arrow_web/endpoint.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
lib/arrow_web/endpoint.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
lib/arrow_web/endpoint.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
defmodule ArrowWeb.Endpoint do use Phoenix.Endpoint, otp_app: :arrow socket "/socket", ArrowWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static file...
26.758065
71
0.696805
ac05aac90b2c3a649d82963e239efd1fe9b8e969
2,832
ex
Elixir
clients/content/lib/google_api/content/v2/model/test_order_line_item_product.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_line_item_product.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_line_item_product.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...
38.794521
131
0.721045
ac05f92d15937b1e6821b641f32bada86721dd87
2,235
ex
Elixir
lib/ambry_web/live/admin/pagination_helpers.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
lib/ambry_web/live/admin/pagination_helpers.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
lib/ambry_web/live/admin/pagination_helpers.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule AmbryWeb.Admin.PaginationHelpers do @moduledoc """ Helpers for building paginated / filterable lists. """ @limit 15 def limit do @limit end def get_list_opts(%Phoenix.LiveView.Socket{} = socket) do Map.get(socket.assigns, :list_opts, %{page: 1, filter: nil, sort: nil}) end def ge...
20.694444
75
0.599553
ac05fb991980abd6b28fdffd8f1596d15280a020
1,575
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_generate_upload_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_generate_upload_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_generate_upload_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.142857
145
0.754286
ac0602ae3bf3796cd7ce2adb56f03fd230ed4c2e
71
ex
Elixir
apps/mdb/lib/mdb.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/mdb/lib/mdb.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/mdb/lib/mdb.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule Mdb do @moduledoc """ Documentation for `Mdb`. """ end
11.833333
26
0.633803
ac0649281522dbcfbb78ab756212473d28ddaf06
987
ex
Elixir
lib/tune_web/views/album_view.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
1
2021-07-09T11:57:41.000Z
2021-07-09T11:57:41.000Z
lib/tune_web/views/album_view.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
null
null
null
lib/tune_web/views/album_view.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
2
2021-07-09T11:57:45.000Z
2022-01-06T23:37:19.000Z
defmodule TuneWeb.AlbumView do @moduledoc false use TuneWeb, :view alias Tune.{Link, Spotify.Schema.Album} alias TuneWeb.TrackView @default_artwork "https://via.placeholder.com/300" defp authors(%Album{artists: artists}, socket) do artists |> Enum.map(fn artist -> live_patch(artist.name, to...
25.307692
91
0.671733
ac06804bed98d42bd629a6879d32b7f7ef6e9b2a
1,065
ex
Elixir
examples/home_weather_display/lib/home_weather_display.ex
asummers/grovepi
8092fd704457265929e4d9676bedd8cf2176f48d
[ "Apache-2.0" ]
13
2018-06-22T10:41:17.000Z
2018-09-01T02:34:33.000Z
examples/home_weather_display/lib/home_weather_display.ex
schainks/grovepi
2de21f12a2ab28f9788a2add4c6409871e098479
[ "Apache-2.0" ]
null
null
null
examples/home_weather_display/lib/home_weather_display.ex
schainks/grovepi
2de21f12a2ab28f9788a2add4c6409871e098479
[ "Apache-2.0" ]
1
2022-01-20T13:12:18.000Z
2022-01-20T13:12:18.000Z
defmodule HomeWeatherDisplay do @moduledoc false use GenServer require Logger defstruct [:dht] alias GrovePi.{RGBLCD, DHT} def start_link(pin) do GenServer.start_link(__MODULE__, pin) end def init(dht_pin) do state = %HomeWeatherDisplay{dht: dht_pin} RGBLCD.initialize() RGBLCD.set_t...
19.363636
80
0.671362
ac068eefb0e6340f31af8f84e7b1c39660eaf890
1,813
ex
Elixir
lib/mix/tasks/phx.digest.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.digest.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.digest.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Digest do use Mix.Task @default_input_path "priv/static" @shortdoc "Digests and compresses static files" @recursive true @moduledoc """ Digests and compress static files. mix phx.digest mix phx.digest priv/static -o /www/public The first argument is the path where t...
31.258621
86
0.688913
ac068f1a98fc7f60657eeca8faf77c725a26c702
14,620
ex
Elixir
lib/ex_aws/cognito_idp.ex
tochukaso/ex_aws_cognito_idp
a4ea874b3a6916d7e0719b01768832e3cf5f38c9
[ "MIT" ]
null
null
null
lib/ex_aws/cognito_idp.ex
tochukaso/ex_aws_cognito_idp
a4ea874b3a6916d7e0719b01768832e3cf5f38c9
[ "MIT" ]
null
null
null
lib/ex_aws/cognito_idp.ex
tochukaso/ex_aws_cognito_idp
a4ea874b3a6916d7e0719b01768832e3cf5f38c9
[ "MIT" ]
null
null
null
defmodule ExAws.CognitoIdp do @moduledoc """ AWS Cognito Identity Provider """ import ExAws.Utils, only: [camelize_keys: 1, camelize_keys: 2] @namespace "AWSCognitoIdentityProviderService" @type user_pool_id :: String.t() @type client_id :: String.t() @type username :: String.t() @type password :: ...
29.775967
104
0.687004
ac06949d19514dfcc00211cf560207cf8f2e4fa9
7,354
exs
Elixir
test/mastani_server/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.CMS do use MastaniServer.TestTools alias MastaniServer.Accounts.User alias MastaniServer.CMS alias CMS.Community alias Helper.{Certification, ORM} setup do {:ok, user} = db_insert(:user) {:ok, community} = db_insert(:community) {:ok, category} = db_insert(:categor...
31.293617
95
0.652706
ac069bba753719b694d382287d16ad005b6f4c6d
980
exs
Elixir
config/config.exs
epic-creative/phoenix_website
60cf15d86e3a55724bef41986db07b3d0ee108aa
[ "MIT" ]
null
null
null
config/config.exs
epic-creative/phoenix_website
60cf15d86e3a55724bef41986db07b3d0ee108aa
[ "MIT" ]
null
null
null
config/config.exs
epic-creative/phoenix_website
60cf15d86e3a55724bef41986db07b3d0ee108aa
[ "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 :phoenix_website, ecto_repos: [PhoenixWe...
35
86
0.77551
ac06a0521937b0eeea0916cfd232ca5e331af070
1,557
exs
Elixir
config/test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
config/test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
config/test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
import Config config :logger, level: :warn config :ex_unit, capture_log: true config :argon2_elixir, t_cost: 1, m_cost: 8 config :bcrypt_elixir, log_rounds: 1 config :pbkdf2_elixir, rounds: 1 ################### # RESOURCE MANAGER ################### config :resource_manager, ResourceManager.Repo, pool: Ecto.Adapt...
28.833333
98
0.757225
ac06c235cd015cfe680400a28a11f4ebbb86dc3b
1,659
ex
Elixir
uptime_gui/lib/uptime_gui_web/endpoint.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/lib/uptime_gui_web/endpoint.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/lib/uptime_gui_web/endpoint.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
defmodule UptimeGuiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :uptime_gui socket "/socket", UptimeGuiWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug P...
29.105263
95
0.709464
ac06de59609ddf30bb9d071cafa19a3f2b48f0ed
198
exs
Elixir
backend/.formatter.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/.formatter.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/.formatter.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
[ import_deps: [:phoenix], inputs: [ "mix.exs", "apps/*/mix.exs", "{config,lib,priv,test}/**/*.{ex,exs}", "apps/*/{config,lib,priv,test}/**/*.{ex,exs}" ], line_length: 120 ]
18
49
0.515152
ac07046f58d0e5a2151cf9efac526d6ae09d74ad
1,378
ex
Elixir
alerts/test/support/data_case.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
1
2020-04-27T17:54:12.000Z
2020-04-27T17:54:12.000Z
alerts/test/support/data_case.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
null
null
null
alerts/test/support/data_case.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
null
null
null
defmodule Alerts.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.518519
77
0.67852
ac072882f9036c6b313bb6d7d8a778889cd6d5bd
1,544
ex
Elixir
lib/nys_etl_web/views/error_helpers.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
lib/nys_etl_web/views/error_helpers.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
lib/nys_etl_web/views/error_helpers.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETLWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:...
32.166667
75
0.664508
ac0748ccb66cf2c7a9a853c24316e2eb61a771de
199
exs
Elixir
test_server/test/controllers/page_controller_test.exs
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
2
2020-10-22T14:54:39.000Z
2020-11-04T21:52:06.000Z
test_server/test/controllers/page_controller_test.exs
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
null
null
null
test_server/test/controllers/page_controller_test.exs
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
null
null
null
defmodule TestServer.PageControllerTest do use TestServer.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.111111
60
0.683417
ac075f0f108f337dafcb4db122d3b7c20a72a408
376
ex
Elixir
lib/philtre/utils.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
2
2022-01-28T13:56:13.000Z
2022-03-20T12:17:54.000Z
lib/philtre/utils.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
lib/philtre/utils.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
defmodule Editor.Utils do @moduledoc """ Contains various utility functions used by the library, that don't really have another place to fit in. """ @type id :: String.t() @spec new_id :: id def new_id do UUID.uuid4() end def selection_start, do: ~s(<span data-selection-start></span>) def sele...
23.5
80
0.680851
ac076bc6623583e2c013496452fbfdb6819f186d
6,499
ex
Elixir
lib/eeyeore/render.ex
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
2
2021-11-17T17:16:17.000Z
2021-12-08T04:39:42.000Z
lib/eeyeore/render.ex
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
null
null
null
lib/eeyeore/render.ex
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
null
null
null
defmodule Eeyeore.Render do use GenServer require Logger @moduledoc """ Render module receives calls to render lightning strikes on blinkchain devices. The render utilizes send_after messages to simulate random lightning strikes, if a handle_cast is received before the messages are complete it will append...
28.629956
97
0.689029
ac076f039201ae571cb885bdfac0aed0797ba124
125
ex
Elixir
testData/org/elixir_lang/find_usages/variable_usage.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/find_usages/variable_usage.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/find_usages/variable_usage.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule Variable do def function() do variable = Application.get_env(:variable, :key) var<caret>iable end end
15.625
51
0.704
ac076f4629d0aa2732a6af97d916a8436d1d459a
648
ex
Elixir
examples/absinthe_local.ex
maxneuvians/maple
9785945c9fce814d7bd63e0c055cc7e71765e322
[ "MIT" ]
24
2017-10-03T17:22:35.000Z
2021-06-09T20:19:43.000Z
examples/absinthe_local.ex
maxneuvians/maple
9785945c9fce814d7bd63e0c055cc7e71765e322
[ "MIT" ]
2
2017-11-20T04:17:26.000Z
2018-12-12T23:39:07.000Z
examples/absinthe_local.ex
maxneuvians/maple
9785945c9fce814d7bd63e0c055cc7e71765e322
[ "MIT" ]
4
2017-10-29T17:03:08.000Z
2018-08-30T20:57:24.000Z
defmodule Maple.Examples.AbsintheLocal.Config do Application.put_env(:maple, :api_url, "http://localhost:4000/graphql") end defmodule Maple.Examples.AbsintheLocal do @moduledoc """ Demonstation code for a local Absinthe Server. The below functions are abitrary and not defined by any spec or example. Example...
29.454545
81
0.680556
ac07c8dfd99d13fc627480b59c3c55003afbac88
3,619
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_access_control.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/bucket_access_control.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_access_control.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...
41.125
182
0.667035
ac07da355e5ae6042b27a6b4e33db271ee820c31
13,692
exs
Elixir
test/actions/create_test.exs
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
test/actions/create_test.exs
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
test/actions/create_test.exs
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
defmodule Ash.Test.Actions.CreateTest do @moduledoc false use ExUnit.Case, async: true defmodule Authorized do use Ash.Resource, data_layer: Ash.DataLayer.Ets, authorizers: [Ash.Test.Authorizer] ets do private?(true) end attributes do uuid_primary_key :id attribute...
23.128378
98
0.54908
ac0811fdce905772b8c394fd5d097fc302775bfb
7,200
ex
Elixir
lib/rclex/node.ex
HiroiImanishi/rclex
34bc6e344d6069a53e6c4c30de8d964a0e867706
[ "Apache-2.0" ]
null
null
null
lib/rclex/node.ex
HiroiImanishi/rclex
34bc6e344d6069a53e6c4c30de8d964a0e867706
[ "Apache-2.0" ]
null
null
null
lib/rclex/node.ex
HiroiImanishi/rclex
34bc6e344d6069a53e6c4c30de8d964a0e867706
[ "Apache-2.0" ]
null
null
null
defmodule Rclex.Node do alias Rclex.Nifs require Logger use GenServer, restart: :transient @moduledoc """ T.B.A """ def start_link({node, node_identifier, {queue_length, change_order}}) do GenServer.start_link(__MODULE__, {node, node_identifier, queue_length, change_order}, name: {:global, n...
31.304348
91
0.681806
ac082372253b8bf0645bbc5bea4a276c7f7f0867
178
exs
Elixir
elixir/020/020.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
36
2015-01-24T08:11:52.000Z
2021-03-21T00:32:00.000Z
elixir/020/020.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
null
null
null
elixir/020/020.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
4
2015-01-24T08:17:42.000Z
2022-01-11T16:10:56.000Z
IO.puts 1..100 |> Enum.reduce(1, &(&1 * &2)) |> to_string |> String.codepoints |> Enum.map(fn digit -> digit |> String.to_integer end) |> Enum.reduce(0, &(&1 + &2)) |> to_string
22.25
55
0.606742
ac08565abf38e95d95c700be49517facc308266b
1,786
exs
Elixir
backend/config/prod.exs
ugbots/ggj2022
1c7b9f6694268951f93a11fde91fa9573c179c26
[ "MIT" ]
null
null
null
backend/config/prod.exs
ugbots/ggj2022
1c7b9f6694268951f93a11fde91fa9573c179c26
[ "MIT" ]
null
null
null
backend/config/prod.exs
ugbots/ggj2022
1c7b9f6694268951f93a11fde91fa9573c179c26
[ "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.72
94
0.707727
ac089719f7dc4818f2d51bc38d5e9aedc62b54da
399
exs
Elixir
plugins/one_pages/config/config.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_pages/config/config.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_pages/config/config.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
# 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 config :unbrella, :plugins, one_pages: [ module: OnePages, application: OnePages....
28.5
61
0.764411
ac08c9ce21ef58f3f32657d3a194af77e7ae8144
3,279
exs
Elixir
test/exqlite/pragma_test.exs
mindreframer/exqlite
b7852b65a9b11c0f677138a412d3a656040032d8
[ "MIT" ]
32
2021-02-19T02:21:20.000Z
2021-03-17T07:10:58.000Z
test/exqlite/pragma_test.exs
mindreframer/exqlite
b7852b65a9b11c0f677138a412d3a656040032d8
[ "MIT" ]
74
2021-02-19T04:41:12.000Z
2021-03-18T15:52:32.000Z
test/exqlite/pragma_test.exs
mindreframer/exqlite
b7852b65a9b11c0f677138a412d3a656040032d8
[ "MIT" ]
5
2021-02-20T18:27:25.000Z
2021-03-12T07:00:45.000Z
defmodule Exqlite.PragmaTest do use ExUnit.Case alias Exqlite.Pragma test ".journal_mode/1" do assert Pragma.journal_mode(journal_mode: :truncate) == "truncate" assert Pragma.journal_mode(journal_mode: :persist) == "persist" assert Pragma.journal_mode(journal_mode: :memory) == "memory" assert Pr...
26.443548
69
0.649283
ac08f451847a87e2fe8833cd7d4247042de0e948
2,904
exs
Elixir
config/prod.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
config/prod.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
config/prod.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
import Config config :logger, backends: [:console, Gelfx], level: :debug # compile_time_purge_matching: [ # [level_lower_than: :warn] # ] config :logger, Gelfx, host: "localhost", port: 12201, # protocol: :tcp, hostname: "Staxx", json_library: Jason config :docker, adapter: Staxx.Docker.Adapter.Dock...
31.565217
85
0.712466
ac090661d5b3b36dd29279d491554152740e921b
1,467
exs
Elixir
test/discourse/sso_test.exs
nicolasblanco/discourse-1
7c3824d3342326d4a5f7b27730135fe0f93a652f
[ "MIT" ]
5
2019-11-12T22:01:20.000Z
2021-11-12T15:23:24.000Z
test/discourse/sso_test.exs
nicolasblanco/discourse-1
7c3824d3342326d4a5f7b27730135fe0f93a652f
[ "MIT" ]
null
null
null
test/discourse/sso_test.exs
nicolasblanco/discourse-1
7c3824d3342326d4a5f7b27730135fe0f93a652f
[ "MIT" ]
3
2021-06-28T06:17:14.000Z
2021-11-12T15:05:47.000Z
defmodule Discourse.SSOTest do use ExUnit.Case alias Discourse.SSO doctest SSO @id 173_278 @email "bob@example.com" @nonce "cb68251eefb5211e58c00ff1395f0c0b" describe "validate/1" do test "error on invalid signature" do assert SSO.validate( "bad", "bad" ...
25.293103
81
0.604635
ac09a3eb6658819648210e77513da9d67919c514
340
exs
Elixir
priv/repo/migrations/20150925012838_create_post.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
priv/repo/migrations/20150925012838_create_post.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
priv/repo/migrations/20150925012838_create_post.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.Repo.Migrations.CreatePost do use Ecto.Migration def change do create table(:posts) do add :title, :string add :content, :string add :likes, :integer add :views, :integer add :user_id, references(:users) timestamps end create index(:posts, [:u...
18.888889
52
0.644118
ac09d58041c7a1f1f98fbe080966a0ec134e6c1b
69
exs
Elixir
test/traverse_test.exs
MattiasJakobsson/traverse
7badb8776a4068561cf652b707549e81dad218ec
[ "MIT" ]
null
null
null
test/traverse_test.exs
MattiasJakobsson/traverse
7badb8776a4068561cf652b707549e81dad218ec
[ "MIT" ]
null
null
null
test/traverse_test.exs
MattiasJakobsson/traverse
7badb8776a4068561cf652b707549e81dad218ec
[ "MIT" ]
null
null
null
defmodule TraverseTest do use ExUnit.Case doctest Traverse end
9.857143
25
0.782609
ac09ef05c044df298ad35e6a2a2a09fb9e2eedbd
1,147
ex
Elixir
lib/skogsra/app.ex
rbino/skogsra
43962f8146928577e6959eb4cc37cbc337e44968
[ "MIT" ]
null
null
null
lib/skogsra/app.ex
rbino/skogsra
43962f8146928577e6959eb4cc37cbc337e44968
[ "MIT" ]
null
null
null
lib/skogsra/app.ex
rbino/skogsra
43962f8146928577e6959eb4cc37cbc337e44968
[ "MIT" ]
null
null
null
defmodule Skogsra.App do @moduledoc """ This module defines the functions to get variables from the application configuration. """ use Skogsra.Binding alias Skogsra.Env ########## # Callback @impl Skogsra.Binding def get_env(env, config) def get_env(%Env{} = env, _config) do value = do_get...
19.116667
73
0.636443
ac0a158c830fee266beea60d8657eee9831874e4
2,336
ex
Elixir
deps/makeup/lib/makeup.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
defmodule Makeup do @moduledoc """ Syntax highlighting library for code, inspired by Pygments. By default, it doesn't include any lexers. You must import them separately (even the Elixir lexer). """ alias Makeup.Formatters.HTML.HTMLFormatter alias Makeup.Lexers.ElixirLexer alias Makeup.Styles....
29.948718
84
0.671233
ac0a5cf6edbb138e950c5666f696d908ef4990ea
929
ex
Elixir
lib/nerves_ssh/exec.ex
nerves-project/nerves_ssh
02950c9bf56c0c6798eb8d6e86fe142e4827f225
[ "Apache-2.0" ]
11
2020-05-30T01:58:51.000Z
2022-03-24T08:17:09.000Z
lib/nerves_ssh/exec.ex
nerves-project/nerves_ssh
02950c9bf56c0c6798eb8d6e86fe142e4827f225
[ "Apache-2.0" ]
20
2020-05-31T03:19:27.000Z
2022-03-05T00:55:44.000Z
lib/nerves_ssh/exec.ex
nerves-project/nerves_ssh
02950c9bf56c0c6798eb8d6e86fe142e4827f225
[ "Apache-2.0" ]
6
2020-09-20T23:27:52.000Z
2022-03-05T17:56:17.000Z
defmodule NervesSSH.Exec do @moduledoc """ This module contains helper methods for running commands over SSH """ alias NervesSSH.SCP @doc """ Run one Elixir command coming over ssh """ @spec run_elixir(charlist()) :: {:ok, binary()} | {:error, binary()} def run_elixir(cmd) do cmd = to_string(cmd...
22.119048
70
0.623251
ac0a624af944f134ca003f8170747e16f8277947
60
exs
Elixir
learnyousomeelixir/01_designing_a_concurrent_application/event_server/test/event_server_test.exs
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
learnyousomeelixir/01_designing_a_concurrent_application/event_server/test/event_server_test.exs
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
learnyousomeelixir/01_designing_a_concurrent_application/event_server/test/event_server_test.exs
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
defmodule Reminder.EventServerTest do use ExUnit.Case end
15
37
0.833333
ac0a67e7ace1df42a56401eef2f02f42e5481a17
1,792
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/test_iam_permissions_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/test_iam_permissions_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/test_iam_permissions_request.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...
37.333333
298
0.750558
ac0a826abe2028e693606287ecf6a21e16c87bef
711
ex
Elixir
server/lib/connect_web/gettext.ex
rafbgarcia/conn
e23e09a8be900bc72c083780693d0fe5bd7cbd99
[ "MIT" ]
null
null
null
server/lib/connect_web/gettext.ex
rafbgarcia/conn
e23e09a8be900bc72c083780693d0fe5bd7cbd99
[ "MIT" ]
3
2021-04-27T14:11:46.000Z
2021-04-27T16:00:42.000Z
server/lib/connect_web/gettext.ex
rafbgarcia/conn
e23e09a8be900bc72c083780693d0fe5bd7cbd99
[ "MIT" ]
null
null
null
defmodule ConnectWeb.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 ConnectWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
ac0aac9b92d801f321990cb41b78dbc2a48ce839
592
ex
Elixir
lib/user_service_web/plug/redirect_to.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
13
2020-03-31T21:45:40.000Z
2021-02-13T12:17:22.000Z
lib/user_service_web/plug/redirect_to.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2021-03-10T12:57:21.000Z
2021-03-10T12:57:21.000Z
lib/user_service_web/plug/redirect_to.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2020-04-28T15:41:56.000Z
2020-04-28T15:41:56.000Z
defmodule UserServiceWeb.Plug.RedirectTo do import Plug.Conn def session_key(), do: :saved_redirect_to def init(_) do [] end def call(conn = %{query_params: %{"redirect_to" => redirect_to}}, _opts) do put_session(conn, session_key(), validated_redirect_to(redirect_to)) end def call(conn, _), d...
21.142857
82
0.6875
ac0acf72a6c487be53ef0365d163c358f1c388e3
126
exs
Elixir
config/config.exs
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
63
2021-02-10T16:18:11.000Z
2022-03-18T11:06:44.000Z
config/config.exs
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
21
2021-01-30T21:00:06.000Z
2021-12-27T04:27:15.000Z
config/config.exs
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
6
2021-02-26T23:56:49.000Z
2022-03-26T09:28:13.000Z
use Mix.Config config :phoenix, json_library: Jason if Mix.env() in [:test, :dev] do import_config "#{Mix.env()}.exs" end
15.75
36
0.68254