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
f78f808fbcbb4939109f663e9f55f697e654c021
6,377
exs
Elixir
test/cadet_web/controllers/sourcecast_controller_test.exs
chrisgzf/cadet
101dfe43ca7d6626ee86bb1f2ba20f054602a563
[ "Apache-2.0" ]
null
null
null
test/cadet_web/controllers/sourcecast_controller_test.exs
chrisgzf/cadet
101dfe43ca7d6626ee86bb1f2ba20f054602a563
[ "Apache-2.0" ]
null
null
null
test/cadet_web/controllers/sourcecast_controller_test.exs
chrisgzf/cadet
101dfe43ca7d6626ee86bb1f2ba20f054602a563
[ "Apache-2.0" ]
null
null
null
defmodule CadetWeb.SourcecastControllerTest do use CadetWeb.ConnCase alias CadetWeb.SourcecastController test "swagger" do SourcecastController.swagger_definitions() SourcecastController.swagger_path_index(nil) SourcecastController.swagger_path_create(nil) SourcecastController.swagger_path_delet...
27.969298
93
0.53003
f78f8278926aebb46b5af2408da12ae84f6d3261
173
ex
Elixir
lib/chit_chat_web/views/pow_email_confirmation/mailer_view.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
lib/chit_chat_web/views/pow_email_confirmation/mailer_view.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
lib/chit_chat_web/views/pow_email_confirmation/mailer_view.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChatWeb.PowEmailConfirmation.MailerView do use ChitChatWeb, :mailer_view def subject(:email_confirmation, _assigns), do: "Confirm your email address" end
28.833333
78
0.815029
f78f994ee00f2d446bef1fff0ad3bdae92ef331c
74
exs
Elixir
test/views/page_view_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
defmodule Guardex.PageViewTest do use Guardex.ConnCase, async: true end
18.5
35
0.810811
f78fa5d3dd44aff7fc1569d93772c403565298fa
1,619
ex
Elixir
apps/initializer/lib/initializer.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/initializer/lib/initializer.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/initializer/lib/initializer.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Initializer do @callback on_start(state) :: {:ok, state} | {:error, term} when state: map defmacro __using__(opts) do name = Keyword.fetch!(opts, :name) supervisor = Keyword.fetch!(opts, :supervisor) quote location: :keep do use GenServer use Retry @behaviour Initializer ...
27.440678
101
0.571958
f78fa699261b884169ff1622a6ac53363bded2e4
1,947
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.94
199
0.755521
f78fb7fc6b57938ffc9e6cb50bbb34cf64965850
2,097
exs
Elixir
mix.exs
simedw/fastimage
b7ad5506984de72d00c91e22a004cf9d19448956
[ "MIT" ]
30
2016-08-12T06:28:45.000Z
2021-09-24T11:55:14.000Z
mix.exs
simedw/fastimage
b7ad5506984de72d00c91e22a004cf9d19448956
[ "MIT" ]
31
2016-08-10T21:30:08.000Z
2018-11-22T15:46:04.000Z
mix.exs
simedw/fastimage
b7ad5506984de72d00c91e22a004cf9d19448956
[ "MIT" ]
13
2016-08-10T15:11:42.000Z
2022-01-12T23:06:14.000Z
defmodule Fastimage.Mixfile do use Mix.Project @name "Fastimage" @version "1.0.0-rc4" @source "https://github.com/stephenmoloney/fastimage" @maintainers ["Stephen Moloney"] @elixir_versions ">= 1.4.0" @allowed_hackney_versions ~w(1.6 1.7 1.8 1.9 1.13 1.14) @hackney_versions "~> " <> Enum.join(@allowed_h...
22.793478
87
0.577969
f7900b68c483dbf73bd78c380cb16240b6550678
1,822
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.958333
441
0.760154
f7900f16e5f7d0b7e303698e487064dfa075641c
564
exs
Elixir
tests/message/test.exs
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
83
2019-10-20T12:04:33.000Z
2022-03-17T01:04:26.000Z
tests/message/test.exs
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
18
2019-10-12T17:56:25.000Z
2022-03-21T03:05:02.000Z
tests/message/test.exs
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
6
2020-02-21T14:00:30.000Z
2021-11-06T04:18:38.000Z
ExUnit.start(trace: false, seed: 0) defmodule NimlerMessage.Test do use ExUnit.Case, async: false alias NimlerMessage, as: NimlerWrapper setup do {:ok, [mymsg: 123]} end test "send_message()", context do assert(:ok == NimlerWrapper.send_message(self(), context[:mymsg])) receive...
24.521739
72
0.654255
f79024e285946d7ec4c3fab59569c3e7b725468b
4,856
exs
Elixir
test/features/visitor_views_post_test.exs
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-05-28T20:43:28.000Z
2019-05-28T20:43:28.000Z
test/features/visitor_views_post_test.exs
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-02-11T23:14:15.000Z
2019-02-11T23:14:15.000Z
test/features/visitor_views_post_test.exs
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-12-02T08:59:45.000Z
2019-12-02T08:59:45.000Z
defmodule VisitorViewsPostTest do use Tilex.IntegrationCase, async: Application.get_env(:tilex, :async_feature_test) alias TilexWeb.Endpoint alias Tilex.Integration.Pages.{ PostShowPage } test "the page shows a post", %{session: session} do developer = Factory.insert!(:developer) channel = Fact...
26.977778
94
0.626647
f7902b750ac766a67dd0308292935484b6d2f481
453
ex
Elixir
lib/control_flow_3/ok.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
lib/control_flow_3/ok.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
1
2020-01-28T00:19:53.000Z
2020-01-28T00:19:53.000Z
lib/control_flow_3/ok.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
defmodule ControlFlow3 do def ok!({atom, data}) do case atom == :ok do true -> data false -> raise "atom: #{atom}, data: #{data}" end end end # True case file = ControlFlow3.ok! File.open("README.md") File.close(file) # False calse #_ = ControlFlow3.ok! File.open("README2.md") # ** (RuntimeErr...
23.842105
51
0.646799
f7903c62127a66e16e552a11665568e8b134166a
378
ex
Elixir
example/lib/example_web/controllers/secret_controller.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/controllers/secret_controller.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/controllers/secret_controller.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
defmodule ExampleWeb.SecretController do use ExampleWeb, :controller def index(conn, _params) do current_user = get_session(conn, :current_user) if current_user do conn |> render("index.html", current_user: current_user) else conn |> put_status(:not_found) |> put_view(ExampleWeb...
23.625
62
0.674603
f7905f1ac72fcf2e727cb05055d7f4351451d5b2
1,544
exs
Elixir
test/mailgun_ex/api_bypass_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/api_bypass_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/api_bypass_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
1
2019-05-10T13:32:19.000Z
2019-05-10T13:32:19.000Z
defmodule MailgunEx.ApiBypassTest do use ExUnit.Case alias MailgunEx.{Api, BypassApi} # In this file, we will be making stubbed out requests # to a local *bypass* server*. These tests will load # fixtures from ./test/fixtures which have been generated # by running the MailgunEx.ApiSandboxTest module tests...
28.072727
84
0.620466
f79084fc0f98dadd70463f2c9fb675c860b0c653
267
ex
Elixir
lib/problems/002.ex
andreogle/elixir-euler
12fb76c63dd170dd4d4a7bb7c943831bc92cf877
[ "MIT" ]
null
null
null
lib/problems/002.ex
andreogle/elixir-euler
12fb76c63dd170dd4d4a7bb7c943831bc92cf877
[ "MIT" ]
null
null
null
lib/problems/002.ex
andreogle/elixir-euler
12fb76c63dd170dd4d4a7bb7c943831bc92cf877
[ "MIT" ]
null
null
null
defmodule Problem2 do require Integer def solve(limit) do fibonacci(limit) end def fibonacci(0), do: 0 def fibonacci(1), do: 1 def fibonacci(n) do sum = fibonacci(n - 1) + fibonacci(n - 2) if Integer.is_even(sum), do: sum, else: 0 end end
17.8
45
0.644195
f79099b6f3bf752cd5c3ff59f3891ab39794440a
1,773
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_ssh_public_key.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_ssh_public_key.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_ssh_public_key.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...
33.45283
117
0.716864
f790a8d5c3b565795a86fbccc9a319a7ea9df012
33,591
ex
Elixir
lib/ex_admin/register.ex
totorigolo/ex_admin
ba494582c5816f839aa4b6451893751f3cfc627b
[ "MIT" ]
null
null
null
lib/ex_admin/register.ex
totorigolo/ex_admin
ba494582c5816f839aa4b6451893751f3cfc627b
[ "MIT" ]
null
null
null
lib/ex_admin/register.ex
totorigolo/ex_admin
ba494582c5816f839aa4b6451893751f3cfc627b
[ "MIT" ]
null
null
null
defmodule ExAdmin.Register do @moduledoc """ Allows registering a resource or a page to be displayed with ExAdmin. For each model you wanted rendered by ExAdmin, use the `register_resource` call. For each general page (like a dashboard), use the `register_page` call. To allow ExAdmin to manage the resourc...
29.260453
99
0.636361
f790e2e4dd6d2932874a7e26c24caea417477a01
8,782
exs
Elixir
test/oban/testing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
test/oban/testing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
test/oban/testing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
defmodule Oban.TestingTest do use Oban.Case use Oban.Testing, repo: Oban.Test.Repo alias Oban.TelemetryHandler @moduletag :integration defmodule InvalidWorker do def perform(_), do: :ok end defmodule OverriddenWorker do use Oban.Worker @impl Worker def new({key, val}, opts) do ...
31.476703
97
0.628672
f790ec2ffce39b0fbce65c36f20e5dfe669465a7
662
ex
Elixir
lib/visualixir/node_monitor.ex
markhu53/visualixir
80ce8b75fe33476fe7d17110ffc0271f71bc1f91
[ "MIT" ]
1,311
2015-11-08T02:21:41.000Z
2022-03-25T17:32:57.000Z
lib/visualixir/node_monitor.ex
markhu53/visualixir
80ce8b75fe33476fe7d17110ffc0271f71bc1f91
[ "MIT" ]
30
2015-11-09T17:07:50.000Z
2022-02-10T17:13:50.000Z
lib/visualixir/node_monitor.ex
markhu53/visualixir
80ce8b75fe33476fe7d17110ffc0271f71bc1f91
[ "MIT" ]
58
2015-11-08T16:50:00.000Z
2022-03-30T13:03:18.000Z
defmodule Visualixir.NodeMonitor do use GenServer require Logger alias VisualixirWeb.TraceChannel def start_link do GenServer.start_link(__MODULE__, []) end def init([]) do :ok = :net_kernel.monitor_nodes(true) {:ok, nil} end def handle_info({:nodeup, node}, state) do Logger.info "[V...
20.060606
65
0.694864
f791080a0881b4fe793604c84718e883a1b52e8a
709
ex
Elixir
lib/web_demo_web/gettext.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
lib/web_demo_web/gettext.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
lib/web_demo_web/gettext.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
defmodule WebDemoWeb.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 WebDemoWeb.Gettext # Simple translation gettext "Here is t...
28.36
72
0.681241
f791377180767ac8d13ce9bce3aecf8a091ce98b
876
ex
Elixir
test/support/conn_case.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
test/support/conn_case.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
test/support/conn_case.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
defmodule UshoWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the t...
26.545455
59
0.726027
f7914967dbd9b9bf5e25fe402b0acf067d84a839
9,719
exs
Elixir
test/vintage_net/interfaces_monitor_test.exs
nerves-networking/vintage_net
8d4251a0ec995babf8f4d7aa7cc1d74b70646c72
[ "Apache-2.0" ]
85
2019-05-09T14:54:38.000Z
2022-02-08T16:52:04.000Z
test/vintage_net/interfaces_monitor_test.exs
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
132
2019-05-09T15:57:59.000Z
2022-02-28T16:31:22.000Z
test/vintage_net/interfaces_monitor_test.exs
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
14
2019-07-08T19:18:23.000Z
2022-02-08T16:52:05.000Z
defmodule VintageNet.InterfacesMonitorTest do use ExUnit.Case import ExUnit.CaptureLog alias VintageNet.InterfacesMonitor doctest InterfacesMonitor setup do # Capture Application exited logs capture_log(fn -> Application.stop(:vintage_net) Application.start(:vintage_net) end) :o...
27.377465
97
0.533697
f7914b5387f18524ee2bb944f8f060d226c443f2
1,274
exs
Elixir
malmo_elixir/new_try/led_demo/mix.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/new_try/led_demo/mix.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/new_try/led_demo/mix.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
defmodule LedDemo.MixProject do use Mix.Project @all_targets [:bbb] def project do [ app: :led_demo, version: "0.1.0", elixir: "~> 1.8", archives: [nerves_bootstrap: "~> 1.5"], start_permanent: Mix.env() == :prod, build_embedded: true, aliases: [loadconfig: [&bootst...
24.5
68
0.568289
f7915a97b0748fa5493d23e6760d614ce15e8eed
672
ex
Elixir
lib/sanbase/comments/entity_modules/timeline_event_comment.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/comments/entity_modules/timeline_event_comment.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/comments/entity_modules/timeline_event_comment.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Comment.TimelineEventComment do @moduledoc ~s""" A mapping table connecting comments and timeline events. This module is used to create, update, delete and fetch timeline events comments. """ use Ecto.Schema import Ecto.Changeset schema "timeline_event_comments_mapping" do belongs...
26.88
83
0.732143
f7919ffaa47fd1dd4c0f40664ca67d744d998468
2,292
ex
Elixir
test/support/live_views/events.ex
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/support/live_views/events.ex
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/support/live_views/events.ex
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
defmodule LiveElementTest.EventsLive do use LiveElement, namespace: LiveElementTest def render(assigns) do ~H""" count: <%= @count %> """ end def mount(_params, _session, socket) do {:ok, assign(socket, events: [], count: 0)} end def handle_event("reply", %{"count" => new_count, "reply" =...
22.252427
81
0.610384
f791e6b4072addaabd02f8ccacf4f220d13c95ea
1,080
exs
Elixir
mix.exs
Awlexus/Stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
3
2019-06-13T18:17:42.000Z
2019-07-14T19:44:51.000Z
mix.exs
Awlexus/Stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
null
null
null
mix.exs
Awlexus/Stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
null
null
null
defmodule Stopsel.MixProject do use Mix.Project def project do [ app: :stopsel, version: "0.2.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), package: package(), description: description(), ...
21.176471
64
0.581481
f791f78c2eaee4ff95fc91102a8f2c6dc86b8aab
1,127
ex
Elixir
questions/updates/00070000-delete.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
null
null
null
questions/updates/00070000-delete.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
null
null
null
questions/updates/00070000-delete.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
1
2021-05-14T17:45:40.000Z
2021-05-14T17:45:40.000Z
|QUESTIONNAME| Delete all bookings |QUESTION| As part of a clearout of our database, we want to delete all bookings from the cd.bookings table. How can we accomplish this? |QUERY| delete from cd.bookings; |ANSWER| <p>The <c>DELETE</c> statement does what it says on the tin: deletes rows from the table. Here, we show th...
40.25
346
0.759539
f7920facadc2f85cd20292fa1992582f64be544a
184
ex
Elixir
web/controllers/page_controller.ex
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
defmodule Reactpxbp.PageController do use Reactpxbp.Web, :controller plug :put_layout, "app_layout.html" def main_app(conn, _params) do render conn, "app.html" end end
15.333333
37
0.728261
f7925a2aaf6a54363663bad897a1d4c4fe63088f
55,920
exs
Elixir
test/query_test.exs
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
null
null
null
test/query_test.exs
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
1
2020-05-26T02:38:50.000Z
2020-05-26T02:38:50.000Z
test/query_test.exs
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
null
null
null
defmodule QueryTest do use ExUnit.Case, async: true import Postgrex.TestHelper import ExUnit.CaptureLog alias Postgrex, as: P setup context do opts = [ database: "postgrex_test", backoff_type: :stop, prepare: context[:prepare] || :named, max_restarts: 0 ] {:ok, pid} = P.s...
36.837945
99
0.528344
f792603df214cedc0332f01fdae0ade079d2c516
2,955
ex
Elixir
apps/smtp_recv/lib/smtp_recv/smtp_server.ex
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
2
2018-03-20T17:28:58.000Z
2018-05-07T14:13:21.000Z
apps/smtp_recv/lib/smtp_recv/smtp_server.ex
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
1
2018-03-20T17:54:56.000Z
2018-03-31T16:27:15.000Z
apps/smtp_recv/lib/smtp_recv/smtp_server.ex
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
null
null
null
defmodule SMTPRecv.SMTPServer do @moduledoc """ GenServer module for the SMTP server of the SMTPRecv app. Part of Dialoguex. """ alias Mail.Parsers.RFC2822 require Logger @behaviour :gen_smtp_server_session def init(hostname, session_count, _address, _options) do if session_count > 6 do Log...
23.267717
98
0.62775
f792a5c06bc4427b3e081d4c6a27617ca902b327
2,004
exs
Elixir
elixir-for-programmers/game/hangman/test/game_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
2
2017-05-19T18:31:38.000Z
2017-05-19T18:31:41.000Z
elixir-for-programmers/game/hangman/test/game_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
elixir-for-programmers/game/hangman/test/game_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
defmodule GameTest do use ExUnit.Case doctest Hangman.Game alias Hangman.Game test "new_game returns structure" do game = Game.new_game() assert game.turns_left == 7 assert game.game_state == :initializing assert length(game.letters) > 0 end test "new_game returns only a string" do ...
27.452055
60
0.643214
f792b8a790f8dd4ab842c276e362b4df9aa6c4e6
454
exs
Elixir
test/models/user_test.exs
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
1
2018-04-23T14:55:58.000Z
2018-04-23T14:55:58.000Z
test/models/user_test.exs
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
test/models/user_test.exs
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
defmodule Flaggy.UserTest do use Flaggy.ModelCase alias Flaggy.User @valid_attrs %{image: "some content", name: "some content", token: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = User.changeset(%User{}, @valid_attrs) assert changeset.valid? end test...
23.894737
84
0.713656
f792be7536feadd947511eb197ce74c492389d6d
82
exs
Elixir
test/lib/spender_web/views/layout_view_test.exs
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
2
2018-02-27T06:29:59.000Z
2018-06-09T16:53:49.000Z
test/lib/spender_web/views/layout_view_test.exs
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
94
2018-02-22T06:03:19.000Z
2018-06-28T14:30:31.000Z
test/lib/spender_web/views/layout_view_test.exs
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
1
2020-03-04T19:41:06.000Z
2020-03-04T19:41:06.000Z
defmodule SpenderWeb.LayoutViewTest do use SpenderWeb.ConnCase, async: true end
20.5
38
0.829268
f792c427d1bc733109fcde0824ca89ab0ce4d5d0
10,200
exs
Elixir
test/nys_etl/commcare/api_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
test/nys_etl/commcare/api_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
test/nys_etl/commcare/api_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Commcare.ApiTest do use NYSETL.DataCase, async: false alias NYSETL.Commcare alias NYSETL.Test describe "get_county_list" do setup :set_mox_from_context setup :mock_county_list test "returns list of counties" do {:ok, counties, :cache_skip} = Commcare.Api.get_county_list() ...
40.15748
150
0.654902
f7930e533663e615af5acd5c721fbb957cccb849
428
exs
Elixir
apps/alert_processor/priv/repo/migrations/20170822155325_create_alerts.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/priv/repo/migrations/20170822155325_create_alerts.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/20170822155325_create_alerts.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule AlertProcessor.Repo.Migrations.CreateAlerts do use Ecto.Migration def change do create table(:alerts, primary_key: false) do add :id, :binary_id, primary_key: true add :alert_id, :string add :last_modified, :utc_datetime add :data, :map timestamps(type: :utc_datetime) ...
23.777778
56
0.686916
f793145d7a65f41ec90c756c765088174efbba3f
1,153
exs
Elixir
config/config.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
53
2015-12-26T22:52:21.000Z
2022-01-25T03:56:48.000Z
config/config.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
21
2015-10-02T13:15:46.000Z
2021-01-12T19:14:34.000Z
config/config.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
11
2016-08-20T22:59:59.000Z
2021-12-12T18:04:16.000Z
# 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...
37.193548
73
0.75889
f7931d40cb18ef760ea84698d8a397c3af25f034
3,381
ex
Elixir
lib/radiator_web/controllers/admin/episode_controller.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
1
2021-03-02T16:59:40.000Z
2021-03-02T16:59:40.000Z
lib/radiator_web/controllers/admin/episode_controller.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
lib/radiator_web/controllers/admin/episode_controller.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
defmodule RadiatorWeb.Admin.EpisodeController do use RadiatorWeb, :controller alias Radiator.Directory alias Radiator.Storage alias Directory.Episode alias Directory.Editor plug :assign_podcast when action in [:new, :create, :update] defp assign_podcast(conn, _) do assign(conn, :podcast, Directory....
29.146552
77
0.619639
f7932eda6d2e7b28b02bf953f16d13b8368bf70e
11,474
ex
Elixir
lib/eqrcode/matrix.ex
maltoe/eqrcode
cde803e209eb4840750a24c394a0bb397117f96a
[ "MIT" ]
null
null
null
lib/eqrcode/matrix.ex
maltoe/eqrcode
cde803e209eb4840750a24c394a0bb397117f96a
[ "MIT" ]
null
null
null
lib/eqrcode/matrix.ex
maltoe/eqrcode
cde803e209eb4840750a24c394a0bb397117f96a
[ "MIT" ]
null
null
null
defmodule EQRCode.Matrix do @moduledoc false alias EQRCode.SpecTable import Bitwise @derive {Inspect, only: [:version, :error_correction_level, :modules, :mask]} defstruct [:version, :error_correction_level, :modules, :mask, :matrix] @type coordinate :: {non_neg_integer(), non_neg_integer()} @type mat...
27.714976
148
0.505404
f7933b6193d2bf50a4547827b12880a7e5777997
2,555
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_visual_element.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_visual_element.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_visual_element.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.5
212
0.748337
f7933d1d0bbd0ceaa94bce6052c1ddbd88e81990
993
exs
Elixir
exercise_2.1.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
2
2019-08-26T13:17:27.000Z
2020-09-24T13:16:07.000Z
exercise_2.1.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
exercise_2.1.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
defmodule Rational do def make(n, d) when d < 0, do: make(-n, -d) def make(n, d) do g = gcd(abs(n), abs(d)) [div(n, g) | div(d, g)] end def numer(rat), do: hd(rat) def denom(rat), do: tl(rat) def string(rat), do: "#{Rational.numer rat} / #{Rational.denom rat}" def print(rat), do: IO.puts string(r...
28.371429
70
0.655589
f793478939120ebb2ce3ab510e659639f7ef412a
436
ex
Elixir
lib/apeekee.ex
KamilZielinski/apeekee
6f9373f92d596dd942e7449f41be7f694ec0fc50
[ "MIT" ]
1
2020-05-01T11:29:53.000Z
2020-05-01T11:29:53.000Z
lib/apeekee.ex
KamilZielinski/apeekee
6f9373f92d596dd942e7449f41be7f694ec0fc50
[ "MIT" ]
3
2019-10-07T22:38:05.000Z
2019-10-12T01:23:15.000Z
lib/apeekee.ex
KamilZielinski/apeekee
6f9373f92d596dd942e7449f41be7f694ec0fc50
[ "MIT" ]
null
null
null
defmodule Apeekee.Plug do import Plug.Conn alias Apeekee.Key alias Apeekee.Auth def init(_), do: [] def call(conn, _) do case Key.get_auth_key(conn) do {:ok, key} -> case Auth.auth_by_key(conn, key) do {:ok, user} -> Auth.on_success(conn, user) {:error, error} -> Auth.o...
20.761905
57
0.584862
f7935b9b6bdc67cd38ce9f6a3af128865348d937
1,516
ex
Elixir
lib/usho_web.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
lib/usho_web.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
lib/usho_web.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
defmodule UshoWeb 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 UshoWeb, :controller use UshoWeb, :view The definitions below will be executed for every view, controller, etc, so k...
22.626866
83
0.684697
f79388e289c03f48bb1deacf115db68578205128
2,436
exs
Elixir
src/mbs/test/functional_tests/command/build/ls_test.exs
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
src/mbs/test/functional_tests/command/build/ls_test.exs
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
1
2021-12-15T07:22:59.000Z
2021-12-15T07:47:56.000Z
src/mbs/test/functional_tests/command/build/ls_test.exs
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
defmodule Test.Command.Build.Ls do use ExUnit.Case, async: false import ExUnit.CaptureIO alias Test.Utils @test_component_a_id "test_component_a" @test_toolchain_a_id "test_toolchain_a" @component_a_dir Path.absname(Path.join(Utils.test_project_dir(), @test_component_a_id)) @toolchain_a_dir Path.absnam...
27.681818
114
0.621511
f7938d6e74aa470350901d321643f5eb688a0a0f
2,685
ex
Elixir
lib/user_manager/authorize/authorize_user_validate_token.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
3
2017-04-02T11:17:31.000Z
2017-09-08T09:12:11.000Z
lib/user_manager/authorize/authorize_user_validate_token.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
15
2017-02-11T01:08:54.000Z
2017-02-22T09:45:41.000Z
lib/user_manager/authorize/authorize_user_validate_token.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
1
2018-06-19T04:10:53.000Z
2018-06-19T04:10:53.000Z
defmodule UserManager.Authorize.AuthorizeUserValidateToken do @moduledoc false use GenStage require Logger def start_link(_) do GenStage.start_link(__MODULE__, [], name: __MODULE__) end def init(_) do {:producer_consumer, [], subscribe_to: [UserManager.Authorize.AuthorizeUserWorkflowProducer]} ...
49.722222
360
0.730726
f7939fbdd09ba7f883777663d0ccd7971f1378fc
1,556
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/web_apps_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/web_apps_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/web_apps_list_response.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...
33.106383
133
0.750643
f793e224b27a28fc94b449904eb3880ef637a0df
3,791
exs
Elixir
test/hangman/pass_unit_test.exs
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
1
2016-12-19T00:10:34.000Z
2016-12-19T00:10:34.000Z
test/hangman/pass_unit_test.exs
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
test/hangman/pass_unit_test.exs
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
defmodule Hangman.Pass.UnitTest do use ExUnit.Case, async: true alias Hangman.{Reduction, Counter, Pass, Words} setup context do case context[:case_key] do :start -> start_round_setup() :guessing -> guessing_round_setup() end end def start_round_setup do #### START ROUND 1 pass_...
25.965753
91
0.54181
f793f2600ae49cd8dfac885367f65963bf267488
1,269
exs
Elixir
mix.exs
iStefo/OK
cb98f2ee1be66e7af11d6a103470dd5f138f335b
[ "Apache-2.0" ]
582
2015-10-21T06:51:08.000Z
2022-03-22T09:21:12.000Z
mix.exs
iStefo/OK
cb98f2ee1be66e7af11d6a103470dd5f138f335b
[ "Apache-2.0" ]
61
2015-10-21T07:09:19.000Z
2021-06-20T10:16:39.000Z
mix.exs
iStefo/OK
cb98f2ee1be66e7af11d6a103470dd5f138f335b
[ "Apache-2.0" ]
24
2015-10-21T06:59:02.000Z
2021-05-02T12:09:10.000Z
defmodule OK.Mixfile do use Mix.Project def project do [ app: :ok, version: "2.3.0", elixir: "~> 1.1", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), description: description(), ...
22.660714
71
0.551615
f7940a5cde7794b5dcbb55c13f196c4222c86478
4,447
exs
Elixir
mix.exs
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
mix.exs
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
mix.exs
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @version "2.3.3" def project do [ app: :oban, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), preferred_cli_env: [...
28.324841
89
0.559478
f7942e7cad7bd010204478fee7266a8701c206f4
965
exs
Elixir
config/config.exs
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
config/config.exs
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
3
2016-09-09T21:09:17.000Z
2017-09-13T17:55:20.000Z
config/config.exs
Georeactor/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :superfundme, Superfundme.Endpoint, url: [host: "l...
32.166667
86
0.761658
f79462e966f051fb6f0c5d545920a4a51300d58b
84
ex
Elixir
example_json_parse/lib/core.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
example_json_parse/lib/core.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
example_json_parse/lib/core.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
defmodule Core do @moduledoc """ Represents the core model of the app """ end
14
38
0.678571
f794971e78b434a84249f8036376059f72c53a56
556
ex
Elixir
lib/portunes_core/snapshot.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
1
2021-02-25T16:49:20.000Z
2021-02-25T16:49:20.000Z
lib/portunes_core/snapshot.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
null
null
null
lib/portunes_core/snapshot.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
null
null
null
defmodule PortunesCore.Snapshot do @moduledoc """ Contains an snapshot of configuration from a remote configration repository and all of its associated metadata. The meaning of this metadata is up to the `Portunes.Repository` adapter used. """ use TypedStruct typedstruct do @typedoc "A remote repos...
27.8
92
0.708633
f794c3d4f383746e3822c6ff3b7f3c2ff355d0d3
613
ex
Elixir
apps/core/lib/core/conduit/broker.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/conduit/broker.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/conduit/broker.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Conduit.Broker do use Core.Conduit.Base, otp_app: :core pipeline :in_tracking do plug Conduit.Plug.CorrelationId plug Conduit.Plug.LogIncoming end pipeline :error_handling do plug Core.Conduit.Plug.DeadLetter, broker: __MODULE__, publish_to: :error plug Core.Conduit.Plug.Retry, ...
25.541667
77
0.750408
f794cf9a50ab6117c4ad3ec3b8d3c9f93e1befdd
732
ex
Elixir
lib/brando/villain/tags/t.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/villain/tags/t.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/villain/tags/t.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Villain.Tags.T do @moduledoc false @behaviour Liquex.Tag import NimbleParsec alias Liquex.Parser.Literal alias Liquex.Parser.Field alias Liquex.Parser.Tag @impl true def parse() do ignore(Tag.open_tag()) |> ignore(string("t")) |> ignore(Literal.whitespace()) |> unwrap_...
22.875
62
0.669399
f794d89780753006c94e6943973e191469b55f85
1,574
exs
Elixir
apps/neoscan_node/mix.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_node/mix.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_node/mix.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanNode.Mixfile do use Mix.Project def project do [ app: :neoscan_node, version: "2.0.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.6", elixirc_options: [ ...
24.215385
79
0.557814
f7951d6bb68ce998fe5aa1cf792b78b1a3ffc62f
791
exs
Elixir
test/scenic/primitive/style/cap_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/style/cap_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/style/cap_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on June 18, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.CapTest do use ExUnit.Case, async: true doctest Scenic alias Scenic.Primitive.Style alias Scenic.Primitive.Style.Cap # ==============================================...
21.378378
80
0.618205
f79534d1a047cf94624f7df4ec79a955dac5dd59
1,939
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.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.78
263
0.763796
f7954c72ab00ee841ce2b95765a910b2d04a6066
2,306
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/comment_feed.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_feed.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_feed.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...
37.193548
200
0.724631
f79565025d857398516c9d06f658949561c182b5
3,845
exs
Elixir
.credo.exs
se-apc/sqlite_ecto2
c88d930b6007ec2d0c3d8556ace780d722886570
[ "MIT" ]
null
null
null
.credo.exs
se-apc/sqlite_ecto2
c88d930b6007ec2d0c3d8556ace780d722886570
[ "MIT" ]
null
null
null
.credo.exs
se-apc/sqlite_ecto2
c88d930b6007ec2d0c3d8556ace780d722886570
[ "MIT" ]
null
null
null
%{configs: [ %{name: "default", files: %{ included: ["lib/", "test/", "integration/"], excluded: [~r"/_build/", ~r"/deps/"] }, requires: [], check_for_updates: false, # You can customize the parameters of any check by adding a second element # to the tuple. # # To disable ...
41.344086
78
0.70039
f7957d665a8192b0d0f9028253eddb7932742018
4,567
exs
Elixir
test/poison/parser_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
null
null
null
test/poison/parser_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
null
null
null
test/poison/parser_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
null
null
null
defmodule Poison.ParserTest do use ExUnit.Case, async: true import Poison.Parser alias Poison.SyntaxError test "numbers" do assert_raise SyntaxError, "Unexpected end of input at position 1", fn -> parse!("-") end assert_raise SyntaxError, "Unexpected token at position 1: -", fn -> parse!("--1") end ...
44.77451
133
0.579593
f7959655bec6282e17f8944b1df2e1663da19a7a
1,119
exs
Elixir
config/config.exs
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
4
2016-10-11T13:10:57.000Z
2016-10-19T07:24:31.000Z
config/config.exs
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
null
null
null
config/config.exs
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
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.096774
73
0.751564
f795a69ccd7100a34e70e338f47de2154b239861
99
ex
Elixir
test/support/memory_journal.ex
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
1
2019-08-09T06:01:42.000Z
2019-08-09T06:01:42.000Z
test/support/memory_journal.ex
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
3
2019-02-23T23:31:16.000Z
2019-03-07T15:22:23.000Z
test/support/memory_journal.ex
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
1
2020-03-05T21:17:21.000Z
2020-03-05T21:17:21.000Z
defmodule Journal.Memory do use Journal, otp_app: :journal, adapter: Journal.Adapters.Memory end
24.75
66
0.79798
f795bbd168cd23e1583ff7db1e0432b853a1d586
6,613
ex
Elixir
lib/hxl/eval/base.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
18
2021-09-28T23:15:46.000Z
2021-12-21T15:04:40.000Z
lib/hxl/eval/base.ex
drowzy/hxl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
4
2021-09-28T14:50:16.000Z
2022-03-29T13:22:49.000Z
lib/hxl/eval/base.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
null
null
null
defmodule HXL.Evaluator.Base do use HXL.Evaluator alias HXL.Ast.{ AccessOperation, Attr, Binary, Block, Body, Comment, Conditional, ForExpr, FunctionCall, Identifier, Literal, Object, TemplateExpr, Tuple, Unary } @impl true def eval(%Body{statement...
22.191275
138
0.553455
f795be67e34bd79eb0ee323717d685dcf5c8f86d
1,411
ex
Elixir
alcarin_api/apps/alcarin/test/support/data_case.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
alcarin_api/apps/alcarin/test/support/data_case.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
3
2018-05-26T10:36:22.000Z
2018-05-26T13:48:36.000Z
alcarin_api/apps/alcarin/test/support/data_case.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
defmodule Alcarin.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.196429
77
0.67966
f795e7bf3cf5b76f1115cea0d6292d66a9ede634
1,443
ex
Elixir
lib/aph/main.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
8
2019-09-26T13:59:25.000Z
2020-03-30T21:26:48.000Z
lib/aph/main.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
39
2019-11-16T02:24:28.000Z
2020-01-14T16:40:28.000Z
lib/aph/main.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
2
2019-12-16T07:55:14.000Z
2020-06-11T04:14:00.000Z
defmodule Aph.Main do @moduledoc """ The context for Avatars. """ import Ecto.Query, warn: false alias Aph.Repo alias Aph.Main.Avatar def list_avatars do Repo.all(Avatar) end def get_avatar(id), do: Repo.get!(Avatar, id) def create_avatar(attrs \\ %{}, pic1, pic2) do with {:ok, avatar} ...
24.457627
80
0.593902
f79642f5d52e5a2dc225cda8e7246bd17b91a85a
284
ex
Elixir
lib/actions/deploy_contract.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
7
2021-12-27T19:02:30.000Z
2022-03-30T14:08:46.000Z
lib/actions/deploy_contract.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
4
2021-12-29T21:16:02.000Z
2022-01-01T22:07:17.000Z
lib/actions/deploy_contract.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
1
2022-02-21T18:17:36.000Z
2022-02-21T18:17:36.000Z
defmodule NearApi.Actions.DeployContract do @moduledoc """ Transaction Actions DeployContract """ @type t :: %__MODULE__{action_code: integer, code: integer} use Borsh, schema: [ action_code: :u8, code: :u8 ] defstruct [:code, action_code: 1] end
16.705882
61
0.651408
f7964815b30dd8b89c7d44ea1767efd069256bb1
606
ex
Elixir
lib/blockchain.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
lib/blockchain.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
lib/blockchain.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
defmodule ExCoin.Blockchain do @moduledoc """ Blockchain is a monotonically increasing chain of blocks in which subsequent blocks are verified based on the data of preceding blocks the chain - address: a unique base58 encoded value representing a public_key in the network - ledger: a mapping of address and ba...
43.285714
146
0.775578
f7964a85882b1994ab5cc3a8586e60ba084c30e3
140
ex
Elixir
web/controllers/page_controller.ex
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
web/controllers/page_controller.ex
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
web/controllers/page_controller.ex
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
defmodule Elephant.PageController do use Elephant.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17.5
36
0.735714
f79665d1d5ea19c5e6d7ac5ae47e7f2a7bc66864
1,334
exs
Elixir
config/config.exs
taylonr/random-tweets
b49da6231565c89ce23a13e40eb7070a9f54344b
[ "MIT" ]
4
2016-11-24T08:40:44.000Z
2019-05-24T13:09:14.000Z
config/config.exs
taylonr/random-tweets
b49da6231565c89ce23a13e40eb7070a9f54344b
[ "MIT" ]
null
null
null
config/config.exs
taylonr/random-tweets
b49da6231565c89ce23a13e40eb7070a9f54344b
[ "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.054054
73
0.724138
f7969bd3b7a79f377f69a796a5d41f569092c3a0
919
exs
Elixir
mix.exs
thiamsantos/conceal
3d636d3f043314afd6565c2f67ad2781063c87e0
[ "Apache-2.0" ]
2
2020-03-02T00:48:45.000Z
2020-03-05T17:58:19.000Z
mix.exs
thiamsantos/conceal
3d636d3f043314afd6565c2f67ad2781063c87e0
[ "Apache-2.0" ]
null
null
null
mix.exs
thiamsantos/conceal
3d636d3f043314afd6565c2f67ad2781063c87e0
[ "Apache-2.0" ]
null
null
null
defmodule Conceal.MixProject do use Mix.Project def project do [ app: :conceal, version: "0.1.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: "Easy encrypt data with AES-CBC-256", package: package(), name: "Conceal", do...
19.553191
68
0.569097
f796d2d4e9560f136da75f4e00e3bb585a40ebe9
447
ex
Elixir
lib/bitcoin/protocol/types/var_string.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
81
2017-04-20T17:42:59.000Z
2022-02-08T03:49:22.000Z
lib/bitcoin/protocol/types/var_string.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
2
2017-09-07T13:58:57.000Z
2018-01-13T10:38:07.000Z
lib/bitcoin/protocol/types/var_string.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
22
2017-08-16T14:19:44.000Z
2021-12-22T04:36:57.000Z
defmodule Bitcoin.Protocol.Types.VarString do alias Bitcoin.Protocol.Types.VarInteger @spec parse_stream(binary) :: {binary, binary} def parse_stream(payload) do {string_size, payload} = VarInteger.parse_stream(payload) << data :: bytes-size(string_size), payload :: binary >> = payload {data, payl...
24.833333
73
0.709172
f796d526d360cbc5a1e4d5d7dd630ddbb63d1f31
2,102
exs
Elixir
test/json_schema_test_suite/draft6/boolean_schema_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft6/boolean_schema_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft6/boolean_schema_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft6.BooleanSchemaTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|boolean schema 'true'| do setup do %{schema: JsonXema.new(true)} end test ~s|number is valid|, %{schema: schema} do assert valid?(schema, 1) end test ~s|stri...
23.355556
59
0.598002
f797094d7a2a1e9078b8b28e6db559fe9f569790
2,346
ex
Elixir
web/models/card.ex
flyingalex/another-phoenix-trello
c8844c4f4ad64df2f809a3f87637a416561c71b6
[ "MIT" ]
null
null
null
web/models/card.ex
flyingalex/another-phoenix-trello
c8844c4f4ad64df2f809a3f87637a416561c71b6
[ "MIT" ]
null
null
null
web/models/card.ex
flyingalex/another-phoenix-trello
c8844c4f4ad64df2f809a3f87637a416561c71b6
[ "MIT" ]
null
null
null
defmodule PhoenixTrello.Card do use PhoenixTrello.Web, :model alias PhoenixTrello.{Repo, Card, Comment, CardMember} @derive {Jason.Encoder, only: [:id, :name, :list_id, :description, :position, :tags, :comments, :card_members, :members]} schema "cards" do field :name, :string field :description, :stri...
30.868421
123
0.660699
f79717b428a2b1ae42f111eae121ae8f5d0606a6
2,352
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_output_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_output_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_output_config.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...
46.117647
559
0.760629
f79720705634e7b4f7a39d50085bd9ff373ee67c
323
exs
Elixir
priv/repo/migrations/20170323041850_create_accounts_user.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
priv/repo/migrations/20170323041850_create_accounts_user.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
priv/repo/migrations/20170323041850_create_accounts_user.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
defmodule MenuPlanner.Repo.Migrations.CreateMenuPlanner.Accounts.User do use Ecto.Migration def change do create table(:accounts_users) do add :email, :string add :name, :string add :password_hash, :string timestamps() end create unique_index(:accounts_users, [:email]) end e...
20.1875
72
0.693498
f79738a622fa8acfa6528c67c8163eb67a3d9bcd
15,197
ex
Elixir
lib/cssex.ex
mnussbaumer/cssex
da3b0add68d766faacb459c14a8eb43ca32aa9f4
[ "MIT" ]
13
2021-03-16T15:02:08.000Z
2021-09-22T02:40:25.000Z
lib/cssex.ex
mnussbaumer/cssex
da3b0add68d766faacb459c14a8eb43ca32aa9f4
[ "MIT" ]
3
2021-03-19T20:14:19.000Z
2021-03-29T13:34:17.000Z
lib/cssex.ex
mnussbaumer/cssex
da3b0add68d766faacb459c14a8eb43ca32aa9f4
[ "MIT" ]
null
null
null
defmodule CSSEx do @moduledoc """ CSSEx is a CSS pre-processor inspired by SASS/SCSS. A complete description of what it can do can be found in the project's README.md [hex](https://hexdocs.pm/cssex/readme.html) / [github](https://github.com/mnussbaumer/cssex) file. This module is the file watcher responsible f...
31.334021
244
0.580378
f7975c4f8a2eb187b5bcaa36903d7e20ae43e04d
2,116
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/row_dimensions.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/row_dimensions.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/row_dimensions.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...
42.32
316
0.76276
f797ff12fe2973890a6f331a7c3a2a53ecbbb176
2,173
exs
Elixir
config/prod.exs
wsmoak/elm_time
1f12d8d3267c88a1323a8e5fbae722e1fb392e81
[ "MIT" ]
2
2016-03-08T05:26:58.000Z
2016-05-03T15:54:19.000Z
config/prod.exs
wsmoak/elm_time
1f12d8d3267c88a1323a8e5fbae722e1fb392e81
[ "MIT" ]
null
null
null
config/prod.exs
wsmoak/elm_time
1f12d8d3267c88a1323a8e5fbae722e1fb392e81
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.924242
67
0.712839
f7980618105518aa0fb47b9b270f49943d7e1634
341
ex
Elixir
elixir/concurrency-model/state-actor/parallel.ex
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
1
2020-01-09T03:22:09.000Z
2020-01-09T03:22:09.000Z
elixir/concurrency-model/state-actor/parallel.ex
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
elixir/concurrency-model/state-actor/parallel.ex
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
defmodule Parallel do def map(collection, fun) do parent = self() processes = Enum.map(collection, fn(e) -> spawn_link(fn() -> send(parent, {self(), fun.(e)}) end) end) Enum.map(processes, fn(pid) -> receive do {^pid, result} -> result end ...
18.944444
45
0.504399
f7980b113a3e42605fcdc020a4e6cdb9d545ca14
166
exs
Elixir
config/test.exs
yknx4/event_bus
49027b459afc325ebf71a1e5001fb8718b4e7d80
[ "MIT" ]
557
2018-01-24T13:34:57.000Z
2022-03-31T20:19:09.000Z
config/test.exs
yknx4/event_bus
49027b459afc325ebf71a1e5001fb8718b4e7d80
[ "MIT" ]
62
2018-02-05T05:14:11.000Z
2022-02-26T13:04:24.000Z
config/test.exs
yknx4/event_bus
49027b459afc325ebf71a1e5001fb8718b4e7d80
[ "MIT" ]
37
2018-02-23T16:49:15.000Z
2021-09-03T18:11:06.000Z
use Mix.Config config :event_bus, topics: [:metrics_received, :metrics_summed], ttl: 30_000_000, time_unit: :microsecond, id_generator: EventBus.Util.Base62
20.75
47
0.759036
f7985a81fd27ba1bd37fbb89bd92b28397a22095
1,670
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.4
132
0.728743
f798627cbd5ed7321f55e6094f01dc7af290d4c0
838
ex
Elixir
apps/rig_inbound_gateway/lib/rig_inbound_gateway/request_logger/console.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway/request_logger/console.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
132
2018-11-26T14:00:54.000Z
2022-03-11T04:17:54.000Z
apps/rig_inbound_gateway/lib/rig_inbound_gateway/request_logger/console.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGateway.RequestLogger.Console do @moduledoc """ Example request logger implementation. """ @behaviour RigInboundGateway.RequestLogger @impl RigInboundGateway.RequestLogger @spec log_call(Proxy.endpoint(), Proxy.api_definition(), %Plug.Conn{}) :: :ok def log_call( %{"secured" ...
25.393939
91
0.638425
f79862f69421e97c728d56a249fcb7f3208666fc
179
ex
Elixir
web/views/tp_shared_group_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/tp_shared_group_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/tp_shared_group_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpSharedGroupView do use CgratesWebJsonapi.Web, :view use JaSerializer.PhoenixView attributes ~w[tpid tag account strategy rating_subject]a end
25.571429
58
0.832402
f79863e61186ddaf1e00be1c69afd6944868adad
1,904
ex
Elixir
lib/liveview_todos_web.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
lib/liveview_todos_web.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
2
2021-03-09T14:03:26.000Z
2021-05-10T06:02:53.000Z
lib/liveview_todos_web.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
defmodule LiveviewTodosWeb 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 LiveviewTodosWeb, :controller use LiveviewTodosWeb, :view The definitions below will be executed for every vi...
25.72973
97
0.703256
f79871bcbdf7b8d375acd126841991de2d2f3a6b
223
ex
Elixir
implementations/elixir/lib/ockam.ex
miedziak/ockam
694587c9650e44a54df6933032810dcd80b88582
[ "Apache-2.0" ]
null
null
null
implementations/elixir/lib/ockam.ex
miedziak/ockam
694587c9650e44a54df6933032810dcd80b88582
[ "Apache-2.0" ]
null
null
null
implementations/elixir/lib/ockam.ex
miedziak/ockam
694587c9650e44a54df6933032810dcd80b88582
[ "Apache-2.0" ]
null
null
null
defmodule Ockam do @on_load :init def init do path = Application.app_dir(:ockam, "priv/ockam") |> String.to_charlist :ok = :erlang.load_nif(path, 0) end def random() do exit(:nif_not_loaded) end end
17.153846
74
0.663677
f798a8725d0b38020022e758eb0935f2da2ce8e6
2,103
ex
Elixir
clients/content/lib/google_api/content/v21/model/account_return_carrier.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_return_carrier.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_return_carrier.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.553571
157
0.721826
f798bc6b4f2616843d0fd1bb61e0294c4e4ee1d0
716
ex
Elixir
lib/telemetry_metrics/last_value.ex
adkron/telemetry_metrics
bb12a95e82cc6a0ac1571aecd4248b8c3a134655
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics/last_value.ex
adkron/telemetry_metrics
bb12a95e82cc6a0ac1571aecd4248b8c3a134655
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics/last_value.ex
adkron/telemetry_metrics
bb12a95e82cc6a0ac1571aecd4248b8c3a134655
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.Metrics.LastValue do @moduledoc """ Defines a specification of last value metric. """ alias Telemetry.Metrics defstruct [ :name, :event_name, :measurement, :tags, :tag_values, :description, :unit, :reporter_options ] @type t :: %__MODULE__{ ...
23.866667
83
0.622905
f798c93dc203b179864db6017e5c75ccd62319a9
4,093
ex
Elixir
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_claim_review_markup_page.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_claim_review_markup_page.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_claim_review_markup_page.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...
48.72619
341
0.7398
f798d33d466149b5210ba5e8612960dcefc2f07f
2,010
exs
Elixir
test/elixir_boilerplate_web/errors_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
854
2019-03-18T19:13:58.000Z
2022-03-30T01:47:30.000Z
test/elixir_boilerplate_web/errors_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
167
2019-03-18T21:23:28.000Z
2022-03-31T19:07:34.000Z
test/elixir_boilerplate_web/errors_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
63
2019-03-28T14:19:11.000Z
2022-02-15T17:22:14.000Z
defmodule ElixirBoilerplateWeb.ErrorsTest do use ElixirBoilerplate.DataCase, async: true alias ElixirBoilerplateWeb.Errors defmodule UserRole do use Ecto.Schema import Ecto.Changeset embedded_schema do field(:type, :string) timestamps() end def changeset(%__MODULE__{} = user_...
25.443038
139
0.634328
f798ffc8760f0bac4996a365948431b1d5e04338
3,284
exs
Elixir
test/matcher_test.exs
btedev/pair2
eb7d8f78a13046461f12ff16372e7dc03175c2cc
[ "MIT" ]
null
null
null
test/matcher_test.exs
btedev/pair2
eb7d8f78a13046461f12ff16372e7dc03175c2cc
[ "MIT" ]
null
null
null
test/matcher_test.exs
btedev/pair2
eb7d8f78a13046461f12ff16372e7dc03175c2cc
[ "MIT" ]
null
null
null
defmodule MatcherTest do use ExUnit.Case alias Pair2.Matcher alias Pair2.MatchRule setup do basic = [%{id: 1, amount: 1.0, date: ~D[2016-01-01]}] # When matching on both mdn and date, a correct match # will require conflict resolution. lcell1 will initially match # to rcell1 but lcell3 is a b...
34.568421
106
0.564555
f799014fc8e0d4c8da8cb53bd38c25ab42f9d9e6
1,679
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/test_iam_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/test_iam_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/test_iam_permissions_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...
35.723404
288
0.743895
f79907204f19026b02351e680675f5b72c05d3e4
3,087
ex
Elixir
lib/pow/phoenix/views/view_helpers.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/phoenix/views/view_helpers.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/phoenix/views/view_helpers.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Pow.Phoenix.ViewHelpers do @moduledoc """ Module that renders views. By default, the controller views and templates in this library will be used, and the layout view will be based on the module namespace of the Endpoint module. By setting the `:web_module` key in config, the controller and layou...
24.895161
79
0.667638
f7992b0bdc9751a1cf0bbb66e3420a9789824392
1,652
ex
Elixir
lib/harald/protocols.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
3
2020-08-07T02:09:09.000Z
2020-08-28T12:25:48.000Z
lib/harald/protocols.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
null
null
null
lib/harald/protocols.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
null
null
null
defprotocol HCI.Serializable do @doc """ Serialize an HCI data structure as a binary """ def serialize(hci_struct) end defprotocol HCI.Deserializable do @doc """ Deserialize a binary into HCI data structures """ def deserialize(bin) end defprotocol HCI.CommandComplete.ReturnParameters do @doc """ ...
27.081967
86
0.730024
f7994a46388442b3f4be76ba862f8f6e254d93ab
281
ex
Elixir
ex3.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
ex3.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
ex3.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
defmodule Math do def square(x) do x * x end end IO.puts inspect Enum.map [1,2,3], &Math.square/1 IO.puts Enum.reduce(1..10, 2, fn (i, acc) -> acc * i end) sum=0 for input = 1..100, Enum.filter fn(x) -> rem(x,3)==0 or rem(x,5)==0 end, do IO.puts end
14.789474
57
0.565836
f7994faa8c98b7b05eab9f232be6011cce31fdd9
6,022
exs
Elixir
.credo.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
8
2018-03-09T18:12:26.000Z
2020-08-25T02:29:12.000Z
.credo.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
17
2017-01-05T17:14:51.000Z
2020-02-04T14:48:02.000Z
.credo.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
5
2017-05-01T18:23:54.000Z
2021-03-19T01:34:26.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
39.880795
81
0.652773
f7995ab9fbb8856381156b5a286f064e057d5869
378
ex
Elixir
lib/code_santa/advent_of_code.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
lib/code_santa/advent_of_code.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
lib/code_santa/advent_of_code.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
defmodule CodeSanta.AdventOfCode do @base_url "https://adventofcode.com" @spec puzzle_url(integer(), integer()) :: String.t() def puzzle_url(year, day) do Enum.join([@base_url, Integer.to_string(year), "day", Integer.to_string(day)], "/") end @spec to_absolute_url(String.t()) :: String.t() def to_abso...
31.5
87
0.703704
f7997b17e442227caf63fd07c98e0ce924683fee
46
exs
Elixir
test/consul_test.exs
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
48
2015-03-27T01:29:57.000Z
2021-03-02T04:09:49.000Z
test/consul_test.exs
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
7
2015-03-11T20:44:33.000Z
2019-03-13T09:02:52.000Z
test/consul_test.exs
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
29
2015-03-11T20:41:26.000Z
2020-07-01T05:02:01.000Z
defmodule ConsulTest do use ExUnit.Case end
11.5
23
0.804348
f799c75680910172c72b160fb7e353c8ca877061
405
ex
Elixir
lib/rocketpay/accounts/withdraw.ex
RafaelVsc/phx-rocketpay
91435f0539a961691394809058b97a4e1b58fa84
[ "RSA-MD" ]
2
2021-03-01T09:15:57.000Z
2021-03-02T23:30:57.000Z
lib/rocketpay/accounts/withdraw.ex
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
9
2021-02-28T20:29:58.000Z
2021-03-26T01:28:01.000Z
lib/rocketpay/accounts/withdraw.ex
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
1
2021-03-28T11:56:37.000Z
2021-03-28T11:56:37.000Z
defmodule Rocketpay.Accounts.Withdraw do alias Rocketpay.Accounts.Operation alias Rocketpay.Repo def call(params) do params |> Operation.call(:withdraw) |> run_transaction() end defp run_transaction(multi) do case Repo.transaction(multi) do {:error, _operation, reason, _changes} -> {:...
21.315789
64
0.671605
f799d034983315d971b1d92d0b7e435aad38e607
3,357
ex
Elixir
lib/timescaledb/models/model.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
2
2020-10-13T18:04:54.000Z
2021-12-15T08:23:28.000Z
lib/timescaledb/models/model.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
9
2020-07-30T14:57:46.000Z
2021-12-28T07:37:27.000Z
lib/timescaledb/models/model.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Telemetry.TimescaleDB.Model do @moduledoc """ Module responsible for putting data to TimescaleDB. """ import Ecto.Query alias Membrane.Telemetry.TimescaleDB.Repo alias Membrane.Telemetry.TimescaleDB.Model.{ComponentPath, Element, Measurement, Link} require Logger @doc """ Insert...
33.237624
133
0.669348
f799e06c342919cb174c8eab4b2963d12e2931f2
3,284
ex
Elixir
lib/simple_pool/v2/cluster_management_framework/structures/entities/cluster/service/state_entity.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
lib/simple_pool/v2/cluster_management_framework/structures/entities/cluster/service/state_entity.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
lib/simple_pool/v2/cluster_management_framework/structures/entities/cluster/service/state_entity.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2020 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.SimplePool.V2.ClusterManagement.Cluster.Service.State...
35.311828
103
0.573691
f799f102e7678a4c3026b29993e582772d493bfb
1,413
ex
Elixir
test/support/data_case.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
3
2018-08-17T13:42:45.000Z
2018-08-17T17:05:11.000Z
test/support/data_case.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
defmodule DataProcessor.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, ever...
26.166667
77
0.686483
f79a04bf40aa644dae5c65286e7ccecebc997298
2,361
ex
Elixir
lib/ecto/adapter/migration.ex
chulkilee/ecto_sql
ba4627f1d1ad7af849eaf53041b27d7c45a8ccd2
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/migration.ex
chulkilee/ecto_sql
ba4627f1d1ad7af849eaf53041b27d7c45a8ccd2
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/migration.ex
chulkilee/ecto_sql
ba4627f1d1ad7af849eaf53041b27d7c45a8ccd2
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapter.Migration do @moduledoc """ Specifies the adapter migrations API. """ alias Ecto.Migration.Table alias Ecto.Migration.Index alias Ecto.Migration.Reference @type adapter_meta :: Ecto.Adapter.adapter_meta() @typedoc "All migration commands" @type command :: raw :: ...
34.217391
93
0.625582
f79a0d5dffae26da9cb74119904ed79f12126a07
2,330
ex
Elixir
example_avialia/lib/example_avialia/cargos/shipment.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
example_avialia/lib/example_avialia/cargos/shipment.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
example_avialia/lib/example_avialia/cargos/shipment.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
defmodule ExampleAvialia.Cargos.Shipment do use Ecto.Schema use Domo, skip_defaults: true import Ecto.Changeset import Domo.Changeset alias Ecto.Changeset alias ExampleAvialia.Cargos.ShipmentKind alias ExampleAvialia.Cargos.ShipmentWeight alias ExampleAvialia.Cargos.ShipmentDocument alias ExampleAvi...
31.066667
132
0.687983