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
733dfa24e804ddb6cbab132e2e295a5c8c5db960
491
ex
Elixir
apps/ewallet_api/lib/ewallet_api/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.Endpoint do use Phoenix.Endpoint, otp_app: :ewallet_api # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. if code_reloading? do plug(Phoenix.CodeReloader) end plug(Plug.RequestId) plug(Plug.Logger) plug( Plug.Parsers, ...
19.64
54
0.706721
733e0c49c346cbff197f78a5d10abaee2b4f1225
5,734
exs
Elixir
test/unit/iri_expansion_test.exs
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
12
2020-06-18T18:23:34.000Z
2022-01-05T15:00:09.000Z
test/unit/iri_expansion_test.exs
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
5
2020-06-16T16:18:14.000Z
2021-08-19T20:23:03.000Z
test/unit/iri_expansion_test.exs
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
6
2020-06-17T22:25:51.000Z
2021-08-19T19:55:49.000Z
defmodule JSON.LD.IRIExpansionTest do use ExUnit.Case, async: false import JSON.LD.IRIExpansion setup do context = JSON.LD.context(%{ "@base" => "http://base/", "@vocab" => "http://vocab/", "ex" => "http://example.org/", "" => "http://empty/", "_" => "http://und...
42.791045
85
0.420998
733e100e5ca8c0137b5d3857cd194e4187414061
575
ex
Elixir
lib/elixir_microservice_base/application.ex
g13ydson/elixir_microservice_base
1048c77198d5ec1c3b5eab90b38f736ee2f6c8be
[ "MIT" ]
5
2019-07-26T11:22:30.000Z
2021-07-04T00:07:15.000Z
lib/elixir_microservice_base/application.ex
g13ydson/elixir_microservice_base
1048c77198d5ec1c3b5eab90b38f736ee2f6c8be
[ "MIT" ]
4
2019-07-26T16:08:43.000Z
2019-10-21T09:15:21.000Z
lib/elixir_microservice_base/application.ex
emcasa/elixir_microservice_base
cbfe61d3959320edbcd159ba0dce4cb247420b01
[ "MIT" ]
null
null
null
defmodule ElixirMicroserviceBase.Application do @moduledoc false use Application @port Application.get_env(:elixir_microservice_base, :port, 4000) def start(_type, _args) do ElixirMicroserviceBase.Metrics.setup() {:ok, _} = Logger.add_backend(Sentry.LoggerBackend) children = [ Plug.Cowboy....
23.958333
76
0.697391
733e28681b2d5854a7dfea5e37c50300e32edebc
274
exs
Elixir
config/test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
1
2019-06-24T23:55:26.000Z
2019-06-24T23:55:26.000Z
config/test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
config/test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "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 :iex_line_bot, IexLineBotWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
24.909091
56
0.744526
733e691a98dc7fcf66bdeba5fe893ee15730636e
1,459
exs
Elixir
godin_umbrella/apps/godin/mix.exs
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
godin_umbrella/apps/godin/mix.exs
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
godin_umbrella/apps/godin/mix.exs
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
defmodule Godin.MixProject do use Mix.Project def project do [ app: :godin, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elixirc_paths(M...
25.155172
79
0.594243
733e7569a3c8f875108ff663a5511c60efef6cb4
7,633
exs
Elixir
test/support/schema.exs
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
1
2018-08-30T20:20:56.000Z
2018-08-30T20:20:56.000Z
test/support/schema.exs
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
null
null
null
test/support/schema.exs
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
1
2020-06-06T18:08:16.000Z
2020-06-06T18:08:16.000Z
defmodule TestExAdmin.User do import Ecto.Changeset use Ecto.Schema import Ecto.Query schema "users" do field :name, :string field :email, :string field :active, :boolean, default: true has_many :products, TestExAdmin.Product, on_replace: :delete has_many :noids, TestExAdmin.Noid many_t...
21.501408
98
0.6861
733e7eca949641eaa6bcc211178c78d6c056e1b1
1,578
exs
Elixir
test/untrusted/validator_functions_test.exs
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
1
2020-01-13T21:39:11.000Z
2020-01-13T21:39:11.000Z
test/untrusted/validator_functions_test.exs
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
null
null
null
test/untrusted/validator_functions_test.exs
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
null
null
null
defmodule Untrusted.ValidatorFunctionsTest do use ExUnit.Case describe "must_be_one_of/1" do test "returns a function of arity 1" do func = Untrusted.ValidatorFunctions.must_be_one_of([1, 2, 3]) assert is_function(func, 1) end test "func returns an ok-value-tuple when value is in the list"...
27.206897
81
0.614068
733ea09bbe6a5088b5e5ebb663db95fa91d009ca
11,129
exs
Elixir
lib/elixir/test/elixir/io/ansi/docs_test.exs
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/elixir/test/elixir/io/ansi/docs_test.exs
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/io/ansi/docs_test.exs
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule IO.ANSI.DocsTest do use ExUnit.Case, async: true import ExUnit.CaptureIO def format_heading(str) do capture_io(fn -> IO.ANSI.Docs.print_heading(str, []) end) |> String.trim_trailing() end def format(str) do capture_io(fn -> IO.ANSI.Docs....
32.828909
113
0.607961
733ea35c05c9821717e126d0818d36de1fb3952a
946
ex
Elixir
lib/outer/transactions/wallet_worker.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer/transactions/wallet_worker.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer/transactions/wallet_worker.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
defmodule Outer.Transactions.WalletWorker do use GenServer require Logger alias Outer.Transactions.TransactionClient def start_link(wallet) do Logger.debug("wallet worker starting for wallet #{wallet.auth_token}") GenServer.start_link(__MODULE__, wallet) end @impl true def init(wallet) do Pr...
25.567568
77
0.724101
733eb6260d8bdb50d857e84c3d134f80c7ee9d6d
1,689
exs
Elixir
test/integration/public_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/integration/public_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/integration/public_channel_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
defmodule Poxa.Integration.PublicChannelTest 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 -> Pus...
26.809524
90
0.613973
733ebc60aae181bf3df2893d3dcf8974198ae238
4,552
ex
Elixir
apps/studio/lib/studio.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
apps/studio/lib/studio.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
11
2020-01-28T22:19:10.000Z
2022-03-11T23:18:18.000Z
apps/studio/lib/studio.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
defmodule Studio do @moduledoc """ Studio provides funcions to create, set the settings and start the process to create a painting. """ alias Studio.Painter @doc """ Creates an empty painting with a given name. Name must be unique. ## Examples iex> Studio.create_painting("My painting") :ok...
26.465116
115
0.657953
733ee4c866adc565afaa4f33200fccb6b9bc153d
2,847
ex
Elixir
apps/cashtrail/test/support/factory/banking_factory.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
6
2020-05-02T01:12:24.000Z
2020-06-23T12:31:32.000Z
apps/cashtrail/test/support/factory/banking_factory.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
16
2020-05-02T00:07:51.000Z
2021-06-11T01:54:11.000Z
apps/cashtrail/test/support/factory/banking_factory.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
null
null
null
defmodule Cashtrail.Factory.BankingFactory do @moduledoc false alias Cashtrail.Banking alias Cashtrail.Factory.Helpers defmacro __using__(_opts) do # Generate a sequence pair from A to Z as first letter, and Z to A as second # letter in compile time sequence = for(a <- 65..90, b <- 90..65, do: [a,...
36.037975
97
0.591149
733ee86a4c18f0b3db26a240c28ca6f4c8f7a24a
1,268
exs
Elixir
test/auto_api/capabilities/engine_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/capabilities/engine_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
test/auto_api/capabilities/engine_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
46.962963
79
0.779968
733f00701176e890037e6d8bdb087c80f9631d96
440
ex
Elixir
testData/org/elixir_lang/formatting/no_parentheses_call_multiple_arguments_with_wrapped_map_before.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/formatting/no_parentheses_call_multiple_arguments_with_wrapped_map_before.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/formatting/no_parentheses_call_multiple_arguments_with_wrapped_map_before.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule Calcinator.Resources.Ecto.RepoTest do # 111 describe "list/1 with minimum page size with default page size with maximum page size" do setup [:minimum_page_size, :default_page_size, :maximum_page_size] test "without page query option returns page with default page size", %{page_size: %{default: de...
31.428571
110
0.704545
733f2218e1bf2e69fe051a96405c4c2c2ce52412
114
exs
Elixir
apps/ex_wire/test/ex_wire/packet/block_bodies_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
14
2017-08-21T06:14:49.000Z
2020-05-15T12:00:52.000Z
apps/ex_wire/test/ex_wire/packet/block_bodies_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
7
2017-08-11T07:50:14.000Z
2018-08-23T20:42:50.000Z
apps/ex_wire/test/ex_wire/packet/block_bodies_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
3
2017-08-20T17:56:41.000Z
2018-08-21T00:36:10.000Z
defmodule ExWire.Packet.BlockBodiesTest do use ExUnit.Case, async: true doctest ExWire.Packet.BlockBodies end
22.8
42
0.815789
733f4c3dca70f62a62c2a278cea29402e3a3f838
1,116
ex
Elixir
lib/teiserver/benchmark/benchmark_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver/benchmark/benchmark_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/benchmark/benchmark_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Mix.Tasks.Benchmark do @moduledoc """ Used to stress test a server. Will gradually spawn users until stopped. Usage: mix benchmark server port e.g. mix benchmark example.com 8200 """ use Mix.Task @shortdoc "Starts the benchmark processes for the server" def run([server, port]) do...
23.744681
92
0.680108
733f76e78fd4bf46590e5d78ad3169ea5b4d1b5a
556
exs
Elixir
test/ann/math/linear_test.exs
rdk08/annex
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
1
2021-02-04T07:03:31.000Z
2021-02-04T07:03:31.000Z
test/ann/math/linear_test.exs
rdk08/ann
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
null
null
null
test/ann/math/linear_test.exs
rdk08/ann
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
null
null
null
defmodule ANN.Math.LinearTest do use ExUnit.Case, async: true alias ANN.Math.Linear test "linear function" do input = %{ values: [-6, -1, 0, 1, 6] } output = Enum.map(input.values, &Linear.call/1) expected_output = [-6, -1, 0, 1, 6] assert output == expected_output end test "deri...
21.384615
66
0.602518
733f7bcd490ac0bc5b9c08775cd01f4808e184c5
1,028
exs
Elixir
mix.exs
ndalmia/ex_lock
02dcca2ea2f214952d579ce1b4466ffaadd21bf1
[ "MIT" ]
3
2020-10-28T11:56:29.000Z
2021-07-10T13:04:44.000Z
mix.exs
ndalmia/ex_lock
02dcca2ea2f214952d579ce1b4466ffaadd21bf1
[ "MIT" ]
null
null
null
mix.exs
ndalmia/ex_lock
02dcca2ea2f214952d579ce1b4466ffaadd21bf1
[ "MIT" ]
null
null
null
defmodule ExLock.MixProject do use Mix.Project @version "0.1.1" def project do [ app: :ex_lock, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), source_url: "https://github.com/ndalmia/ex_lock...
20.979592
115
0.572957
733f7d6ce58c9998f20a54de0b1e4ee0d10cf836
2,194
ex
Elixir
lib/util/frame_splitter.ex
SmartCasual/elixir-zeromq
91430a6a662399d2d96be731a778e29e8425ce7f
[ "MIT" ]
null
null
null
lib/util/frame_splitter.ex
SmartCasual/elixir-zeromq
91430a6a662399d2d96be731a778e29e8425ce7f
[ "MIT" ]
null
null
null
lib/util/frame_splitter.ex
SmartCasual/elixir-zeromq
91430a6a662399d2d96be731a778e29e8425ce7f
[ "MIT" ]
null
null
null
defmodule ZeroMQ.FrameSplitter do @moduledoc """ A GenServer which when fed a stream of binaries will split out ZeroMQ frames and return the binary blob (without parsing into a Command or Message). """ use GenServer @doc """ Starts the splitter. """ def start_link do GenServer.start_link(__MOD...
27.08642
95
0.648587
733f8ae3e333ba28d208113a1a9a2c93867911fa
6,987
ex
Elixir
server/bitcoinex/lib/secp256k1/math.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
27
2022-01-01T14:58:22.000Z
2022-03-22T06:11:18.000Z
server/bitcoinex/lib/secp256k1/math.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
22
2022-01-01T04:26:10.000Z
2022-03-22T00:02:31.000Z
server/bitcoinex/lib/secp256k1/math.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
9
2022-01-03T07:34:36.000Z
2022-03-14T23:19:56.000Z
defmodule Bitcoinex.Secp256k1.Math do @moduledoc """ Contains math utilities when dealing with secp256k1 curve points and scalars. All of the addition and multiplication uses the secp256k1 curve paramaters. Several of the jacobian multiplication and addition functions are borrowed heavily from https://github....
24.43007
133
0.523114
733fa8c19485558c8d7896c15e27f1f7ab1ab3ff
7,957
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_request.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_request.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_request.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...
130.442623
2,713
0.760085
733fa99a4c64984de7fdfb4de48e71f18b11555f
740
ex
Elixir
lib/hello_hipster_stack_web/gettext.ex
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
lib/hello_hipster_stack_web/gettext.ex
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
lib/hello_hipster_stack_web/gettext.ex
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
defmodule HelloHipsterStackWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import HelloHipsterStackWeb.Gettext # Simple translation ...
29.6
72
0.694595
733fac2fad3ef83964adb3ec2816ee12502bb748
634
exs
Elixir
priv/repo/migrations/20181224155641_create_abilities.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
priv/repo/migrations/20181224155641_create_abilities.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181224155641_create_abilities.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Repo.Migrations.CreateAbilities do use Ecto.Migration def change do create table(:proficiencies) do add(:name, :string, null: false) add(:type, :string, null: false) add(:description, :string) timestamps() end create table(:class_proficiencies) do add(:cla...
25.36
82
0.664038
733fb1859d5b542d7ad23fc51a7bb108a55b0cbd
512
ex
Elixir
apps/evm/lib/evm/operation/metadata/exchange.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/evm/lib/evm/operation/metadata/exchange.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/evm/lib/evm/operation/metadata/exchange.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule EVM.Operation.Metadata.Exchange do @operations for n <- 1..17, do: %EVM.Operation.Metadata{ # 0x90..0x9e id: n + 0x8F, description: "Exchange #{n}st and #{n + 1}nd stack items.", sym: :"swap#{n}", ...
32
79
0.417969
73400049cd9bc98ba840096dd6e2d7677dd51a04
3,520
ex
Elixir
lib/sparql/language/parse_helper.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
lib/sparql/language/parse_helper.ex
rdf-elixir/sparql-ex
138141797a1993ecfb50ddac6c1d2977601a11ff
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
lib/sparql/language/parse_helper.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
defmodule SPARQL.Language.ParseHelper do alias RDF.Literal def variable('?' ++ name), do: List.to_string(name) def variable('$' ++ name), do: List.to_string(name) # TODO: Literal construction should not happen in the lexer, but during parsing; # grammars and RDF.Serialization.ParseHelper should be rew...
30.608696
98
0.659659
734005dad4d28c3763dfec58ae6346e803230c7f
1,279
ex
Elixir
base/fc_base/lib/fc_base.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
base/fc_base/lib/fc_base.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
base/fc_base/lib/fc_base.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCBase do def policy do quote do import FCBase.Policy @admin_roles ["owner", "administrator"] @dev_roles @admin_roles ++ ["developer"] @customer_management_roles @dev_roles ++ ["manager", "support_specialist"] @goods_management_roles @dev_roles ++ ["manager", "goods_specia...
26.645833
169
0.645035
73400f28c5cb21d09bc8ee1744075e9b775a269a
1,044
ex
Elixir
lib/oli/publishing/tracker.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/publishing/tracker.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/publishing/tracker.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Publishing.ChangeTracker do alias Oli.Publishing alias Oli.Publishing.AuthoringResolver @doc """ Tracks the creation of a new revision for the current unpublished publication. If `changes` argument is supplied it treats the `revision` argument as a base revision and creates a new revision ...
29.828571
73
0.724138
73402607491753ce7f0c366bb8efe680ed874b6e
1,671
exs
Elixir
test/expwd_test.exs
sergeypopol/expwd
774f13fd13d81b179ce955ac47e96b349e8f9c6b
[ "Apache-2.0" ]
null
null
null
test/expwd_test.exs
sergeypopol/expwd
774f13fd13d81b179ce955ac47e96b349e8f9c6b
[ "Apache-2.0" ]
null
null
null
test/expwd_test.exs
sergeypopol/expwd
774f13fd13d81b179ce955ac47e96b349e8f9c6b
[ "Apache-2.0" ]
null
null
null
defmodule ExpwdTest do use ExUnit.Case doctest Expwd @tag timeout: 60 * 60000 test "Constant compare" do pwd1 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" pwd2 = "a_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" pwd3 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
26.951613
77
0.636146
73405b768a953f11c3c13153f37684f309e128fd
2,991
ex
Elixir
apps/esperanto/lib/trybe/esperanto/parsers/generics/enclosing_tag.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
6
2021-07-19T20:00:22.000Z
2021-11-03T03:27:40.000Z
apps/esperanto/lib/trybe/esperanto/parsers/generics/enclosing_tag.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
null
null
null
apps/esperanto/lib/trybe/esperanto/parsers/generics/enclosing_tag.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
null
null
null
defmodule Esperanto.Parsers.Generics.EnclosingTag do alias Esperanto.Parsers.TopLevel alias Esperanto.ParserUtility alias Esperanto.Walker @doc """ opts * :start_delimiter * :barrier * :enclosing_tag * :attrs """ @moduledoc """ Simple enclose the contents between `:start_delimiter` and...
28.216981
95
0.616516
73405fb02a826f3223c20ef8e6f195f5dfc22ca6
962
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/request_builder.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/request_builder.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/request_builder.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37
77
0.764033
73407d65923e3afbf1104cf5aa33ce96eac11a95
1,320
exs
Elixir
mix.exs
lessrest/chroxy
e4d0ec7a694c8d2ebbdb277056977f0cbb261a99
[ "MIT" ]
201
2018-05-02T16:12:27.000Z
2022-03-18T16:53:19.000Z
mix.exs
lessrest/chroxy
e4d0ec7a694c8d2ebbdb277056977f0cbb261a99
[ "MIT" ]
41
2018-06-09T11:48:19.000Z
2022-03-03T17:10:19.000Z
mix.exs
lessrest/chroxy
e4d0ec7a694c8d2ebbdb277056977f0cbb261a99
[ "MIT" ]
26
2018-06-05T12:33:36.000Z
2021-12-29T18:15:44.000Z
defmodule Chroxy.MixProject do use Mix.Project def project do [ app: :chroxy, version: "0.7.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), docs: [main: "Chroxy", logo: "logo.png", extras: [...
24.90566
116
0.553788
7340abbbd1eb8ca81273b0d81581659da4a90978
1,813
ex
Elixir
lib/new_relic/util/error.ex
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
lib/new_relic/util/error.ex
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
lib/new_relic/util/error.ex
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Util.Error do # Helper functions for normalizing and formatting errors @moduledoc false def normalize(kind, exception, stacktrace, initial_call \\ nil) def normalize(kind, exception, stacktrace, initial_call) do normalized_error = Exception.normalize(kind, exception, stacktrace) e...
36.26
94
0.710425
7340bc48a26af14b1dd3e99c80824a261bcb8ed6
4,300
ex
Elixir
clients/cloud_support/lib/google_api/cloud_support/v2beta/api/attachments.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_support/lib/google_api/cloud_support/v2beta/api/attachments.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_support/lib/google_api/cloud_support/v2beta/api/attachments.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...
41.346154
196
0.637442
7340d2ec8cb1cb0ae6904d3cb3050922a85e1f1e
1,194
exs
Elixir
mix.exs
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
mix.exs
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
mix.exs
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
defmodule DynamicTemplate.MixProject do use Mix.Project def project do [ app: :dynamic_template, version: "0.1.2", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "DynamicTemplate", ...
25.404255
123
0.638191
7340e3d8f1f8952605d72a8d00c6210dd4947909
426
exs
Elixir
test/shitty_linq_ex_test.exs
chr1sto/shitty_linq_ex
4ba4e102b3e8820889ed945da0750f97e14c92fd
[ "Unlicense" ]
null
null
null
test/shitty_linq_ex_test.exs
chr1sto/shitty_linq_ex
4ba4e102b3e8820889ed945da0750f97e14c92fd
[ "Unlicense" ]
null
null
null
test/shitty_linq_ex_test.exs
chr1sto/shitty_linq_ex
4ba4e102b3e8820889ed945da0750f97e14c92fd
[ "Unlicense" ]
null
null
null
defmodule ShittyLinqExTest do use ExUnit.Case, async: true doctest ShittyLinqEx alias ShittyLinqEx test "reverse of empty list" do assert ShittyLinqEx.reverse([]) == [] end test "reverse of normal list" do assert ShittyLinqEx.reverse([1, 3, 5, 7]) == [7, 5, 3, 1] end test "reverse of big lis...
22.421053
89
0.687793
7340f140cb433b784b7e5547674d623a21a76afb
4,480
ex
Elixir
lib/broadway/topology/subscriber.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
null
null
null
lib/broadway/topology/subscriber.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
null
null
null
lib/broadway/topology/subscriber.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
null
null
null
defmodule Broadway.Topology.Subscriber do # This modules defines conveniences for subscribing to producers # and how to resubscribe to them in case of crashes. # # In practice, only the first layer resubscribers in case of crashes # as the remaining ones are shutdown via the supervision tree which # is set ...
29.866667
97
0.670089
7340f4e4b4c5230d97a95e637d25c989bce086e7
502
ex
Elixir
web/controllers/csv_export_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/controllers/csv_export_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/controllers/csv_export_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.CsvExportController do use CgratesWebJsonapi.Web, :controller def index(conn, %{"table" => table}) do conn = conn |> put_resp_content_type("text/csv") |> put_resp_header("content-disposition", "attachment; filename=export.csv") |> send_chunked(200) Repo.transaction ...
25.1
80
0.653386
734126b6453ca7057bb1174dee2c3b21ff1302f7
1,309
exs
Elixir
test/changelog_web/controllers/podcast_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
test/changelog_web/controllers/podcast_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
test/changelog_web/controllers/podcast_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.PodcastControllerTest do use ChangelogWeb.ConnCase test "getting the podcasts index", %{conn: conn} do p1 = insert(:podcast) p2 = insert(:podcast) conn = get(conn, Routes.podcast_path(conn, :index)) assert conn.status == 200 assert conn.resp_body =~ p1.name assert c...
30.44186
74
0.670741
73413798a93310505615aef7a7e5e963bb008454
2,017
ex
Elixir
lib/distributed/replicator/gen_server.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
24
2017-06-24T01:41:18.000Z
2021-11-05T20:26:27.000Z
lib/distributed/replicator/gen_server.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
null
null
null
lib/distributed/replicator/gen_server.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
2
2017-06-24T01:58:25.000Z
2017-06-28T10:14:20.000Z
defmodule Distributed.Replicator.GenServer do @moduledoc """ The functions in `Distributed.Replicator.GenServer` module helps to replicate an event by processing it on the all nodes in the network. In `Distributed.Replicator.GenServer`, functions execute processes in parallel. **Note**: Since this module is only a...
33.616667
138
0.708478
734140c7f49fac28057a11831723790dca48ae0e
491
ex
Elixir
lib/booking_web/views/error_view.ex
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
lib/booking_web/views/error_view.ex
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
2
2021-03-10T16:49:07.000Z
2021-05-11T12:50:22.000Z
lib/booking_web/views/error_view.ex
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
defmodule BookingWeb.ErrorView do use BookingWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name...
28.882353
61
0.735234
7341a4fb02086d281232140b1bff2eaed3422edf
1,067
ex
Elixir
priv/catalogue/surface/components/form/example01.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2021-04-30T14:28:08.000Z
2021-04-30T14:28:08.000Z
priv/catalogue/surface/components/form/example01.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
priv/catalogue/surface/components/form/example01.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.Example01 do use Surface.Catalogue.Example, catalogue: Surface.Components.Catalogue, subject: Surface.Components.Form, height: "350px", direction: "vertical" alias Surface.Components.Form.{TextInput, Label, Field} data user, :map, default: %{"name" => "", "email...
28.837838
89
0.578257
7341cdab69902cd41f1021a6e6154e6a304d3c28
4,789
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activity_group.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activity_group.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activity_group.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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...
54.420455
495
0.738985
7341e66c1d01476a655a5256ca81bc06e2b06686
79
exs
Elixir
server/config/config.exs
ludovicm67/poc-chat
dd710b36d6dee7b009bdc98f8cb911ed601583d3
[ "MIT" ]
null
null
null
server/config/config.exs
ludovicm67/poc-chat
dd710b36d6dee7b009bdc98f8cb911ed601583d3
[ "MIT" ]
null
null
null
server/config/config.exs
ludovicm67/poc-chat
dd710b36d6dee7b009bdc98f8cb911ed601583d3
[ "MIT" ]
null
null
null
use Mix.Config config :chat, port: 4242 # import_config "#{Mix.env}.exs"
13.166667
36
0.658228
7341f386ca00eaf6ab9cc9d00a9a387c4b02e0b9
2,103
ex
Elixir
priv/templates/brando.install/lib/application_name_web/router.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
priv/templates/brando.install/lib/application_name_web/router.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
priv/templates/brando.install/lib/application_name_web/router.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule <%= application_module %>Web.Router do use <%= application_module %>Web, :router import Brando.Plug.I18n import Brando.Router import Phoenix.LiveDashboard.Router import Plug.BasicAuth import BrandoAdmin.UserAuth @sql_sandbox Application.compile_env(:<%= application_name %>, :sql_sandbox) || fa...
28.808219
98
0.704232
734204993de74fec2ca2d980f993bf958e2b92b7
6,464
ex
Elixir
lib/ex_dav/dav_provider.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
null
null
null
lib/ex_dav/dav_provider.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
1
2021-04-14T10:40:54.000Z
2021-04-14T10:40:54.000Z
lib/ex_dav/dav_provider.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
null
null
null
defmodule ExDav.DavProvider do @moduledoc """ This module defines the basic callbacks for an ExDAV Dav Provider. """ @type ref :: any() @doc """ The main function that is called for any incoming request. Used to resolve the """ @callback resolve(conn :: Plug.Conn.t(), opts :: list()) :: ref() @doc ...
28.227074
110
0.647432
73421446a308a5d4025c04e7bd1e71640dcaa183
547
exs
Elixir
mix.exs
ckampfe/regex_rs
2b5de81bff201c849cbf17d5b6dac5c6d9abab71
[ "BSD-3-Clause" ]
1
2021-01-15T02:05:22.000Z
2021-01-15T02:05:22.000Z
mix.exs
ckampfe/regex_rs
2b5de81bff201c849cbf17d5b6dac5c6d9abab71
[ "BSD-3-Clause" ]
null
null
null
mix.exs
ckampfe/regex_rs
2b5de81bff201c849cbf17d5b6dac5c6d9abab71
[ "BSD-3-Clause" ]
null
null
null
defmodule RegexRs.MixProject do use Mix.Project def project do [ app: :regex_rs, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod || Mix.env() == :bench, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application...
18.862069
65
0.552102
7342301895a5826278c2b1e1750fbf99b962dcc9
284
ex
Elixir
lib/janus.ex
couchemar/elixir-janus
50dd60ff056ea93dd282fb8ea050d1addf4bfc5d
[ "MIT" ]
41
2016-12-21T13:28:14.000Z
2021-09-11T14:48:05.000Z
lib/janus.ex
meetupcall/elixir-janus
af24ac04ef61d40ea0a582c0d182826d2075eb72
[ "MIT" ]
11
2017-01-04T20:22:16.000Z
2020-09-07T06:29:22.000Z
lib/janus.ex
meetupcall/elixir-janus
af24ac04ef61d40ea0a582c0d182826d2075eb72
[ "MIT" ]
13
2016-12-21T13:28:16.000Z
2021-05-15T07:48:50.000Z
import Janus.Util defmodule Janus do @moduledoc """ This library is a client for the [Janus REST API](https://janus.conf.meetecho.com/docs/rest.html). """ @doc """ Retrieves details on the Janus server located at `url` """ def info(url), do: get("#{url}/info") end
17.75
100
0.658451
734238fbf7051f5d7951c87f54a8748c8125b24c
1,903
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/channel_statistics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_statistics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_statistics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.596154
124
0.748292
734265519417218181fb40698f371f808de93874
1,187
exs
Elixir
mix.exs
Userpilot/locksmith
33b4e9abbe4b472c3e7dab246202d84400719d94
[ "MIT" ]
null
null
null
mix.exs
Userpilot/locksmith
33b4e9abbe4b472c3e7dab246202d84400719d94
[ "MIT" ]
null
null
null
mix.exs
Userpilot/locksmith
33b4e9abbe4b472c3e7dab246202d84400719d94
[ "MIT" ]
null
null
null
defmodule Locksmith.MixProject do use Mix.Project @scm_url "https://github.com/userpilot/locksmith" def project do [ app: :locksmith, version: "1.0.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), description: "Queue-free/gen_server-free/p...
20.824561
96
0.539174
734279b26b1595dc17a55757ed9fcb8bf8937127
74,345
ex
Elixir
lib/ecto/schema.ex
barthez/ecto
747ea7e207132f7b72451c9d3942acfe5db0aa7b
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
barthez/ecto
747ea7e207132f7b72451c9d3942acfe5db0aa7b
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
barthez/ecto
747ea7e207132f7b72451c9d3942acfe5db0aa7b
[ "Apache-2.0" ]
1
2018-09-21T16:05:29.000Z
2018-09-21T16:05:29.000Z
defmodule Ecto.Schema do @moduledoc ~S""" Defines a schema. An Ecto schema is used to map any data source into an Elixir struct. One of such use cases is to map data coming from a repository, usually a table, into Elixir structs. ## Example defmodule User do use Ecto.Schema schema ...
34.627387
123
0.666272
7342820dfb1dd5f5df7f48d5b02e157397000cb9
338
ex
Elixir
lib/web/views/profile_view.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
610
2017-08-09T15:20:25.000Z
2022-03-27T15:49:07.000Z
lib/web/views/profile_view.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
69
2017-09-23T04:02:30.000Z
2022-03-19T21:08:21.000Z
lib/web/views/profile_view.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
85
2017-09-23T04:07:11.000Z
2021-11-20T06:44:56.000Z
defmodule Web.ProfileView do use Web, :view alias ExVenture.Users.Avatar alias Web.FormView def avatar?(user), do: user.avatar_key != nil def avatar_img(user) do link(to: Stein.Storage.url(Avatar.avatar_path(user, "original"))) do img_tag(Stein.Storage.url(Avatar.avatar_path(user, "thumbnail"))) ...
22.533333
72
0.710059
7342867647ff9e466f9cf66a6b9214950db4c787
5,546
exs
Elixir
test/rfx/ops/credo/multi_alias_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
31
2021-05-29T22:57:04.000Z
2022-03-13T16:24:57.000Z
test/rfx/ops/credo/multi_alias_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-04T23:34:38.000Z
2021-07-16T16:01:20.000Z
test/rfx/ops/credo/multi_alias_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-11T13:10:04.000Z
2022-02-11T13:33:16.000Z
defmodule Rfx.Ops.Credo.MultiAliasTest do use ExUnit.Case alias Rfx.Ops.Credo.MultiAlias alias Rfx.Util.Source alias Rfx.Util.Tst @base_source """ alias Foo.{Bar, Baz.Qux} """ @base_expected """ alias Foo.Bar alias Foo.Baz.Qux """ @base_diff """ 1c1,2 < alias Foo.{Bar, Baz.Qux} --- ...
30.811111
92
0.626758
7342bdde1d669963bece0e20797d4e16e4a0db51
124
ex
Elixir
lib/cain/endpoint/variable_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
6
2019-12-17T12:40:19.000Z
2022-01-18T07:25:20.000Z
lib/cain/endpoint/variable_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
9
2019-12-18T13:01:11.000Z
2021-02-12T14:24:43.000Z
lib/cain/endpoint/variable_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
1
2020-09-16T09:19:08.000Z
2020-09-16T09:19:08.000Z
defmodule Cain.Endpoint.VariableInstance do def get_list(query) do {:get, "/variable-instance", query, %{}} end end
20.666667
44
0.701613
7342c300aaee9bbd8c7056e57f6bae74287ca68e
2,140
exs
Elixir
test/acceptance/html1/line_breaks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html1/line_breaks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html1/line_breaks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Html1.LineBreaksTest do use ExUnit.Case, async: true import Support.Html1Helpers @moduletag :html1 describe "Forced Line Breaks" do test "with two spaces" do markdown = "The \nquick" html = para([ "The", :br, "quick" ]) messages = [] assert to_html1(...
25.783133
68
0.548598
7342fb259289f97db70bd584154c2469fe088694
962
ex
Elixir
apps/dockup_ui/web/services/delete_expired_deployments_service.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/web/services/delete_expired_deployments_service.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/web/services/delete_expired_deployments_service.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
defmodule DockupUi.DeleteExpiredDeploymentsService do @moduledoc """ This module is reponsible for fetching all deployments older than certain amount of time (as defined in config) and queueing them for deletiing using DeleteDeploymentService """ import Ecto.Query, only: [from: 2] require Logger alia...
26
98
0.711019
73430cdf10074a226b1002182499b3fdbe6e12ce
3,296
exs
Elixir
test/gim/repo/table_test.exs
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
4
2020-01-21T09:15:24.000Z
2021-02-04T21:21:56.000Z
test/gim/repo/table_test.exs
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
2
2020-04-06T05:20:09.000Z
2020-06-09T09:56:20.000Z
test/gim/repo/table_test.exs
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-22T08:44:35.000Z
2020-04-22T08:44:35.000Z
defmodule GimTest.TableTest do @moduledoc false use ExUnit.Case alias Gim.Repo.Table alias GimTest.Animal for module <- [Table.Ets] do mod_name = Module.concat(__MODULE__, module) defmodule mod_name do @moduledoc false use ExUnit.Case, async: false setup_all do module = u...
29.963636
93
0.519114
73431c06f2e7f16187e0463b48bf7c26b32fab34
1,675
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_membership_spec.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_membership_spec.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_membership_spec.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...
35.638298
155
0.757015
7343289c265fca0b336e1ee333b129c663bc7a26
218
ex
Elixir
apps/heroes_web/lib/web/plugs/redirect.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
2
2020-04-09T06:42:15.000Z
2022-03-03T15:52:38.000Z
apps/heroes_web/lib/web/plugs/redirect.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
5
2020-04-28T16:05:46.000Z
2021-01-03T14:08:19.000Z
apps/heroes_web/lib/web/plugs/redirect.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
null
null
null
defmodule Web.Plugs.Redirect do @moduledoc """ Simple redirect Plug. """ def init(opts), do: opts def call(conn, opts) do conn |> Phoenix.Controller.redirect(opts) |> Plug.Conn.halt() end end
15.571429
40
0.637615
73435168928c81176f16a500c1ef8c357006422c
355
ex
Elixir
lib/blue_jet/app/storefront/external/balance_service.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet/app/storefront/external/balance_service.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet/app/storefront/external/balance_service.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Storefront.BalanceService do @balance_service Application.get_env(:blue_jet, :storefront)[:balance_service] @callback list_payment(map, map) :: list(map) @callback count_payment(map, map) :: integer defdelegate list_payment(fields, opts), to: @balance_service defdelegate count_payment(fiel...
39.444444
80
0.785915
73435dbded9ab638c414f4ef11d6af541bc7c85c
5,999
exs
Elixir
mix.exs
nicksen/livebook
f5afac94970d9c3bd3ad93f6c633e305e9bce30a
[ "Apache-2.0" ]
null
null
null
mix.exs
nicksen/livebook
f5afac94970d9c3bd3ad93f6c633e305e9bce30a
[ "Apache-2.0" ]
null
null
null
mix.exs
nicksen/livebook
f5afac94970d9c3bd3ad93f6c633e305e9bce30a
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.MixProject do use Mix.Project @elixir_requirement "~> 1.13" @version "0.6.1" @description "Interactive and collaborative code notebooks - made with Phoenix LiveView" @app_elixir_version "1.13.4" def project do [ app: :livebook, version: @version, elixir: @elixir_r...
27.022523
103
0.592099
73435f40044c7caa8b9cdd22c313e94268973507
3,352
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__timestamped_object.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__timestamped_object.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__timestamped_object.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.904762
223
0.74284
73436b86db4ef3fd38d8ab7286cbd9f25b8ab7ed
1,909
exs
Elixir
mix.exs
nerves-project/nerves_motd
45573c8d13e8d526bc4ada19ada2f86753dd4461
[ "Apache-2.0" ]
5
2021-09-09T12:57:27.000Z
2021-12-21T22:46:58.000Z
mix.exs
nerves-project/nerves_motd
45573c8d13e8d526bc4ada19ada2f86753dd4461
[ "Apache-2.0" ]
19
2021-09-07T14:07:57.000Z
2022-03-08T02:34:11.000Z
mix.exs
nerves-project/nerves_motd
45573c8d13e8d526bc4ada19ada2f86753dd4461
[ "Apache-2.0" ]
2
2021-11-01T20:27:43.000Z
2021-11-23T21:56:33.000Z
defmodule NervesMOTD.MixProject do use Mix.Project @version "0.1.6" @source_url "https://github.com/nerves-project/nerves_motd" def project do [ app: :nerves_motd, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), docs: docs(), description: d...
23.567901
82
0.573075
73437a147cd1c284159354dc21c5cb63d510b225
756
ex
Elixir
lib/cachex/actions/del.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
lib/cachex/actions/del.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
lib/cachex/actions/del.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.Del do @moduledoc false # Command module to allow removal of a cache entry. alias Cachex.Services.Locksmith # import required macros import Cachex.Spec ############## # Public API # ############## @doc """ Removes an entry from a cache by key. This command will always ...
27
81
0.675926
734390cb44d5ebf76f2bb5bc1c63447b64548fce
66,598
ex
Elixir
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/projects.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...
44.133863
196
0.625709
7343b54c476232d51af8af6c72f8181e3f9641f2
1,371
ex
Elixir
lib/codebeam_2021_web/router.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
lib/codebeam_2021_web/router.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
lib/codebeam_2021_web/router.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
defmodule Codebeam2021Web.Router do use Codebeam2021Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :access_restriction do plug :browser plug(Codebeam2021.Access...
24.927273
70
0.708972
7343bb7f72a604685ceeb1bb787df0a65962c65f
23,781
ex
Elixir
lib/fake_server/response.ex
anjaligr05/fake_server
cdca14b7f56dd8afc0acc2fad508928c669017da
[ "Apache-2.0" ]
null
null
null
lib/fake_server/response.ex
anjaligr05/fake_server
cdca14b7f56dd8afc0acc2fad508928c669017da
[ "Apache-2.0" ]
null
null
null
lib/fake_server/response.ex
anjaligr05/fake_server
cdca14b7f56dd8afc0acc2fad508928c669017da
[ "Apache-2.0" ]
null
null
null
defmodule FakeServer.Response do @moduledoc """ Response structure and helpers. FakeServer makes use of the `%FakeServer.Response{}` structure to define the responses that will be given by the server. ## Structure Fields - `:status`: The status code of the response. It must be an integer. - `:body`: ...
31.665779
157
0.637568
7343c18eb83fa095a57ec544238e59f8f922d1e1
1,705
exs
Elixir
app/config/config.exs
e8t-arena/phx_taste
3c005f5fce1550bcba4489cdc4f5efde21ae5d84
[ "MIT" ]
null
null
null
app/config/config.exs
e8t-arena/phx_taste
3c005f5fce1550bcba4489cdc4f5efde21ae5d84
[ "MIT" ]
null
null
null
app/config/config.exs
e8t-arena/phx_taste
3c005f5fce1550bcba4489cdc4f5efde21ae5d84
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :app, ecto_repos: [App.Repo] # Configures t...
32.169811
86
0.738416
7343c60ea1e82a2c4ab976cc471b381b7caa42f6
16,164
ex
Elixir
lib/ecto/adapters/sql.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL do @moduledoc """ Behaviour and implementation for SQL adapters. The implementation for SQL adapter relies on `DBConnection` to provide pooling, prepare, execute and more. Developers that use `Ecto.Adapters.SQL` should implement the callbacks required both by this module and th...
30.90631
113
0.614266
7343c7c448baa84e11061208a2067b5e8c3b23d0
2,499
exs
Elixir
test/controllers/user_controller_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
1
2016-10-07T14:36:21.000Z
2016-10-07T14:36:21.000Z
test/controllers/user_controller_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
test/controllers/user_controller_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
defmodule Pxblog.UserControllerTest do use Pxblog.ConnCase alias Pxblog.User @valid_create_attrs %{ email: "jgunnink@example.com", username: "jgunnink", password: "abc123abc", password_confirmation: "abc123abc" } @valid_attrs %{email: "jgunnink@example.com", username: "jgunnink"} @invalid_a...
34.232877
98
0.677871
7343ca067f60c7c4d93717e6b6b9e20577a1c99a
1,449
ex
Elixir
lib/covid_19_web/endpoint.ex
clarkware/live_view_covid_19
dfe6ec0cb0ecf91ef30a58b549acc82d4614916a
[ "MIT" ]
4
2020-03-20T13:37:51.000Z
2020-03-27T23:53:55.000Z
lib/covid_19_web/endpoint.ex
clarkware/live_view_covid_19
dfe6ec0cb0ecf91ef30a58b549acc82d4614916a
[ "MIT" ]
2
2021-03-10T11:22:03.000Z
2021-05-11T07:08:43.000Z
lib/covid_19_web/endpoint.ex
clarkware/live_view_covid_19
dfe6ec0cb0ecf91ef30a58b549acc82d4614916a
[ "MIT" ]
null
null
null
defmodule Covid19Web.Endpoint do use Phoenix.Endpoint, otp_app: :covid_19 # 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: "_covid_19...
28.411765
69
0.711525
7343ef96711ed68b487f447c0dd155853a0e627f
1,728
exs
Elixir
test/type_check/builtin/implements_protocol_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
test/type_check/builtin/implements_protocol_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
test/type_check/builtin/implements_protocol_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
defmodule TypeCheck.Builtin.ImplementsProtocolTest do use ExUnit.Case, async: true use ExUnitProperties import StreamData, only: [] require TypeCheck import TypeCheck.Builtin describe "ToStreamData implementation" do property "impl(Enumerable) is able to generate enumerables" do check all value...
35.265306
213
0.721065
73442e9920c4289e3e85ab096874c1e3b03abdeb
1,883
ex
Elixir
lib/mix/lib/releases/runtime/pidfile.ex
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
lib/mix/lib/releases/runtime/pidfile.ex
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
lib/mix/lib/releases/runtime/pidfile.ex
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
defmodule Mix.Releases.Runtime.Pidfile do @moduledoc """ This is a kernel process which will maintain a pidfile for the running node """ @doc false # Will be called by `:init` def start() do # We don't need to link to `:init`, it will take care # of linking to us, since we're being started as a ker...
23.246914
77
0.549124
73445f821523a7509ea4dc66fd246fe7007adb43
23,769
ex
Elixir
lib/elixir/lib/exception.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Exception do @moduledoc """ Functions to format throw/catch/exit and exceptions. Note that stacktraces in Elixir are updated on throw, errors and exits. For example, at any given moment, `System.stacktrace/0` will return the stacktrace for the last throw/error/exit that occurred in the current pr...
27.8
108
0.675964
734467956f6fdd38fe143a2178426a2bf40e19e5
919
exs
Elixir
test/cog/chat/hipchat/templates/embedded/alias_delete_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/alias_delete_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/alias_delete_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.AliasDeleteTest do use Cog.TemplateCase test "alias-delete template" do data = %{"results" => [%{"visibility" => "user", "name" => "awesome_alias"}]} expected = "Deleted alias 'user:awesome_alias'" assert_rendered_template(:hipchat, :embedded, "alias-delete...
36.76
88
0.620239
7344753f2af756de471029ae6597ec61db4f07de
1,601
exs
Elixir
elixir/flatten-array/flatten_array_comments.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/flatten-array/flatten_array_comments.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/flatten-array/flatten_array_comments.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
defmodule Flattener do @doc """ Accept a list and return the list flattened without nil values. ## Examples iex> Flattener.flatten([1, [2], 3, nil]) [1,2,3] iex> Flattener.flatten([nil, nil]) [] """ @spec flatten(list) :: list def flatten(list) do do_flatten(list) end ...
30.788462
110
0.630856
734494e7dbdfe9c1794565d8132d182fa746c31b
238
ex
Elixir
test/support/normalize_and_push_strategy.ex
njwest/bamboo
024286443a4e1aae57cbaa87dbcafe62c9a5755a
[ "MIT" ]
null
null
null
test/support/normalize_and_push_strategy.ex
njwest/bamboo
024286443a4e1aae57cbaa87dbcafe62c9a5755a
[ "MIT" ]
null
null
null
test/support/normalize_and_push_strategy.ex
njwest/bamboo
024286443a4e1aae57cbaa87dbcafe62c9a5755a
[ "MIT" ]
1
2018-09-05T09:17:27.000Z
2018-09-05T09:17:27.000Z
defmodule Bamboo.NormalizeAndPushStrategy do use ExMachina.Strategy, function_name: :normalize_and_push def handle_normalize_and_push(email, _opts) do email |> Bamboo.Mailer.normalize_addresses |> Bamboo.SentEmail.push end end
29.75
71
0.810924
7344a959f623f226626d1b5f746265700a54ab42
1,836
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ad_words_account.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...
34
150
0.733115
7344b7ed7f2e6bf41f4b422d86897da2aadbf5fe
76
exs
Elixir
lesson_08/demo/i18n/test/i18n_web/views/layout_view_test.exs
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_08/demo/i18n/test/i18n_web/views/layout_view_test.exs
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_08/demo/i18n/test/i18n_web/views/layout_view_test.exs
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule I18nWeb.LayoutViewTest do use I18nWeb.ConnCase, async: true end
19
35
0.815789
7344e6d5ba86ff64104a0fbdefb9b19a02db6698
9,346
ex
Elixir
lib/extreme/persistent_subscription.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
lib/extreme/persistent_subscription.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
lib/extreme/persistent_subscription.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
defmodule Extreme.PersistentSubscription do @moduledoc """ An asynchronous subscription strategy. Other subscription methods require stream positions to be persisted by the client (e.g. in `:dets` or PostgreSQL). Persistent Subscription is a subscription strategy in which details about backpressure, buffer s...
30.442997
104
0.702654
73456bf2db134ac2c53eb815de615d27a4b8836b
920
exs
Elixir
mix.exs
dmitryzuev/httpotion_cache
3d5408cadd920cb8ca6bbc4b08368d295b8c7bdf
[ "MIT" ]
2
2016-10-20T11:47:14.000Z
2017-02-10T04:34:14.000Z
mix.exs
dmitryzuev/httpotion_cache
3d5408cadd920cb8ca6bbc4b08368d295b8c7bdf
[ "MIT" ]
1
2017-02-10T04:35:50.000Z
2017-02-10T04:35:50.000Z
mix.exs
dmitryzuev/httpotion_cache
3d5408cadd920cb8ca6bbc4b08368d295b8c7bdf
[ "MIT" ]
null
null
null
defmodule HTTPotion.Cache.Mixfile do use Mix.Project def project do [ app: :httpotion_cache, name: "HTTPotion.Cache", source_url: "https://github.com/dmitryzuev/httpotion_cache", version: "0.1.0", elixir: "~> 1.1", docs: [ extras: ["README.md"] ], description: description(),...
23.589744
79
0.568478
7345718c7da15e0f2d4b2127290c347af483ceb7
947
exs
Elixir
mix.exs
GuyBransgrove/commander
44acac3f07c72a75d4e9f5fe61ba8d6f0323ab49
[ "MIT" ]
null
null
null
mix.exs
GuyBransgrove/commander
44acac3f07c72a75d4e9f5fe61ba8d6f0323ab49
[ "MIT" ]
null
null
null
mix.exs
GuyBransgrove/commander
44acac3f07c72a75d4e9f5fe61ba8d6f0323ab49
[ "MIT" ]
null
null
null
defmodule Commander.MixProject do use Mix.Project def project do [ app: :commander, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package() ] end # Run "mix help compile.app" to lear...
21.044444
88
0.563886
7345a6829e64d7b8e6a15f191b69537c3d054921
2,695
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_safe_search_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_safe_search_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_safe_search_annotation.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...
36.917808
127
0.709091
7345b5069343f757c2dfb53beaaee8fc51c353e0
10,652
ex
Elixir
lib/mix/lib/mix/utils.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Utils do @moduledoc """ Utilities used throughout Mix and tasks. ## Conversions This module handles two types of conversions: * From command names to module names, i.e. how the command `deps.get` translates to `Deps.Get` and vice-versa; * From underscore to CamelCase, i.e. how the file...
25.917275
98
0.62392
7345dcebbe732e0b517a90e0507b4025d3b2b326
535
ex
Elixir
packages/api/lib/api_web/views/changeset_view.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
1
2022-02-10T20:08:10.000Z
2022-02-10T20:08:10.000Z
packages/api/lib/api_web/views/changeset_view.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
packages/api/lib/api_web/views/changeset_view.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
defmodule ApiWeb.ChangesetView do use ApiWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `ApiWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &translate_err...
26.75
65
0.736449
7345e9eb0d7f9de9bd4ec80a843d7727edafce08
295
exs
Elixir
priv/repo/migrations/20180223040733_create_states.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
priv/repo/migrations/20180223040733_create_states.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180223040733_create_states.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Repo.Migrations.CreateStates do use Ecto.Migration def change do create table(:states) do add :abbr, :string add :name, :string add :country_id, references(:countries) timestamps() end create index(:states, [:country_id]) end end
19.666667
52
0.667797
73460d7be2dcd04c93944275325cc0370087819f
130
exs
Elixir
test/mazedrivers_bot_test.exs
videumcodeup/mazedrivers-bot-elixir
e4fe41e4d59fd57a2b9e1221c3bfdc45033bb040
[ "MIT" ]
null
null
null
test/mazedrivers_bot_test.exs
videumcodeup/mazedrivers-bot-elixir
e4fe41e4d59fd57a2b9e1221c3bfdc45033bb040
[ "MIT" ]
null
null
null
test/mazedrivers_bot_test.exs
videumcodeup/mazedrivers-bot-elixir
e4fe41e4d59fd57a2b9e1221c3bfdc45033bb040
[ "MIT" ]
null
null
null
defmodule MazedriversBotTest do use ExUnit.Case doctest MazedriversBot test "the truth" do assert 1 + 1 == 2 end end
14.444444
31
0.707692
73461ec5d0bec2deca77a7dd20c85f1c70bc5273
11,021
ex
Elixir
debian/manpage.xml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
15
2015-01-12T09:08:07.000Z
2021-10-03T10:03:28.000Z
debian/manpage.xml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
1
2018-08-13T23:12:46.000Z
2018-08-14T17:46:42.000Z
debian/manpage.xml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
3
2015-01-18T05:34:04.000Z
2018-08-13T21:56:59.000Z
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.743151
84
0.632338
734683ccefa18cf8d0dd39fe271ec9f84784a510
2,363
ex
Elixir
apps/re_web/lib/graphql/resolvers/developments.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/lib/graphql/resolvers/developments.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_web/lib/graphql/resolvers/developments.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.Resolvers.Developments do @moduledoc false alias Re.{ Addresses, Development, Developments, Developments.Typologies } import Absinthe.Resolution.Helpers, only: [on_load: 2] def index(_params, _context) do developments = Developments.all() {:ok, developments} end ...
31.506667
97
0.670334
73469138f282d6eebbba7e72ba63764ce71d89dc
2,777
exs
Elixir
apps/site/config/config.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/config/config.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/config/config.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :site, SiteWeb.Endpoint, url: [host: "localhost"],...
33.059524
97
0.734966
7346cba6f91a8917ee3960e53257b0377b6cf01c
2,976
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_iam_policy_longrunning_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_iam_policy_longrunning_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_iam_policy_longrunning_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
56.150943
839
0.774866
7346cc6f275d80a6da005e9bce647bca77063f1f
347
exs
Elixir
priv/repo/seeds.exs
msaminsky/mulch
c5bd26fe2cb13cc7ebfc58d858686209febc32dc
[ "MIT" ]
1
2020-10-20T22:50:45.000Z
2020-10-20T22:50:45.000Z
priv/repo/seeds.exs
msaminsky/mulch
c5bd26fe2cb13cc7ebfc58d858686209febc32dc
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
msaminsky/mulch
c5bd26fe2cb13cc7ebfc58d858686209febc32dc
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Mulch.Repo.insert!(%Mulch.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
28.916667
61
0.70317
7346d78cb44763ef04be13425508aca13c121515
884
ex
Elixir
lib/credo/cli/filter.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/filter.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/filter.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Filter do alias Credo.Check.ConfigComment alias Credo.Execution alias Credo.Issue alias Credo.SourceFile def important(list, exec) when is_list(list) do Enum.filter(list, &important?(&1, exec)) end def important?(%Issue{} = issue, exec) do issue.priority >= exec.min_priority ...
23.891892
65
0.675339
7346db05e58a5335c315ea76b2427f94a96607bf
1,137
ex
Elixir
lib/maze_server_web/channels/user_socket.ex
thantez/maze_ai
5d371beddf1626a45fd70d37a886f8d39ca80338
[ "MIT" ]
null
null
null
lib/maze_server_web/channels/user_socket.ex
thantez/maze_ai
5d371beddf1626a45fd70d37a886f8d39ca80338
[ "MIT" ]
null
null
null
lib/maze_server_web/channels/user_socket.ex
thantez/maze_ai
5d371beddf1626a45fd70d37a886f8d39ca80338
[ "MIT" ]
null
null
null
defmodule MazeServerWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", MazeServerWeb.RoomChannel channel "maze_socket:lobby", MazeServerWeb.MazeSocketChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can pu...
32.485714
85
0.707124
7346e1057a2a8c82ef4d002f5785ed70c86025f3
1,080
exs
Elixir
elixir/samples/seat_server/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/samples/seat_server/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/samples/seat_server/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule SeatServer.Mixfile do use Mix.Project def project do [app: :seat_server, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: dep...
27
63
0.600926
7346e4c7624fbde0910e1185304268c0bad4993f
1,145
exs
Elixir
clients/drive/mix.exs
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/drive/mix.exs
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/drive/mix.exs
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
defmodule GoogleApi.Drive.V3.Mixfile do use Mix.Project def project do [app: :google_api_drive, version: "0.0.1", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), source_u...
24.361702
124
0.595633
7346fe65a5ba7d2e134b08bb1bd01373d41a840f
2,386
ex
Elixir
lib/cloister/application.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
12
2020-05-07T08:57:06.000Z
2020-08-19T01:32:03.000Z
lib/cloister/application.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
21
2020-07-12T14:17:22.000Z
2021-08-03T04:42:30.000Z
lib/cloister/application.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
null
null
null
defmodule Cloister.Application do @moduledoc false use Application require Logger @consensus 3 @consensus_timeout 3_000 @impl Application def start(_type, _args) do Logger.debug( "[🕸️ :#{node()}] starting cloister with config:\n" <> inspect(Application.get_all_env(:cloister)) ) ...
28.746988
97
0.643336
73472e57fac2062bd2a1c89128b2a26e667b3a2d
203
exs
Elixir
config/config.exs
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
16
2020-04-15T14:45:15.000Z
2022-02-28T03:28:22.000Z
config/config.exs
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
1
2020-07-28T21:39:41.000Z
2020-07-29T13:05:45.000Z
config/config.exs
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
3
2021-01-10T22:39:43.000Z
2022-03-15T07:39:22.000Z
use Mix.Config case Mix.env do :test -> config :logger, level: :error config :terminus, scheme: :http, port: 8088, token: "test" _ -> config :logger, level: :info end
14.5
33
0.571429
734748dfd10b948ae874857ed0ad5736dcb76c44
3,533
exs
Elixir
apps/nerves_hub_www/test/nerves_hub_www_web/controllers/org_user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_www/test/nerves_hub_www_web/controllers/org_user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_www/test/nerves_hub_www_web/controllers/org_user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWWWWeb.OrgUserControllerTest do use NervesHubWWWWeb.ConnCase.Browser, async: true use Bamboo.Test alias NervesHubWebCore.{Accounts, Fixtures} setup context do user = Fixtures.user_fixture(%{username: context.user.username <> "0"}) Map.put(context, :user2, user) end describe "in...
33.647619
91
0.650722
73474be9472c4ceaf45c00a52585c32581bfe243
736
ex
Elixir
lib/mongo/query.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
null
null
null
lib/mongo/query.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
7
2018-10-12T07:53:57.000Z
2018-10-14T19:06:55.000Z
lib/mongo/query.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Query do @moduledoc false defstruct action: nil, extra: nil, encoded?: false end defimpl DBConnection.Query, for: Mongo.Query do import Mongo.Messages, only: [op_reply: 1, op_reply: 2] def parse(query, _opts), do: query def describe(query, _opts), do: query def encode(query, params, _opt...
26.285714
114
0.677989
7347628d507f5f6b816ed7401ff593bafa27b8ed
815
exs
Elixir
mssqlsample/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
mssqlsample/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
mssqlsample/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Mssqlsample.Mixfile do use Mix.Project def project do [app: :mssqlsample, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app...
22.027027
79
0.598773