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
03f1f8d07c0fedfb851feed60cb5a9658f4a8811
1,577
ex
Elixir
lib/arango_phx_web.ex
SquashConsulting/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
5
2020-01-30T07:11:33.000Z
2021-05-07T12:52:41.000Z
lib/arango_phx_web.ex
rasjonell/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
5
2019-12-04T12:41:50.000Z
2019-12-05T13:21:50.000Z
lib/arango_phx_web.ex
SquashConsulting/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
null
null
null
defmodule ArangoPhxWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ArangoPhxWeb, :controller use ArangoPhxWeb, :view The definitions below will be executed for every view, contro...
23.537313
83
0.696893
03f21902013c5371c3762c99f39392093150438f
676
ex
Elixir
lib/docusign/model/permission_profile_information.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/permission_profile_information.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/permission_profile_information.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.PermissionProfileInformation do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :permissionProfiles ] @t...
24.142857
97
0.736686
03f22aa09ff105add4cd8fe0de6da4cd2eb7f4ed
1,429
ex
Elixir
test/support/data_case.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
test/support/data_case.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
test/support/data_case.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
defmodule BankingGraph.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...
26.462963
77
0.685094
03f22d88b1f94eb0e1150765a039d83795580e73
1,797
ex
Elixir
lib/absinthe/subscription/local.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
lib/absinthe/subscription/local.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
lib/absinthe/subscription/local.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
defmodule Absinthe.Subscription.Local do @moduledoc false require Logger alias Absinthe.Pipeline.BatchResolver # This module handles running and broadcasting documents that are local to this # node. def publish_mutation(pubsub, mutation_result, subscribed_fields) do docs_and_topics = for {fiel...
28.983871
91
0.648859
03f231c068c40455ecec6b8c78c27106a6af7164
66
exs
Elixir
test/data_storage/data_storage_test.exs
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
1
2019-01-18T10:37:40.000Z
2019-01-18T10:37:40.000Z
test/data_storage/data_storage_test.exs
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
6
2019-04-20T18:32:37.000Z
2019-04-20T19:41:29.000Z
test/data_storage/data_storage_test.exs
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
null
null
null
defmodule AuctoritasTest.DataStorageTest do use ExUnit.Case end
16.5
43
0.848485
03f232ae4a25041290893c0b2507f1f46106a6f7
341
exs
Elixir
app/test/app_web/views/page_view_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/test/app_web/views/page_view_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/test/app_web/views/page_view_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.PageViewTest do use AppWeb.ConnCase, async: true import Phoenix.View test "renders index.html", %{conn: conn} do content = render_to_string( AppWeb.PageView, "index.html", conn: conn, current_user: nil, is_faculty: false) assert String.contains?(content, "...
18.944444
47
0.662757
03f2633efc09835fead7c4a42c9ec1c159f5b3a5
864
exs
Elixir
backend/test/caffe/accounts/use_cases/authenticate_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/test/caffe/accounts/use_cases/authenticate_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/test/caffe/accounts/use_cases/authenticate_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Accounts.UseCases.AuthenticateTest do use Caffe.UseCaseCase, async: true alias Caffe.Accounts.UseCases.Authenticate alias Caffe.Accounts.User describe "execute" do setup do [user: insert!(:user, email: "alice@acme.com", password: "secret123")] end test "valid credentials" do ...
33.230769
96
0.689815
03f269369eed7236025ae7cb0289eded01beb694
212
exs
Elixir
apps/core/priv/repo/migrations/20180214161617_add_person_type_to_registers.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/repo/migrations/20180214161617_add_person_type_to_registers.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/repo/migrations/20180214161617_add_person_type_to_registers.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Repo.Migrations.AddPersonTypeToRegisters do use Ecto.Migration def change do alter table(:registers) do add(:person_type, :string, null: false, default: "patient") end end end
21.2
65
0.721698
03f27401934225d9a0de83dfd3bbcfdf25f5fa3f
1,058
ex
Elixir
lib/banking_graph/application.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
lib/banking_graph/application.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
lib/banking_graph/application.ex
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
defmodule BankingGraph.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto reposi...
33.0625
77
0.660681
03f2a99161de4380fc95e7ec303048e518b78315
596
exs
Elixir
priv/repo/migrations/20190405115947_create_authentications.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
5
2019-07-13T22:20:50.000Z
2020-07-13T05:05:43.000Z
priv/repo/migrations/20190405115947_create_authentications.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
33
2019-08-01T03:48:23.000Z
2021-07-28T03:29:40.000Z
priv/repo/migrations/20190405115947_create_authentications.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
2
2019-09-03T22:45:11.000Z
2020-01-01T23:56:58.000Z
defmodule Hammoc.Repo.Migrations.CreateAuthentications do use Ecto.Migration def up do create table(:authentications) do add :provider, :string add :uid, :binary add :uid_hash, :binary add :access_token, :binary add :access_token_secret, :binary add :name, :binary add ...
22.074074
72
0.654362
03f2e9d26b2609a9025a43141ef32eb38b5dc922
3,587
ex
Elixir
web/controllers/session_controller.ex
ClubNix/academy
962be0defc1d8eedc5d19ac0a65e931c794c6538
[ "MIT" ]
3
2016-06-18T17:46:14.000Z
2020-01-21T03:19:41.000Z
web/controllers/session_controller.ex
ClubNix/academy
962be0defc1d8eedc5d19ac0a65e931c794c6538
[ "MIT" ]
18
2016-06-18T18:05:43.000Z
2018-03-06T08:19:41.000Z
web/controllers/session_controller.ex
ClubNix/academy
962be0defc1d8eedc5d19ac0a65e931c794c6538
[ "MIT" ]
3
2016-10-26T19:51:06.000Z
2018-09-18T09:06:14.000Z
defmodule Academy.SessionController do @moduledoc ~S""" Module controlling user sessions. """ use Academy.Web, :controller alias Academy.UserController require Logger @doc ~S""" Render the login page if the user is not logged in """ def new(conn, _params) do if logged_in?(conn) do conn ...
26.969925
104
0.637023
03f33c690d17eded15c2275984a5a22d3f4f31ef
2,150
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory_metadata.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.833333
220
0.751628
03f34a67de93c6b945efc09157e62fee81430698
179
exs
Elixir
test/modules/handler_missing.exs
kianmeng/unsafe
76951b0b9e4f8b82e32fbb5a91e67de8963898e8
[ "MIT" ]
11
2017-11-09T05:58:25.000Z
2020-01-23T02:12:27.000Z
test/modules/handler_missing.exs
kianmeng/unsafe
76951b0b9e4f8b82e32fbb5a91e67de8963898e8
[ "MIT" ]
3
2017-11-09T09:23:41.000Z
2018-07-30T16:21:48.000Z
test/modules/handler_missing.exs
kianmeng/unsafe
76951b0b9e4f8b82e32fbb5a91e67de8963898e8
[ "MIT" ]
2
2018-07-30T02:59:14.000Z
2021-11-27T13:05:58.000Z
defmodule UnsafeTest.MissingHandle do use Unsafe.Generator @unsafe [ { :test, 1 } ] def test(true), do: { :ok, true } def test(false), do: { :error, false } end
16.272727
37
0.608939
03f34ec75f08af197311081864cc2c5aea68dfd2
829
ex
Elixir
lib/sprint_poker/operations/ticket_operations.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
199
2015-10-22T16:20:09.000Z
2021-11-08T11:20:45.000Z
lib/sprint_poker/operations/ticket_operations.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
4
2015-10-24T20:43:29.000Z
2016-03-03T21:09:06.000Z
lib/sprint_poker/operations/ticket_operations.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
34
2015-10-23T06:38:43.000Z
2019-08-13T23:49:24.000Z
defmodule SprintPoker.TicketOperations do @moduledoc """ Ticket related operations """ alias SprintPoker.Repo alias SprintPoker.Repo.Ticket def create(params, game) do changeset = Ticket.changeset(%Ticket{}, %{ name: params["name"], game_id: game.id }) case changeset do {:err...
18.840909
48
0.600724
03f37a573bf5bdf23ee0192ba1523a1c6b2712d9
1,657
exs
Elixir
elixir/word-count/word_count_test.exs
tiagoefmoraes/exercism
9855b4b75a6a3f7cfe13bfb459e04bcb11f3279b
[ "MIT" ]
null
null
null
elixir/word-count/word_count_test.exs
tiagoefmoraes/exercism
9855b4b75a6a3f7cfe13bfb459e04bcb11f3279b
[ "MIT" ]
null
null
null
elixir/word-count/word_count_test.exs
tiagoefmoraes/exercism
9855b4b75a6a3f7cfe13bfb459e04bcb11f3279b
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("word_count.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule WordsTest do use ExUnit.Case test "count one word" do assert Words.count("word") == %{ "word" => 1 } end # @tag :pending test "count on...
26.301587
88
0.594448
03f3b53bc4b39c14aec4d3c4643706a03d6220c1
285
ex
Elixir
lib/portmidi/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
36
2016-03-28T15:01:18.000Z
2021-09-11T02:41:31.000Z
lib/portmidi/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
15
2016-05-29T13:01:33.000Z
2021-11-18T18:24:23.000Z
lib/portmidi/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
11
2016-05-19T15:37:49.000Z
2020-12-13T21:34:07.000Z
defmodule PortMidi.Input do alias PortMidi.Input.Server alias PortMidi.Listeners def start_link(device_name) do Server.start_link device_name end def listen(input, pid) do Listeners.register(input, pid) end def stop(input) do Server.stop(input) end end
15.833333
34
0.729825
03f3b97bcccc111d1aee3a61348b4eeaf77e9213
9,294
ex
Elixir
lib/ex_kpl.ex
sneako/ex_kpl
71e17dd21f3c35e9bae9c05132468278ad327be7
[ "MIT" ]
10
2018-01-31T15:29:27.000Z
2020-12-30T20:33:30.000Z
lib/ex_kpl.ex
sneako/ex_kpl
71e17dd21f3c35e9bae9c05132468278ad327be7
[ "MIT" ]
null
null
null
lib/ex_kpl.ex
sneako/ex_kpl
71e17dd21f3c35e9bae9c05132468278ad327be7
[ "MIT" ]
null
null
null
defmodule ExKpl do @moduledoc """ Elixir implementation of the Kinesis Producer Library record aggregator. This is a port of the Erlang implementation included in [adroll/erlmld](https://github.com/AdRoll/erlmld) ## Basic usage: iex> {_, aggregator} = ExKpl.add(ExKpl.new(), {"partition_key", "data"}) ...
33.311828
486
0.643533
03f3bc3e735423e3d3a72985fddbf82844fde995
640
ex
Elixir
lib/mail_slurp_api/model/bounced_recipient_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/bounced_recipient_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/bounced_recipient_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.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 MailSlurpAPI.Model.BouncedRecipientDto do @moduledoc """ Bounced recipient """ @derive [Poison.Encoder] defstruct [ :"createdAt", :...
20
91
0.65625
03f3bea2e6c758edfc5ae39d07004610c6c7feb9
8,736
ex
Elixir
lib/nys_etl/engines/e5/processor.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
lib/nys_etl/engines/e5/processor.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
lib/nys_etl/engines/e5/processor.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Engines.E5.Processor do @moduledoc """ Run for each patient case extracted from CommCare. * case_id already present in our DB: * update it with changes from CommCare (but ignore any new lab results) * case_id does not exist, Person exists and can be matched by dob | last_name | first_name:...
32.842105
150
0.64652
03f3f018588a9e7dce678b864998818700a4a8f2
3,199
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/permissions.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/permissions.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/permissions.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...
43.22973
217
0.709284
03f3f392fd2eaa1a7765cf29d12d2958776a9f5e
900
ex
Elixir
lib/httpoison.ex
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
lib/httpoison.ex
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
lib/httpoison.ex
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
defmodule HTTPoison do @moduledoc """ The HTTP client for Elixir. """ defmodule Response do defstruct status_code: nil, body: nil, headers: %{} @type t :: %Response{status_code: integer, body: binary, headers: map} end defmodule AsyncResponse do defstruct id: nil @type t :: %AsyncResponse{...
21.428571
74
0.674444
03f41248655872124893dfa741eea1c2486ca5af
2,812
exs
Elixir
mix.exs
Annopaolo/astarte-device-sdk-elixir
fbd0c214f3e2e1d3040fa70d6c2a0d35dab0a495
[ "Apache-2.0" ]
3
2020-02-10T07:12:49.000Z
2020-09-19T02:56:40.000Z
mix.exs
Annopaolo/astarte-device-sdk-elixir
fbd0c214f3e2e1d3040fa70d6c2a0d35dab0a495
[ "Apache-2.0" ]
9
2019-11-18T16:51:13.000Z
2021-02-24T17:43:03.000Z
mix.exs
Annopaolo/astarte-device-sdk-elixir
fbd0c214f3e2e1d3040fa70d6c2a0d35dab0a495
[ "Apache-2.0" ]
5
2020-01-25T12:14:15.000Z
2021-06-18T08:33:40.000Z
# # This file is part of Astarte. # # Copyright 2018-2021 Ispirata Srl # # 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...
29.291667
92
0.601351
03f419976269a5244501feb19321118ad8d13e4e
1,247
ex
Elixir
lib/alchemy_book_web/views/error_helpers.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
lib/alchemy_book_web/views/error_helpers.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
lib/alchemy_book_web/views/error_helpers.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
defmodule AlchemyBookWeb.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 if error = form.errors[field] do content_tag :span, translate_error(e...
30.414634
80
0.672815
03f41de86b7a382fde36e51e0f383fc183dfb1b0
1,736
ex
Elixir
clients/content/lib/google_api/content/v21/model/link_service.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/link_service.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/link_service.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...
28.933333
102
0.693548
03f41e3c7cfdd099c3a97b5727828f94bf36c6f0
3,800
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/privileges.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/privileges.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/api/privileges.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...
43.678161
196
0.655526
03f44614082ca67aabb8dc71b980dff982a8aad7
79
ex
Elixir
socket_remotedata/web/views/layout_view.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
1
2020-02-09T20:20:23.000Z
2020-02-09T20:20:23.000Z
socket_remotedata/web/views/layout_view.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
null
null
null
socket_remotedata/web/views/layout_view.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
null
null
null
defmodule SocketRemotedata.LayoutView do use SocketRemotedata.Web, :view end
19.75
40
0.835443
03f448bc4684a65eed47cc81c515a9581373441a
1,706
ex
Elixir
lib/shadowsocks/event.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/event.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/event.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
defmodule Shadowsocks.Event do require Logger def child_spec(_) do %{ id: __MODULE__, start: {:gen_event, :start_link, [local: Shadowsocks.Event]}, modules: :dynamic } end defmacro start_listener(port) do quote do :gen_event.notify(Shadowsocks.Event, {:port, :open, unquote(...
22.155844
88
0.61313
03f495f0bcf5f0c9162a4d485f10693b92ca1566
1,078
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_label_entry.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_label_entry.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_label_entry.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...
28.368421
89
0.746753
03f49727ef6ba7bc79521c00d9e47c36e1f17e90
3,417
exs
Elixir
test/annex_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
1
2020-10-23T13:41:07.000Z
2020-10-23T13:41:07.000Z
test/annex_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
test/annex_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
defmodule AnnexTest do use ExUnit.Case doctest Annex alias Annex.{ Data.DMatrix, Layer.Activation, Layer.Dense, Layer.Dropout, Layer.Sequence, LayerConfig } describe "sequence/1" do test "works" do assert Annex.sequence([ Annex.dense(1, 1) ]) == ...
24.06338
82
0.425812
03f4bcfae21ee76d624b73019f6fc3006340b3a5
1,898
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/editors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/editors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/editors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.811321
214
0.712856
03f4d37fdfe4474817f3fe20234cee9eba119649
2,511
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/creative_rotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/creative_rotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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/creative_rotation.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...
44.052632
343
0.747511
03f51b2b5f1089a07840a46726574946740fb2ee
39,550
ex
Elixir
deps/nimble_parsec/lib/nimble_parsec.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/nimble_parsec/lib/nimble_parsec.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/nimble_parsec/lib/nimble_parsec.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule NimbleParsec do @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) defmacrop is_combinator(combinator) do quote do is_list(unquote(combinator)) end end @doc """ Defines a public parser `combinator` with th...
30.260138
119
0.630847
03f5357b2f83876cb9efa64a3a000ba12e9c58bd
650
ex
Elixir
lib/azure_functions_base.ex
imahiro-t/azure_functions_base
27afa5573ba0c35570c921d8193a3980e2655c07
[ "MIT" ]
null
null
null
lib/azure_functions_base.ex
imahiro-t/azure_functions_base
27afa5573ba0c35570c921d8193a3980e2655c07
[ "MIT" ]
null
null
null
lib/azure_functions_base.ex
imahiro-t/azure_functions_base
27afa5573ba0c35570c921d8193a3980e2655c07
[ "MIT" ]
null
null
null
defmodule AzureFunctionsBase do @moduledoc """ This is azure functions base. Use AzureFunctionsBase and implement `handle(request, event, context)` function """ alias AzureFunctionsBase.Request alias AzureFunctionsBase.Response @doc """ Azure runtime call init function. """ @callback init(context ...
25
157
0.672308
03f53e1fb833a50d181874d600fede37b80505d8
643
exs
Elixir
config/test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
config/test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
config/test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :jelly_board, JellyBoard.Endpoint, http: [port: 4001], server: true # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :jelly_board, Jel...
26.791667
80
0.768274
03f5645f59088213f42cd975917132731d4fd566
7,360
ex
Elixir
apps/massa_proxy/lib/massa_proxy/server/grpc_server.ex
eigr/massa
508a2694905a74e0e613552241a578e70ba356a0
[ "Apache-2.0" ]
20
2021-06-28T12:03:49.000Z
2022-03-28T22:35:56.000Z
apps/massa_proxy/lib/massa_proxy/server/grpc_server.ex
eigr/massa
508a2694905a74e0e613552241a578e70ba356a0
[ "Apache-2.0" ]
48
2021-03-19T12:01:38.000Z
2022-03-29T21:19:26.000Z
apps/massa_proxy/lib/massa_proxy/server/grpc_server.ex
eigr/massa
508a2694905a74e0e613552241a578e70ba356a0
[ "Apache-2.0" ]
5
2021-03-18T21:46:10.000Z
2021-10-01T17:39:05.000Z
defmodule MassaProxy.Server.GrpcServer do @moduledoc false require Logger alias MassaProxy.{Util, Infra.Cache, Server.HttpRouter} alias MassaProxy.Infra.Cache.Distributed def start(descriptors, entities) do case Cache.get(:cached_servers, :grpc) do nil -> start_grpc(descriptors, entities) _ ...
27.462687
98
0.609103
03f565b7eaaafd368b22e27df0a07a8af665ca18
1,176
exs
Elixir
config/config.exs
DrPandemic/expressive-broker
66a8da94ede2c101db9e1841e17898b5bae5df49
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
config/config.exs
DrPandemic/expressive-broker
66a8da94ede2c101db9e1841e17898b5bae5df49
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
config/config.exs
DrPandemic/expressive-broker
66a8da94ede2c101db9e1841e17898b5bae5df49
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :wow, ecto_repos: [Wow.Repo] # Configu...
28.682927
86
0.735544
03f58d676e84ab0e584579d7f489a6b4a07963d2
336
exs
Elixir
apps/alert_processor/priv/repo/migrations/20170426151933_add_timeframe_info_to_subscriptions.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/priv/repo/migrations/20170426151933_add_timeframe_info_to_subscriptions.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/alert_processor/priv/repo/migrations/20170426151933_add_timeframe_info_to_subscriptions.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule MbtaServer.Repo.Migrations.AddTimeframeInfoToSubscriptions do use Ecto.Migration def change do alter table(:subscriptions, primary_key: false) do add :relevant_days, {:array, :string}, null: false, default: [] add :start_time, :time, null: false add :end_time, :time, null: false ...
25.846154
71
0.702381
03f5b972a495305d43a2e20cf36fcc77ceafa652
1,029
ex
Elixir
lib/widget_saas/endpoint.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
12
2016-01-27T01:30:42.000Z
2019-12-07T20:31:01.000Z
lib/widget_saas/endpoint.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
3
2016-11-22T12:22:59.000Z
2017-08-01T17:26:40.000Z
lib/widget_saas/endpoint.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
5
2016-07-11T18:39:02.000Z
2019-10-23T03:22:49.000Z
defmodule WidgetSaas.Endpoint do use Phoenix.Endpoint, otp_app: :widget_saas socket "/socket", WidgetSaas.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 Plug...
25.725
69
0.714286
03f5c03cffaca7a06cfdfb790999a365fc2e847f
23,527
ex
Elixir
test/support/factory.ex
cmschuetz/dwolla-elixir
5087ace13341881d293a6ac87e82dfad9880d8c4
[ "MIT" ]
null
null
null
test/support/factory.ex
cmschuetz/dwolla-elixir
5087ace13341881d293a6ac87e82dfad9880d8c4
[ "MIT" ]
null
null
null
test/support/factory.ex
cmschuetz/dwolla-elixir
5087ace13341881d293a6ac87e82dfad9880d8c4
[ "MIT" ]
null
null
null
defmodule Dwolla.Factory do @moduledoc false def http_response_body(:token) do %{ access_token: "0l6Vijvre4ICDV9SltG3KbekbtrGOPoQcP5XITsEKWH5L5me0S", token_type: "bearer", expires_in: 3601 } end def http_response_body(:error) do %{ code: "ValidationError", message: "Va...
247.652632
3,974
0.67871
03f5cb72fb8e41e13c450731ea5092ea84027e36
449
ex
Elixir
patterns/splitter/elixir/splitter/lib/splitter/supervisor.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/splitter/elixir/splitter/lib/splitter/supervisor.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/splitter/elixir/splitter/lib/splitter/supervisor.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
defmodule Splitter.Supervisor do def start_link do import Supervisor.Spec children = [ worker(Splitter.Inventory, [Splitter.inventory_name()],id: :inventory), worker(Splitter.PaymentProcessor, [Splitter.paymment_processor_name()],id: :paymentprocessor), worker(Splitter.OrderProcessor, [Spl...
28.0625
100
0.739421
03f5e2dd90def2fa72bfa171c53b7483d01d4793
1,610
ex
Elixir
lib/discuss_web/endpoint.ex
shahnCM/discuss
a880950e090ecf9309d495e81c31d589d3655881
[ "MIT" ]
null
null
null
lib/discuss_web/endpoint.ex
shahnCM/discuss
a880950e090ecf9309d495e81c31d589d3655881
[ "MIT" ]
null
null
null
lib/discuss_web/endpoint.ex
shahnCM/discuss
a880950e090ecf9309d495e81c31d589d3655881
[ "MIT" ]
null
null
null
defmodule DiscussWeb.Endpoint do use Phoenix.Endpoint, otp_app: :discuss # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_discuss_k...
29.272727
97
0.718012
03f6151db9072c3d41b496d473f07a008f964ac2
1,029
exs
Elixir
apps/queue/mix.exs
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
34
2017-05-07T08:50:59.000Z
2021-11-25T00:27:11.000Z
apps/queue/mix.exs
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
null
null
null
apps/queue/mix.exs
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
7
2017-05-10T12:42:30.000Z
2021-11-03T01:21:02.000Z
defmodule Queue.Mixfile do use Mix.Project def project do [app: :queue, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_pe...
23.930233
79
0.600583
03f6519a5e19b3ae57be8d0fe8f22d6421591fd0
6,765
exs
Elixir
test/controllers/registration_controller_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
test/controllers/registration_controller_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
test/controllers/registration_controller_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule CoherenceTest.RegistrationController do use TestCoherence.ConnCase import TestCoherenceWeb.Router.Helpers setup %{conn: conn} = context do Application.put_env(:coherence, :opts, [:confirmable, :registerable]) Application.put_env( :coherence, :confirm_email_updates, Map.get(co...
35.984043
97
0.63119
03f6943f256a52ade1278e64125201267c32f923
15,108
ex
Elixir
lib/elixir/lib/io.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
defmodule IO do @moduledoc """ Functions handling input/output (IO). Many functions in this module expect an IO device as an argument. An IO device must be a PID or an atom representing a process. For convenience, Elixir provides `:stdio` and `:stderr` as shortcuts to Erlang's `:standard_io` and `:standard...
28.134078
89
0.664416
03f697a5d48e5aa1fbb2cbef5201dce4fef6dba9
80
exs
Elixir
test/liveman_web/views/page_view_test.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
test/liveman_web/views/page_view_test.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
19
2021-07-02T08:14:52.000Z
2021-07-30T09:33:12.000Z
test/liveman_web/views/page_view_test.exs
nimblehq/liveman
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
defmodule LivemanWeb.PageViewTest do use LivemanWeb.ConnCase, async: true end
20
38
0.825
03f6a05771435a0f2ae66d0b159fd0289383952d
1,206
ex
Elixir
lib/unf_swuber/endpoint.ex
Swuber/Epik-Club
0e56e602f0934e0e6225c7456bcb37f5b852be2d
[ "Apache-2.0" ]
1
2017-06-15T14:59:01.000Z
2017-06-15T14:59:01.000Z
lib/unf_swuber/endpoint.ex
Swuber/Epik-Club
0e56e602f0934e0e6225c7456bcb37f5b852be2d
[ "Apache-2.0" ]
1
2017-08-10T11:04:15.000Z
2017-08-10T11:04:15.000Z
lib/unf_swuber/endpoint.ex
Swuber/Epik-Club
0e56e602f0934e0e6225c7456bcb37f5b852be2d
[ "Apache-2.0" ]
3
2017-08-10T22:54:28.000Z
2018-10-18T22:32:55.000Z
defmodule UnfSwuber.Endpoint do use Phoenix.Endpoint, otp_app: :unf_swuber socket "/socket", UnfSwuber.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 Plug.St...
28.046512
69
0.718076
03f6a7cbd4e7642e48ee463a3aa68f943abdfe1e
816
exs
Elixir
test/bincode/tuple_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
test/bincode/tuple_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
test/bincode/tuple_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
defmodule Bincode.TupleTest do use Bincode.BaseCase, async: true test_serialization({255}, <<255>>, {:u8}) test_serialization({1, 1}, <<1, 1>>, {:u8, :u8}) test_serialization( {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, <<1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12>>, {:u8, :u8, :u8, :u8, :u8, :u8, :u8, :u...
30.222222
78
0.542892
03f6c316d696edf1b78b602277924f07055d5e70
1,562
ex
Elixir
lib/remote_ip/headers/generic.ex
devstopfix/remote_ip
c52084369a0da2f7700679b35085dca0eed5ff0d
[ "MIT" ]
null
null
null
lib/remote_ip/headers/generic.ex
devstopfix/remote_ip
c52084369a0da2f7700679b35085dca0eed5ff0d
[ "MIT" ]
null
null
null
lib/remote_ip/headers/generic.ex
devstopfix/remote_ip
c52084369a0da2f7700679b35085dca0eed5ff0d
[ "MIT" ]
null
null
null
defmodule RemoteIp.Headers.Generic do @moduledoc """ Generic parser for forwarding headers. When there is no other special `RemoteIp.Headers.*` parser submodule, `RemoteIp.Headers.parse/2` will use this module to parse the header value. So, `RemoteIp.Headers.Generic` is used to parse `X-Forwarded-For`, `X-...
25.193548
77
0.622279
03f71fc2c1eba0560fe38b84c6d0f4068cd04af7
250
ex
Elixir
lib/mix/tasks/lingohub/sync.ex
LostKobrakai/lingohub
f18af24f559f955b4556bb2396cfb622b6b0ce98
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/lingohub/sync.ex
LostKobrakai/lingohub
f18af24f559f955b4556bb2396cfb622b6b0ce98
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/lingohub/sync.ex
LostKobrakai/lingohub
f18af24f559f955b4556bb2396cfb622b6b0ce98
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Lingohub.Sync do use Mix.Task def run(args) do Mix.Task.run("lingohub.upload", args) Mix.shell().info("Wait for processing") Process.sleep(:timer.seconds(10)) Mix.Task.run("lingohub.download", args) end end
22.727273
43
0.688
03f723623fdb4c392514af3bfe3b822cfa81942a
376
exs
Elixir
test/hexpm/web/controllers/user_controller_test.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/user_controller_test.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/user_controller_test.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.UserControllerTest do use Hexpm.ConnCase, async: true setup do %{user: create_user("eric", "eric@mail.com", "hunter42"), password: "hunter42"} end test "show profile page", c do conn = build_conn() |> test_login(c.user) |> get("users/#{c.user.username}") ...
23.5
83
0.632979
03f75d1fe259ce379f80f83e0ce0390a433ee438
15,536
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/account_user_profiles.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/account_user_profiles.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/account_user_profiles.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.332425
519
0.627317
03f76b24028bc0b0020065f17dac077a7ad330cf
628
ex
Elixir
lib/techtree/accounts/password.ex
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
2
2018-10-26T06:06:42.000Z
2020-02-16T15:01:42.000Z
lib/techtree/accounts/password.ex
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
108
2018-10-25T10:30:33.000Z
2021-07-28T04:18:03.000Z
lib/techtree/accounts/password.ex
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
null
null
null
defmodule Techtree.Accounts.Password do use Ecto.Schema import Ecto.Changeset schema "passwords" do field :password, :string belongs_to :user, User timestamps() end @doc false def changeset(password, attrs) do password |> cast(attrs, [:password]) |> validate_required([:password])...
20.258065
62
0.692675
03f76df20600cfdc517643a3568fb5c0ce63faa9
2,589
ex
Elixir
lib/link_preview/processor.ex
dhirajbajaj/link_preview
b500c27b0244ec64563cae80a078c94adb12dec8
[ "Apache-2.0" ]
null
null
null
lib/link_preview/processor.ex
dhirajbajaj/link_preview
b500c27b0244ec64563cae80a078c94adb12dec8
[ "Apache-2.0" ]
null
null
null
lib/link_preview/processor.ex
dhirajbajaj/link_preview
b500c27b0244ec64563cae80a078c94adb12dec8
[ "Apache-2.0" ]
null
null
null
defmodule LinkPreview.Processor do @moduledoc """ Combines the logic of other modules with user input. """ alias LinkPreview.{Page, Requests} alias LinkPreview.Parsers.{Basic, Opengraph, Html, Image} @doc """ Takes url and returns result of processing. """ @spec call(String.t) :: LinkPreview.succ...
28.766667
103
0.626883
03f7da7245be9ed423b3478ae98e1284250ebfe3
5,225
ex
Elixir
lib/logger/lib/logger/utils.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/logger/lib/logger/utils.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/logger/lib/logger/utils.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Logger.Utils do @moduledoc false @doc """ Truncates a `chardata` into `n` bytes. There is a chance we truncate in the middle of a grapheme cluster but we never truncate in the middle of a binary code point. For this reason, truncation is not exact. """ @spec truncate(IO.chardata(), non_neg_i...
28.243243
84
0.644976
03f7db457f62f5d295cc166bf5b54249a9f39121
2,003
ex
Elixir
lib/parser.ex
lizhaochao/fun_pipelinex
2602ee7ab7d9e58101ba6927bffd1190105dae1b
[ "MIT" ]
null
null
null
lib/parser.ex
lizhaochao/fun_pipelinex
2602ee7ab7d9e58101ba6927bffd1190105dae1b
[ "MIT" ]
null
null
null
lib/parser.ex
lizhaochao/fun_pipelinex
2602ee7ab7d9e58101ba6927bffd1190105dae1b
[ "MIT" ]
null
null
null
defmodule FunPipelinex.Parser do @moduledoc false alias FunPipelinex.{Error, Helper} @allowed_fun_types [:def] @not_support_types [:@, :defmodule, :use, :require, :import, :alias] ### def parse_fun({:__block__, _, [_ | _] = block}), do: parse_fun(block, []) def parse_fun(block), do: parse_fun([block], ...
28.614286
91
0.637544
03f7ea0146b88a7e6b2bb4392038c95399f959af
1,345
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.02381
94
0.773234
03f7fe92f14b48b347aae17cdb3cf2c967aba60c
5,849
exs
Elixir
test/hexdocs/plug_test.exs
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
29
2016-10-13T07:32:04.000Z
2022-03-25T05:59:14.000Z
test/hexdocs/plug_test.exs
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
21
2016-02-24T03:59:35.000Z
2021-07-30T08:44:39.000Z
test/hexdocs/plug_test.exs
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
12
2016-02-28T19:57:36.000Z
2022-03-18T07:47:39.000Z
defmodule Hexdocs.PlugTest do use ExUnit.Case, async: true use Plug.Test alias Hexdocs.{HexpmMock, Store} @bucket :docs_private_bucket test "requests without subdomain not supported" do conn = conn(:get, "http://localhost:5002/foo") |> call() assert conn.status == 400 end test "redirect to hexp...
31.788043
97
0.624893
03f80d2aa241c829d1c932ada46e40780c91bb3f
955
ex
Elixir
test/support/channel_case.ex
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
test/support/channel_case.ex
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
test/support/channel_case.ex
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
defmodule MenuPlanner.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 interac...
25.131579
73
0.719372
03f814570ab3dcfdf4cc368e2540145c0fd6d5e4
237
ex
Elixir
lib/mpdex/client.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
lib/mpdex/client.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
lib/mpdex/client.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
defmodule Mpdex.Client do @moduledoc """ Specifies client API required from MPD client """ @doc "Method for sending command to MPD server" @callback send(cmd :: binary) :: {:ok, :any} | {:error, atom() | binary() | map()} end
26.333333
84
0.649789
03f84e41336b6ac038caffbcfad61fb4890b7706
491
ex
Elixir
lib/bloggex_web/views/error_view.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
1
2020-01-14T03:17:51.000Z
2020-01-14T03:17:51.000Z
lib/bloggex_web/views/error_view.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
lib/bloggex_web/views/error_view.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
defmodule BloggexWeb.ErrorView do use BloggexWeb, :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 # the template name...
28.882353
61
0.735234
03f85c62846902c60a93e2c910661c7b91c39284
2,956
ex
Elixir
lib/surface/components/utils.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
lib/surface/components/utils.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
248
2021-03-12T07:39:37.000Z
2022-03-31T13:36:44.000Z
lib/surface/components/utils.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Surface.Components.Utils do @moduledoc false import Surface, only: [event_to_opts: 2] @valid_uri_schemes [ "http:", "https:", "ftp:", "ftps:", "mailto:", "news:", "irc:", "gopher:", "nntp:", "feed:", "telnet:", "mms:", "rtsp:", "svn:", "tel:",...
24.229508
86
0.635995
03f86722894f79407bb030747b1e00f3d5b5fa37
104
ex
Elixir
tests/dummy/web/views/history_relationship_view.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/web/views/history_relationship_view.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
tests/dummy/web/views/history_relationship_view.ex
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Dummy.HistoryRelationshipView do use Dummy.Web, :view use Autox.RelationshipView end
17.333333
42
0.778846
03f8a3df4ea3a3e8b2de4c92eda8937ba4d9050b
6,271
ex
Elixir
lib/xplane_instance.ex
robinhilliard/elixplane
8b2e5151f2ac3d19a77089da5c32e0e6b47a3d33
[ "MIT" ]
5
2018-10-01T17:15:21.000Z
2021-05-24T19:13:46.000Z
lib/xplane_instance.ex
robinhilliard/elixplane
8b2e5151f2ac3d19a77089da5c32e0e6b47a3d33
[ "MIT" ]
null
null
null
lib/xplane_instance.ex
robinhilliard/elixplane
8b2e5151f2ac3d19a77089da5c32e0e6b47a3d33
[ "MIT" ]
null
null
null
defmodule XPlane.Instance do @moduledoc """ Represent a running instance of X-Plane and provide a GenServer to monitor the local network for X-Plane multicast "beacon" messages and return them as a list. ## Example ``` iex> XPlane.Instance.start {:ok, #PID<0.138.0>} iex> XPlane.Instance.list [ ...
27.747788
81
0.603413
03f8b117ab446601c740298da795aca69f5abf31
22,330
exs
Elixir
test/graph_test.exs
renaudlenne/libgraph
bd9b71fcc0a4080551668cc69dfc6bee14be5a0c
[ "MIT" ]
366
2017-06-03T23:10:04.000Z
2022-03-22T12:26:38.000Z
test/graph_test.exs
renaudlenne/libgraph
bd9b71fcc0a4080551668cc69dfc6bee14be5a0c
[ "MIT" ]
50
2017-07-14T17:55:53.000Z
2022-03-11T07:40:31.000Z
test/graph_test.exs
renaudlenne/libgraph
bd9b71fcc0a4080551668cc69dfc6bee14be5a0c
[ "MIT" ]
64
2017-07-29T07:01:42.000Z
2022-03-20T12:07:55.000Z
defmodule GraphTest do use ExUnit.Case, async: true doctest Graph doctest Graph.Edge alias Graph.Edge alias Graph.Test.Generators test "injectable vertex_identifier" do g = Graph.new() g_with_custom_vertex_identifier = Graph.new(vertex_identifier: fn v -> :erlang.phash2(v, trunc(:math.pow(2,...
28.591549
143
0.545992
03f8ef161fe7746b1c5c9f82679806cf46d5b89a
1,115
exs
Elixir
thermostat_umbrella/apps/serial/config/config.exs
ecoutu/thermostat
1b6b636b29ba7d81c1e240db5dbab163b6d3fd6b
[ "Apache-2.0" ]
3
2016-12-01T18:48:24.000Z
2017-09-26T18:45:36.000Z
thermostat_umbrella/apps/serial/config/config.exs
ecoutu/thermostat
1b6b636b29ba7d81c1e240db5dbab163b6d3fd6b
[ "Apache-2.0" ]
null
null
null
thermostat_umbrella/apps/serial/config/config.exs
ecoutu/thermostat
1b6b636b29ba7d81c1e240db5dbab163b6d3fd6b
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
03f9b8595641eea4aed9a4169c4f09469bdf6709
4,936
exs
Elixir
test/phoenix_live_view/router_test.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
1
2021-06-28T12:31:07.000Z
2021-06-28T12:31:07.000Z
test/phoenix_live_view/router_test.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
test/phoenix_live_view/router_test.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.RouterTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView.{Route, Session} alias Phoenix.LiveViewTest.{Endpoint, DashboardLive, DOM} alias Phoenix.LiveViewTest.Router.Helpers, as: Routes @endpoint Endpoint def veri...
34.041379
100
0.6406
03f9bcbb646ed6cd9350d1ddd3bae71a04bf27d9
3,648
exs
Elixir
test/shopify/oauth/request_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
3
2020-01-13T22:36:29.000Z
2021-12-12T17:59:03.000Z
test/shopify/oauth/request_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
6
2020-04-23T16:20:26.000Z
2021-08-03T05:47:44.000Z
test/shopify/oauth/request_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
1
2020-04-23T16:29:37.000Z
2020-04-23T16:29:37.000Z
defmodule Shopify.OAuth.RequestTest do use ExUnit.Case, async: true alias Shopify.OAuth.{ Config, Operation, Request, Response } setup do bypass = Bypass.open() config = %Config{ host: "localhost", port: bypass.port, protocol: "http" } operation = %Operation{ method: :post, params: %{ var: "a" }, ...
32.864865
115
0.592379
03f9bd788f40288d0cc169f9b9a57dcda17b2c8e
80
exs
Elixir
test/control_web/views/page_view_test.exs
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
2
2020-06-24T22:13:10.000Z
2021-01-07T18:01:14.000Z
test/control_web/views/page_view_test.exs
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
test/control_web/views/page_view_test.exs
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
defmodule ControlWeb.PageViewTest do use ControlWeb.ConnCase, async: true end
20
38
0.825
03f9c2016f191e2b221b612845485d66ba3ddec8
2,311
ex
Elixir
lib/daguex/processor/put_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/put_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/put_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
defmodule Daguex.Processor.PutImage do use Daguex.Processor alias Daguex.Image import Daguex.Processor.StorageHelper def init(opts) do %{storage: init_storage(required_option(:storage)), name: required_option(:name)} end def process(context, %{storage: storage, name: name}) do image = context.ima...
39.169492
126
0.645608
03f9d7d88b0c4f45eae0773298fa6d321b08f3e7
1,447
exs
Elixir
12-new-project/my_agent/test/my_agent_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/my_agent/test/my_agent_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/my_agent/test/my_agent_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule MyAgentTest do use ExUnit.Case doctest MyAgent test "Raises an error on start" do reason = "some reason" {:error, e} = MyAgent.start_link(fn -> raise reason end) assert e.__struct__ == RuntimeError assert e.message == reason end test "Creates an agent and gets 3" do initial = 3...
27.301887
80
0.61783
03f9ff03887470f6a29a37d8af0ea17e4719d47f
665
ex
Elixir
lib/white_bread/regex_extension.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
lib/white_bread/regex_extension.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
lib/white_bread/regex_extension.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.RegexExtension do @doc ~S""" Takes a regex and matches it against the string. Returns named groups with atoms as keys. ## Examples iex> atom_keyed_named_captures(~r/hello (?<world>[a-z]+)/, "hello earth") %{world: "earth"} iex> atom_keyed_named_captures(~r/(?<a>[a-z]+)...
25.576923
82
0.604511
03fa14f13f4db6098cdb94cd59ac0fe8048d7d5c
173
exs
Elixir
apps/exred_ui/priv/repo/migrations/20180314015534_add_ui_attributes_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180314015534_add_ui_attributes_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180314015534_add_ui_attributes_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
defmodule ExredUI.Repo.Migrations.AddUiAttributesToNode do use Ecto.Migration def change do alter table(:nodes) do add :ui_attributes, :map end end end
17.3
58
0.722543
03fa5a649f347cce695f1adb8782bd1653b281e6
7,000
ex
Elixir
apps/omg_eth/test/support/dev_helpers.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/support/dev_helpers.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/support/dev_helpers.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 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 writi...
37.433155
120
0.706571
03fa63d1cebde0f65666cdb0ec943a603d4bda76
449
exs
Elixir
server/test/idai_field_server_web/views/error_view_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/test/idai_field_server_web/views/error_view_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/test/idai_field_server_web/views/error_view_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
defmodule IdaiFieldServerWeb.ErrorViewTest do use IdaiFieldServerWeb.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(IdaiFieldServerWeb.ErrorView, "404.html", []) == "Not Found" end test "ren...
29.933333
100
0.752784
03fab9eb53725bf975f309ba280154f6b205a384
163
ex
Elixir
lib/speed.ex
njonsson/speed
eacbd2e89e0499806beecfcec1c9f2e6128c49df
[ "MIT" ]
null
null
null
lib/speed.ex
njonsson/speed
eacbd2e89e0499806beecfcec1c9f2e6128c49df
[ "MIT" ]
null
null
null
lib/speed.ex
njonsson/speed
eacbd2e89e0499806beecfcec1c9f2e6128c49df
[ "MIT" ]
null
null
null
defmodule Speed do @moduledoc """ Contains an implementation of the Speed card game. """ @typedoc "An error result" @type error :: {:error, binary} end
18.111111
52
0.674847
03fabffeb38121fb7969bd4d97d08afb38edb213
4,069
ex
Elixir
apps/andi/lib/andi/input_schemas/ingestions.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
8
2021-10-31T18:45:02.000Z
2022-03-05T18:33:08.000Z
apps/andi/lib/andi/input_schemas/ingestions.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
7
2022-01-14T21:21:23.000Z
2022-03-16T17:23:10.000Z
apps/andi/lib/andi/input_schemas/ingestions.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
1
2022-03-08T23:45:02.000Z
2022-03-08T23:45:02.000Z
defmodule Andi.InputSchemas.Ingestions do @moduledoc false alias Andi.InputSchemas.Ingestion alias Andi.Repo alias Andi.InputSchemas.InputConverter alias Andi.InputSchemas.StructTools alias Ecto.Changeset use Properties, otp_app: :andi import Ecto.Query, only: [from: 2] require Logger def get(ni...
25.591195
93
0.700909
03fad2c99587a93736f6e744b6bf46989ceec46f
499
ex
Elixir
lib/alfredoChat_web/views/error_view.ex
lujeremy/AlfredoChat
edabdcb3e077002e379efad841b17158b184ace4
[ "MIT" ]
null
null
null
lib/alfredoChat_web/views/error_view.ex
lujeremy/AlfredoChat
edabdcb3e077002e379efad841b17158b184ace4
[ "MIT" ]
2
2021-03-09T12:33:57.000Z
2021-05-10T02:49:27.000Z
lib/alfredoChat_web/views/error_view.ex
lujeremy/BasicChat
edabdcb3e077002e379efad841b17158b184ace4
[ "MIT" ]
null
null
null
defmodule AlfredoChatWeb.ErrorView do use AlfredoChatWeb, :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 # the templ...
29.352941
61
0.739479
03faee9fd237f459d507ae6bdbea658d9b1404df
790
ex
Elixir
apps/sim/lib/sim/realm/event_bus.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/sim/lib/sim/realm/event_bus.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/sim/lib/sim/realm/event_bus.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule Sim.Realm.EventBus do use GenServer def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: opts[:name]) end @impl true def init(opts) do {:ok, %{task_supervisor_name: opts[:task_supervisor_name], reducers: opts[:reducers]}} end def add_events(server, events) do GenSe...
23.235294
90
0.681013
03faf6a8ac37262b47b8906dd763c91288abfdf9
3,043
ex
Elixir
lib/graphql/resolvers/project.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
lib/graphql/resolvers/project.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
lib/graphql/resolvers/project.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.GraphQL.Resolvers.Project do require Ecto.Query alias Accent.Scopes.Project, as: ProjectScope alias Accent.{ GraphQL.Paginated, Operation, Plugs.GraphQLContext, Project, ProjectCreator, ProjectDeleter, ProjectUpdater, Repo, User } alias Ecto.Query @ty...
29.259615
122
0.595136
03fb0f0a7308368e4bfb9b078a5f3ade8e9cec0e
3,333
ex
Elixir
lib/elixir_script/passes/translate/forms/js.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
854
2017-02-19T01:50:45.000Z
2022-03-14T18:55:38.000Z
lib/elixir_script/passes/translate/forms/js.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
210
2017-02-20T17:44:39.000Z
2020-08-01T10:18:07.000Z
lib/elixir_script/passes/translate/forms/js.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
56
2017-02-19T14:50:05.000Z
2022-02-25T17:25:30.000Z
defmodule ElixirScript.Translate.Forms.JS do @moduledoc false alias ESTree.Tools.Builder, as: J alias ElixirScript.Translate.Helpers alias ElixirScript.Translate.Form def call_property() do J.member_expression( Helpers.functions(), J.identifier("call_property") ) end def compile({{:....
21.927632
91
0.560156
03fb29f1061d11f9a6e382ef160c288945ab6e7b
2,906
exs
Elixir
spec/kerbal_maps/users_spec.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
6
2019-01-25T12:07:43.000Z
2021-09-09T20:31:39.000Z
spec/kerbal_maps/users_spec.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
144
2019-01-26T02:20:07.000Z
2021-07-21T06:28:23.000Z
spec/kerbal_maps/users_spec.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
2
2019-07-31T21:11:00.000Z
2020-04-15T19:51:14.000Z
defmodule KerbalMaps.Users.Spec do @moduledoc false use ESpec require Logger import KerbalMaps.Factory alias KerbalMaps.Repo alias KerbalMaps.Users # alias KerbalMaps.Users.User # doctest KerbalMaps.Users example_group "users" do describe "list_users/1" do before do: allow Repo |> to(a...
31.247312
96
0.642808
03fb3a6b8328f3616c5c7d219d45269bb111f2f3
293
ex
Elixir
server/lib/melody_match_web/views/spotify_view.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
server/lib/melody_match_web/views/spotify_view.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
4
2021-03-28T03:09:37.000Z
2021-04-10T17:45:10.000Z
server/lib/melody_match_web/views/spotify_view.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
defmodule MelodyMatchWeb.SpotifyView do use MelodyMatchWeb, :view alias MelodyMatchWeb.SpotifyView def render("show.json", %{result: result}) do %{data: render_one(result, SpotifyView, "spotify.json")} end def render("spotify.json", %{spotify: result}) do result end end
22.538462
60
0.716724
03fb3a9ca3bd12ec0e886e17226a59d39727234b
9,761
exs
Elixir
deps/sqlitex/test/sqlitex_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/sqlitex/test/sqlitex_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/sqlitex/test/sqlitex_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule SqlitexTest do use ExUnit.Case doctest Sqlitex @shared_cache 'file::memory:?cache=shared' setup_all do {:ok, db} = Sqlitex.open(@shared_cache) on_exit fn -> Sqlitex.close(db) end {:ok, golf_db: TestDatabase.init(db)} end test "server basic query" do {:ok, conn} = Sqlit...
43.190265
150
0.608852
03fb42530b94ea0e46284e8ae5ea8313e5a6beef
10,107
ex
Elixir
lib/wechat/server_message/xml_message.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/server_message/xml_message.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/server_message/xml_message.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.ServerMessage.XmlMessage do @moduledoc """ 被动回复消息 [官方文档](https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html){:target="_blank"} """ import WeChat.Utils, only: [doc_link_prefix: 0, work_doc_link_prefix: 0, def_eex: 2] @doc_link "#{doc_link_pr...
28.390449
127
0.592659
03fb4bcf09e5f18c22cba62e91b07215bbd37f3b
124
exs
Elixir
config/config.exs
reichert621/swoosh
b85f6d44be939fd006abfb76fd15de0859c9a5f9
[ "MIT" ]
null
null
null
config/config.exs
reichert621/swoosh
b85f6d44be939fd006abfb76fd15de0859c9a5f9
[ "MIT" ]
null
null
null
config/config.exs
reichert621/swoosh
b85f6d44be939fd006abfb76fd15de0859c9a5f9
[ "MIT" ]
null
null
null
use Mix.Config config :bypass, adapter: Plug.Adapters.Cowboy2 if Mix.env() == :test do config :logger, level: :info end
15.5
46
0.709677
03fb98c7555f93048607cfec955dc9605f32c458
688
exs
Elixir
test/cog/chat/slack/templates/embedded/role_create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/slack/templates/embedded/role_create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/slack/templates/embedded/role_create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.Slack.Templates.Embedded.RoleCreateTest do use Cog.TemplateCase test "role-create template" do data = %{"results" => [%{"name" => "foo"}]} expected = "Created role 'foo'" assert_rendered_template(:slack, :embedded, "role-create", data, expected) end test "role-create template wi...
28.666667
78
0.578488
03fbc5e24ee4e69d094845f85108ae29186059ab
1,123
exs
Elixir
config/config.exs
shawnHartsell/hai-elixir
384383fa4e69f541a41247d4454b73eba31486e2
[ "MIT" ]
null
null
null
config/config.exs
shawnHartsell/hai-elixir
384383fa4e69f541a41247d4454b73eba31486e2
[ "MIT" ]
null
null
null
config/config.exs
shawnHartsell/hai-elixir
384383fa4e69f541a41247d4454b73eba31486e2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.225806
73
0.752449
03fbf24a3b44c877a0414411db713e79fae52b5e
1,143
exs
Elixir
clients/machine_learning/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.MachineLearning.V1.Mixfile do use Mix.Project @version "0.8.0" def project() do [ app: :google_api_machine_learning, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), ...
23.326531
116
0.596675
03fc1cb29c88c262afef5d7ea98b2afe2f349cd4
73
ex
Elixir
lib/dwarlixir/components/container.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
54
2017-03-09T20:43:11.000Z
2022-03-29T16:59:20.000Z
lib/dwarlixir/components/container.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
17
2017-03-12T18:16:21.000Z
2017-05-30T03:34:57.000Z
lib/dwarlixir/components/container.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
2
2017-04-23T23:47:41.000Z
2017-11-19T13:38:25.000Z
defmodule Dwarlixir.Components.Container do use Ecstatic.Component end
18.25
43
0.849315
03fc25bf3b85295bf8d5508167cac89f8a53b725
4,000
exs
Elixir
mix.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
mix.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
mix.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Umbrella.Mixfile do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "...
28.368794
73
0.53
03fc286a359190267c4b4c06ba0b976a15eb94b2
1,537
ex
Elixir
clients/surveys/lib/google_api/surveys/v2/model/field_mask.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/surveys/lib/google_api/surveys/v2/model/field_mask.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/model/field_mask.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 ...
30.74
92
0.712427
03fc3237c2fd44b9cd85df5003fd3636b89c9266
1,111
ex
Elixir
lib/sanbase/clickhouse/metric/table_metric.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/clickhouse/metric/table_metric.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/clickhouse/metric/table_metric.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Clickhouse.MetricAdapter.TableMetric do import Sanbase.Clickhouse.MetricAdapter.TableSqlQuery import Sanbase.Utils.Transform alias Sanbase.ClickhouseRepo def table_data(_metric, %{slug: []}, _from, _to) do {:ok, %{ rows: [], columns: [], values: [] }} end...
23.638298
79
0.634563
03fc480626085c38a6323fb055ca2cc4de66ad71
843
ex
Elixir
lib/scenic/primitive/style/text_height.ex
ruan-brandao/scenic
cbd8bf50c4239bb5e4ae7971bbc9850ae1f9f2b7
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/text_height.ex
ruan-brandao/scenic
cbd8bf50c4239bb5e4ae7971bbc9850ae1f9f2b7
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/text_height.ex
ruan-brandao/scenic
cbd8bf50c4239bb5e4ae7971bbc9850ae1f9f2b7
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2017-05-12. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.TextHeight do @moduledoc false use Scenic.Primitive.Style # alias Scenic.Primitive.Style # @dflag Style.dflag() # @type_code 0x0020 # ==========...
26.34375
80
0.493476
03fc7eb115af2314f6fdcc77e44dea48d8dbb948
1,131
exs
Elixir
test/shopify/oauth_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
3
2020-01-13T22:36:29.000Z
2021-12-12T17:59:03.000Z
test/shopify/oauth_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
6
2020-04-23T16:20:26.000Z
2021-08-03T05:47:44.000Z
test/shopify/oauth_test.exs
kurt-friedrich/shopify-oauth-elixir
bccac1c34ea35445fb737933a5d075d2972ea0be
[ "MIT" ]
1
2020-04-23T16:29:37.000Z
2020-04-23T16:29:37.000Z
defmodule Shopify.OAuthTest do use ExUnit.Case, async: true alias Shopify.OAuth.{ Operation } test "create_access_token/1" do params = %{ client_id: "💩", client_secret: "💩", code: "💩" } expected = %Operation{ method: :post, params: params, path: "/oauth/access_token" } assert ^expected = Shopif...
33.264706
196
0.756852
03fc935ad2fe0c784a5fbb96c8efcc7ff4e075c6
2,007
ex
Elixir
lib/adyen_checkout_ex/model/checkout_voucher_action.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/checkout_voucher_action.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/checkout_voucher_action.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.CheckoutVoucherAction do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"alternativeReference", :"...
29.514706
91
0.642252
03fcf73c9481289ad51b8b4c081e16485463ddba
135
ex
Elixir
lib/spike/volatile_entry.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
1
2019-04-16T22:13:23.000Z
2019-04-16T22:13:23.000Z
lib/spike/volatile_entry.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
lib/spike/volatile_entry.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
defmodule Spike.VolatileEntry do @enforce_keys [:key, :value, :exp, :inserted_at] defstruct [:key, :value, :exp, :inserted_at] end
27
50
0.718519
03fd6c0579fc2b464872c7e29b37c92bad6fa923
1,862
ex
Elixir
apps/omg_api/test/support/state/prop_test/form_block.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/state/prop_test/form_block.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/state/prop_test/form_block.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
35.132075
119
0.694952
03fd7bb767e5f3b7c08a37d2d12ab243a8e8b867
3,406
ex
Elixir
clients/script/lib/google_api/script/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/script/lib/google_api/script/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/script/lib/google_api/script/v1/model/operation.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...
64.264151
1,203
0.754257
03fdad528cb6588ffea503deada45c46c1010520
56
exs
Elixir
test/test_helper.exs
angelikatyborska/mazes
cba3b1d6aaaa896f4ca505b477cf03b67523ebf0
[ "MIT" ]
116
2020-12-26T20:56:01.000Z
2022-03-12T15:12:37.000Z
test/test_helper.exs
lohayon/mazes
98a6276ea7440af938edfb14476a5877fdc295e1
[ "MIT" ]
null
null
null
test/test_helper.exs
lohayon/mazes
98a6276ea7440af938edfb14476a5877fdc295e1
[ "MIT" ]
10
2020-12-29T05:11:43.000Z
2022-01-02T00:57:12.000Z
Application.ensure_all_started(:hackney) ExUnit.start()
18.666667
40
0.839286
03fdb6f2d06664080122d0d7db8f6d1b5f2c3e52
1,173
exs
Elixir
sample_app/config/dev.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
15
2018-09-05T13:36:40.000Z
2021-03-18T15:00:12.000Z
sample_app/config/dev.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
sample_app/config/dev.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
1
2018-11-15T09:33:53.000Z
2018-11-15T09:33:53.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :my_app, MyAppWeb.Endpoint, http: [port: 4000]...
33.514286
170
0.734868