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
c891231ddc9dcb878b7bb1cfbf873b152b936a61
4,191
ex
Elixir
lib/teiserver/agents/agent_lib.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/agents/agent_lib.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/agents/agent_lib.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Agents.AgentLib do alias Teiserver.Protocols.TachyonLib alias Teiserver.User alias Phoenix.PubSub require Logger alias Teiserver.Data.Types, as: T @localhost '127.0.0.1' @spec colours :: {String.t(), String.t(), String.t()} def colours(), do: Central.Helpers.StylingHelper.colours(:...
27.94
122
0.612742
c891410a5470f4086cee30f15fb9d711836b4f49
805
exs
Elixir
apps/data_warehouse/mix.exs
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
null
null
null
apps/data_warehouse/mix.exs
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
null
null
null
apps/data_warehouse/mix.exs
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
null
null
null
defmodule DataWarehouse.MixProject do use Mix.Project def project do [ app: :data_warehouse, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.12", start_perman...
21.756757
59
0.541615
c89145f90cfc3d11b2c5d74db401466475d426d2
8,419
exs
Elixir
test/transaction_error_event_test.exs
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
1
2020-08-13T05:08:20.000Z
2020-08-13T05:08:20.000Z
test/transaction_error_event_test.exs
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
null
null
null
test/transaction_error_event_test.exs
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
null
null
null
defmodule TransactionErrorEventTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest.Collector alias NewRelic.Error.Event defmodule TestPlugApp do use Plug.Router use NewRelic.Transaction plug(:match) plug(:dispatch) get "/error" do raise "CrazyTransactionError" send...
33.27668
98
0.711486
c8915ba93395cb08223a4708cbc12a2a4a02bbdc
159
exs
Elixir
test/crypto_currency_test.exs
stippireddy/cryptocurrency-miner
e38c43666c9f74692903502386f79ca549711bde
[ "MIT" ]
null
null
null
test/crypto_currency_test.exs
stippireddy/cryptocurrency-miner
e38c43666c9f74692903502386f79ca549711bde
[ "MIT" ]
null
null
null
test/crypto_currency_test.exs
stippireddy/cryptocurrency-miner
e38c43666c9f74692903502386f79ca549711bde
[ "MIT" ]
null
null
null
defmodule CryptoCurrencyTest do use ExUnit.Case doctest CryptoCurrency test "greets the world" do assert CryptoCurrency.hello() == :world end end
17.666667
43
0.748428
c89186365b788f7802d5d269ca2fb85de0c37002
61
ex
Elixir
web/views/session_view.ex
leomindez/Rumbl
a8d832295f2ff291eb67dcff201de9c0ce2dbc5b
[ "MIT" ]
null
null
null
web/views/session_view.ex
leomindez/Rumbl
a8d832295f2ff291eb67dcff201de9c0ce2dbc5b
[ "MIT" ]
null
null
null
web/views/session_view.ex
leomindez/Rumbl
a8d832295f2ff291eb67dcff201de9c0ce2dbc5b
[ "MIT" ]
null
null
null
defmodule Rumbl.SessionView do use Rumbl.Web, :view end
12.2
30
0.737705
c8918ad78ea8ab612a4e0158cbf8afbb7cfc69c0
1,563
ex
Elixir
lib/blanche_web/router.ex
nicholasgriffen/blanche
3ac766a2d9dae0ecd46644e73f5335efb6f1d1b2
[ "Apache-2.0" ]
1
2021-09-07T22:04:06.000Z
2021-09-07T22:04:06.000Z
lib/blanche_web/router.ex
nicholasgriffen/blanche
3ac766a2d9dae0ecd46644e73f5335efb6f1d1b2
[ "Apache-2.0" ]
null
null
null
lib/blanche_web/router.ex
nicholasgriffen/blanche
3ac766a2d9dae0ecd46644e73f5335efb6f1d1b2
[ "Apache-2.0" ]
1
2021-09-11T02:04:47.000Z
2021-09-11T02:04:47.000Z
defmodule BlancheWeb.Router do use BlancheWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {BlancheWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug...
25.622951
70
0.685221
c89191d6ea51c4a74ee6e3b56ecfc6cd0661f530
366
ex
Elixir
lib/geolix/adapter/mmdb2/names.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/names.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/names.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2.Names do @moduledoc """ Provides usable GenServer names. """ @doc """ Returns GenServer names for storage processes. """ @spec storage(atom) :: atom def storage(:data), do: :geolix_mmdb2_storage_data def storage(:metadata), do: :geolix_mmdb2_storage_metadata def stora...
26.142857
60
0.729508
c891a5d4489fbb40199c052df182f5adde72208e
1,136
ex
Elixir
lib/ex_onixo/parser/product/product_supply/supply_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
1
2021-12-11T06:44:18.000Z
2021-12-11T06:44:18.000Z
lib/ex_onixo/parser/product/product_supply/supply_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
lib/ex_onixo/parser/product/product_supply/supply_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
defmodule ExOnixo.Parser.Product.ProductSupply.SupplyDetail do import SweetXml alias ExOnixo.Helper.ElementYml alias ExOnixo.Parser.Product.ProductSupply.SupplyDetail.{ SupplierIdentifier, Website, Price } def parse_recursive(xml) do SweetXml.xpath(xml, ~x"./SupplyDetail"l) |> Enum.map(fn...
37.866667
120
0.702465
c891db4c121b9768e0445a36dc8f41bad2c0672f
7,671
exs
Elixir
lib/ex_unit/test/ex_unit/callbacks_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/ex_unit/test/ex_unit/callbacks_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/ex_unit/test/ex_unit/callbacks_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.CallbacksTest do use ExUnit.Case import ExUnit.CaptureIO def start_counter(_) do [counter: []] end test "callbacks run custom code with context" do defmodule CallbacksTest do use ExUnit.Case setup_all do [contex...
21.190608
92
0.564072
c892169cd00731819ab9fa2d4e9c5b83f8f98163
538
ex
Elixir
test/support/projections/name_projection_handler.ex
toniqsystems/event_store
2d3c8cb2b477bc0e3ef2dc048a924f9874e0abe0
[ "Apache-2.0" ]
103
2018-02-09T23:13:21.000Z
2021-08-18T04:22:41.000Z
test/support/projections/name_projection_handler.ex
tonic-sys/event_store
2d3c8cb2b477bc0e3ef2dc048a924f9874e0abe0
[ "Apache-2.0" ]
20
2018-04-05T16:10:53.000Z
2021-07-01T08:21:50.000Z
test/support/projections/name_projection_handler.ex
tonic-sys/event_store
2d3c8cb2b477bc0e3ef2dc048a924f9874e0abe0
[ "Apache-2.0" ]
3
2018-09-13T06:03:10.000Z
2019-07-11T15:22:53.000Z
defmodule Maestro.SampleAggregate.Projections.NameProjectionHandler do @moduledoc """ Attempt to update the named aggregate projection transactionally with the corresponding event """ @behaviour Maestro.Aggregate.ProjectionHandler alias Maestro.Repo alias Maestro.Schemas.NamedAggregate def project(%{...
24.454545
75
0.717472
c8922c64656678d12081fd257e6cf36187cc4b5d
1,023
ex
Elixir
lib/troika_bag/bag_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
1
2020-06-29T11:39:18.000Z
2020-06-29T11:39:18.000Z
lib/troika_bag/bag_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
null
null
null
lib/troika_bag/bag_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
null
null
null
defmodule TroikaBag.BagSupervisor do use DynamicSupervisor require Logger @bag_registry_name :bag_process_registry @doc """ Starts the supervisor. """ def start_link(_) do DynamicSupervisor.start_link(__MODULE__, :no_args, name: __MODULE__) end # Returns the pid of the bag for the given ID, or ...
23.25
78
0.675464
c892349d7e7349c578ddb0879140d39b1b19128e
2,129
ex
Elixir
lib/roger_ui/jobs.ex
fabianherrera/roger_ui_revamp
7541148d6c24a5d3209e4eedccfb6a43f2b38fdf
[ "MIT" ]
1
2020-01-20T19:42:20.000Z
2020-01-20T19:42:20.000Z
lib/roger_ui/jobs.ex
fabianherrera/roger_ui_revamp
7541148d6c24a5d3209e4eedccfb6a43f2b38fdf
[ "MIT" ]
2
2018-02-19T20:07:29.000Z
2018-03-06T17:18:18.000Z
lib/roger_ui/jobs.ex
fabianherrera/roger_ui_revamp
7541148d6c24a5d3209e4eedccfb6a43f2b38fdf
[ "MIT" ]
2
2018-03-02T00:00:08.000Z
2018-03-02T13:35:49.000Z
defmodule RogerUI.Jobs do @moduledoc """ Generates a Jobs list from Roger.Info.running_jobs() function. Resulting Jobs are linked to a partition name: Given a nested data structure, where each element contents nested items: [ "watcher@127.0.0.1": %{ "roger_demo_partition" => [ %Roger....
30.855072
125
0.628464
c8924a449e8952a56ed98de3ecea3f197c4ad7a9
3,159
exs
Elixir
test/smartsheet/http_client_test.exs
kianmeng/smartsheet
ca3f0734fe4bc08811d1726c7dd1072502a60ad2
[ "MIT" ]
null
null
null
test/smartsheet/http_client_test.exs
kianmeng/smartsheet
ca3f0734fe4bc08811d1726c7dd1072502a60ad2
[ "MIT" ]
6
2020-07-21T17:36:50.000Z
2021-12-16T00:49:21.000Z
test/smartsheet/http_client_test.exs
kianmeng/smartsheet
ca3f0734fe4bc08811d1726c7dd1072502a60ad2
[ "MIT" ]
1
2020-10-20T13:04:51.000Z
2020-10-20T13:04:51.000Z
defmodule Smartsheet.HttpClientTest do use ExUnit.Case alias Smartsheet.HttpClient describe "process_request_body/1" do test "the body is an empty string" do assert "\"\"" == HttpClient.process_request_body("") end test "it camelizes atom keys and json encodes the request body" do body ...
28.205357
164
0.553973
c89260a593dcb265dab5e882530b2683602a0f93
27,283
ex
Elixir
deps/ecto/lib/ecto/adapters/mysql/connection.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/adapters/mysql/connection.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/adapters/mysql/connection.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Mariaex) do defmodule Ecto.Adapters.MySQL.Connection do @moduledoc false @behaviour Ecto.Adapters.SQL.Connection ## Connection def child_spec(opts) do Mariaex.child_spec(opts) end ## Query def prepare_execute(conn, name, sql, params, opts) do query =...
35.249354
109
0.602536
c892756158a095af59507f48ee6c446c8f381bc3
191
exs
Elixir
priv/repo/migrations/20170802184540_add_followers_to_author.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
priv/repo/migrations/20170802184540_add_followers_to_author.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
priv/repo/migrations/20170802184540_add_followers_to_author.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule Conduit.Repo.Migrations.AddFollowersToAuthor do use Ecto.Migration def change do alter table(:blog_authors) do add :followers, {:array, :binary_id} end end end
19.1
57
0.722513
c89284b45fb2bdfb51467f4eb3e92d525a9981f1
185
ex
Elixir
lib/mix/tasks/exsync.ex
leandrocp/exsync
922622c13de021ea2281d1ba3e9b9384f4be1df8
[ "BSD-3-Clause" ]
114
2015-05-14T08:02:53.000Z
2022-02-16T21:10:42.000Z
lib/mix/tasks/exsync.ex
leandrocp/exsync
922622c13de021ea2281d1ba3e9b9384f4be1df8
[ "BSD-3-Clause" ]
30
2015-05-09T23:46:19.000Z
2022-02-05T16:16:31.000Z
lib/mix/tasks/exsync.ex
leandrocp/exsync
922622c13de021ea2281d1ba3e9b9384f4be1df8
[ "BSD-3-Clause" ]
23
2015-05-03T12:29:51.000Z
2021-05-02T20:30:21.000Z
defmodule Mix.Tasks.Exsync do use Mix.Task def run(_) do unless System.get_env("MIX_ENV") do Mix.env(:dev) end Application.ensure_all_started(:exsync) end end
15.416667
43
0.675676
c89286a81b2d8a93db1e99e21b63e6635d1a5afd
512
ex
Elixir
apps/go_stop/lib/go_stop/application.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
8
2017-06-04T04:05:47.000Z
2019-11-04T18:00:45.000Z
apps/go_stop/lib/go_stop/application.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
19
2018-04-19T07:24:57.000Z
2019-08-07T16:37:05.000Z
apps/go_stop/lib/go_stop/application.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
1
2018-07-18T07:51:47.000Z
2018-07-18T07:51:47.000Z
defmodule GoStop.Application do @moduledoc """ The GoStop Application Service. The go_stop system business domain lives in this application. Exposes API to clients such as the `GoStopWeb` application for use in channels, controllers, and elsewhere. """ use Application def start(_type, _args) do i...
21.333333
63
0.685547
c8928ed6b7b49b57994b9cb6999c7fd657fdbf1d
240
ex
Elixir
lib/phone/es/ab.ex
mrjfernando/phone
3febb243fcd8bdb1c333601a637f449a94caef88
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/es/ab.ex
mrjfernando/phone
3febb243fcd8bdb1c333601a637f449a94caef88
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/es/ab.ex
mrjfernando/phone
3febb243fcd8bdb1c333601a637f449a94caef88
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.ES.AB do @moduledoc false use Helper.Area def regex, do: ~r/^(34)(967|867)(.{6})$/ def area_name, do: "Albacete" def area_type, do: "province" def area_abbreviation, do: "AB" matcher(["34967", "34867"]) end
18.461538
42
0.645833
c8929686afb6a91a981b40ac6a823ff17409197a
584
ex
Elixir
lib/stripe/subscriptions/invoice.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
70
2016-07-28T16:39:36.000Z
2021-08-03T14:26:19.000Z
lib/stripe/subscriptions/invoice.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
29
2018-09-17T11:35:17.000Z
2021-08-01T11:15:09.000Z
lib/stripe/subscriptions/invoice.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
30
2016-10-11T21:07:27.000Z
2020-12-23T20:15:41.000Z
defmodule Stripe.Invoice do use Stripe.API, [:create, :retrieve, :update, :list] def endpoint do "invoices" end def line_items(%{"id" => invoice_id}) do line_items(invoice_id) end def line_items(invoice_id, pagination_opts \\ [], opts \\ []) do Stripe.request(:get, "#{endpoint()}/#{invoice_id...
24.333333
84
0.638699
c8929a614fd65f774255e9859a6910ccf7b0a356
3,105
exs
Elixir
test/blocks/json_mapper_test.exs
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
null
null
null
test/blocks/json_mapper_test.exs
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
null
null
null
test/blocks/json_mapper_test.exs
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2019 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
27.477876
91
0.647021
c8929dd72adbe7ade9303813dee6d6e4f4ff675c
3,935
ex
Elixir
lib/maru/resource/helper.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
819
2016-11-25T07:12:04.000Z
2022-03-16T06:59:36.000Z
lib/maru/resource/helper.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
71
2016-11-24T20:19:09.000Z
2021-06-09T10:12:23.000Z
lib/maru/resource/helper.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
56
2015-01-10T23:34:12.000Z
2016-11-17T00:13:56.000Z
alias Maru.Resource defmodule Resource.Helper do alias Resource.MaruPlug def set_version(version, %Macro.Env{module: module}) do resource = Module.get_attribute(module, :resource) new_resource = %{resource | version: version} Module.put_attribute(module, :resource, new_resource) end def push_path...
28.722628
86
0.642186
c892bdd4e9bf8a5dbc83d54b08a66a3fb1c6009f
3,229
exs
Elixir
test/excommerce_web/controllers/variant_controller_test.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
test/excommerce_web/controllers/variant_controller_test.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
test/excommerce_web/controllers/variant_controller_test.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule ExcommerceWeb.VariantControllerTest do use ExcommerceWeb.ConnCase alias Excommerce.Catalog @create_attrs %{cost_currency: "some cost_currency", cost_price: "120.5", depth: "120.5", discontinue_on: ~D[2010-04-17], height: "120.5", image: "some image", is_master: true, sku: "some sku", weight: "120.5"} ...
36.280899
237
0.674822
c8931b911376659300d8f19455f2d9042179f6dc
907
ex
Elixir
lib/bot/commands/set.ex
emirkabal/lanyard
f2a0fb4061a3052c5e043161062f8fa8f090679c
[ "MIT" ]
1
2021-11-19T11:41:16.000Z
2021-11-19T11:41:16.000Z
lib/bot/commands/set.ex
emirkabal/lanyard
f2a0fb4061a3052c5e043161062f8fa8f090679c
[ "MIT" ]
1
2021-08-12T13:10:32.000Z
2021-08-12T13:10:32.000Z
lib/bot/commands/set.ex
emirkabal/lanyard
f2a0fb4061a3052c5e043161062f8fa8f090679c
[ "MIT" ]
null
null
null
defmodule Lanyard.DiscordBot.Commands.Set do alias Lanyard.DiscordBot.DiscordApi def handle([key | value_s], payload) do value = Enum.join(value_s, " ") case Lanyard.KV.Interface.set(payload["author"]["id"], key, value) do {:error, reason} -> DiscordApi.send_message( payload["chann...
27.484848
193
0.611907
c8931d377d719397ea53dea78c4cd3045257f40b
1,482
ex
Elixir
lib/apq/phase/apq_input.ex
CPEXNetworks/apq
ab0c600bb1c321f1ba72f8eecc4598f82a1ad28b
[ "MIT" ]
null
null
null
lib/apq/phase/apq_input.ex
CPEXNetworks/apq
ab0c600bb1c321f1ba72f8eecc4598f82a1ad28b
[ "MIT" ]
null
null
null
lib/apq/phase/apq_input.ex
CPEXNetworks/apq
ab0c600bb1c321f1ba72f8eecc4598f82a1ad28b
[ "MIT" ]
null
null
null
defmodule Apq.Phase.ApqInput do @moduledoc false use Absinthe.Phase @query_not_found_error %Absinthe.Phase.Error{ phase: __MODULE__, message: "PersistedQueryNotFound" } @query_max_size_error %Absinthe.Phase.Error{ phase: __MODULE__, message: "PersistedQueryLargerThanMaxSize" } @query_s...
22.454545
92
0.721323
c89366ff6ce67e73926c35d42b356dfb5ecdb065
937
exs
Elixir
mix.exs
mtwilliams/pogo
f427970bac860f538cdfe258eb0950e6c06edfb0
[ "MIT" ]
1
2015-12-07T09:24:33.000Z
2015-12-07T09:24:33.000Z
mix.exs
mtwilliams/pogo
f427970bac860f538cdfe258eb0950e6c06edfb0
[ "MIT" ]
null
null
null
mix.exs
mtwilliams/pogo
f427970bac860f538cdfe258eb0950e6c06edfb0
[ "MIT" ]
null
null
null
defmodule Pogo.Mixfile do use Mix.Project def project do [ app: :pogo, version: version, name: "Pogo", description: "A simple Elixir release controller.", source_url: "https://github.com/mtwilliams/pogo", elixir: "~> 0.14.3", homepage_url: "https://github.com/mtwilliams/pogo...
23.425
78
0.560299
c893a7bb42ddb04cb86d1f44e822d226c13380f5
1,269
exs
Elixir
mix.exs
SirFitz/ueberauth_tumblr
0f1148ce884a5c250de1bee33cb4371b56c96c7f
[ "MIT" ]
null
null
null
mix.exs
SirFitz/ueberauth_tumblr
0f1148ce884a5c250de1bee33cb4371b56c96c7f
[ "MIT" ]
null
null
null
mix.exs
SirFitz/ueberauth_tumblr
0f1148ce884a5c250de1bee33cb4371b56c96c7f
[ "MIT" ]
null
null
null
defmodule UeberauthTumblr.Mixfile do use Mix.Project @version "0.2.4" @url "https://github.com/sirfitz/ueberauth_tumblr" def project do [app: :ueberauth_tumblr, version: @version, name: "Ueberauth Tumblr Strategy", package: package(), elixir: "~> 1.1", build_embedded: Mix.env == :...
21.508475
63
0.56974
c893abbaa5d421dee6a97eabb58c8bb4dfdac231
3,703
exs
Elixir
apps/alert_processor/test/alert_processor/alert_parsing/alert_worker_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/test/alert_processor/alert_parsing/alert_worker_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/alert_processor/test/alert_processor/alert_parsing/alert_worker_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule AlertProcessor.AlertWorkerTest do use AlertProcessor.DataCase alias AlertProcessor.{AlertWorker, AlertWorker.State} alias AlertProcessor.Lock alias AlertProcessor.Model.Metadata setup do # Required due to Lock using a spawned process Ecto.Adapters.SQL.Sandbox.mode(AlertProcessor.Repo, :auto...
30.603306
94
0.623008
c893e3a0a99b8a8a73245c163d3a352594c6613b
253
exs
Elixir
test/sum_list_test.exs
renanteixeira/ignite-elixir-chapter-i
31e16a0b321c7514cdb57d183c286da42eb530fc
[ "MIT" ]
1
2022-03-16T20:41:44.000Z
2022-03-16T20:41:44.000Z
test/sum_list_test.exs
riosvictor/sum_list
32fabe2f94e92a2eb42827761839a3db1ce7517f
[ "MIT" ]
null
null
null
test/sum_list_test.exs
riosvictor/sum_list
32fabe2f94e92a2eb42827761839a3db1ce7517f
[ "MIT" ]
null
null
null
defmodule SumListTest do use ExUnit.Case describe "call/1" do test "returns the list sum" do list = [1, 2, 3] response = SumList.call(list) expected_response = 6 assert response == expected_response end end end
15.8125
42
0.636364
c893f706f7bd5f939a8b7e93e22d1f5b0b7a91a5
1,124
exs
Elixir
spec/response_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/response_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/response_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule PixieResponseSpec do use ESpec describe "init" do let :response, do: Pixie.Response.init message context "When passed a handshake message" do let :message, do: Pixie.Message.Handshake.init %{} it "returns a Handshake response" do expect(response.__struct__).to eq(Pixie.Resp...
24.434783
70
0.662811
c89405b07152c11be1af9b4ab3f7afcf80c617d4
185
exs
Elixir
priv/repo/migrations/20171010050611_create_users.exs
GeetanjaliStudio/gstudio-rt
535ff386ff4d09cc18bbe7f6917fdc230f01f3d9
[ "MIT" ]
null
null
null
priv/repo/migrations/20171010050611_create_users.exs
GeetanjaliStudio/gstudio-rt
535ff386ff4d09cc18bbe7f6917fdc230f01f3d9
[ "MIT" ]
null
null
null
priv/repo/migrations/20171010050611_create_users.exs
GeetanjaliStudio/gstudio-rt
535ff386ff4d09cc18bbe7f6917fdc230f01f3d9
[ "MIT" ]
null
null
null
defmodule SEDailyRT.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :username, :string timestamps() end end end
14.230769
50
0.681081
c89417ab7805d83ff5a9ab2e112dc09740980458
78
ex
Elixir
lib/reservation_book_web/views/minor_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/minor_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/minor_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
defmodule ReservationBookWeb.MinorView do use ReservationBookWeb, :view end
19.5
41
0.846154
c8941bd85add6095b8b1c3a994d1fbbcf00323f1
8,164
ex
Elixir
lib/loom/awormap.ex
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
lib/loom/awormap.ex
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
lib/loom/awormap.ex
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
defmodule Loom.AWORMap do @moduledoc """ An add-wins observed-remove map or CRDTs, based on optimized sets. Compose any CRDT that implements the `Loom.CRDT` protocol. This is awkward by itself because of the use of copious key-module pairs. """ alias Loom.AWORMap, as: M alias Loom.Dots, as: Dots alias...
27.958904
101
0.592479
c8941ed73e941f70ef621b07b858cee71e83885d
1,435
ex
Elixir
lib/offliner/runner/stage.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
lib/offliner/runner/stage.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
lib/offliner/runner/stage.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
defmodule Offliner.Runner.Stage do @moduledoc false use GenStage def start_link do GenStage.start_link(__MODULE__, :ok, name: __MODULE__) end def execute(job_name, id, timeout \\ 5000) do GenStage.call(__MODULE__, {:exec, job_name, id}, timeout) end ## Callbacks def init(:ok) do {:produc...
23.916667
76
0.664111
c89447ea72bff858281b11d297ef252d5beace79
121
ex
Elixir
apps/exsemantica_phx/lib/exsemantica_phx/repo.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
1
2021-09-11T15:46:04.000Z
2021-09-11T15:46:04.000Z
apps/exsemantica_phx/lib/exsemantica_phx/repo.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
4
2021-01-18T00:49:02.000Z
2022-02-23T05:18:37.000Z
apps/exsemantica_phx/lib/exsemantica_phx/repo.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
null
null
null
defmodule ExsemanticaPhx.Repo do use Ecto.Repo, otp_app: :exsemantica_phx, adapter: Ecto.Adapters.Postgres end
20.166667
35
0.760331
c8947a62474dc2d62c5d5b709fa5ee261825f9c9
2,555
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_page_visual_element.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_page_visual_element.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_page_visual_element.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...
36.5
212
0.748337
c8948410924666fcdcb12c6a21adecc146ee45fc
4,830
ex
Elixir
lib/blockchain_api/watcher.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
lib/blockchain_api/watcher.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
lib/blockchain_api/watcher.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Watcher do use GenServer alias BlockchainAPI.{ Committer, Query } @me __MODULE__ require Logger # ================================================================== # API # ================================================================== def start_link(args) do ...
28.75
149
0.545342
c89497d908becd91db30eded23ed8ac7cf91a338
866
exs
Elixir
test/unit/test_helper.exs
keathley/elsa
a0518b75e4dedcdd91e6e4e1ed15292868035fc5
[ "Apache-2.0" ]
null
null
null
test/unit/test_helper.exs
keathley/elsa
a0518b75e4dedcdd91e6e4e1ed15292868035fc5
[ "Apache-2.0" ]
null
null
null
test/unit/test_helper.exs
keathley/elsa
a0518b75e4dedcdd91e6e4e1ed15292868035fc5
[ "Apache-2.0" ]
null
null
null
ExUnit.start(exclude: [:skip]) defmodule AsyncAssertion do require Logger import ExUnit.Assertions def assert_async(retries \\ 10, delay \\ 200, fun) def assert_async(1, _delay, fun) when is_function(fun, 0) do assert fun.() end def assert_async(retries, delay, fun) when is_function(fun, 0) do c...
22.205128
87
0.658199
c89498e1d617005c7dbcd2293bcff8e048437f20
1,581
exs
Elixir
test/rules/accepted_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
4
2020-04-23T09:44:01.000Z
2020-10-29T17:02:29.000Z
test/rules/accepted_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
13
2020-04-23T09:39:28.000Z
2020-11-05T15:59:25.000Z
test/rules/accepted_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
1
2019-10-21T13:10:09.000Z
2019-10-21T13:10:09.000Z
defmodule Exvalidate.Rules.AcceptedTest do use ExUnit.Case doctest Exvalidate alias Exvalidate.Rules.Accepted @validate_key :accepted @validate_fn &Accepted.validating/2 describe "validating/3. Not accepted" do test "with value is nil." do result = @validate_fn.(@validate_key, nil) asser...
20.802632
50
0.611006
c8949bf8b4ab758f7cded24351796b7a84ff9496
5,890
ex
Elixir
lib/phoenix/socket/handler.ex
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
lib/phoenix/socket/handler.ex
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
lib/phoenix/socket/handler.ex
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
defmodule Phoenix.Socket.Handler do alias Poison, as: JSON @behaviour :cowboy_websocket_handler alias Phoenix.Socket alias Phoenix.Socket.Message alias Phoenix.Channel defmodule InvalidReturn do defexception [:message] def exception(msg) do %InvalidReturn{message: "Invalid Handler return: #...
27.783019
87
0.648896
c8949ff2ddd21fe969d1d0ae6ef8178af564b844
169
ex
Elixir
lib/tasks/dynamo/setup.ex
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
7
2022-02-03T15:21:42.000Z
2022-03-28T02:50:49.000Z
lib/tasks/dynamo/setup.ex
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
1
2022-03-16T00:38:40.000Z
2022-03-25T13:12:22.000Z
lib/tasks/dynamo/setup.ex
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
1
2022-03-28T02:50:52.000Z
2022-03-28T02:50:52.000Z
defmodule Mix.Tasks.Dynamo.Setup do use Mix.Task @shortdoc "Creates migrations table" @spec run(any) :: :ok def run(_) do DynamoMigration.setup() end end
16.9
38
0.692308
c894ccdb1a004da7c988766049b89591bcfb5303
3,208
exs
Elixir
test/integration/executing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
test/integration/executing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
26
2021-07-24T21:32:21.000Z
2022-03-23T11:55:24.000Z
test/integration/executing_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Integration.ExecutingTest do use Oban.Case import ExUnit.CaptureLog alias Oban.Plugins.Stager @moduletag :integration describe "properties" do setup do name = start_supervised_oban!(queues: [alpha: 3, beta: 3, gamma: 3, delta: 3]) {:ok, name: name} end property "jo...
31.762376
97
0.556421
c894e66df3cff7cb234f9c2f7651817a59293597
635
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/components/admin/form/text_component.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_html/lib/mishka_html_web/live/components/admin/form/text_component.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_html/lib/mishka_html_web/live/components/admin/form/text_component.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaHtmlWeb.Admin.Form.TextComponent do use MishkaHtmlWeb, :live_component def render(assigns) do ~L""" <div class="<%= @form.class %> field"> <%= label @f , "#{@search_fields.title}:" %> <button phx-click="delete_form" phx-value-type="<%= @form.type %>" type="button" class="b...
37.352941
135
0.590551
c894faf6ce734d97977a5fb9fecfbe252cb9aa18
398
ex
Elixir
lib/ex_notepad/application.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/application.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/application.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
defmodule ExNotepad.Application do @moduledoc false use Application @spec start(Application.start_type(), any()) :: {:ok, pid()} | {:ok, pid(), any()} | {:error, any()} def start(_type, _args), do: ExNotepad.Superv...
28.428571
69
0.48995
c8950532163d843789e7884a24eff79fc9b397c1
616
exs
Elixir
test/json_schema_test_suite/draft6/min_items_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/min_items_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/min_items_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft6.MinItemsTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|minItems validation| do setup do %{schema: JsonXema.new(%{"minItems" => 1})} end test ~s|longer is valid|, %{schema: schema} do assert valid?(schema, [1, 2]) end ...
22
56
0.61526
c895549a67c2a877dfb68ab971e4f2acf41a8700
23,319
ex
Elixir
lib/mongo/collection.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
140
2019-04-10T09:23:53.000Z
2022-03-27T12:37:02.000Z
lib/mongo/collection.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
99
2019-04-11T07:46:45.000Z
2022-03-31T07:23:28.000Z
lib/mongo/collection.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
45
2019-07-15T07:06:21.000Z
2021-11-24T09:23:21.000Z
defmodule Mongo.Collection do @moduledoc """ This module provides some boilerplate code for a better support of structs while using the MongoDB driver: * automatic load and dump function * reflection functions * type specification * support for embedding one and many structs * support for `a...
32.119835
127
0.61229
c8955e1211edbc74d00578d8bdf8c48dcfd37739
2,251
exs
Elixir
test/prom_ex/lifecycle_annotator_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
test/prom_ex/lifecycle_annotator_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
1
2021-06-25T18:21:34.000Z
2021-06-25T18:21:34.000Z
test/prom_ex/lifecycle_annotator_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
defmodule PromEx.LifecycleAnnotatorTest do use ExUnit.Case, async: false alias PromEx.LifecycleAnnotator defmodule DefaultPromExSetUp do use PromEx, otp_app: :prom_ex alias PromEx.Plugins.{Application, Beam, Ecto, Phoenix} @impl true def plugins do [ {Application, otp_app: :prom_...
23.206186
69
0.627721
c8959f602a6c64af3aa9ff0aefaf15ec0b21142e
1,030
ex
Elixir
lib/wechat_mp_auth/util.ex
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
21
2016-05-12T17:06:29.000Z
2018-01-14T14:44:21.000Z
lib/wechat_mp_auth/util.ex
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
3
2016-05-12T06:11:30.000Z
2016-10-12T04:59:09.000Z
lib/wechat_mp_auth/util.ex
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
1
2017-11-30T01:55:17.000Z
2017-11-30T01:55:17.000Z
defmodule WechatMPAuth.Util do @moduledoc false def unix_now do {mega, sec, _micro} = :os.timestamp (mega * 1_000_000) + sec end @doc """ Returns a unix timestamp based on now + expires_at (in seconds) """ def expires_at(nil), do: nil def expires_at(val) when is_binary(val) do {int, _} = I...
24.52381
65
0.613592
c895a28467e2b74fdb40eccb7b78b74fd03eb9b9
8,773
ex
Elixir
lib/cforum_web/controllers/thread_controller.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/controllers/thread_controller.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/controllers/thread_controller.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.ThreadController do use CforumWeb, :controller alias Cforum.Threads alias Cforum.Messages alias Cforum.Threads.ThreadHelpers alias Cforum.Messages.MessageHelpers alias Cforum.Messages.Subscriptions alias Cforum.ConfigManager alias CforumWeb.Paginator alias CforumWeb.Views.Helper...
32.613383
116
0.676507
c895a4ee3a76f95c478803851a4caceeeb8f252f
1,782
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/vulnerability_occurrences_summary.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/vulnerability_occurrences_summary.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/vulnerability_occurrences_summary.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...
37.914894
186
0.768238
c895ac17353b624455d1d62cd63dc5cd9b31486e
264
ex
Elixir
lib/membrane_element_fade/app.ex
membraneframework/membrane-element-fade
96ce51199d3db963255d6cb917f725533bae2b93
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_fade/app.ex
membraneframework/membrane-element-fade
96ce51199d3db963255d6cb917f725533bae2b93
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_fade/app.ex
membraneframework/membrane-element-fade
96ce51199d3db963255d6cb917f725533bae2b93
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.Fade.App do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [] opts = [strategy: :one_for_one, name: Membrane.Element.Fade] Supervisor.start_link(children, opts) end end
20.307692
64
0.712121
c895f9b96d903c1475ef9217096fa22557e8eed6
276
exs
Elixir
config/test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
config/test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
config/test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :speedcontrol, SpeedcontrolWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
25.090909
56
0.746377
c8960edc981b841a4e588818ee8428db9b6832e7
169
exs
Elixir
priv/repo/migrations/20190118184555_add_tagline_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
priv/repo/migrations/20190118184555_add_tagline_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
priv/repo/migrations/20190118184555_add_tagline_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
defmodule Grapevine.Repo.Migrations.AddTaglineToGames do use Ecto.Migration def change do alter table(:games) do add(:tagline, :string) end end end
16.9
56
0.710059
c89617ef28491d9b6384b4b5e76f8c2e5cabc87a
1,876
exs
Elixir
clients/identity_toolkit/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/identity_toolkit/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28
107
0.661514
c8962aa3d8c41005739daaa98423f46c94c0f5af
2,687
exs
Elixir
test/guilda/podcasts_test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
10
2020-09-05T20:25:05.000Z
2022-01-28T14:02:36.000Z
test/guilda/podcasts_test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
11
2020-09-07T01:09:55.000Z
2022-02-06T00:58:48.000Z
test/guilda/podcasts_test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
3
2020-10-03T01:53:08.000Z
2022-01-28T14:03:09.000Z
defmodule Guilda.PodcastsTest do use Guilda.DataCase alias Guilda.Podcasts alias Guilda.Podcasts.Episode import Guilda.PodcastsFixtures describe "episodes" do test "most_recent_episode/0 returns the most recent episode" do assert Podcasts.most_recent_episode() == nil _episode_march = insert(...
37.84507
111
0.703015
c896364f78189943d2fc671f7c1dd6210789c538
390
ex
Elixir
lib/deploy_template_web/views/error_view.ex
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
82
2018-01-08T16:57:13.000Z
2021-12-25T07:34:21.000Z
lib/deploy_template_web/views/error_view.ex
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
8
2018-05-21T10:31:27.000Z
2018-11-25T07:17:56.000Z
lib/deploy_template_web/views/error_view.ex
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
15
2018-05-21T10:18:16.000Z
2021-03-30T17:14:40.000Z
defmodule DeployTemplateWeb.ErrorView do use DeployTemplateWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_...
21.666667
47
0.712821
c896644ef54593ec9c874e184e41014d0db27ec0
1,153
exs
Elixir
test/lib/absinthe/type/object_test.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
test/lib/absinthe/type/object_test.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
test/lib/absinthe/type/object_test.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Type.ObjectTest do use ExSpec, async: true defmodule TestSchema do use Absinthe.Schema object :person do description "A person" field :name, :string field :profile_picture, type: :string, args: [ width: [type: :integer], height: [t...
22.173077
115
0.630529
c89675085e2de406383fad2f904e5ed50cc617e9
3,860
exs
Elixir
test/type/literal_range/subtype_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
test/type/literal_range/subtype_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
test/type/literal_range/subtype_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule TypeTest.LiteralRange.SubtypeTest do use ExUnit.Case, async: true @moduletag :subtype import Type, only: :macros use Type.Operators describe "a literal negative range" do test "is a subtype of itself" do assert -47..-1 in -47..-1 end test "is a subtype of integer and any built...
27.571429
68
0.595855
c896bc82706c7caae0e26282fec29f4145408726
118
exs
Elixir
test/mr_roboto_test.exs
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
2
2016-03-31T23:28:36.000Z
2016-10-29T09:53:31.000Z
test/mr_roboto_test.exs
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
1
2016-10-29T09:53:18.000Z
2016-10-29T09:53:18.000Z
test/mr_roboto_test.exs
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
null
null
null
defmodule MrRobotoTest do use ExUnit.Case doctest MrRoboto test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966
c896ec1f3a3d05db6c7b898cbda53106fd08ffca
1,833
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/managed_zone_service_directory_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/managed_zone_service_directory_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dns/lib/google_api/dns/v1/model/managed_zone_service_directory_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.66
184
0.755592
c896efe7c9c0f11c71dd121b9d13c8eda3c128c4
1,762
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/query_grantable_roles_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/query_grantable_roles_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/query_grantable_roles_response.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...
34.54902
157
0.740636
c89702c95bb7b42bb4ab31ae072fe6f45b7c6b82
91
exs
Elixir
test/conduit/publish_route_test.exs
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
119
2016-11-21T13:19:22.000Z
2021-11-07T17:29:05.000Z
test/conduit/publish_route_test.exs
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
104
2018-02-02T20:42:46.000Z
2021-08-03T05:36:09.000Z
test/conduit/publish_route_test.exs
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
21
2018-08-03T02:38:21.000Z
2022-03-16T18:26:58.000Z
defmodule Conduit.PublishRouteTest do use ExUnit.Case doctest Conduit.PublishRoute end
18.2
37
0.835165
c89716b5855abf729190810e871e6fe7166ae50b
2,144
ex
Elixir
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server/command.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server/command.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
8
2020-05-18T14:43:21.000Z
2020-06-03T16:07:37.000Z
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server/command.ex
lowlandresearch/cate-lukner-internship
71fff3bcd2d44905357c99dbff1b1f572f5bcc6f
[ "MIT" ]
1
2020-05-18T14:44:13.000Z
2020-05-18T14:44:13.000Z
defmodule KVServer.Command do @doc """ runs the given command. """ def run(command) def run({:create, bucket}) do case KV.Router.route(bucket, KV.Registry, :create, [KV.Registry, bucket]) do pid when is_pid(pid) -> {:ok, "OK\r\n"} _ -> {:error, "FAILED TO CREATE BUCKET"} end end def ...
26.146341
80
0.580224
c8976d8e969d9f58867510074e56c534718a5023
1,769
ex
Elixir
lib/adyen_checkout_ex/model/payment_details_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/payment_details_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/payment_details_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.PaymentDetailsResponse do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"additionalData", :"amoun...
32.163636
93
0.676088
c897715ad1cc192ff329fe618a715536ba5e5f54
2,149
ex
Elixir
lib/file_requests/file_requests.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/file_requests/file_requests.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/file_requests/file_requests.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
defmodule ElixirDropbox.FileRequests do @moduledoc """ """ import ElixirDropbox @doc """ Creates a file request for this user. ## Example deadline = %{ "deadline" => "2020-10-12T17:00:00Z" } ElixirDropbox.FileRequests.create client , "cool", "/Temp", deadline More info at: https://www.dropbox.c...
27.551282
104
0.661238
c89798c4f5397055e34882525984ce8ad592a15a
1,847
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.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...
34.203704
153
0.732539
c8979f62a596a07cf28e16b646cb4a9bfd819f38
17,125
ex
Elixir
lib/input_event/types.ex
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
20
2018-09-23T18:12:14.000Z
2020-04-18T12:37:34.000Z
lib/input_event/types.ex
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
7
2018-09-17T05:40:23.000Z
2020-06-06T20:17:53.000Z
lib/input_event/types.ex
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
6
2020-12-04T21:20:39.000Z
2022-03-16T19:26:24.000Z
defmodule InputEvent.Types do @moduledoc false # See https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/input-event-codes.h for codes. @event_types [ ev_syn: 0x00, ev_key: 0x01, ev_rel: 0x02, ev_abs: 0x03, ev_msc: 0x04, ev_sw: 0x05, ev_led: 0x11, ev_snd: 0x12, e...
22.742364
104
0.646832
c897ba14bf5a65c09065b2550a1bc97994407d88
926
ex
Elixir
lib/workflow/rules/nullable.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
4
2020-04-23T09:44:01.000Z
2020-10-29T17:02:29.000Z
lib/workflow/rules/nullable.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
13
2020-04-23T09:39:28.000Z
2020-11-05T15:59:25.000Z
lib/workflow/rules/nullable.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
1
2019-10-21T13:10:09.000Z
2019-10-21T13:10:09.000Z
defmodule Exvalidate.Rules.Nullable do @moduledoc """ The field have to be nil or "". ### Examples ``` iex(3)> Exvalidate.Rules.Nullable.validating(:nullable, nil) {:ok, nil} ``` ``` iex(3)> Exvalidate.Rules.Nullable.validating(:nullable, "") {:ok, ""} ``` ``` iex(3)> Exvalidate.Rules.Null...
21.534884
67
0.639309
c898274da2ff0b7d860477e5e01b22bce1cecf14
4,256
exs
Elixir
test/joken_hooks_test.exs
maartenvanvliet/joken
e9aaf537274d99f16dd56a263037b3e0976ce95d
[ "Apache-2.0" ]
null
null
null
test/joken_hooks_test.exs
maartenvanvliet/joken
e9aaf537274d99f16dd56a263037b3e0976ce95d
[ "Apache-2.0" ]
null
null
null
test/joken_hooks_test.exs
maartenvanvliet/joken
e9aaf537274d99f16dd56a263037b3e0976ce95d
[ "Apache-2.0" ]
null
null
null
defmodule Joken.HooksTest do use ExUnit.Case, async: true import ExUnit.CaptureIO alias Joken.CurrentTime.Mock setup do {:ok, _pid} = start_supervised(Mock) :ok end defmodule TestHook do use Joken.Hooks @impl Joken.Hooks def before_sign(_options, _status, claims, signer) do IO.p...
25.183432
94
0.656485
c8983a9a191145e233ba4ffbf76cae1b24bfda74
1,114
ex
Elixir
web/router.ex
yrahulkr/phoenix-trello
c1e39be5a43eb6546c00a234816b3dac31b1ac61
[ "MIT" ]
null
null
null
web/router.ex
yrahulkr/phoenix-trello
c1e39be5a43eb6546c00a234816b3dac31b1ac61
[ "MIT" ]
null
null
null
web/router.ex
yrahulkr/phoenix-trello
c1e39be5a43eb6546c00a234816b3dac31b1ac61
[ "MIT" ]
null
null
null
defmodule PhoenixTrello.Router do use PhoenixTrello.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] plug Guardian.Plug.VerifyHead...
25.906977
70
0.691203
c898465c0cd4b458909caefa4ef739b100fbf5e2
629
ex
Elixir
lib/dgraph_ex/core/expr/contains.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:41.000Z
2019-05-01T15:18:41.000Z
lib/dgraph_ex/core/expr/contains.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
null
null
null
lib/dgraph_ex/core/expr/contains.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:48.000Z
2019-05-01T15:18:48.000Z
defmodule DgraphEx.Core.Expr.Contains do @moduledoc false defstruct label: nil, geo_json: nil defmacro __using__(_) do quote do def contains(label, geo_json) when is_atom(label) and is_list(geo_json) do unquote(__MODULE__).new(label, geo_json) end end end def new(lab...
23.296296
80
0.667727
c8985aad5a071b73cf764633d16e5fcc8162de2b
673
ex
Elixir
lib/plausible/site/shared_link.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-04-08T16:39:00.000Z
2020-04-08T16:39:00.000Z
lib/plausible/site/shared_link.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible/site/shared_link.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule Plausible.Site.SharedLink do use Ecto.Schema import Ecto.Changeset schema "shared_links" do belongs_to :site, Plausible.Site field :slug, :string field :password_hash, :string field :password, :string, virtual: true timestamps() end def changeset(link, attrs \\ %{}) do lin...
21.709677
53
0.649331
c898a0d2b205b522c1c29128601ae2d21514eb76
3,002
ex
Elixir
web/api/lib/documents/router.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
web/api/lib/documents/router.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
web/api/lib/documents/router.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
defmodule Api.Documents.Router do use Plug.Router alias Api.Documents.Index alias Api.Documents.Predecessors alias Api.Documents.DescendantsImages import Api.RouterUtils import Api.Core.Layout plug :match plug Api.Auth.ReadableProjectsPlug plug :dispatch match "/" do send_json(conn, Index.sear...
30.02
124
0.626582
c898fef2edb443217fd26b45577b86f9cbabccbd
2,463
exs
Elixir
test/integration/live_form_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
test/integration/live_form_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
test/integration/live_form_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
defmodule DrabTestApp.LiveFormTest do import Drab.{Live, Element} use DrabTestApp.IntegrationCase defp form_index do form_url(DrabTestApp.Endpoint, :form) end setup do form_index() |> navigate_to() # wait for the Drab to initialize find_element(:id, "page_loaded_indicator") [socket: drab...
31.576923
103
0.568413
c899274104b3b491ec8f4ebc5e37d4485e99d93b
430
ex
Elixir
lib/credo/cli/command/version.ex
coryodaniel/credo
840e9be99cb2ebcacb7d012e49b40714c0b37852
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/credo/lib/credo/cli/command/version.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/cli/command/version.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Command.Version do @moduledoc false @shortdoc "Show Credo's version number" use Credo.CLI.Command alias Credo.CLI.Output.Formatter.JSON alias Credo.CLI.Output.UI alias Credo.Execution @doc false def call(%Execution{format: "json"} = exec, _opts) do JSON.print_map(%{version: C...
17.2
55
0.693023
c8993534b24434c949dabe0aab7d671f093314fb
7,020
ex
Elixir
lib/mastani_server/delivery/delegates/utils.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/delivery/delegates/utils.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/delivery/delegates/utils.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Delivery.Delegate.Utils do @moduledoc """ The Delivery context. """ # commons import Ecto.Query, warn: false import Helper.Utils import ShortMaps alias MastaniServer.Repo alias MastaniServer.Delivery.{Notification, SysNotification, Mention, Record} alias MastaniServer.Accou...
30.128755
100
0.661254
c89945731825d394969bfe0625c7c08c0ed7b331
2,757
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildbot_command_events.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildbot_command_events.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildbot_command_events.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...
39.385714
182
0.710192
c8995d2b926a90cd919095d5e7f1bcabf0efcbee
1,194
ex
Elixir
lib/vega_web/live/new_board_live.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
4
2020-03-22T22:12:29.000Z
2020-07-01T22:32:01.000Z
lib/vega_web/live/new_board_live.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2021-03-10T11:53:41.000Z
2021-10-17T11:18:54.000Z
lib/vega_web/live/new_board_live.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2020-03-30T19:03:23.000Z
2022-01-17T20:21:42.000Z
defmodule VegaWeb.NewBoardLive do @moduledoc """ Live view form to create a new board """ use VegaWeb, :live alias Vega.User alias Vega.Board def mount(_params, session, socket) do socket = session |> set_locale() |> fetch_user(socket) |> assign_asserts("ne...
25.404255
105
0.623116
c89964884abce8ecaf1578e387bd2d3cda0aba05
2,277
exs
Elixir
apps/estuary/mix.exs
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
1
2020-03-18T21:14:39.000Z
2020-03-18T21:14:39.000Z
apps/estuary/mix.exs
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
apps/estuary/mix.exs
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
defmodule Estuary.MixProject do use Mix.Project def project do [ app: :estuary, version: "0.6.4", elixir: "~> 1.8", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", start_permanent: Mix.env()...
27.107143
88
0.51603
c899874b6d023fdae4f37c9a28641fe843349768
1,424
ex
Elixir
lib/buckaroo/event_source.ex
IanLuites/buckaro
41e60343f4cf11c3402bcf4ce843ece879f79959
[ "MIT" ]
1
2020-03-25T12:14:55.000Z
2020-03-25T12:14:55.000Z
lib/buckaroo/event_source.ex
IanLuites/buckaro
41e60343f4cf11c3402bcf4ce843ece879f79959
[ "MIT" ]
1
2018-10-24T22:35:13.000Z
2018-10-24T22:35:13.000Z
lib/buckaroo/event_source.ex
IanLuites/buckaro
41e60343f4cf11c3402bcf4ce843ece879f79959
[ "MIT" ]
null
null
null
defmodule Buckaroo.EventSource do @moduledoc ~S""" A simple SSE implementation. """ @typedoc ~S""" SSE event. """ @type event :: %{ required(:data) => binary, optional(:id) => binary, optional(:type) => binary, optional(:retry) => pos_integer ...
22.603175
88
0.559691
c8998da43bb41ee1282639029115f559a296ad00
2,641
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_ingress_from.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_ingress_from.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_ingress_from.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
40.015152
257
0.738357
c8999d3086ae419acc910ea9f0c3266be21186fb
1,709
exs
Elixir
mix.exs
khedaywi/oban
0b79c53a3c41648f438e112dda435ad79c86f811
[ "Apache-2.0" ]
1
2019-07-24T19:06:57.000Z
2019-07-24T19:06:57.000Z
mix.exs
khedaywi/oban
0b79c53a3c41648f438e112dda435ad79c86f811
[ "Apache-2.0" ]
null
null
null
mix.exs
khedaywi/oban
0b79c53a3c41648f438e112dda435ad79c86f811
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @version "0.5.0" 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(), # Hex package...
21.3625
65
0.509655
c899b99cbbbd8ab425d4142193e1a9ac36e44842
1,108
ex
Elixir
test/support/conn_case.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
test/support/conn_case.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.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 and query models. Finally, if the test case interacts with the d...
24.622222
71
0.707581
c899be90e204a8aed49e9ecc083864596d59d712
74
ex
Elixir
lib/smwc/resources/hack.ex
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-03-09T18:04:42.000Z
2022-03-11T22:24:25.000Z
lib/smwc/resources/hack.ex
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
null
null
null
lib/smwc/resources/hack.ex
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-02-27T22:00:17.000Z
2022-02-28T02:20:21.000Z
defmodule SMWC.Resources.Hack do @moduledoc false use SMWC.Parser end
14.8
32
0.783784
c899c16a9db1f712a149404cfe3f2a2b9935f49b
291
exs
Elixir
do.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
34
2015-02-27T14:41:12.000Z
2021-09-26T06:06:18.000Z
do.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
null
null
null
do.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
3
2016-02-05T16:09:41.000Z
2017-10-21T15:47:04.000Z
# Did you know that regular functions can take do-blocks? # They are evaluated when they're passed in, though # (unlike Ruby!) defmodule DoWhat do def take_a_do(kwl) do the_do = kwl[:do] IO.inspect the_do end end DoWhat.take_a_do do IO.puts "Now" "what is the meaning" end
18.1875
57
0.707904
c899f8007ed90a1cbe35f46492f3047804a2bd6b
6,067
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/policy.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/policy.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/policy.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...
108.339286
1,997
0.750453
c89a254a820e2542252f658830a6dae5d87265d0
67
ex
Elixir
lib/slackerton_web/views/page_view.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
1
2022-02-19T17:49:37.000Z
2022-02-19T17:49:37.000Z
lib/slackerton_web/views/page_view.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
4
2018-07-14T16:30:17.000Z
2022-02-10T16:23:23.000Z
lib/slackerton_web/views/page_view.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
null
null
null
defmodule SlackertonWeb.PageView do use SlackertonWeb, :view end
16.75
35
0.820896
c89a33059a5141f0873ab910474d49926dcc7c8e
1,592
ex
Elixir
data/settings.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/settings.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/settings.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule Settings do # max extent the user may navigate the map def bounds, do: [8.9236, 53.1336, 10.8897, 53.9682] # start settings if no other map location/image is selected def initial, do: %{minLon: 9.724553, minLat: 53.454363, maxLon: 10.21779, maxLat: 53.715809} def start_image, do: %{ r...
31.84
83
0.690327
c89a4b1ce883bf5f40e2dc61b047a690f6fd414a
1,146
exs
Elixir
mix.exs
gvl/paasaa
b4aabf6d6811c042d0980ed27f5d865e9faff0b9
[ "MIT" ]
null
null
null
mix.exs
gvl/paasaa
b4aabf6d6811c042d0980ed27f5d865e9faff0b9
[ "MIT" ]
null
null
null
mix.exs
gvl/paasaa
b4aabf6d6811c042d0980ed27f5d865e9faff0b9
[ "MIT" ]
null
null
null
defmodule Paasaa.Mixfile do use Mix.Project def project do [ app: :paasaa, version: "0.2.2", elixir: "~> 1.5", description: description(), package: package(), deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test, "coveralls.detai...
22.92
120
0.528796
c89a6a06797db14e413e778ca7fb8e228c61185c
904
ex
Elixir
lib/herd/router.ex
Frameio/flock
e1b003265b6463d8228bfaaf33c14d5c6c7962cb
[ "MIT" ]
11
2018-08-16T23:16:25.000Z
2022-02-23T18:08:16.000Z
lib/herd/router.ex
Frameio/flock
e1b003265b6463d8228bfaaf33c14d5c6c7962cb
[ "MIT" ]
7
2019-04-03T07:29:10.000Z
2022-02-22T12:03:01.000Z
lib/herd/router.ex
Frameio/flock
e1b003265b6463d8228bfaaf33c14d5c6c7962cb
[ "MIT" ]
4
2019-10-26T10:20:58.000Z
2022-02-22T18:18:36.000Z
defmodule Herd.Router do @moduledoc """ Manages load balancing between nodes in the cluster, for example through a hash ring """ @type router :: term @type herd_node :: term @doc """ Initialize a new load router """ @callback new() :: router @doc """ Return all nodes in the router """ @ca...
23.179487
98
0.61615
c89a73305d1b4ce781870c648e934e6a1d993850
4,502
ex
Elixir
lib/livebook_web/live/session_live/runtime_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/runtime_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/runtime_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.RuntimeComponent do use LivebookWeb, :live_component alias Livebook.{Session, Runtime} @impl true def mount(socket) do {:ok, assign(socket, type: nil)} end @impl true def update(assigns, socket) do assigns = if socket.assigns.type == nil do type =...
32.623188
96
0.571968
c89aa89ac7099ee66dd0e55fb7c792708b4147a0
332
ex
Elixir
lib/sanbase_web/graphql/middlewares/basic_auth.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/middlewares/basic_auth.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/middlewares/basic_auth.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Middlewares.BasicAuth do @behaviour Absinthe.Middleware alias Absinthe.Resolution def call(%Resolution{context: %{auth: %{auth_method: :basic}}} = resolution, _) do resolution end def call(resolution, _) do resolution |> Resolution.put_result({:error, :unauthorized}...
22.133333
84
0.725904
c89ac462998aa2934c24230aac6711b9cfcefcc1
2,811
ex
Elixir
lib/livebook_web/endpoint.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/endpoint.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/endpoint.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.Endpoint do use Phoenix.Endpoint, otp_app: :livebook # 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: "_liveboo...
30.89011
93
0.714692
c89ad94c821436fc90504c95c938682da11ef887
708
ex
Elixir
apps/admin_api/lib/admin_api/v1/sockets/endpoint.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/lib/admin_api/v1/sockets/endpoint.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/lib/admin_api/v1/sockets/endpoint.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.4
74
0.762712
c89ade32ab50ffc488a080d1444ee8531e4ce046
2,356
ex
Elixir
apps/reaper/lib/reaper/reaper_config.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/reaper/lib/reaper/reaper_config.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/reaper/lib/reaper/reaper_config.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Reaper.ReaperConfig do @moduledoc """ This module defines the structure for dataset configurations to be processed by Reaper """ @derive Jason.Encoder @type t :: %__MODULE__{ dataset_id: String.t(), cadence: String.t() | integer() | nil, lastSuccessTime: String.t() | ...
28.047619
110
0.63837
c89aee182cd46f6fe0ad5010e3467db4a0ec587d
2,337
exs
Elixir
test/lib/bamboo/adapters/mailgun_helper_test.exs
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
1,845
2016-03-29T23:36:36.000Z
2022-03-31T19:23:38.000Z
test/lib/bamboo/adapters/mailgun_helper_test.exs
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
407
2016-03-29T14:55:19.000Z
2022-02-02T13:53:50.000Z
test/lib/bamboo/adapters/mailgun_helper_test.exs
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
361
2016-03-31T13:33:22.000Z
2022-02-25T12:38:43.000Z
defmodule Bamboo.MailgunHelperTest do use ExUnit.Case import Bamboo.Email alias Bamboo.MailgunHelper test "tag/2 puts a tag in private" do email = new_email() |> MailgunHelper.tag("new-tag") assert Map.get(Map.get(email, :private, %{}), :"o:tag", nil) == "new-tag" end test "deliverytime/2 puts a ...
30.350649
90
0.618742
c89b0e466357c2387e8ccad070dec32c9c2f5044
4,485
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/binding.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...
80.089286
1,972
0.751616
c89b7ecd24f603bd683b8fbdb98453ec9b9148fa
253
exs
Elixir
priv/repo/migrations/20210930150012_create_sellers.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
priv/repo/migrations/20210930150012_create_sellers.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
priv/repo/migrations/20210930150012_create_sellers.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
defmodule Philopets.Repo.Migrations.CreateSellers do use Ecto.Migration def change do create table(:sellers) do add :name, :string add :display_pic, references(:images, on_delete: :nilify_all) timestamps() end end end
18.071429
67
0.6917
c89bc3abb67c92b62c4c284c1fdefdb07fd08b27
956
ex
Elixir
apps/re/lib/seller_leads/facebook.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/lib/seller_leads/facebook.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/lib/seller_leads/facebook.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.SellerLeads.Facebook do @moduledoc """ Schema for facebook seller leads """ use Ecto.Schema import Ecto.Changeset @primary_key {:uuid, :binary_id, autogenerate: false} schema "facebook_seller_leads" do field :full_name, :string field :email, :string field :phone_number, :string...
24.512821
80
0.702929
c89c18de76282b5c62f6a4f6b3ac78161128de44
1,778
ex
Elixir
lib/donatebox_web.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox_web.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox_web.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
defmodule DonateboxWeb 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 DonateboxWeb, :controller use DonateboxWeb, :view The definitions below will be executed for every view, contro...
25.4
80
0.692913
c89c280e3d6b188272a85085ffa131c6bf03837f
2,326
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__text_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__text_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__text_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.716418
195
0.736457