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
3f61d952fe4c8f5af44ded94654aa0dd59f622b8
640
ex
Elixir
lib/ezoelixir.ex
axsann/ezoelixir
9dae82d8ebb6516cb3a83be807914585737ee289
[ "MIT" ]
null
null
null
lib/ezoelixir.ex
axsann/ezoelixir
9dae82d8ebb6516cb3a83be807914585737ee289
[ "MIT" ]
null
null
null
lib/ezoelixir.ex
axsann/ezoelixir
9dae82d8ebb6516cb3a83be807914585737ee289
[ "MIT" ]
null
null
null
defmodule Ezoelixir do def main(args) do show() end def show() do HTTPoison.start {:ok, %HTTPoison.Response{body: body}} = HTTPoison.get("http://ask.fm/feed/profile/EzoeRyou.rss") {:ok, feed, _} = FeederEx.parse(body) Enum.each(feed.entries, fn(e) -> IO.puts("...
30.47619
126
0.501563
3f61e924016f03ca7515d2f65444c6a8e811aa7c
2,367
exs
Elixir
test/ex_ihdl_subscription_base/tracked_schema_test.exs
Hutchison-Technologies/ex_ihdl_subscription_base
1c8609aefd0d71e2b24805ab936c80a605b3f88e
[ "MIT" ]
null
null
null
test/ex_ihdl_subscription_base/tracked_schema_test.exs
Hutchison-Technologies/ex_ihdl_subscription_base
1c8609aefd0d71e2b24805ab936c80a605b3f88e
[ "MIT" ]
null
null
null
test/ex_ihdl_subscription_base/tracked_schema_test.exs
Hutchison-Technologies/ex_ihdl_subscription_base
1c8609aefd0d71e2b24805ab936c80a605b3f88e
[ "MIT" ]
null
null
null
defmodule ExIhdlSubscriptionBase.TrackedSchemaTest do use ExUnit.Case, async: true alias ExIhdlSubscriptionBase.TrackedSchema defmodule ExampleSchema do defstruct some_field: nil, some_field_last_sent_at: nil, some_other_field: nil, some_other_field_last_sent_at: nil...
35.328358
101
0.65695
3f6268eb0e329c8f045f5dc8418823fbb156abfc
17,771
ex
Elixir
lib/elixir/lib/dict.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
defmodule Dict do @moduledoc ~S""" This module specifies the Dict API expected to be implemented by different dictionaries. It also provides functions that redirect to the underlying Dict, allowing a developer to work with different Dict implementations using one API. To create a new dict, use the `new` ...
25.496413
80
0.5572
3f62cc2d0516a6e0e1d6738b3a88aa7c3afbcdc4
1,916
exs
Elixir
config/dev.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
config/dev.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
config/dev.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :hello, HelloWeb.Endpoint, http: [port: 4000],...
32.474576
170
0.700939
3f62d56821acc449f80ee721a29725e09be99f49
424
ex
Elixir
lib/react_chatroom_web/schema.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
lib/react_chatroom_web/schema.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
lib/react_chatroom_web/schema.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
defmodule ReactChatroomWeb.Schema do use Absinthe.Schema import_types(ReactChatroomWeb.Schema.Account) import_types(ReactChatroomWeb.Schema.Room) import_types(ReactChatroomWeb.Schema.Message) query do import_fields(:room_queries) import_fields(:message_queries) end mutation do import_fields...
22.315789
47
0.792453
3f62e44d021ddf5e76b5740602da7bc0b7dfcc81
148
exs
Elixir
apps/definition_kafka/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/definition_kafka/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/definition_kafka/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
use Mix.Config config :definition_kafka, divo: [DivoKafka], divo_wait: [dwell: 700, max_tries: 50] config :dlq, Dlq.Application, init?: false
18.5
42
0.722973
3f63108ba59427b8d5151dbaf7170f1606f85995
1,703
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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 "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...
32.75
78
0.733412
3f63570e71efca572fc0bd87f5f3029ae6093ffa
3,578
ex
Elixir
lib/autoformatbot.ex
maltoe/autoformatbot.ex
cedcf5471165eefe133f9ff6a71c8a91c0ddbcc3
[ "MIT" ]
null
null
null
lib/autoformatbot.ex
maltoe/autoformatbot.ex
cedcf5471165eefe133f9ff6a71c8a91c0ddbcc3
[ "MIT" ]
null
null
null
lib/autoformatbot.ex
maltoe/autoformatbot.ex
cedcf5471165eefe133f9ff6a71c8a91c0ddbcc3
[ "MIT" ]
null
null
null
defmodule Autoformatbot do @moduledoc """ Documentation for Autoformatbot. """ require Logger import Autoformatbot.Utils alias Autoformatbot.{Adapter, Configuration, Token} def call do Logger.info("autoformatbot start") [ {:config, &Configuration.get/1}, &prevent_infinite_loop/1, ...
28.173228
98
0.614589
3f635bb4da7b850e5e4ee5cd0f9fc7da9ff13a07
71
exs
Elixir
test/test_helper.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
test/test_helper.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
test/test_helper.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(AcmeBank.Repo, :manual)
17.75
54
0.774648
3f636167f5bbe800aced91d903ce0560f52de500
5,452
ex
Elixir
builder/lib/quenya_builder/generators/api_router.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
null
null
null
builder/lib/quenya_builder/generators/api_router.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
null
null
null
builder/lib/quenya_builder/generators/api_router.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
1
2020-12-10T11:50:14.000Z
2020-12-10T11:50:14.000Z
defmodule QuenyaBuilder.Generator.ApiRouter do @moduledoc """ Generate Plug router based on OAPIv3 spec """ require DynamicModule alias QuenyaBuilder.Generator.{ Config, RequestValidator, ResponseValidator, FakeHandler, UnitTest } alias QuenyaBuilder.{Security, Util} def gen(root,...
27.396985
97
0.636831
3f638a1c5cad52737268bd22aa1a00facc652aa8
4,713
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_gateway.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_gateway.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/vpn_gateway.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...
58.185185
490
0.7108
3f63a9255207dac1b0c48a7f87cbe889f3b520ac
1,111
ex
Elixir
lib/gateway/transports/server_sent_events/encoder.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
lib/gateway/transports/server_sent_events/encoder.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
lib/gateway/transports/server_sent_events/encoder.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule Gateway.Transports.ServerSentEvents.Encoder do @moduledoc """ SSE-protocol encoding of messages ready to be sent over the wire. """ @doc false def format(msg = %Phoenix.Socket.Message{}) do format_id(msg) <> format_event(msg) <> format_data(msg) <> "\n" end def format(:heartbea...
30.861111
87
0.667867
3f63b59d0e0e32ec093db0375c57754b4e8ba9d7
7,297
ex
Elixir
apps/aevm/lib/memory.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aevm/lib/memory.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aevm/lib/memory.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule Memory do @moduledoc """ Module for working with the VM's internal memory. The VM's internal memory is indexed (chunked) every 32 bytes, thus represented with a mapping between index and a 32-byte integer (word). Data from the memory can be accessed at byte level. """ use Bitwise @chunk_si...
29.423387
94
0.679183
3f63b876e658fbf1bd33faccb57962cdc016fb9e
1,133
exs
Elixir
config/config.exs
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
10
2018-11-26T09:00:49.000Z
2022-02-24T06:08:37.000Z
config/config.exs
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
null
null
null
config/config.exs
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.548387
73
0.751986
3f63d3d90a1e49a1b36707b06ab48dcae54b6261
7,650
exs
Elixir
test/lib/timber/logger_backends/http_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/logger_backends/http_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/logger_backends/http_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Timber.LoggerBackends.HTTPTest do use Timber.TestCase alias Timber.FakeHTTPClient alias Timber.LogEntry alias Timber.LoggerBackends.HTTP setup do {:ok, state} = HTTP.init(HTTP, [http_client: FakeHTTPClient]) {:ok, state: state} end describe "Timber.LoggerBackends.HTTP.init/1" do ...
36.255924
160
0.640784
3f63dbc23292ff1304bbe4fa98c871f589d3ce14
206
exs
Elixir
test/mcf_phoenix_web/controllers/page_controller_test.exs
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
test/mcf_phoenix_web/controllers/page_controller_test.exs
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
test/mcf_phoenix_web/controllers/page_controller_test.exs
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
defmodule McfPhoenixWeb.PageControllerTest do use McfPhoenixWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.888889
60
0.68932
3f63e0d0002af7be4c31a93e365d7eef6abf4dd1
1,227
exs
Elixir
apps/language_server/test/providers/implementation_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/language_server/test/providers/implementation_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/language_server/test/providers/implementation_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
defmodule ElixirLS.LanguageServer.Providers.ImplementationTest do use ExUnit.Case, async: true alias ElixirLS.LanguageServer.Providers.Implementation alias ElixirLS.LanguageServer.Protocol.Location alias ElixirLS.LanguageServer.SourceFile alias ElixirLS.LanguageServer.Test.FixtureHelpers require ElixirLS.T...
34.083333
78
0.661777
3f63f4ca59bd986f1a36db72fb8a2551c62dc32c
1,519
exs
Elixir
apps/game_of_life/test/game_of_life/simulation_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/game_of_life/test/game_of_life/simulation_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/game_of_life/test/game_of_life/simulation_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule GameOfLife.SimulationTest do use ExUnit.Case, async: true alias Sim.Torus, as: Grid alias GameOfLife.Simulation # https://de.wikipedia.org/wiki/Conways_Spiel_des_Lebens#Die_Spielregeln # https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Rules test "Any dead cell with exactly three live neig...
26.189655
104
0.633311
3f6417dde624ba11b06fd51d7df7ae85730a57b9
602
exs
Elixir
mix.exs
chrissphinx/exchess
95b471947bc5406d2acdcfa599faff9f9a10f392
[ "MIT" ]
1
2015-01-06T15:55:39.000Z
2015-01-06T15:55:39.000Z
mix.exs
chrissphinx/exchess
95b471947bc5406d2acdcfa599faff9f9a10f392
[ "MIT" ]
null
null
null
mix.exs
chrissphinx/exchess
95b471947bc5406d2acdcfa599faff9f9a10f392
[ "MIT" ]
null
null
null
defmodule Chat.Mixfile do use Mix.Project def project do [app: :chat, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: ["lib", "web"], compilers: [:phoenix] ++ Mix.compilers, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more inf...
20.758621
52
0.599668
3f642dce7f22f8613ae555320fe5cc08b198e47e
60
ex
Elixir
lib/smile_web/views/session_view.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
null
null
null
lib/smile_web/views/session_view.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
1
2021-05-11T13:24:22.000Z
2021-05-11T13:24:22.000Z
lib/smile_web/views/session_view.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
null
null
null
defmodule SmileWeb.SessionView do use SmileWeb, :view end
15
33
0.8
3f645f0e14e0607c27743952f2ec8cbdf636888b
2,016
ex
Elixir
lib/freshcom/core/request.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
lib/freshcom/core/request.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
lib/freshcom/core/request.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule Freshcom.Request do @moduledoc """ Use this module to wrap and modify request data to pass in to API functions. ## Fields - `requester_id` - The user's ID that is making this request. - `client_id` - The app's ID that is making the request on behalf of the user. - `account_id` - The target accou...
34.758621
163
0.667659
3f646fe59fb93909b5fb2ea65fb0dd649020ab45
1,538
ex
Elixir
src/lib/ivan_web/views/error_helpers.ex
ivanrosolen/how-to-elixir-phoenix
0ee910a1662e5c6cc1a6c781be6eeef99839badb
[ "MIT" ]
null
null
null
src/lib/ivan_web/views/error_helpers.ex
ivanrosolen/how-to-elixir-phoenix
0ee910a1662e5c6cc1a6c781be6eeef99839badb
[ "MIT" ]
null
null
null
src/lib/ivan_web/views/error_helpers.ex
ivanrosolen/how-to-elixir-phoenix
0ee910a1662e5c6cc1a6c781be6eeef99839badb
[ "MIT" ]
null
null
null
defmodule IvanWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:sp...
32.041667
73
0.663199
3f64be50f8a088dd0c15022a4e13e4eea32f3719
7,753
exs
Elixir
test/omise/event_test.exs
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
12
2016-09-10T16:17:32.000Z
2020-06-04T01:35:54.000Z
test/omise/event_test.exs
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
8
2016-09-19T05:36:27.000Z
2020-09-14T08:46:06.000Z
test/omise/event_test.exs
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
10
2016-07-19T05:03:01.000Z
2021-02-08T03:20:54.000Z
defmodule Omise.EventTest do use Omise.TestCase, async: true alias Omise.Event setup do: set_fixture_dir("event") describe "list/2" do test "lists all events" do use_cassette "list_events" do assert Event.list(limit: 2, order: "reverse_chronological") == {:ok, ...
43.312849
94
0.373404
3f64c7a367d43c326422211ea761e98ba87e49f6
4,478
exs
Elixir
.credo.exs
philosodad/mogrexfy
a3ae224d3b571b67ab4dfa322f8e2b79a45e2860
[ "MIT" ]
38
2016-11-22T17:02:05.000Z
2021-11-18T07:49:08.000Z
.credo.exs
philosodad/mogrexfy
a3ae224d3b571b67ab4dfa322f8e2b79a45e2860
[ "MIT" ]
22
2017-08-03T09:48:25.000Z
2021-04-22T14:04:23.000Z
.credo.exs
philosodad/mogrexfy
a3ae224d3b571b67ab4dfa322f8e2b79a45e2860
[ "MIT" ]
16
2017-08-03T09:42:49.000Z
2021-09-06T03:00:37.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
40.709091
81
0.657213
3f64f171af4e3d2cb32fd17d90b646851a9f663c
7,674
ex
Elixir
lib/okta/oidc.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
7
2021-07-19T10:41:43.000Z
2022-02-23T20:56:51.000Z
lib/okta/oidc.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
10
2019-08-18T11:31:43.000Z
2019-09-24T18:12:24.000Z
lib/okta/oidc.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
2
2019-08-08T08:22:10.000Z
2019-09-06T06:54:43.000Z
defmodule Okta.OIDC do @moduledoc """ The `Okta.OIDC` module provides access methods to the [Okta OpenID Connect & OAuth 2.0 API](https://developer.okta.com/docs/reference/api/oidc/). All methods require a Tesla Client struct created with `Okta.OIDC.client`. This client uses [client authentication](https://dev...
43.11236
267
0.703414
3f64fa9b1b8f8b3824b81e46668a604927e33950
2,215
ex
Elixir
deps/bcrypt_elixir/lib/bcrypt/stats.ex
Abninho92/RocketseatNLW2021-Rocketpay
3e492bf582148202a215f6a26e6c0890ed9a0e23
[ "MIT" ]
1
2021-02-24T13:06:18.000Z
2021-02-24T13:06:18.000Z
deps/bcrypt_elixir/lib/bcrypt/stats.ex
gleidsonduarte/rocketseat-rocketpay-phoenix-elixir-postgres
300e0b34e0179380f56a8c6cae707722d9c4d8d0
[ "MIT" ]
null
null
null
deps/bcrypt_elixir/lib/bcrypt/stats.ex
gleidsonduarte/rocketseat-rocketpay-phoenix-elixir-postgres
300e0b34e0179380f56a8c6cae707722d9c4d8d0
[ "MIT" ]
null
null
null
defmodule Bcrypt.Stats do @moduledoc """ Module to provide statistics for the Bcrypt password hashing function. The `report` function in this module can be used to help you configure Bcrypt. ## Configuration There is one configuration option for Bcrypt - log_rounds. Increasing this value will increase ...
32.101449
83
0.708352
3f651187f88aba4fec9aee1f0497797e4ce6a728
303
exs
Elixir
test/deviant_art_test.exs
vdaniuk/deviant-elixir
5c5ca8fbd931157246a54f6bc1e07bf3d8ed19b3
[ "MIT" ]
null
null
null
test/deviant_art_test.exs
vdaniuk/deviant-elixir
5c5ca8fbd931157246a54f6bc1e07bf3d8ed19b3
[ "MIT" ]
null
null
null
test/deviant_art_test.exs
vdaniuk/deviant-elixir
5c5ca8fbd931157246a54f6bc1e07bf3d8ed19b3
[ "MIT" ]
null
null
null
defmodule DeviantArtTest do use ExUnit.Case doctest DeviantArt test "DA docs example rss query" do {:ok, feed} = DeviantArt.rss(%{query: "frogs", category: "digitalart/drawings", sort: "boost:popular+in"}) assert feed.title == "DeviantArt: Popular In:digitalart/drawings frogs" end end
30.3
110
0.719472
3f6572c2521f9a7f852f2cea037755e5c0e00c75
155
ex
Elixir
lib/slack_coder/build_system/semaphore.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
lib/slack_coder/build_system/semaphore.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
lib/slack_coder/build_system/semaphore.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.BuildSystem.Semaphore do def build_info(_owner, _repo, _build_id) do [] end def job_log(_build, _pr) do nil end end
14.090909
45
0.703226
3f658d2aade9438c8fce8c835026f0bd2224cf9e
6,431
ex
Elixir
lib/amqp/exchange.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
688
2015-01-14T14:40:25.000Z
2022-03-20T11:54:49.000Z
lib/amqp/exchange.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
180
2015-03-18T18:57:32.000Z
2022-03-14T13:12:30.000Z
lib/amqp/exchange.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
170
2015-04-18T13:54:35.000Z
2022-03-04T09:59:49.000Z
defmodule AMQP.Exchange do @moduledoc """ Functions to operate on Exchanges. """ import AMQP.Core alias AMQP.{Basic, Channel} @doc """ Declares an Exchange. The default Exchange type is `direct`. AMQP 0-9-1 brokers provide four pre-declared exchanges: * `:direct` exchange: (empty string) or `am...
30.334906
92
0.636604
3f65b0ec55247996f834fb68b6c807140db2c0da
12,000
ex
Elixir
lib/distillery/tasks/release.ex
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
lib/distillery/tasks/release.ex
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
lib/distillery/tasks/release.ex
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Release do @moduledoc """ Build a release for the current mix application. ## Command line options * `--name` - selects a specific release to build * `--env` - selects a specific release environment to build with * `--profile` - selects both a release and environment, synt...
33.613445
96
0.640083
3f65b1ed03d2e74609fb6055b350fed9a50b727f
456
ex
Elixir
lib/slack_throttle/queue/supervisor.ex
jh2/slack_throttle
bfe2c6a5d9be5189e644210e3b9b6c4882bac886
[ "MIT" ]
1
2017-06-30T03:42:27.000Z
2017-06-30T03:42:27.000Z
lib/slack_throttle/queue/supervisor.ex
jh2/slack_throttle
bfe2c6a5d9be5189e644210e3b9b6c4882bac886
[ "MIT" ]
null
null
null
lib/slack_throttle/queue/supervisor.ex
jh2/slack_throttle
bfe2c6a5d9be5189e644210e3b9b6c4882bac886
[ "MIT" ]
null
null
null
defmodule SlackThrottle.Queue.Supervisor do @moduledoc false use Supervisor @name SlackThrottle.Queue.Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok, name: @name) end def start_queue(token) do Supervisor.start_child(@name, [token]) end def init(:ok) do children = [ ...
19.826087
65
0.710526
3f65ccc89001538c9afc97e48eb0533c01a969f1
1,505
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant_map.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant_map.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant_map.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2018 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...
29.509804
81
0.72691
3f65ceb3c4a5f494910b484b4ae337cac6da1bb6
2,759
ex
Elixir
lib/dawdle/backend/sqs.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
9
2019-08-30T19:10:36.000Z
2021-08-23T13:12:03.000Z
lib/dawdle/backend/sqs.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
35
2019-03-06T17:23:17.000Z
2020-01-31T00:12:03.000Z
lib/dawdle/backend/sqs.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
4
2020-11-30T20:33:28.000Z
2021-07-23T14:58:27.000Z
defmodule Dawdle.Backend.SQS do @moduledoc """ Implementation of the `Dawdle.Backend` behaviour for Amazon SQS. """ use ModuleConfig, otp_app: :dawdle alias ExAws.SQS require Logger @behaviour Dawdle.Backend @impl true def init, do: :ok @impl true def queue, do: get_config(:queue_url) @im...
20.744361
80
0.579558
3f65de524670c7b9c5d9f0eebfa9f2555d108c66
1,353
exs
Elixir
installer/templates/quenya_umbrella/apps/app_name/mix.exs
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
installer/templates/quenya_umbrella/apps/app_name/mix.exs
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
installer/templates/quenya_umbrella/apps/app_name/mix.exs
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule <%= @app_module %>.MixProject do use Mix.Project def project do [ app: :<%= @app_name %>, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.11", elixi...
24.160714
87
0.560976
3f662153418cdf4066207655a9acfcab797b87ae
32,537
exs
Elixir
lib/elixir/test/elixir/macro_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/elixir/test/elixir/macro_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/test/elixir/macro_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule Macro.ExternalTest do defmacro external do line = 18 file = __ENV__.file ^line = __CALLER__.line ^file = __CALLER__.file ^line = Macro.Env.location(__CALLER__)[:line] ^file = Macro.Env.location(__CALLER__)[:file] end defmacro oror(l...
31.135885
98
0.507699
3f663c95d347443433f94a8aad8cc88e94241e3e
384
ex
Elixir
lib/telcofinder_web/views/error_view.ex
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
lib/telcofinder_web/views/error_view.ex
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
lib/telcofinder_web/views/error_view.ex
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
defmodule TelcofinderWeb.ErrorView do use TelcofinderWeb, :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_found(...
21.333333
47
0.708333
3f66491d2c5e6ded2356d8d7863e5abf6ce4c942
4,729
exs
Elixir
apps/tai/test/tai/orders/amend_bulk_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/orders/amend_bulk_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/orders/amend_bulk_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Orders.AmendBulkTest do use Tai.TestSupport.DataCase, async: false alias Mocks.Responses.Orders.GoodTillCancel @venue_order_id "df8e6bd0-a40a-42fb-8fea-b33ef4e34f14" @pending_venue_order_id "df8e6bd0-a40a-42fb-8fea-pending" @venue :venue_a @credential :main @credentials Map.put(%{}, @creden...
36.099237
105
0.63967
3f669577dbc8ffb85d6aef4f043c195b34882236
421
ex
Elixir
01elixirtut_basis_datatypes.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
01elixirtut_basis_datatypes.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
01elixirtut_basis_datatypes.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
# basic_data_types defmodule M do def main do data_stuff() end def data_stuff do my_int = 123 IO.puts "Integer #{is_integer(my_int)}" my_float = 3.14159 IO.puts "Float #{is_float(my_float)}" IO.puts "Atom #{is_atom(:Pittsburgh)}" #Use double quotes ffor spaces...
19.136364
43
0.593824
3f66ba6993ad12a4eea1aeb73e282c80d202b05d
1,437
ex
Elixir
lib/stellar/trade_aggregations.ex
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
25
2018-01-23T13:56:28.000Z
2021-11-08T08:10:53.000Z
lib/stellar/trade_aggregations.ex
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
91
2018-01-30T20:10:44.000Z
2022-01-12T19:50:24.000Z
lib/stellar/trade_aggregations.ex
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
5
2018-04-17T15:08:26.000Z
2019-08-07T19:08:49.000Z
defmodule Stellar.TradeAggregations do @moduledoc """ Functions for interacting with TradeAggregations """ alias Stellar.Base @doc """ Returns trade aggregations meeting the given parameters optional `params` can take any of the following: * `start_time`: lower time boundary represented as millis sin...
35.04878
178
0.718163
3f6700b2a55854a4a5146f907ef8975480356225
488
exs
Elixir
mix.exs
the-mikedavis/pwn
cd33daa75a8b14cd085cd0448b976eaec49edf5d
[ "MIT" ]
null
null
null
mix.exs
the-mikedavis/pwn
cd33daa75a8b14cd085cd0448b976eaec49edf5d
[ "MIT" ]
null
null
null
mix.exs
the-mikedavis/pwn
cd33daa75a8b14cd085cd0448b976eaec49edf5d
[ "MIT" ]
null
null
null
defmodule Pwn.MixProject do use Mix.Project def project do [ app: :pwn, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, preferred_cli_env: [bless: :test], test_coverage: [tool: ExCoveralls], deps: deps() ] end def application do []...
17.428571
45
0.512295
3f67145c4a51741097c9a921b8df63d556901536
2,814
ex
Elixir
lib/day_10_knot_hash.ex
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
1
2018-11-26T11:34:41.000Z
2018-11-26T11:34:41.000Z
lib/day_10_knot_hash.ex
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
null
null
null
lib/day_10_knot_hash.ex
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
1
2018-01-23T08:12:26.000Z
2018-01-23T08:12:26.000Z
defmodule Adventofcode.Day10KnotHash do require Bitwise defstruct current: 0, skip: 0, size: 255, lengths: [], values: {} def first_two_sum(input, list_size \\ 256) do input |> build_lengths |> new(list_size) |> process_recursively |> sum_of_first_two end def knot_hash(input) do inp...
27.588235
83
0.661336
3f677244a8cb20e98dafc94cc2923d80c0e972cf
31,250
ex
Elixir
lib/redix.ex
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
null
null
null
lib/redix.ex
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
null
null
null
lib/redix.ex
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
null
null
null
defmodule Redix do @moduledoc """ This module provides the main API to interface with Redis. ## Overview `start_link/2` starts a process that connects to Redis. Each Elixir process started with this function maps to a client TCP connection to the specified Redis server. The architecture is very simple:...
39.961637
118
0.681664
3f6781f284347fcc26dd14464db2fedbffaec626
3,071
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template_field.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template_field.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template_field.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...
45.835821
311
0.729404
3f678d57df26cdbaa0070232d02463f9f610085a
41,651
exs
Elixir
test/ecto/repo_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
test/ecto/repo_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
test/ecto/repo_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.RepoTest do use ExUnit.Case, async: true import Ecto.Query import Ecto, only: [put_meta: 2] require Ecto.TestRepo, as: TestRepo defmodule MyParent do use Ecto.Schema @schema_prefix "private" schema "my_parent" do field :n, :integer end def changeset(struct, params...
34.942114
119
0.63331
3f67a2a9972ca5373dc58dd81604380fc58ecc41
356
exs
Elixir
priv/repo/migrations/20210416132337_create_wallet_hunters_relays_quota.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20210416132337_create_wallet_hunters_relays_quota.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20210416132337_create_wallet_hunters_relays_quota.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.CreateWalletHuntersRelaysQuota do use Ecto.Migration def change do create table(:wallet_hunters_relays_quota) do add(:proposals_used, :integer) add(:user_id, references(:users, on_delete: :delete_all)) timestamps() end create(index(:wallet_hunters_r...
23.733333
67
0.733146
3f67e2bbadc7942363beaa04dc137062f4e3c4b2
11,491
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/api/histories.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/api/histories.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/api/histories.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "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.785455
196
0.632321
3f67fb10dea7ab2d20956f2efd102546c590c943
26,953
ex
Elixir
lib/brando/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Query do @moduledoc """ Query macros to DRY up contexts # Mutations ``` mutation :create, Post mutation :update, Post mutation :delete, Post mutation :duplicate, { Post, change_fields: [:title], delete_fields: [:comments], merge_fiel...
29.233189
153
0.589322
3f6820c0a344418110f2cc4c9fb323a10b1e1369
869
exs
Elixir
mix.exs
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
mix.exs
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
mix.exs
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
defmodule AmazonProductAdvertisingClient.Mixfile do use Mix.Project def project do [app: :amazon_product_advertising_client, version: "0.2.2", elixir: "~> 1.4", description: "An Amazon Product Advertising API client for Elixir", package: package(), deps: deps()] end def applicatio...
24.828571
101
0.616801
3f6825b1f5ee1ffdb0b620d55c8f72bdec0fa9d5
676
exs
Elixir
test/suite/draft7/minimum_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft7/minimum_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft7/minimum_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
defmodule Draft7.MinimumTest do use ExUnit.Case, async: true import Xema, only: [valid?: 2] describe "minimum validation" do setup do %{schema: Xema.new(minimum: 1.1)} end test "above the minimum is valid", %{schema: schema} do data = 2.6 assert valid?(schema, data) end t...
21.125
61
0.60503
3f68722d1c0f4b9273fa2fd4c1cdda8c5502e462
1,115
exs
Elixir
lib/mix/test/mix/tasks/run_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/run_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/run_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.RunTest do use MixTest.Case defmodule GetApp do def project do [ app: :get_app, version: "0.1.0", deps: [ { :git_repo, "0.1.0", git: MixTest.Case.fixture_path("git_repo") } ] ] end end test ...
25.930233
79
0.620628
3f687b8d3855df9b547f3a8cb742cd6a375dccd0
1,979
exs
Elixir
config/prod.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
config/prod.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
config/prod.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
35.339286
67
0.713997
3f6880b79a429199c86d8f517685e700207e62a7
2,464
ex
Elixir
clients/content/lib/google_api/content/v21/model/order_pickup_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_pickup_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_pickup_details.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...
39.111111
249
0.716315
3f68902e871d6d5b992cc4662975936ccffa13cc
1,895
exs
Elixir
clients/web_security_scanner/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/mix.exs
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...
28.283582
115
0.66438
3f689dfa8990a8b3e4421d7c7f564826085a5d9a
1,368
ex
Elixir
test/support/data_case.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
9
2019-02-22T10:33:28.000Z
2021-02-27T20:26:03.000Z
test/support/data_case.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
11
2019-04-02T19:21:25.000Z
2022-01-05T23:22:04.000Z
test/support/data_case.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
6
2019-03-07T15:54:30.000Z
2020-03-26T02:33:40.000Z
defmodule Espy.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test ru...
25.333333
77
0.67617
3f68a35126e9d614b700e864d1729a0e321ed130
615
exs
Elixir
apps/omg_eth/config/test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_eth/config/test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/config/test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
use Mix.Config # bumping these timeouts into infinity - let's rely on test timeouts rather than these config :ethereumex, url: "http://localhost:8545", http_options: [recv_timeout: :infinity] config :omg_eth, client_monitor_interval_ms: 10, environment: :test, exit_period_seconds: 22, # an entry to fix a ...
36.176471
118
0.736585
3f68aa231fa49ca069fa1cc610573ab36f1f6827
3,133
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pubprofiles.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pubprofiles.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pubprofiles.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
42.917808
217
0.719438
3f68ca836c72bfc4f04f07762cc021d6f49b65c7
12,929
ex
Elixir
api/deps/plug/lib/plug/ssl.ex
makao95/scrumpoker
de235a049a360612cde23ae5992375cb01a7feba
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
api/deps/plug/lib/plug/ssl.ex
makao95/scrumpoker
de235a049a360612cde23ae5992375cb01a7feba
[ "MIT" ]
null
null
null
api/deps/plug/lib/plug/ssl.ex
makao95/scrumpoker
de235a049a360612cde23ae5992375cb01a7feba
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Plug.SSL do @moduledoc """ A plug to force SSL connections and enable HSTS. If the scheme of a request is `https`, it'll add a `strict-transport-security` header to enable HTTP Strict Transport Security by default. Otherwise, the request will be redirected to a corresponding location with the `h...
33.066496
106
0.681723
3f68ce299887bcb0560645aab539659f9b390205
1,732
ex
Elixir
apps/sim/lib/sim/object/grid.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/sim/lib/sim/object/grid.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/sim/lib/sim/object/grid.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule Sim.Grid do alias Sim.Grid def create(width, height, default \\ nil) def create(width, height, func) when is_function(func) do 0..(width - 1) |> Map.new(fn x -> {x, 0..(height - 1) |> Map.new(fn y -> {y, func.(x, y)} end)} end) end def create(width,...
25.101449
99
0.569861
3f68d735b02ced0b26a486af9a5f32f5a5902aae
4,663
ex
Elixir
lib/mix/tasks/phx.gen.notifier.ex
rafaelbiten/phoenix
d1cc7c0fd06c0a2484197a49c36cc27085c0c2e6
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.gen.notifier.ex
rafaelbiten/phoenix
d1cc7c0fd06c0a2484197a49c36cc27085c0c2e6
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.gen.notifier.ex
rafaelbiten/phoenix
d1cc7c0fd06c0a2484197a49c36cc27085c0c2e6
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Gen.Notifier do @shortdoc "Generates a notifier that delivers emails by default" @moduledoc """ Generates a notifier that delivers emails by default. mix phx.gen.notifier Accounts User welcome_user reset_password confirmation_instructions This task expects a context module name,...
27.755952
142
0.676817
3f68fcbe8424c3c3d0243ae40b0778fb6b5883d9
4,939
exs
Elixir
test/mint/tunnel_proxy_test.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
test/mint/tunnel_proxy_test.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
test/mint/tunnel_proxy_test.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
defmodule Mint.TunnelProxyTest do use ExUnit.Case, async: true import Mint.HTTP1.TestHelpers alias Mint.HTTP @moduletag :proxy test "200 response - http://httpbin.org" do # Ensure we only match relevant messages send(self(), {:tcp, :not_my_socket, "DATA"}) assert {:ok, conn} = Mi...
36.051095
97
0.603766
3f68fda53c090efb9515ce95d8f7730bb0c91c6a
2,742
ex
Elixir
lib/Discord/Gateway/gateway.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
null
null
null
lib/Discord/Gateway/gateway.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
null
null
null
lib/Discord/Gateway/gateway.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
1
2020-07-01T08:34:17.000Z
2020-07-01T08:34:17.000Z
defmodule Alchemy.Discord.Gateway do @moduledoc false @behaviour :websocket_client alias Alchemy.Discord.Gateway.Manager import Alchemy.Discord.Payloads import Alchemy.Discord.Protocol require Logger defmodule State do @moduledoc false defstruct [:token, :shard, :trace, :session_id, :seq, :user_i...
30.466667
97
0.690007
3f691f8f3879c905a831606c07865601d3a64f7e
758
ex
Elixir
lib/phoenix_component_folders_web/gettext.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
30
2017-05-05T09:30:06.000Z
2021-03-29T15:08:02.000Z
lib/phoenix_component_folders_web/gettext.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
4
2017-05-01T18:53:57.000Z
2020-11-22T06:46:55.000Z
lib/phoenix_component_folders_web/gettext.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
7
2017-11-09T06:34:07.000Z
2021-03-01T20:14:18.000Z
defmodule PhoenixComponentFoldersWeb.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 PhoenixComponentFoldersWeb.Gettext # Simple tran...
30.32
72
0.701847
3f69591a4f92b1515902f36b45e9533d09f1ccc0
74
ex
Elixir
lib/crit_web/views/reports/animal_report_view.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
lib/crit_web/views/reports/animal_report_view.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
lib/crit_web/views/reports/animal_report_view.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritWeb.Reports.AnimalReportView do use CritWeb, :view end
14.8
45
0.783784
3f69747f10eda1c1befa4f69c2c03cba131ea2f4
964
ex
Elixir
lib/my_sensors/node.ex
ConnorRigby/my_sensors
25296a7e5629b58462576f7c8042bb15c1a0f7e7
[ "MIT" ]
6
2018-02-21T21:13:24.000Z
2020-07-06T12:18:24.000Z
lib/my_sensors/node.ex
ConnorRigby/my_sensors
25296a7e5629b58462576f7c8042bb15c1a0f7e7
[ "MIT" ]
2
2018-02-09T22:04:46.000Z
2018-10-09T16:34:00.000Z
lib/my_sensors/node.ex
ConnorRigby/my_sensors
25296a7e5629b58462576f7c8042bb15c1a0f7e7
[ "MIT" ]
1
2018-02-09T20:29:09.000Z
2018-02-09T20:29:09.000Z
defmodule MySensors.Node do @moduledoc "Node Object" alias MySensors.Sensor use Ecto.Schema import Ecto.Changeset schema "nodes" do field(:name, :string) field(:battery_level, :float) field(:protocol, :string) field(:sketch_name, :string) field(:sketch_version, :string) field(:config...
21.422222
64
0.595436
3f699d72dd486016b426da0db9856a523db71932
106
ex
Elixir
lib/mongo/encoder.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
140
2019-04-10T09:23:53.000Z
2022-03-27T12:37:02.000Z
lib/mongo/encoder.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
99
2019-04-11T07:46:45.000Z
2022-03-31T07:23:28.000Z
lib/mongo/encoder.ex
Fudoshiki/elixir-mongodb-driver
28273e2e0bb9ef0cf9a4bb48aed17336446257f6
[ "Apache-2.0" ]
45
2019-07-15T07:06:21.000Z
2021-11-24T09:23:21.000Z
defprotocol Mongo.Encoder do @fallback_to_any false @spec encode(t) :: map() def encode(value) end
15.142857
28
0.716981
3f69a9a663cdfe297249ee0c277270be81c90319
3,172
exs
Elixir
test/strategy/epmd_test.exs
ArcticGizmo/liason
c51e1d88d94067c709eb5d46b177d4aa104a3daf
[ "MIT" ]
null
null
null
test/strategy/epmd_test.exs
ArcticGizmo/liason
c51e1d88d94067c709eb5d46b177d4aa104a3daf
[ "MIT" ]
null
null
null
test/strategy/epmd_test.exs
ArcticGizmo/liason
c51e1d88d94067c709eb5d46b177d4aa104a3daf
[ "MIT" ]
null
null
null
defmodule Liaison.Strategy.Epmd.Test do alias Liaison.Support.ClusterCase use ExUnit.Case def await(seconds) do :timer.sleep(seconds * 1000) end setup do nodes = ClusterCase.spawn([:test1, :test2]) on_exit(fn -> ClusterCase.stop_all() end) [nodes: nodes] end describe "Liaiso...
28.070796
89
0.630517
3f69d01afe7048d82d9e577679e51961b7f84387
515
ex
Elixir
lib/titeenipeli/model/guild.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/model/guild.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/model/guild.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
defmodule Titeenipeli.Model.Guild do use Ecto.Schema import Ecto.Changeset alias Titeenipeli.Model.User alias Titeenipeli.Model.Solution schema "guilds" do field :logo_url, :string field :name, :string timestamps() has_many :users, User, foreign_key: :guild_id has_many :solutions, Solut...
21.458333
57
0.691262
3f69dbc1091b257057fb5a43ac2883b0bbdfa3e2
3,092
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
41.783784
155
0.678202
3f69e00048d5b114eb71eed7f30d19f2a2f95ede
18,866
ex
Elixir
lib/elixir/lib/regex.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
defmodule Regex do @moduledoc ~S""" Regular expressions for Elixir built on top of Erlang's `re` module. As the `re` module, Regex is based on PCRE (Perl Compatible Regular Expressions). More information can be found in the [`re` documentation](http://www.erlang.org/doc/man/re.html). Regular expressions i...
29.386293
113
0.618361
3f69edebbd213a11db042b913086fc7fdc1d1474
12,072
ex
Elixir
lib/absinthe/pipeline.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
defmodule Absinthe.Pipeline do @moduledoc """ Execute a pipeline of phases. A pipeline is merely a list of phases. This module contains functions for building, modifying, and executing pipelines of phases. """ alias Absinthe.Phase require Logger @type data_t :: any @type phase_config_t :: Phase.t...
29.588235
88
0.649188
3f6a03c99860616d522b1c7c24b08023b1077245
1,547
exs
Elixir
apps/omg_eth/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_eth/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_eth/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
defmodule OMG.Eth.MixProject do use Mix.Project require Logger def project() do [ app: :omg_eth, version: version(), build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", elix...
25.783333
78
0.55139
3f6a09ebf6eea214c14289091ad0605fcc2f0437
1,656
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/disk_encryption_configuration.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/disk_encryption_configuration.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/disk_encryption_configuration.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...
33.12
104
0.733696
3f6a0b9c762fdffbb7dfbef8350af0806d0b840d
7,528
ex
Elixir
lib/csv/decoding/decoder.ex
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
464
2015-03-24T22:03:51.000Z
2022-03-31T06:24:40.000Z
lib/csv/decoding/decoder.ex
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
104
2015-03-25T09:52:34.000Z
2022-03-11T11:22:47.000Z
lib/csv/decoding/decoder.ex
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
93
2015-03-25T08:58:00.000Z
2021-12-08T19:44:45.000Z
defmodule CSV.Decoding.Decoder do @moduledoc ~S""" The Decoder CSV module sends lines of delimited values from a stream to the parser and converts rows coming from the CSV parser module to a consumable stream. In setup, it parallelises lexing and parsing, as well as different lexer/parser pairs as workers. Th...
32.309013
88
0.593518
3f6a40d9f11b49967f1988bbe84357c4534f4670
2,767
exs
Elixir
test/ex_football/competition_test.exs
thienlhh/ex_football
2bfac55b762854b0c85530123eae24a397709820
[ "MIT" ]
1
2019-02-11T20:50:35.000Z
2019-02-11T20:50:35.000Z
test/ex_football/competition_test.exs
thienlhh/ex_football
2bfac55b762854b0c85530123eae24a397709820
[ "MIT" ]
null
null
null
test/ex_football/competition_test.exs
thienlhh/ex_football
2bfac55b762854b0c85530123eae24a397709820
[ "MIT" ]
null
null
null
defmodule ExFootball.CompetitionTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do {:ok, client: ExFootball.Client.new("api_token")} end describe "all!/2" do test "return all competetions", context do use_cassette "competition.all!1" do res...
30.076087
140
0.645103
3f6a53062919837784d902d227980e8b9f4f5e54
4,898
ex
Elixir
lib/appsignal/transaction/registry.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
lib/appsignal/transaction/registry.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
lib/appsignal/transaction/registry.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
defmodule Appsignal.TransactionRegistry do @moduledoc """ Internal module which keeps a registry of the transaction handles linked to their originating process. This is used on various places to link a calling process to its transaction. For instance, the `Appsignal.ErrorHandler` module uses it to be able t...
25.378238
118
0.637811
3f6a6042162e51f3d1f841a76feea1a001e8d29d
1,585
ex
Elixir
apps/sim/lib/sim/grid.ex
psychedel/thundermoon-umbrella
b52cb59f1b55fe092ddc70fac7cf2f6e7890c9af
[ "MIT" ]
null
null
null
apps/sim/lib/sim/grid.ex
psychedel/thundermoon-umbrella
b52cb59f1b55fe092ddc70fac7cf2f6e7890c9af
[ "MIT" ]
null
null
null
apps/sim/lib/sim/grid.ex
psychedel/thundermoon-umbrella
b52cb59f1b55fe092ddc70fac7cf2f6e7890c9af
[ "MIT" ]
null
null
null
defmodule Sim.Grid do alias Sim.Grid def create(width, height, default \\ nil) def create(width, height, func) when is_function(func) do 0..(width - 1) |> Map.new(fn x -> {x, 0..(height - 1) |> Map.new(fn y -> {y, func.(x, y)} end)} end) end def create(width,...
25.15873
99
0.567823
3f6a6dff97050c1bfee4edbafa7b2e1f693c48bd
1,657
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/acl.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/acl.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/acl.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...
31.865385
131
0.735063
3f6aa018fd1e0db535570a6224d52fe690aabefc
1,161
ex
Elixir
hello/web/channels/user_socket.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
hello/web/channels/user_socket.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
hello/web/channels/user_socket.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule Hello.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", Hello.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentica...
30.552632
83
0.700258
3f6ac01947d924f4650b0040ff52f774fc5ceba3
1,183
ex
Elixir
test/support/channel_case.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
test/support/channel_case.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
29
2021-02-13T06:54:56.000Z
2021-06-06T09:55:36.000Z
test/support/channel_case.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
defmodule MinecraftControllerWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case...
28.853659
81
0.743872
3f6ac92615539ed77052abb40fa4e9eac8cdc3d8
4,207
ex
Elixir
lib/paidy/token.ex
shufo/paidy-elixir
7e61990209339cf01dc88504855b29402526c09f
[ "MIT" ]
2
2020-01-12T18:58:52.000Z
2021-01-18T09:50:41.000Z
lib/paidy/token.ex
shufo/paidy-elixir
7e61990209339cf01dc88504855b29402526c09f
[ "MIT" ]
46
2017-07-26T14:15:12.000Z
2021-08-02T20:39:53.000Z
lib/paidy/token.ex
shufo/paidy-elixir
7e61990209339cf01dc88504855b29402526c09f
[ "MIT" ]
null
null
null
defmodule Paidy.Token do @moduledoc """ API for working with Token at Paidy. Through this API you can: * suspend a token * resume a token * delete a token * get a token * get all tokens tokens for credit card allowing you to use instead of a credit card number in various operations. (API ref https:...
20.42233
99
0.613739
3f6ada02529ee3bb01473bbfbb852069c13ea17a
128
exs
Elixir
test/blinky_firmata_test.exs
nickveys/elixirconf-2016-blinky-firmata
1f722deeb38a55bd4759f648ab4af4812ad953ea
[ "Unlicense" ]
null
null
null
test/blinky_firmata_test.exs
nickveys/elixirconf-2016-blinky-firmata
1f722deeb38a55bd4759f648ab4af4812ad953ea
[ "Unlicense" ]
null
null
null
test/blinky_firmata_test.exs
nickveys/elixirconf-2016-blinky-firmata
1f722deeb38a55bd4759f648ab4af4812ad953ea
[ "Unlicense" ]
null
null
null
defmodule BlinkyFirmataTest do use ExUnit.Case doctest BlinkyFirmata test "the truth" do assert 1 + 1 == 2 end end
14.222222
30
0.703125
3f6b014f78a42965b0a6f48cef08b02f3902b239
940
exs
Elixir
mix.exs
unmzn/uinta
f40308ffb5491ecb313202d0478971ed63298e4a
[ "MIT" ]
null
null
null
mix.exs
unmzn/uinta
f40308ffb5491ecb313202d0478971ed63298e4a
[ "MIT" ]
null
null
null
mix.exs
unmzn/uinta
f40308ffb5491ecb313202d0478971ed63298e4a
[ "MIT" ]
null
null
null
defmodule Uinta.MixProject do use Mix.Project @project_url "https://github.com/podium/uinta" def project do [ app: :uinta, name: "Uinta", description: "Simpler structured logs and lower log volume for Elixir apps", version: "0.8.0", elixir: "~> 1.8", source_url: @project_...
18.431373
82
0.543617
3f6b0e97d522a44b577b86c21fcfc98a6906a3be
480
ex
Elixir
env.ex
adriano2teixeira/hublocal-backend
e0cc80d8aea20b6eaa36a77c8a75ae96f89e2b0a
[ "MIT" ]
null
null
null
env.ex
adriano2teixeira/hublocal-backend
e0cc80d8aea20b6eaa36a77c8a75ae96f89e2b0a
[ "MIT" ]
null
null
null
env.ex
adriano2teixeira/hublocal-backend
e0cc80d8aea20b6eaa36a77c8a75ae96f89e2b0a
[ "MIT" ]
null
null
null
# Environment variables declared in this file are automatically made available to Prisma. # See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server and MongoDB (Preview). # See t...
48
118
0.804167
3f6b1569d9f7e1bc8faf99f96c78d6f8a3ff6167
1,053
ex
Elixir
lib/slack_bot/plugin.ex
mtgto/Elixir-SlackBot
1598bcfffa062eb691e5b809fadbe58a4678a005
[ "MIT" ]
2
2015-12-11T18:51:49.000Z
2016-01-08T20:42:05.000Z
lib/slack_bot/plugin.ex
mtgto/Elixir-SlackBot
1598bcfffa062eb691e5b809fadbe58a4678a005
[ "MIT" ]
null
null
null
lib/slack_bot/plugin.ex
mtgto/Elixir-SlackBot
1598bcfffa062eb691e5b809fadbe58a4678a005
[ "MIT" ]
null
null
null
defmodule SlackBot.Plugin do @moduledoc """ Default plugin behaviour. See `example/sample_plugin.ex` for example plugin. """ use Behaviour defcallback init(any) :: {:ok, any} @doc """ Return plugin name. """ defcallback name :: String.t @doc """ Return the usage of the plugin. """ defca...
19.145455
109
0.620133
3f6b2f67df463192d66db48f3ff4531c2257dd27
2,681
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/instance_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/instance_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/instance_info.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.426471
118
0.683327
3f6b3618ee068e500d7058116cb6157d986de205
7,305
exs
Elixir
test/hmouse_test.exs
notexactlyawe/plug_hmouse
45a614739b03784a8bcbd046ef0b229ae170da35
[ "MIT" ]
1
2022-02-28T00:36:27.000Z
2022-02-28T00:36:27.000Z
test/hmouse_test.exs
notexactlyawe/plug_hmouse
45a614739b03784a8bcbd046ef0b229ae170da35
[ "MIT" ]
null
null
null
test/hmouse_test.exs
notexactlyawe/plug_hmouse
45a614739b03784a8bcbd046ef0b229ae170da35
[ "MIT" ]
1
2022-02-28T00:36:26.000Z
2022-02-28T00:36:26.000Z
defmodule PlugHMouseTest do use ExUnit.Case use Plug.Test @valid_options [validate: {"hmac-test", "MySecret-Key"}] @valid_hash_options @valid_options ++ [hash_algo: :sha256, digest: &Base.encode64/1] defmodule ErrorView do @behaviour PlugHMouse.RenderStrategy @behaviour PlugHMouse.ResponseStrategy ...
37.461538
169
0.669541
3f6b3dca40d98b7d8e920b7095c90961e609386b
739
ex
Elixir
lib/bitcoin/protocol/messages/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/protocol/messages/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/protocol/messages/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Protocol.Messages.Addr do @moduledoc """ Provide information on known nodes of the network. Non-advertised nodes should be forgotten after typically 3 hours. https://en.bitcoin.it/wiki/Protocol_documentation#addr """ alias Bitcoin.Protocol.Types.NetworkAddress import Bitcoin.Protoco...
23.09375
120
0.698241
3f6b765bc6e15700e56cc566cdd8996d2612c2e4
1,619
exs
Elixir
apps/definition_presto/test/presto/table/json/translator_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/definition_presto/test/presto/table/json/translator_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/definition_presto/test/presto/table/json/translator_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Presto.Table.Json.TranslatorTest do use ExUnit.Case import Checkov data_test "translate #{input} to json" do assert {:ok, output} == Presto.Table.Json.Translator.translate(type, input) where([ [:input, :output, :type], ["a string", "a string", Dictionary.Type.String.new!(name: "a n...
27.440678
83
0.56887
3f6b878dfbc57eed4734c3faca436cbef3a2455d
56
ex
Elixir
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/apps/foo/lib/foo.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/apps/foo/lib/foo.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/apps/foo/lib/foo.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Foo do def foo do "bye world" end end
9.333333
16
0.642857
3f6b97f40f701f231fae0e0f0fc331b18515eb34
80
exs
Elixir
.formatter.exs
myzillion/forcex
bcda13d8bd8ace50c146785a54e4f3be0bc642b7
[ "MIT" ]
null
null
null
.formatter.exs
myzillion/forcex
bcda13d8bd8ace50c146785a54e4f3be0bc642b7
[ "MIT" ]
4
2020-10-30T15:09:18.000Z
2020-12-16T20:44:28.000Z
.formatter.exs
myzillion/forcex
bcda13d8bd8ace50c146785a54e4f3be0bc642b7
[ "MIT" ]
null
null
null
[ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 95 ]
16
57
0.5375
3f6b9c42902097248ea77a3c517c4588ab472539
831
exs
Elixir
test/redex/command_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
173
2019-03-15T15:05:11.000Z
2022-01-10T08:21:48.000Z
test/redex/command_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
null
null
null
test/redex/command_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
9
2019-07-28T01:20:43.000Z
2021-08-18T03:41:44.000Z
defmodule Redex.CommandTest do use ExUnit.Case, async: true use ExUnitProperties import Mox import Redex.DataGenerators alias Redex.Command setup :verify_on_exit! property "exec an unknown command" do check all state <- state(), cmd <- list_of(binary()) do if cmd != [] do ...
22.459459
60
0.610108
3f6ba90f93b8fc93201beb48b370e3c3bded22c5
519
ex
Elixir
lib/exq/support/coercion.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
null
null
null
lib/exq/support/coercion.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
null
null
null
lib/exq/support/coercion.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
3
2021-04-07T14:50:17.000Z
2021-04-07T14:50:30.000Z
defmodule Exq.Support.Coercion do @moduledoc false def to_integer(value) when is_integer(value) do value end def to_integer(binary) when is_binary(binary) do binary |> Integer.parse() |> case do {integer, ""} -> integer _ -> raise ArgumentError, message: ...
19.961538
72
0.631985
3f6baa736f165dbaa2bd32b6eee3bcb827766ddb
251
ex
Elixir
kousa/lib/business-logic/user_block_logic.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-03-15T22:53:51.000Z
2021-03-22T09:34:06.000Z
kousa/lib/business-logic/user_block_logic.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-09-01T19:42:51.000Z
2021-12-09T03:56:38.000Z
kousa/lib/business-logic/user_block_logic.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
1
2021-03-13T20:31:49.000Z
2021-03-13T20:31:49.000Z
defmodule Kousa.BL.UserBlock do alias Beef.UserBlocks alias Beef.Follows def block(user_id, user_id_to_block) do Follows.delete(user_id, user_id_to_block) UserBlocks.insert(%{userId: user_id, userIdBlocked: user_id_to_block}) end end
25.1
74
0.776892
3f6bcd1e94f71dfdeca7437a1ed9a9d614796c96
583
exs
Elixir
test/speak_up_web/views/error_view_test.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
test/speak_up_web/views/error_view_test.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
test/speak_up_web/views/error_view_test.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
defmodule SpeakUpWeb.ErrorViewTest do use SpeakUpWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(SpeakUpWeb.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
3f6bfa6c94605872e023b49b56813b5df576a557
1,020
ex
Elixir
test/support/conn_case.ex
LaudateCorpus1/pictionary
7dd352cb38904e3ba643609d8d5eb90535eb5107
[ "MIT" ]
10
2021-06-20T08:22:32.000Z
2021-07-08T14:35:53.000Z
test/support/conn_case.ex
Arp-G/pictionary
7dd352cb38904e3ba643609d8d5eb90535eb5107
[ "MIT" ]
3
2021-06-20T14:37:10.000Z
2022-02-13T14:03:37.000Z
test/support/conn_case.ex
LaudateCorpus1/pictionary
7dd352cb38904e3ba643609d8d5eb90535eb5107
[ "MIT" ]
1
2022-02-08T07:49:51.000Z
2022-02-08T07:49:51.000Z
defmodule PictionaryWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if...
30
64
0.744118
3f6c1e4f8c76b5ed1a0855b00745152a2dd9e684
137
ex
Elixir
apps/jobex_web/lib/jobex_web/controllers/page_controller.ex
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
apps/jobex_web/lib/jobex_web/controllers/page_controller.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
apps/jobex_web/lib/jobex_web/controllers/page_controller.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
defmodule JobexWeb.PageController do use JobexWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.125
36
0.729927
3f6c32e8f0189a67f1a1566c9c121cb9cf10aca5
1,863
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/backend_rule.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/backend_rule.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/backend_rule.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...
35.826923
159
0.747719
3f6c3434248063519b12c79552fc18144dfdd5d3
2,085
ex
Elixir
lib/typo/pdf/transform.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/transform.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/transform.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
# # Copyright 2022, John Vinters <john.vinters@gmail.com> # # 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 appli...
32.076923
86
0.6494
3f6c5d8dc35f265af9d2859e2c0b2b69d42039dc
9,483
ex
Elixir
lib/aws/sms.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
2
2019-11-17T02:31:18.000Z
2019-11-20T22:00:29.000Z
lib/aws/sms.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
null
null
null
lib/aws/sms.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
1
2019-11-16T18:08:18.000Z
2019-11-16T18:08:18.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.SMS do @moduledoc """ AAWS Sever Migration Service This is the *AWS Sever Migration Service API Reference*. It provides descriptions, syntax, and usage examples for each of the actions and ...
32.037162
101
0.698197
3f6cb0ce523459ce153be7cc205a13b4c4243b57
162
exs
Elixir
exercises/02-higher-order-functions/02-goodbye-loops/09-reduce-usage-4/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/02-higher-order-functions/02-goodbye-loops/09-reduce-usage-4/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/02-higher-order-functions/02-goodbye-loops/09-reduce-usage-4/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
defmodule Util do def frequencies(xs) do Enum.reduce(xs, %{}, fn x, accumulator-> Map.update(accumulator, x, 1, fn x -> x+1 end) end) end end
20.25
54
0.604938