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
e9c7bd09586e47cba1dd2846f76a7d4f39ce741b
1,099
ex
Elixir
lib/cineplex/distribution/node/health.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/distribution/node/health.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/distribution/node/health.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
defmodule Cineplex.Distribution.Node.Health do @moduledoc """ Checks health of workers """ use GenServer alias Cineplex.Distribution require Logger @spec start_link(any()) :: :ignore | {:ok, any()} | {:error, any()} def start_link(_) do case GenServer.start_link(__MODULE__, nil, name: {:global, _...
21.98
81
0.636943
e9c7c9034b3d4ce15b0e28be1f5ed83ce3797a5b
9,524
ex
Elixir
lib/joken_jwks/default_strategy_template.ex
imsearch/joken_jwks
483677343aa7baf822118499f8ee173bc2ee3d92
[ "Apache-2.0" ]
null
null
null
lib/joken_jwks/default_strategy_template.ex
imsearch/joken_jwks
483677343aa7baf822118499f8ee173bc2ee3d92
[ "Apache-2.0" ]
null
null
null
lib/joken_jwks/default_strategy_template.ex
imsearch/joken_jwks
483677343aa7baf822118499f8ee173bc2ee3d92
[ "Apache-2.0" ]
null
null
null
defmodule JokenJwks.DefaultStrategyTemplate do @moduledoc """ A `JokenJwks.SignerMatchStrategy` template that has a window of time for refreshing its cache. This is a template and not a concrete implementation. You should `use` this module in order to use the default strategy. This implementation is a task t...
32.284746
112
0.603633
e9c7e1ebbd8e59e6ad92fad29d65332e0c4f4721
1,720
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/import_product_sets_input_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/import_product_sets_input_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/import_product_sets_input_config.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 "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 ...
35.833333
176
0.760465
e9c7f8ac3db84b18cee4483547b47fcd5f4f387a
318
ex
Elixir
lib/kb/writer.ex
rockwood/kb
9889d190656eb3f29e9c95be59023025722b82b1
[ "Apache-2.0" ]
null
null
null
lib/kb/writer.ex
rockwood/kb
9889d190656eb3f29e9c95be59023025722b82b1
[ "Apache-2.0" ]
1
2018-02-16T23:10:20.000Z
2018-02-19T01:11:23.000Z
lib/kb/writer.ex
rockwood/kb
9889d190656eb3f29e9c95be59023025722b82b1
[ "Apache-2.0" ]
null
null
null
defmodule Kb.Writer do @headers ["Date", "Payee", "Category", "Memo", "Outflow", "Inflow"] def write_csv(export) do File.open! export.output_path, [:write, :utf8], fn(file) -> export.rows |> CSV.encode(headers: @headers) |> Enum.each(&IO.write(file, &1)) end {:ok, export} end end
24.461538
69
0.597484
e9c7facd23cd897db0dd8d3baf052dec8a8c5750
648
ex
Elixir
lib/web/controllers/session_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
1
2021-07-12T14:27:11.000Z
2021-07-12T14:27:11.000Z
lib/web/controllers/session_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
20
2020-07-01T14:54:13.000Z
2021-08-02T15:35:31.000Z
lib/web/controllers/session_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
2
2020-06-20T00:48:34.000Z
2021-01-22T02:04:38.000Z
defmodule Web.SessionController do use Web, :controller def new(conn, _params) do conn |> put_layout("session.html") |> render("new.html") end def delete(conn, _params) do conn |> clear_session() |> redirect(to: Routes.page_path(conn, :index)) end @doc """ Redirect to the last s...
19.636364
61
0.621914
e9c80b9a3923e828f3ad08180e3989fab3793512
1,193
ex
Elixir
apps/omg_db/test/support/rocks_db_case.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_db/test/support/rocks_db_case.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_db/test/support/rocks_db_case.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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 ...
36.151515
99
0.725063
e9c816ca0965d60f843053bfb6ede3d4261d8f18
4,275
ex
Elixir
test/support/live_views/flash.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/support/live_views/flash.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/support/live_views/flash.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveViewTest.FlashLive do use Phoenix.LiveView def render(assigns) do ~H""" uri[<%= @uri %>] root[<%= live_flash(@flash, :info) %>]:info root[<%= live_flash(@flash, :error) %>]:error <%= live_component Phoenix.LiveViewTest.FlashComponent, id: "flash-component" %> child[<%=...
33.139535
116
0.630877
e9c82e41f12738b05418ee7d291620c633f495fd
1,651
ex
Elixir
lib/parking_lpr_web/endpoint.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
lib/parking_lpr_web/endpoint.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
lib/parking_lpr_web/endpoint.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
defmodule ParkingLprWeb.Endpoint do use Phoenix.Endpoint, otp_app: :parking_lpr # 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: "_pa...
29.482143
97
0.723198
e9c85589c0488012be9ddc994ccc2dd44ff3348b
1,573
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/text_button.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/text_button.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/chat/lib/google_api/chat/v1/model/text_button.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...
31.46
115
0.714558
e9c87b50cdc071002839aa8cf984196e86c6c996
2,950
ex
Elixir
lib/brodex/message_set.ex
chulkilee/brodex
3061a8d522ef201da7b79b3b4427c678497ee2b1
[ "Apache-2.0" ]
null
null
null
lib/brodex/message_set.ex
chulkilee/brodex
3061a8d522ef201da7b79b3b4427c678497ee2b1
[ "Apache-2.0" ]
null
null
null
lib/brodex/message_set.ex
chulkilee/brodex
3061a8d522ef201da7b79b3b4427c678497ee2b1
[ "Apache-2.0" ]
null
null
null
defmodule Brodex.MessageSet do @moduledoc """ Represents a Kafka message set. Wrapper of [`:brod.message_set`](https://hexdocs.pm/brod/brod.html#type-message_set). """ @type t :: %__MODULE__{ topic: Brodex.topic(), partition: Brodex.partition(), high_wm_offset: integer, ...
28.365385
92
0.533898
e9c87ffb74caf508fae8c1f6bf4d44e82372bd42
868
ex
Elixir
Elixir/Phoenix/chirp/lib/chirp_web/live/post_live/post_component.ex
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
5
2015-09-11T15:02:54.000Z
2020-10-14T05:16:18.000Z
Elixir/Phoenix/chirp/lib/chirp_web/live/post_live/post_component.ex
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
21
2019-12-28T11:18:09.000Z
2022-01-02T10:32:36.000Z
Elixir/Phoenix/chirp/lib/chirp_web/live/post_live/post_component.ex
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
2
2016-11-07T23:16:56.000Z
2020-10-14T05:16:49.000Z
defmodule ChirpWeb.PostLive.PostComponent do use ChirpWeb, :live_component def render(assigns) do ~L""" <div id="post-<%= @post.id %>" class="post"> <div class="row"> <div><%= @post.username %></div> <div><%= @post.body %></div> <a href="#" phx-click="like" phx-targ...
26.30303
69
0.540323
e9c898327785cad563be9b7338630e4c492c8b08
21,460
ex
Elixir
lib/consumer.ex
firevale/gen_rmq
7c07873b39bab0f6684d2a0049b91569081b52e3
[ "MIT" ]
null
null
null
lib/consumer.ex
firevale/gen_rmq
7c07873b39bab0f6684d2a0049b91569081b52e3
[ "MIT" ]
null
null
null
lib/consumer.ex
firevale/gen_rmq
7c07873b39bab0f6684d2a0049b91569081b52e3
[ "MIT" ]
null
null
null
defmodule GenRMQ.Consumer do @moduledoc """ A behaviour module for implementing the RabbitMQ consumer. It will: * setup RabbitMQ connection / channel and keep them in a state * create (if does not exist) a queue and bind it to an exchange * create deadletter queue and exchange * handle reconnections * ...
31.512482
160
0.637232
e9c8b9d7cfd71cd185af19a58f59c12234678049
3,236
exs
Elixir
test/task_bunny/supervisor_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
207
2017-02-03T12:23:24.000Z
2022-03-22T17:03:23.000Z
test/task_bunny/supervisor_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
45
2017-02-06T09:48:43.000Z
2021-11-10T09:28:38.000Z
test/task_bunny/supervisor_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
33
2017-02-06T08:16:37.000Z
2021-09-13T00:38:16.000Z
defmodule TaskBunny.SupervisorTest do use ExUnit.Case, async: false import TaskBunny.QueueTestHelper alias TaskBunny.{Config, Connection, Queue, JobTestHelper} alias JobTestHelper.TestJob @host :sv_test @queue "task_bunny.supervisor_test" defp mock_config do worker = [host: @host, queue: @queue, con...
27.65812
95
0.673362
e9c8c36d6c44d6beb842df1a076372666db2040d
194
exs
Elixir
minimal_server/config/prod.exs
dalmarcogd/test_elixir_minimal_restfull
64ad5adbd6b9b39e70d4ed0a74615035d6ca246a
[ "Apache-2.0" ]
null
null
null
minimal_server/config/prod.exs
dalmarcogd/test_elixir_minimal_restfull
64ad5adbd6b9b39e70d4ed0a74615035d6ca246a
[ "Apache-2.0" ]
null
null
null
minimal_server/config/prod.exs
dalmarcogd/test_elixir_minimal_restfull
64ad5adbd6b9b39e70d4ed0a74615035d6ca246a
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :minimal_server, MinimalServer.Endpoint, port: String.to_integer(System.get_env("PORT") || "4444") config :minimal_server, redirect_url: System.get_env("REDIRECT_URL")
27.714286
68
0.778351
e9c8e3c5239e55c6858358a020d202d5e9898c44
959
ex
Elixir
slave/templates/dh_make/postinst.ex
dBucik/perun-services
ef3b1162eef5ffd7ef615fa94588a08b2e778610
[ "BSD-2-Clause" ]
7
2015-07-29T08:36:29.000Z
2019-02-27T08:23:53.000Z
slave/templates/dh_make/postinst.ex
dBucik/perun-services
ef3b1162eef5ffd7ef615fa94588a08b2e778610
[ "BSD-2-Clause" ]
153
2015-09-30T10:57:04.000Z
2022-03-28T11:32:12.000Z
slave/templates/dh_make/postinst.ex
dBucik/perun-services
ef3b1162eef5ffd7ef615fa94588a08b2e778610
[ "BSD-2-Clause" ]
49
2015-05-25T11:25:52.000Z
2022-02-08T17:51:34.000Z
#!/bin/sh # postinst script for #PACKAGE# # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # ...
23.975
71
0.638165
e9c9118f7b7391fc65d5aa066bc1b41057371b00
3,141
ex
Elixir
lib/ironman/config.ex
chazwatkins/ironman
6c35694092c5997c4157ba934fb34bde43fce2de
[ "MIT" ]
null
null
null
lib/ironman/config.ex
chazwatkins/ironman
6c35694092c5997c4157ba934fb34bde43fce2de
[ "MIT" ]
null
null
null
lib/ironman/config.ex
chazwatkins/ironman
6c35694092c5997c4157ba934fb34bde43fce2de
[ "MIT" ]
null
null
null
defmodule Ironman.Config do @moduledoc """ This struct represents the state of the project. It is created at the beginning of a run, passed through all the checks, where it is updated, and then files are written out at the end based on its contents. """ alias Ironman.{Config, Utils} alias Ironman.Utils.Fil...
31.727273
109
0.63865
e9c93c694786e365ae138b2a5d3fcc101c16d00a
405
ex
Elixir
lib/events/comments/comment.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/comments/comment.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/comments/comment.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule Events.Comments.Comment do use Ecto.Schema import Ecto.Changeset schema "comments" do field :body, :string belongs_to :post, Events.Posts.Post belongs_to :user, Events.Users.User timestamps() end @doc false def changeset(comment, attrs) do comment |> cast(attrs, [:body, ...
20.25
53
0.679012
e9c95a8e6af2a8f2a3b8498ab12d65f54f99c3e1
6,177
ex
Elixir
lib/absinthe/blueprint.ex
jscheid/absinthe
5b5079f03402f482c5f52a35efc263a5a6ccaf64
[ "MIT" ]
null
null
null
lib/absinthe/blueprint.ex
jscheid/absinthe
5b5079f03402f482c5f52a35efc263a5a6ccaf64
[ "MIT" ]
null
null
null
lib/absinthe/blueprint.ex
jscheid/absinthe
5b5079f03402f482c5f52a35efc263a5a6ccaf64
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint do @moduledoc """ Represents the graphql document to be executed. Please see the code itself for more information on individual blueprint sub modules. """ alias __MODULE__ defstruct operations: [], directives: [], fragments: [], name: nil...
27.950226
100
0.602558
e9c97af37ad557d3cfff761be0e41a509b30b39b
1,143
ex
Elixir
apps/service_orchestrate/lib/orchestrate/schedule/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_orchestrate/lib/orchestrate/schedule/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_orchestrate/lib/orchestrate/schedule/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule Orchestrate.Schedule.Store do @collection "schedules" @instance Orchestrate.Application.instance() import Definition, only: [identifier: 2, identifier: 1] @spec persist(Schedule.t()) :: :ok def persist(%Schedule{} = schedule) do Brook.ViewState.merge(@collection, identifier(schedule), %{"sched...
33.617647
87
0.657043
e9c9973f2d1d1b58777b954be6d77c59c8132527
196
exs
Elixir
apps/discovery_api/priv/repo/migrations/20191122200717_drop_org_ldap_dn_column.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/priv/repo/migrations/20191122200717_drop_org_ldap_dn_column.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/priv/repo/migrations/20191122200717_drop_org_ldap_dn_column.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApi.Repo.Migrations.DropOrgLdapDnColumn do use Ecto.Migration def change do alter table("organizations") do remove :ldap_dn, :string, size: 500 end end end
19.6
61
0.729592
e9c9eaa6b57daa3442c48eec2b372feb66e3c583
3,678
exs
Elixir
backend/config/runtime.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/config/runtime.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/config/runtime.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
40.866667
82
0.730288
e9ca045cf08ae519f2a8230514dd6d904ad1140c
376
exs
Elixir
test/koans/comprehensions_koans_test.exs
svanburen/elixir-koans
b19e744b4b7598f5aa2b697b2ce21cb51e176950
[ "MIT" ]
null
null
null
test/koans/comprehensions_koans_test.exs
svanburen/elixir-koans
b19e744b4b7598f5aa2b697b2ce21cb51e176950
[ "MIT" ]
null
null
null
test/koans/comprehensions_koans_test.exs
svanburen/elixir-koans
b19e744b4b7598f5aa2b697b2ce21cb51e176950
[ "MIT" ]
null
null
null
defmodule ComprehensionsTests do use ExUnit.Case import TestHarness test "Comprehensions" do answers = [ [1, 4, 9, 16], [1, 4, 9, 16], ["Hello World", "Apple Pie"], ["little dogs", "little cats", "big dogs", "big cats"], [4, 5, 6], ["Apple Pie", "Pecan Pie", "Pumpkin Pie"]...
20.888889
61
0.566489
e9ca170d8f6d979f5326460d389251ee872ff019
1,043
ex
Elixir
test/support/conn_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
defmodule QueryHubWeb.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 datastructures and query the data layer. Finally, if th...
26.74359
70
0.720997
e9ca347fdb73052db304999c917fb4f3b2cd34b6
5,365
exs
Elixir
test/integration/presence_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/integration/presence_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/integration/presence_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
defmodule Poxa.Integration.PresenceChannelTest do use ExUnit.Case @moduletag :integration setup_all do Application.ensure_all_started(:pusher) Pusher.configure!("localhost", 8080, "app_id", "app_key", "secret") :ok end setup do {:ok, pid, socket_id} = Connection.connect on_exit fn -> P...
32.713415
95
0.568127
e9ca356e4656986cac33e7b465ce82d39007118a
3,085
ex
Elixir
clients/games/lib/google_api/games/v1/model/room_leave_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/room_leave_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/room_leave_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.044776
176
0.72577
e9ca3989c006654a16a9c833dec4290a114f2768
1,131
exs
Elixir
config/config.exs
smitparaggua/key_case
def3c9f5aaeb7a377d79c287af17b9a714437353
[ "MIT" ]
1
2019-09-20T11:27:23.000Z
2019-09-20T11:27:23.000Z
config/config.exs
smitparaggua/key_case
def3c9f5aaeb7a377d79c287af17b9a714437353
[ "MIT" ]
1
2020-07-20T18:48:23.000Z
2020-07-20T18:48:23.000Z
config/config.exs
smitparaggua/key_case
def3c9f5aaeb7a377d79c287af17b9a714437353
[ "MIT" ]
3
2019-10-24T13:12:02.000Z
2021-10-31T05:00:21.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...
36.483871
73
0.753316
e9ca3c15b2631939349fad2336e26a43c7da8587
361
ex
Elixir
lib/game_of_life/pattern_converter.ex
potto007/elixir-game_of_life
28402f57f63e16c2c4c0d52b1130f52a2373e1bd
[ "MIT" ]
57
2016-04-28T09:02:27.000Z
2021-12-16T20:03:05.000Z
lib/game_of_life/pattern_converter.ex
potto007/elixir-game_of_life
28402f57f63e16c2c4c0d52b1130f52a2373e1bd
[ "MIT" ]
1
2016-05-30T05:51:10.000Z
2016-05-31T21:32:44.000Z
lib/game_of_life/pattern_converter.ex
potto007/elixir-game_of_life
28402f57f63e16c2c4c0d52b1130f52a2373e1bd
[ "MIT" ]
4
2016-05-27T18:38:23.000Z
2019-05-30T11:03:45.000Z
defmodule GameOfLife.PatternConverter do @doc """ ## Example iex> GameOfLife.PatternConverter.transit([{0, 0}, {1, 3}], -1, 2) [{-1, 2}, {0, 5}] """ def transit([{x, y} | cells], x_padding, y_padding) do [{x + x_padding, y + y_padding} | transit(cells, x_padding, y_padding)] end def transit...
27.769231
75
0.603878
e9ca553dbd5a2b9a650f4ad4bf0055a8ae3d2756
260
ex
Elixir
lib/minex/application.ex
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
lib/minex/application.ex
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
lib/minex/application.ex
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
defmodule Minex.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ {Minex.HTTP, name: Minex.Pool} ] opts = [strategy: :one_for_one] Supervisor.start_link(children, opts) end end
17.333333
41
0.669231
e9ca5553cd56c46d3ea85f16a1cb188c7a725697
4,779
exs
Elixir
.iex.exs
beamuav/elixir_mavlink_util
caab0b8d096e67f12512fa87197e73f53ccda5fd
[ "MIT" ]
null
null
null
.iex.exs
beamuav/elixir_mavlink_util
caab0b8d096e67f12512fa87197e73f53ccda5fd
[ "MIT" ]
1
2021-05-20T22:25:53.000Z
2021-05-20T22:25:53.000Z
.iex.exs
beamuav/elixir_mavlink_util
caab0b8d096e67f12512fa87197e73f53ccda5fd
[ "MIT" ]
null
null
null
# Using MAVProxy as a reference, provide helper functions for working with # vehicles running APM. Importing the API into an iex session should give # an interactive CLI very similar to MAVProxy, using info/warn level log # messages for extra feedback. The same API can be called directly from code. import MAVLink....
90.169811
116
0.831973
e9ca58d2a991645345704e27ab0a4b3e9e3d8a8a
36,893
ex
Elixir
lib/elixir/lib/supervisor.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor do @moduledoc ~S""" A behaviour module for implementing supervisors. A supervisor is a process which supervises other processes, which we refer to as *child processes*. Supervisors are used to build a hierarchical process structure called a *supervision tree*. Supervision trees provide ...
37.607543
98
0.695769
e9ca5d75fc6239fccd705a2432d340d3d20e7ad6
149
ex
Elixir
emulator/lib/program.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
emulator/lib/program.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
emulator/lib/program.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
defmodule Program do def assemble(prog) do {:code, List.to_tuple(prog)} end def read({:code, code}, pc) do elem(code, pc) end end
12.416667
32
0.624161
e9ca75550b214073a9b6c08586c67e7d99a9dc45
2,259
ex
Elixir
apps/engine/lib/engine/db/transaction/payment_v1/validators/witness.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/db/transaction/payment_v1/validators/witness.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/db/transaction/payment_v1/validators/witness.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.DB.Transaction.PaymentV1.Validator.Witness do @moduledoc """ Contains validation logic for signatures, see validate/2 for more details. """ alias Engine.DB.Transaction.PaymentV1.Type alias ExPlasma.Crypto @type validation_result_t() :: :ok | {:error, {:witnesses, :supe...
34.227273
101
0.671093
e9ca9d989fde9cf527ac00258415687cd3723e6e
285
ex
Elixir
lib/rocketpay/accounts/transaction/response.ex
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
lib/rocketpay/accounts/transaction/response.ex
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
lib/rocketpay/accounts/transaction/response.ex
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
defmodule Rocketpay.Accounts.Transaction.Response do alias Rocketpay.Account defstruct [:from_account, :to_account] def build(%Account{} = from_account, %Account{} = to_account) do %__MODULE__{ from_account: from_account, to_account: to_account } end end
21.923077
66
0.719298
e9cac2fe4d14784fc23e9e41aff32767523e26b6
6,682
exs
Elixir
test/lib/thumbifier/convert/processor_test.exs
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
4
2016-10-16T22:22:52.000Z
2019-05-24T13:44:15.000Z
test/lib/thumbifier/convert/processor_test.exs
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
1
2016-10-21T00:16:16.000Z
2017-09-24T02:24:23.000Z
test/lib/thumbifier/convert/processor_test.exs
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
null
null
null
defmodule ProcessorTest do use Thumbifier.ConnCase setup do remote_fixtures_path = "https://github.com/sysdia/thumbifier/raw/master/test/fixtures/files/" data = %{ "access_token" => "token", "callback_url" => "http://mycallbackurl.com", "dimensions" => "100x100", "quality" => "72", ...
37.539326
133
0.692308
e9cad36abee3c3c6067331b72d9df8be48f47a2f
3,196
ex
Elixir
lib/mimic/module.ex
AlimovSV/mimic
b127ee60e224fcc1e0fffeefab47c5a1c0b5327f
[ "Apache-2.0" ]
null
null
null
lib/mimic/module.ex
AlimovSV/mimic
b127ee60e224fcc1e0fffeefab47c5a1c0b5327f
[ "Apache-2.0" ]
null
null
null
lib/mimic/module.ex
AlimovSV/mimic
b127ee60e224fcc1e0fffeefab47c5a1c0b5327f
[ "Apache-2.0" ]
null
null
null
defmodule Mimic.Module do alias Mimic.{Cover, Server} @moduledoc false def original(module), do: "#{module}.Mimic.Original.Module" |> String.to_atom() def clear!(module) do :code.purge(module) :code.delete(module) :code.purge(original(module)) :code.delete(original(module)) :ok end de...
26.857143
86
0.652691
e9cb1900de09e0da804d664a3b531ff5be360906
752
ex
Elixir
lib/morphology.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
2
2017-05-10T00:58:15.000Z
2017-06-05T20:30:16.000Z
lib/morphology.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
null
null
null
lib/morphology.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
null
null
null
defmodule Morphology do @moduledoc """ Creates the sensor and actuator. Called by the interactor macro. """ @doc""" Random Number Generator """ @doc""" Called during creation of interactors. Format is Morphology.set(:rng, :sensor) """ def set(scape, interactor) do get_input = String.to_atom...
27.851852
111
0.651596
e9cb44f8c9f4b35ed72a1ba31a2af729ef432fe2
7,194
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/fhir_store.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/fhir_store.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/fhir_store.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...
97.216216
910
0.763831
e9cb4fe42ea78ba4296aa058ccd6d776a4556e82
22,047
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_activities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_activities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_activities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.571146
569
0.634281
e9cb7298a8cb6abb234da57d5c3640b82ce4b8ee
715
exs
Elixir
test/api/operator/exp_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
test/api/operator/exp_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
test/api/operator/exp_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
# # Copyright 2020 Cloud Stack Lang Contributors # # 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 ag...
35.75
74
0.772028
e9cb8ff137e9233230be428e6f94d440912db6c9
47,951
ex
Elixir
lib/phoenix/controller.ex
bruteforcecat/phoenix
af45212f3142a20342031e0eab0a330a314c23cc
[ "MIT" ]
null
null
null
lib/phoenix/controller.ex
bruteforcecat/phoenix
af45212f3142a20342031e0eab0a330a314c23cc
[ "MIT" ]
null
null
null
lib/phoenix/controller.ex
bruteforcecat/phoenix
af45212f3142a20342031e0eab0a330a314c23cc
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller do import Plug.Conn alias Plug.Conn.AlreadySentError require Logger require Phoenix.Endpoint @unsent [:unset, :set] @moduledoc """ Controllers are used to group common functionality in the same (pluggable) module. For example, the route: get "/users/:id", MyAppW...
31.734613
137
0.67448
e9cb941eec2f225eacc50c29874e8b52e5499578
4,709
ex
Elixir
lib/zig/builder.ex
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
1
2021-02-26T00:00:34.000Z
2021-02-26T00:00:34.000Z
lib/zig/builder.ex
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
lib/zig/builder.ex
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
defmodule Zig.Builder do @moduledoc """ Code for interfacing with `std.build.Builder`, the interface for programattically invoking build code with the `zig build` command. """ require EEx require Logger EEx.function_from_string(:defp, :build_zig, ~S""" const std = @import("std"); const Builder = st...
32.93007
105
0.576556
e9cb95413efff1164b0e37f5c80467794d988cd1
1,115
exs
Elixir
config/config.exs
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
4
2017-05-29T14:24:48.000Z
2018-08-18T21:56:18.000Z
config/config.exs
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
3
2016-09-05T20:53:14.000Z
2021-07-29T19:19:10.000Z
config/config.exs
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
1
2020-09-28T20:19:54.000Z
2020-09-28T20:19:54.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...
35.967742
73
0.750673
e9cba94efa29a6ffab668d0aed2f63ec720306b1
1,477
ex
Elixir
lib/wax_demo_web/views/error_helpers.ex
skunkwerks/wax_demo
e0c562ea168654d2475f70cba1ef29e74fc0dd24
[ "Apache-2.0" ]
5
2019-02-14T18:39:20.000Z
2022-01-31T05:49:23.000Z
lib/wax_demo_web/views/error_helpers.ex
skunkwerks/wax_demo
e0c562ea168654d2475f70cba1ef29e74fc0dd24
[ "Apache-2.0" ]
18
2019-03-17T14:21:37.000Z
2022-03-25T20:55:56.000Z
lib/wax_demo_web/views/error_helpers.ex
skunkwerks/wax_demo
e0c562ea168654d2475f70cba1ef29e74fc0dd24
[ "Apache-2.0" ]
4
2019-03-17T13:13:24.000Z
2022-02-01T19:50:22.000Z
defmodule WaxDemoWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(...
32.822222
76
0.670278
e9cbaa8b4a90b1ed54975241c946ad9884dc64a6
1,848
exs
Elixir
mix.exs
kianmeng/deep_merge
3e3bb4e3c691f4b5a65dd74fa6525e0988d31464
[ "MIT" ]
83
2016-10-20T20:45:35.000Z
2022-02-11T13:11:57.000Z
mix.exs
kianmeng/deep_merge
3e3bb4e3c691f4b5a65dd74fa6525e0988d31464
[ "MIT" ]
14
2016-11-11T11:40:20.000Z
2021-12-15T05:40:36.000Z
mix.exs
kianmeng/deep_merge
3e3bb4e3c691f4b5a65dd74fa6525e0988d31464
[ "MIT" ]
6
2017-11-23T07:33:56.000Z
2022-01-20T17:37:40.000Z
defmodule DeepMerge.Mixfile do use Mix.Project @version "1.0.0" def project do [ app: :deep_merge, version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), ...
26.028169
84
0.573052
e9cbc813da69c252eb24f7915fa75a5fad30d387
766
ex
Elixir
lib/quetzal_supervisor.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
10
2019-10-04T17:45:42.000Z
2022-03-27T23:58:52.000Z
lib/quetzal_supervisor.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
3
2019-10-01T00:24:15.000Z
2019-10-23T17:04:48.000Z
lib/quetzal_supervisor.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
1
2020-02-12T23:08:43.000Z
2020-02-12T23:08:43.000Z
defmodule Quetzal.Supervisor do @moduledoc """ A simple supervisor to start the registry and callback processes Just include into your app tree supervision: # Example `{Quetzal, name: Quetzal.Registry}` """ use Supervisor def start_link(opts) do name = opts[:name] || raise Arg...
19.641026
90
0.650131
e9cc1922bc74c655bd3c8e032440a3c866e9bb19
852
ex
Elixir
lib/conduit/content_type/json.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
119
2016-11-21T13:19:22.000Z
2021-11-07T17:29:05.000Z
lib/conduit/content_type/json.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
104
2018-02-02T20:42:46.000Z
2021-08-03T05:36:09.000Z
lib/conduit/content_type/json.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
21
2018-08-03T02:38:21.000Z
2022-03-16T18:26:58.000Z
defmodule Conduit.ContentType.JSON do use Conduit.ContentType @moduledoc """ Handles converting to and from JSON. """ @doc """ Formats the body to json. ## Examples iex> import Conduit.Message iex> message = iex> %Conduit.Message{} iex> |> put_body(%{}) iex> |> Cond...
19.363636
56
0.588028
e9cc27f87691fd9f98375f7b22822073ddda87e0
1,477
exs
Elixir
config/test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
config/test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
config/test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
26.854545
77
0.714963
e9cc2d6af22fe4219890293d81e85b6688062ec1
27,649
ex
Elixir
lib/telemetry_metrics.ex
wojtekmach/telemetry_metrics
0fd42e0116b4581f4fd4e3a0efe44ec7c15991d1
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics.ex
wojtekmach/telemetry_metrics
0fd42e0116b4581f4fd4e3a0efe44ec7c15991d1
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics.ex
wojtekmach/telemetry_metrics
0fd42e0116b4581f4fd4e3a0efe44ec7c15991d1
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.Metrics do @moduledoc """ Common interface for defining metrics based on [`:telemetry`](https://github.com/beam-telemetry/telemetry) events. Metrics are aggregations of Telemetry events with specific name, providing a view of the system's behaviour over time. To give a more concrete ex...
37.212651
120
0.686679
e9cc43e2fb9a28f82752a0df73f5c38c0397c9ea
2,420
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/location_preference.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/location_preference.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/location_preference.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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...
43.214286
234
0.721488
e9cc4b127e5eeb845113ee0f0e50a7e97d6a5dac
61
ex
Elixir
lib/yourbot_web/views/page_view.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
3
2021-11-08T15:19:19.000Z
2021-11-11T03:18:35.000Z
lib/yourbot_web/views/page_view.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
lib/yourbot_web/views/page_view.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
defmodule YourBotWeb.PageView do use YourBotWeb, :view end
15.25
32
0.803279
e9cc872f66b8b5f4e8fd678e9b5b727b5a120b9f
490
ex
Elixir
lib/coxir/model/entities/presence/activity.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
lib/coxir/model/entities/presence/activity.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
lib/coxir/model/entities/presence/activity.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
defmodule Coxir.Presence.Activity do @moduledoc """ Work in progress. """ use Coxir.Model, storable?: false @primary_key false @derive Jason.Encoder @type t :: %Activity{} embedded_schema do field(:name, :string) field(:type, :integer) field(:url, :string) field(:created_at, :utc_dat...
19.6
37
0.657143
e9cc8d148cf500291a14c0a9e283e9c235ec4b3b
8,198
exs
Elixir
test/events_tools/accounts/accounts_test.exs
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
test/events_tools/accounts/accounts_test.exs
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
test/events_tools/accounts/accounts_test.exs
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.AccountsTest do use EventsTools.DataCase alias EventsTools.Accounts describe "users" do alias EventsTools.Accounts.User @valid_attrs %{email: "some email", password: "some password", username: "some username"} @update_attrs %{email: "some updated email", password: "some upd...
35.95614
401
0.671505
e9cc8e12555bd842e9894ea3a305395b43c1047c
4,802
exs
Elixir
apps/sherbet_service/test/sherbet.service/contact/communication/method/mobile/model_test.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
3
2017-05-02T12:52:54.000Z
2017-05-28T11:53:17.000Z
apps/sherbet_service/test/sherbet.service/contact/communication/method/mobile/model_test.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
null
null
null
apps/sherbet_service/test/sherbet.service/contact/communication/method/mobile/model_test.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
2
2017-05-02T13:13:25.000Z
2019-10-24T11:55:39.000Z
defmodule Sherbet.Service.Contact.Communication.Method.Mobile.ModelTest do use Sherbet.Service.Case alias Sherbet.Service.Contact.Communication.Method.Mobile @valid_model %Mobile.Model{ identity: Ecto.UUID.generate(), mobile: "+123", verified: true, primary: false } ...
41.042735
132
0.661808
e9cca2044a5d81337e280f5c26bd40b6102c6b78
1,125
ex
Elixir
lib/chat/channels/user/auth.ex
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
lib/chat/channels/user/auth.ex
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
lib/chat/channels/user/auth.ex
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
defmodule Chat.Channels.User.Auth do defmacro __using__([]) do quote do # authenticate the user and subscribe to a room with same name as username # this allows us to send any broadcast to that room to inform the user about # any updates def websocket_handle( {:json, %{"event" ...
32.142857
82
0.581333
e9ccb5b960077d0590249d08b0235ee87ad0e8cb
2,954
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.954023
125
0.726134
e9ccb821fa0d5d9e68bfdac3dabb99a3312696a0
23,057
ex
Elixir
lib/moeda/moedas.ex
ramondelemos/ex_dinheiro
8bdbcb23153dab2354b58415c0622207ce89fb3b
[ "MIT" ]
null
null
null
lib/moeda/moedas.ex
ramondelemos/ex_dinheiro
8bdbcb23153dab2354b58415c0622207ce89fb3b
[ "MIT" ]
null
null
null
lib/moeda/moedas.ex
ramondelemos/ex_dinheiro
8bdbcb23153dab2354b58415c0622207ce89fb3b
[ "MIT" ]
null
null
null
defmodule Moeda.Moedas do @moduledoc false @currencies %{ AED: %Moeda{ name: "UAE Dirham", symbol: [], alpha_code: "AED", num_code: 784, exponent: 2 }, AFN: %Moeda{ name: "Afghani", symbol: [1547], alpha_code: "AFN", num_code: 971, exponent: 2 ...
19.622979
60
0.472655
e9ccd41a90d040eea361ef45ed7d3b7c3c2a5c93
3,820
exs
Elixir
mix.exs
Hugo-Hache/floki
ec056fbd7b8ecb8e91260b4b973d3b8d87e19416
[ "MIT" ]
null
null
null
mix.exs
Hugo-Hache/floki
ec056fbd7b8ecb8e91260b4b973d3b8d87e19416
[ "MIT" ]
null
null
null
mix.exs
Hugo-Hache/floki
ec056fbd7b8ecb8e91260b4b973d3b8d87e19416
[ "MIT" ]
null
null
null
defmodule Floki.Mixfile do use Mix.Project @description "Floki is a simple HTML parser that enables search for nodes using CSS selectors." @source_url "https://github.com/philss/floki" @version "0.31.0" def project do [ app: :floki, name: "Floki", version: @version, description: ...
28.721805
98
0.57644
e9ccd7fb1846b63ceb60fdc332fa680ebf65a412
724
exs
Elixir
config/test.exs
bruce/phoenix-devcontainer-example
1f4ec42c0c59f309057123dbb394a3ec233174f2
[ "MIT" ]
4
2021-02-24T06:14:11.000Z
2021-05-01T09:20:16.000Z
config/test.exs
bruce/phoenix-devcontainer-example
1f4ec42c0c59f309057123dbb394a3ec233174f2
[ "MIT" ]
null
null
null
config/test.exs
bruce/phoenix-devcontainer-example
1f4ec42c0c59f309057123dbb394a3ec233174f2
[ "MIT" ]
3
2021-02-24T20:11:56.000Z
2022-02-05T01:36:38.000Z
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :devcontainer_example, DevcontainerExample.Repo, username: "postgres", password: "postgres", database:...
31.478261
79
0.770718
e9ccdcf7b5d48769f6b63b6797456029b3562dd4
5,848
exs
Elixir
.credo.exs
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
.credo.exs
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
.credo.exs
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
# 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 ...
40.054795
80
0.653215
e9cd04f09a96b87a9f0ab9d0717c06e77ddad235
745
exs
Elixir
mix.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
1
2016-04-23T17:03:02.000Z
2016-04-23T17:03:02.000Z
mix.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
null
null
null
mix.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
1
2021-06-07T21:21:41.000Z
2021-06-07T21:21:41.000Z
defmodule ElixirExercises.Mixfile do use Mix.Project def project do [app: :elixir_exercises, version: "0.0.1", elixir: "~> 1.1-dev", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help ...
22.575758
77
0.610738
e9cd169124db8a85e059192c10ef0666ee970597
1,663
ex
Elixir
lib/fireball_web/endpoint.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/endpoint.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/endpoint.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
defmodule FireballWeb.Endpoint do use Phoenix.Endpoint, otp_app: :fireball socket "/socket", FireballWeb.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....
28.186441
95
0.70475
e9cd186501ee2bf4290c117df1f690e63e9c2955
2,041
ex
Elixir
apps/gitgud/lib/gitgud/ssh_authentication_key.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/lib/gitgud/ssh_authentication_key.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/lib/gitgud/ssh_authentication_key.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
defmodule GitGud.SSHAuthenticationKey do @moduledoc """ Secure Shell (SSH) authentication key schema. """ use Ecto.Schema alias GitGud.DB alias GitGud.User import Ecto.Changeset schema "ssh_authentication_keys" do belongs_to :user, User field :name, :string field :data, :string...
25.5125
87
0.638902
e9cd1e7e3a986fddd007885aac29848737514280
23,645
ex
Elixir
lib/elixir/lib/regex.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
defmodule Regex do @moduledoc ~S""" Provides regular expressions for Elixir. Regex is based on PCRE (Perl Compatible Regular Expressions) and built on top of Erlang's `:re` module. More information can be found in the [`:re` module documentation](http://www.erlang.org/doc/man/re.html). Regular expressions...
29.445828
98
0.623641
e9cd1e80ae4834112a20befaa44000b1ebc47a0c
29,029
ex
Elixir
lib/elixir/lib/keyword.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A set of functions for working with keywords. A keyword list is a list of two-element tuples where the first element of the tuple is an atom and the second element can be any value. For example, the following is a keyword list: [{:exit_on_close, true}, {:active, ...
27.231707
98
0.597161
e9cd4324862133dbc4941b480e4e4c209bf4e9a0
2,428
ex
Elixir
lib/infinity_one/accounts/user_role.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one/accounts/user_role.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one/accounts/user_role.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOne.Accounts.UserRole do @moduledoc """ The join table between users and roles. Handles the many to many association between `InfinityOne.Accounts.User` and `InfinityOne.Accounts.Role`. Also contains a scope field which can contain the following vales: * nil - indicates the global scope...
29.975309
77
0.692751
e9cd589afa5193b398977bd45d0f6eaec13c077e
1,172
exs
Elixir
mix.exs
rauann/ex_unit_notifier
10697ff39313b335037e92bb21bd6830bef27b2e
[ "MIT" ]
null
null
null
mix.exs
rauann/ex_unit_notifier
10697ff39313b335037e92bb21bd6830bef27b2e
[ "MIT" ]
null
null
null
mix.exs
rauann/ex_unit_notifier
10697ff39313b335037e92bb21bd6830bef27b2e
[ "MIT" ]
null
null
null
defmodule ExUnitNotifier.Mixfile do use Mix.Project def project do [ app: :ex_unit_notifier, version: "1.0.0", name: "ExUnitNotifier", description: "Show status notifications for ExUnit test runs", source_url: "https://github.com/navinpeiris/ex_unit_notifier", homepage_url: ...
25.478261
77
0.584471
e9cd813f0b8d8807f75dfc3060bd6e56124dc3e4
1,841
ex
Elixir
lib/publisher.ex
southgard/ex_isbndb
15682e3db21e84a598d42997c8609fb1cd74f5e1
[ "MIT" ]
null
null
null
lib/publisher.ex
southgard/ex_isbndb
15682e3db21e84a598d42997c8609fb1cd74f5e1
[ "MIT" ]
2
2022-03-24T22:29:34.000Z
2022-03-29T21:03:48.000Z
lib/publisher.ex
southgard/ex_isbndb
15682e3db21e84a598d42997c8609fb1cd74f5e1
[ "MIT" ]
null
null
null
defmodule ExIsbndb.Publisher do @moduledoc """ The `ExIsbndb.Publisher` module contains all the available endpoints for Publishers. All functions need to receive a map with params, but only those needed for the endpoint will be taken. """ alias ExIsbndb.Client @doc """ Returns the Publisher's details...
28.323077
86
0.664313
e9cd8e65515b6e10c8565af51cba54ea6f9f225f
3,344
exs
Elixir
integration_test/support/migration.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
integration_test/support/migration.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
integration_test/support/migration.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.Migration do use Ecto.Migration def change do create table(:users, comment: "users table") do add :name, :string, comment: "name column" add :custom_id, :uuid timestamps() end create table(:posts) do add :title, :string, size: 100 add :counter, ...
27.186992
75
0.636663
e9cd96cd561825b5866f825af4a5c60b028d4a80
2,293
ex
Elixir
lib/slurpee_web/live/home_live.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
15
2021-03-24T07:46:34.000Z
2022-02-16T19:09:58.000Z
lib/slurpee_web/live/home_live.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
30
2021-03-22T23:31:56.000Z
2022-03-01T00:17:50.000Z
lib/slurpee_web/live/home_live.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
1
2021-09-18T23:00:57.000Z
2021-09-18T23:00:57.000Z
defmodule SlurpeeWeb.HomeLive do use SlurpeeWeb, :live_view @impl true def mount(_params, _session, socket) do Phoenix.PubSub.subscribe(Slurpee.PubSub, "events:event_received") Phoenix.PubSub.subscribe(Slurpee.PubSub, "recent_heads:new_head_received") Phoenix.PubSub.subscribe(Slurpee.PubSub, "blockch...
29.779221
92
0.709115
e9cdacc84e9d9a6de237771692b54689f6a1d6b3
3,447
ex
Elixir
lib/queuetopia/scheduler.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
7
2020-08-06T21:58:13.000Z
2021-08-07T18:32:44.000Z
lib/queuetopia/scheduler.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-10-22T11:53:45.000Z
2021-06-22T05:45:27.000Z
lib/queuetopia/scheduler.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-11-04T00:23:43.000Z
2021-04-30T07:25:01.000Z
defmodule Queuetopia.Scheduler do @moduledoc false use GenServer alias Queuetopia.Queue alias Queuetopia.Queue.Job @type option :: {:poll_interval, pos_integer()} def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: opts[:name]) end def send_poll(scheduler_pid) when is_pid(sched...
25.917293
89
0.638816
e9ce060a02fbb2067ca6e9b942becc91af088eb2
1,370
exs
Elixir
test/cqrex_test.exs
thebookofeveryone/cqrex
0c5829e5fd21db5df53c4d3b93ea7a0975cdce3d
[ "MIT" ]
6
2016-05-19T12:36:40.000Z
2017-03-05T19:01:11.000Z
test/cqrex_test.exs
thebookofeveryone/cqrs-elixir
0c5829e5fd21db5df53c4d3b93ea7a0975cdce3d
[ "MIT" ]
5
2016-05-23T09:30:22.000Z
2016-05-23T09:35:47.000Z
test/cqrex_test.exs
thebookofeveryone/cqrs-elixir
0c5829e5fd21db5df53c4d3b93ea7a0975cdce3d
[ "MIT" ]
null
null
null
defmodule Cart do use Cqrex.AggregateRoot defstruct [ :id, :items ] # Events def created(cart, %{ id: id, items: items }) do %Cart{ cart | id: id, items: items } end def item_added(cart, item) do %Cart{ cart | items: [ item | cart.items ] } end # Commands def create!(cart, id) do di...
20.757576
68
0.630657
e9ce21530e2ce55fb8cfa3098ffaee4bd9ab69a8
122
exs
Elixir
.formatter.exs
pjk25/erlang-jose
2b1d66b5f4fbe33cb198149a8cb23895a2c877ea
[ "MIT" ]
266
2015-07-28T03:35:20.000Z
2022-03-24T02:29:40.000Z
.formatter.exs
pjk25/erlang-jose
2b1d66b5f4fbe33cb198149a8cb23895a2c877ea
[ "MIT" ]
114
2015-08-07T18:13:40.000Z
2022-03-17T08:13:16.000Z
.formatter.exs
pjk25/erlang-jose
2b1d66b5f4fbe33cb198149a8cb23895a2c877ea
[ "MIT" ]
80
2015-08-10T16:58:26.000Z
2022-03-18T20:34:38.000Z
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,priv,test}/**/*.{ex,exs}"], line_length: 132 ]
20.333333
75
0.590164
e9ce5668bb0609336c44507038a1c1f56bb000c1
60
ex
Elixir
apps/badger_web/lib/badger_web/views/home_view.ex
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
apps/badger_web/lib/badger_web/views/home_view.ex
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
9
2021-03-09T20:25:18.000Z
2021-05-27T12:58:03.000Z
apps/badger_web/lib/badger_web/views/home_view.ex
andyl/badger
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
defmodule BadgerWeb.HomeView do use BadgerWeb, :view end
12
31
0.783333
e9ce79ae9f85291ff8116520077fe400a4e955e1
4,225
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/request_metadata.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/request_metadata.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/request_metadata.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
70.416667
616
0.75574
e9ce8250c4c81e3b0774f14f5049c01409f0b943
63
ex
Elixir
lib/cloak/otp/mqtt.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
51
2020-07-24T06:09:22.000Z
2021-12-16T16:22:59.000Z
lib/cloak/otp/mqtt.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
null
null
null
lib/cloak/otp/mqtt.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
15
2020-07-31T00:34:29.000Z
2021-09-26T03:44:09.000Z
defmodule Cloak.MQTT do use Common.MQTT, otp_app: :cloak end
15.75
34
0.761905
e9cea114462eaab4e3d8fb6299237d9cc54c8b04
6,762
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
60.918919
361
0.683378
e9ceeb43e161ca8098f5d0bd5f4dd146cba84f6f
197
exs
Elixir
priv/repo/migrations/20181122122402_tmp_drop_videos_comments_floor_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20181122122402_tmp_drop_videos_comments_floor_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20181122122402_tmp_drop_videos_comments_floor_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.TmpDropVideosCommentsFloorIndex do use Ecto.Migration def change do drop(unique_index(:videos_comments, [:video_id, :author_id, :floor])) end end
24.625
74
0.786802
e9cefd6bba2978c7044c31328fd8a226390a51e7
3,600
ex
Elixir
lib/cforum/system/v4_migration_task.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/system/v4_migration_task.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/system/v4_migration_task.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule Cforum.System.V4MigrationTaks do @moduledoc """ Migration module to perform the necessary DB changes to get to the V5 schema """ import Ecto.Query alias Cforum.Repo alias Cforum.Tags.Synonym alias Cforum.V4Tag def migrate do Repo.transaction( fn -> db_migrations() ...
26.277372
104
0.633611
e9cf0232995c8ccc4801c70d7e737dc261d17c69
3,819
ex
Elixir
lib/cotoami/models/coto.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami/models/coto.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami/models/coto.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule Cotoami.Coto do @moduledoc """ コト (Coto) is a post by an Amishi. """ use Ecto.Schema import Ecto.Changeset import Ecto.Query, warn: false import Cotoami.Helpers alias Cotoami.Amishi alias Cotoami.Coto alias Cotoami.Cotonoma @summary_max_length 200 @content_max_length 2500 @primary...
25.804054
82
0.643624
e9cf07ef635d6fa57453e4b6e5b05fbb05e2a2ba
108
ex
Elixir
apps/revision/lib/revision/repo.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
1
2022-02-06T11:29:56.000Z
2022-02-06T11:29:56.000Z
apps/revision/lib/revision/repo.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
apps/revision/lib/revision/repo.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
defmodule Revision.Repo do use Ecto.Repo, otp_app: :revision, adapter: Ecto.Adapters.Postgres end
18
35
0.731481
e9cf222ec3168fb8335695bf028d362aad12daea
2,183
ex
Elixir
web/controllers/auth_controller.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
web/controllers/auth_controller.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
web/controllers/auth_controller.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.AuthController do use SlackCoder.Web, :controller alias SlackCoder.Services.UserService @doc """ This action is reached via `/auth/:provider` and redirects to the OAuth2 provider based on the chosen strategy. """ def index(conn, %{"provider" => "github"}) do redirect conn, exter...
32.102941
120
0.660559
e9cf35cc9898527f9db296f781354e4665fb54a7
2,114
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/fetch_inventory_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/fetch_inventory_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/fetch_inventory_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
39.886792
202
0.732261
e9cf43706b8102d7a079bc88aee23d4ae9e33d9c
343
ex
Elixir
lib/erlef_web/controllers/events_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/events_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/events_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.EventController do use ErlefWeb, :controller alias Erlef.Data.Query.Event, as: Query action_fallback ErlefWeb.FallbackController def index(conn, _params) do render(conn, :index, events: Query.approved()) end def show(conn, %{"slug" => slug}) do render(conn, event: Query.get_by...
21.4375
50
0.720117
e9cf5298d240c118b1967d2e90a9ec77bb02c6ba
772
exs
Elixir
test/bulk/actions_test.exs
outstand/snap
8d41b1effdc4ec98b21df6eaa2b43986d6255645
[ "MIT" ]
null
null
null
test/bulk/actions_test.exs
outstand/snap
8d41b1effdc4ec98b21df6eaa2b43986d6255645
[ "MIT" ]
null
null
null
test/bulk/actions_test.exs
outstand/snap
8d41b1effdc4ec98b21df6eaa2b43986d6255645
[ "MIT" ]
null
null
null
defmodule Snap.Bulk.ActionsTest do use ExUnit.Case, async: true alias Snap.Bulk.Action alias Snap.Bulk.Actions test "encoding actions" do doc = %{foo: "bar"} actions = [ %Action.Index{_index: "foo", doc: doc}, %Action.Create{_index: "foo", doc: doc, require_alias: true}, %Action.Upd...
33.565217
264
0.559585
e9cf6c3a2e320682f76a630ef73e01e4bbab68e0
230
ex
Elixir
lib/crater_web/auth/error_handler.ex
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-13T08:15:50.000Z
2018-03-13T08:15:50.000Z
lib/crater_web/auth/error_handler.ex
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-17T15:45:26.000Z
2018-03-17T15:45:26.000Z
lib/crater_web/auth/error_handler.ex
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2017-08-30T16:13:09.000Z
2017-08-30T16:13:09.000Z
defmodule CraterWeb.Auth.ErrorHandler do import Plug.Conn def auth_error(conn, {type, _reason}, _opts) do body = Poison.encode!(%{status: :error, message: to_string(type)}) conn |> send_resp(401, body) end end
20.909091
70
0.686957
e9cf99db2d231dbab29d99a7b8eb88c93a9b3940
173
ex
Elixir
lib/conduit/blog/queries/list_tags.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
lib/conduit/blog/queries/list_tags.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
lib/conduit/blog/queries/list_tags.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule Conduit.Blog.Queries.ListTags do import Ecto.Query alias Conduit.Blog.Projections.Tag def new do from(t in Tag, order_by: t.name ) end end
14.416667
42
0.687861
e9cf9c6c7bfb1b5ec1ce623d71a84b48273c70e4
971
ex
Elixir
clients/slides/lib/google_api/slides/v1/deserializer.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/deserializer.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/deserializer.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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.346154
77
0.765191
e9cfeb40ca5025f83601eedb8f92ae138fe639de
2,562
exs
Elixir
test/resource/relationships/has_one_test.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
1
2021-12-27T09:43:29.000Z
2021-12-27T09:43:29.000Z
test/resource/relationships/has_one_test.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
test/resource/relationships/has_one_test.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
defmodule Ash.Test.Resource.Relationshihps.HasOneTest do @moduledoc false use ExUnit.Case, async: true defmacrop defposts(do: body) do quote do defmodule Post do @moduledoc false use Ash.Resource attributes do attribute :id, :uuid, primary_key?: true, default: &Ecto.U...
25.878788
105
0.542545
e9cfee0248c2d58b7e1c08ffa44fffe5e370863e
155
ex
Elixir
lib/hl7/2.3/datatypes/scv.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/scv.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/scv.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.DataTypes.Scv do @moduledoc false use HL7.DataType, fields: [ parameter_class: nil, parameter_value: nil ] end
15.5
35
0.664516
e9d0975d15481f309f373b6ae93ecb1dc32165c1
11,613
ex
Elixir
lib/witchcraft/chain.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
1
2019-10-04T11:32:01.000Z
2019-10-04T11:32:01.000Z
lib/witchcraft/chain.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
null
null
null
lib/witchcraft/chain.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
null
null
null
import TypeClass defclass Witchcraft.Chain do @moduledoc """ Chain function applications on contained data that may have some additional effect As a diagram: %Container<data> --- (data -> %Container<updated_data>) ---> %Container<updated_data> ## Examples iex> chain([1, 2, 3], fn x -> [x, x] en...
24.093361
93
0.503832
e9d0d7e9643379bdd7395273fe63fd309cf4689f
22
ex
Elixir
lib/cldr.ex
magicienap/cldr
f33777cebdb9841fdb6b8864a4cb715a03b12842
[ "MIT" ]
1
2018-02-15T06:16:06.000Z
2018-02-15T06:16:06.000Z
lib/cldr.ex
magicienap/cldr
f33777cebdb9841fdb6b8864a4cb715a03b12842
[ "MIT" ]
null
null
null
lib/cldr.ex
magicienap/cldr
f33777cebdb9841fdb6b8864a4cb715a03b12842
[ "MIT" ]
null
null
null
defmodule Cldr do end
7.333333
17
0.818182
e9d0d981bde45d5b69863f726fe30273d05dcf31
1,093
ex
Elixir
test/support/channel_case.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
test/support/channel_case.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
test/support/channel_case.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
defmodule Ex21Web.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts with...
26.658537
66
0.722781
e9d0e5d7d0da0995748dff65950bcc138a233b45
592
exs
Elixir
test/prom_ex/plugins/beam_test.exs
andersonmcook/prom_ex
4913b15be186db29ee9fe800bf6baf6807e1902d
[ "MIT" ]
null
null
null
test/prom_ex/plugins/beam_test.exs
andersonmcook/prom_ex
4913b15be186db29ee9fe800bf6baf6807e1902d
[ "MIT" ]
null
null
null
test/prom_ex/plugins/beam_test.exs
andersonmcook/prom_ex
4913b15be186db29ee9fe800bf6baf6807e1902d
[ "MIT" ]
null
null
null
defmodule PromEx.Plugins.BeamTest do use ExUnit.Case, async: true alias PromEx.Plugins.Beam describe "event_metrics/1" do test "should return the correct number of metrics" do assert Beam.event_metrics([]) == [] end end describe "polling_metrics/1" do test "should return the correct numbe...
24.666667
65
0.701014
e9d0eeef0f810cfb7eb827c1c0ffdc60f19dff23
8,865
exs
Elixir
test/credo/code/token_test.exs
harlantwood/credo
4569c9c8cfcf74a2074d6911541da0265e52ae99
[ "MIT" ]
null
null
null
test/credo/code/token_test.exs
harlantwood/credo
4569c9c8cfcf74a2074d6911541da0265e52ae99
[ "MIT" ]
null
null
null
test/credo/code/token_test.exs
harlantwood/credo
4569c9c8cfcf74a2074d6911541da0265e52ae99
[ "MIT" ]
null
null
null
defmodule Credo.Code.TokenTest do use Credo.TestHelper alias Credo.Code.Token @heredoc_interpolations_source """ def fun() do a = \"\"\" MyModule.\#{fun(Module.value() + 1)}.SubModule.\#{name}" \"\"\" end """ @heredoc_interpolations_position {1, 5, 1, 60} @multiple_interpolations_source ~...
29.451827
97
0.487761
e9d0f738319f4d250a125dd2f874e5c3a97f3b32
3,111
ex
Elixir
lib/arangox/client/gun.ex
otaq/arangox
6846c6ddb1644d85eec0414374b5300d420bc268
[ "MIT" ]
43
2019-10-10T22:12:20.000Z
2022-03-31T22:34:42.000Z
lib/arangox/client/gun.ex
suazithustra/arangox
8ce80b965958a75523ce6f4c68faa8cc83c811d9
[ "MIT" ]
2
2021-02-10T16:23:57.000Z
2021-05-21T13:10:48.000Z
lib/arangox/client/gun.ex
suazithustra/arangox
8ce80b965958a75523ce6f4c68faa8cc83c811d9
[ "MIT" ]
3
2021-05-13T04:01:03.000Z
2022-03-31T22:34:10.000Z
if Code.ensure_loaded?(:gun) do defmodule Arangox.GunClient do @moduledoc """ An HTTP client implementation of the \ [`:gun`](https://ninenines.eu/docs/en/gun/1.3/guide "documentation") \ library. Requires [`:gun`](https://hex.pm/packages/gun "hex.pm") to be added as a dependency. [__Hex.pm__...
25.710744
92
0.550305
e9d13385a6bc52a7a38c17650b88d919105808bb
78
exs
Elixir
market_api/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule MarketApi.PageViewTest do use MarketApi.ConnCase, async: true end
19.5
37
0.820513
e9d138963f79d05943df95b46761ecf191c56cbf
1,595
exs
Elixir
mix.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "MIT" ]
null
null
null
mix.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
mix.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "MIT" ]
null
null
null
defmodule Conduit.Mixfile do use Mix.Project def project do [ app: :conduit, version: "0.0.1", elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.033898
91
0.512853
e9d1580cd4f9ce1fc91010d79b08aeb465f154b6
697
ex
Elixir
test/support/factory/wallet_limit_factory.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
test/support/factory/wallet_limit_factory.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
test/support/factory/wallet_limit_factory.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
defmodule ExLemonway.WalletLimitFactory do @moduledoc """ Factory for WalletLimit. It's automatically generated by `mix specs.gen.model WalletLimit` Dont' edit this file manually, to make any changes, please update: `specs/directkit/model/wallet_limit.json` """ alias ExLemonway.WalletLimit defmacro _...
26.807692
80
0.687231
e9d159b650eba3f43eb277d79ff76d6a99f4d78e
12,372
ex
Elixir
lib/midifile/reader.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
7
2016-10-09T06:59:31.000Z
2022-02-09T22:23:09.000Z
lib/midifile/reader.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
null
null
null
lib/midifile/reader.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
5
2016-01-06T17:37:04.000Z
2022-02-09T22:23:24.000Z
defmodule Midifile.Reader do use Bitwise alias Midifile.Sequence alias Midifile.Track alias Midifile.Event alias Midifile.Varlen @moduledoc """ MIDI file reader. """ @debug false # Channel messages @status_nibble_off 0x8 @status_nibble_on 0x9 @status_nibble_poly_press 0xA @status_nibbl...
41.10299
159
0.669981
e9d16ab4676dd3c3a7507421210c54393379c185
327
ex
Elixir
lib/gor_project_web/channels/room_channel.ex
Shenrak/GORProject-API
1b3355ae5955d78b5a2f02177f20a599f0680604
[ "MIT" ]
2
2018-09-03T05:42:54.000Z
2018-09-18T05:48:17.000Z
lib/gor_project_web/channels/room_channel.ex
Shenrak/GORProject-API
1b3355ae5955d78b5a2f02177f20a599f0680604
[ "MIT" ]
2
2018-09-17T16:06:06.000Z
2018-09-24T18:06:19.000Z
lib/gor_project_web/channels/room_channel.ex
Shenrak/GORProject-API
1b3355ae5955d78b5a2f02177f20a599f0680604
[ "MIT" ]
1
2018-09-17T14:57:20.000Z
2018-09-17T14:57:20.000Z
defmodule GORprojectWeb.RoomChannel do use Phoenix.Channel def join("room:lobby", _message, socket) do {:ok, socket} end def handle_in("new_msg", %{"message" => message, "userName" => userName}, socket) do broadcast(socket, "new_msg", %{message: message, userName: userName}) {:noreply, socket} e...
25.153846
86
0.681957