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
651b6ffb491922783b33336d8bf80a545be05faf
597
exs
Elixir
priv/repo/migrations/20181118120108_create_users.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
priv/repo/migrations/20181118120108_create_users.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
priv/repo/migrations/20181118120108_create_users.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule Webapp.Repo.Migrations.CreateUsers do use Ecto.Migration def change do execute(""" CREATE TYPE user_role AS ENUM ( 'Administrator', 'User' ) """) create table(:users) do add(:email, :string) add(:name, :string) add(:password_hash, :string) ...
22.111111
76
0.619765
651b726024b53e8dd053dec51ce4680375fd84e4
625
ex
Elixir
lib/pact_elixir/interaction.ex
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
27
2018-02-28T22:42:14.000Z
2022-03-20T00:30:08.000Z
lib/pact_elixir/interaction.ex
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
180
2017-12-04T09:42:53.000Z
2022-03-28T09:33:23.000Z
lib/pact_elixir/interaction.ex
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
8
2018-08-01T17:14:52.000Z
2022-01-26T12:46:46.000Z
defmodule PactElixir.Interaction do @moduledoc """ Defines the expected interactions with a provider. """ defstruct [:description, :given, :request, :response] def to_json(interactions) do Poison.encode!(interactions) end end defimpl Poison.Encoder, for: PactElixir.Interaction do def encode( ...
22.321429
88
0.6544
651bcfb3f31b68c6688de38d3eacf95a2a4cc7fe
797
exs
Elixir
test/rocketpay_web/views/users_view_test.exs
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
test/rocketpay_web/views/users_view_test.exs
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
test/rocketpay_web/views/users_view_test.exs
TiagoBani/rocketpay
52b10d90160926eb506135ae0b251e2ed859d958
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.UsersViewTest do use RocketpayWeb.ConnCase, async: true import Phoenix.View alias Rocketpay.{User, Account} alias RocketpayWeb.UsersView test "renders create.json" do params = %{ name: "John Doe", password: "success", nickname: "john", email: "johndoe@test...
22.138889
73
0.609787
651bd448ed80900c5ec2f490fee425401e765058
485
exs
Elixir
config/prod.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2020-05-31T21:54:40.000Z
2020-05-31T21:54:40.000Z
config/prod.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
64
2019-07-29T22:06:16.000Z
2022-03-28T23:46:58.000Z
config/prod.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2021-02-06T10:23:25.000Z
2021-02-06T10:23:25.000Z
use Mix.Config config :logger, level: :info config :magpie, :environment, :prod config :magpie, MagpieWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json", force_ssl: [hsts: true] # We don't have a basic auth on the demo app, so we need to allow for this flexibility # Deliberate compile-time var...
24.25
93
0.682474
651beb64d3ded03f7741862774c96cf1e38cf71a
1,184
ex
Elixir
web/channels/user_socket.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
1
2017-02-06T23:13:04.000Z
2017-02-06T23:13:04.000Z
web/channels/user_socket.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
defmodule AbsintheReact.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", AbsintheReact.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...
31.157895
86
0.706081
651bec8530edec9681978b618e7cdaada1fdb3f5
30,641
exs
Elixir
test/mix/tasks/compile/boundary_test.exs
gshaw/boundary
bbaf1952075044b0abe926237edd120dde62eae4
[ "MIT" ]
null
null
null
test/mix/tasks/compile/boundary_test.exs
gshaw/boundary
bbaf1952075044b0abe926237edd120dde62eae4
[ "MIT" ]
null
null
null
test/mix/tasks/compile/boundary_test.exs
gshaw/boundary
bbaf1952075044b0abe926237edd120dde62eae4
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.BoundaryTest do use ExUnit.Case, async: false use Boundary.CompilerTester setup_all do Mix.shell(Mix.Shell.Process) Logger.disable(self()) compile_result = in_lib_with_boundaries(fn lib_with_boundaries -> in_lib_without_boundaries(fn lib_without_boundaries -...
31.234455
135
0.53683
651bed2ea34b337de0b4be8ad8d69d55048797b3
496
exs
Elixir
config/test.exs
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
null
null
null
config/test.exs
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
null
null
null
config/test.exs
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "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 :peepchat, Peepchat.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :peepchat, Peepchat.R...
24.8
56
0.735887
651bf3716117b377e361a7705e4964a9465a2a86
5,681
exs
Elixir
test/uboot_env/io_test.exs
nerves-project/uboot_env
48896f767be05de27300ad29ec6bb81a0b5d8cbc
[ "Apache-2.0" ]
3
2018-12-19T18:46:25.000Z
2022-03-29T15:19:45.000Z
test/uboot_env/io_test.exs
nerves-project/uboot_env
48896f767be05de27300ad29ec6bb81a0b5d8cbc
[ "Apache-2.0" ]
12
2019-01-29T14:14:28.000Z
2022-02-09T10:29:09.000Z
test/uboot_env/io_test.exs
nerves-project/uboot_env
48896f767be05de27300ad29ec6bb81a0b5d8cbc
[ "Apache-2.0" ]
2
2019-02-07T18:06:17.000Z
2019-04-08T07:29:52.000Z
defmodule UBootEnv.IOTest do use ExUnit.Case describe "nonredundant packaging" do test "packaging" do {:ok, encoded} = UBootEnv.IO.package("testing", 1024, :unused) flattened = IO.iodata_to_binary(encoded) assert byte_size(flattened) == 1024 <<crc32::32, _data::binary>> = flattened ...
33.615385
93
0.597782
651c0c2bc8bd36abac2037759acd1dc852efde10
357
ex
Elixir
lib/diff/diffable.ex
bryanjos/diff
8bbed221c9c981bec3458056fbe656363de15be6
[ "MIT" ]
40
2016-03-23T03:10:14.000Z
2021-09-25T16:10:13.000Z
lib/diff/diffable.ex
bryanjos/diff
8bbed221c9c981bec3458056fbe656363de15be6
[ "MIT" ]
6
2015-12-02T22:09:10.000Z
2018-12-31T16:00:07.000Z
lib/diff/diffable.ex
bryanjos/diff
8bbed221c9c981bec3458056fbe656363de15be6
[ "MIT" ]
3
2018-01-22T14:55:25.000Z
2019-11-08T07:51:39.000Z
defprotocol Diff.Diffable do @moduledoc """ Protocol used by `Diff` module to turn input into a list to calculate diffs """ def to_list(diffable) end defimpl Diff.Diffable, for: BitString do def to_list(diffable) do String.graphemes(diffable) end end defimpl Diff.Diffable, for: List do def to_list...
17.85
58
0.72549
651c1d30e22e53926114366ef7f58fa88c8207f8
120
ex
Elixir
debian/menu.ex
kam1sh/hypai
95e7392c85d689cba8f9f43418dc94472a9f17f8
[ "MIT" ]
null
null
null
debian/menu.ex
kam1sh/hypai
95e7392c85d689cba8f9f43418dc94472a9f17f8
[ "MIT" ]
null
null
null
debian/menu.ex
kam1sh/hypai
95e7392c85d689cba8f9f43418dc94472a9f17f8
[ "MIT" ]
null
null
null
?package(hypai):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="hypai" command="/usr/bin/hypai"
40
78
0.733333
651c1d9e066671b9eb54d43fe248aa6af2bc1cdc
251
ex
Elixir
poc_elixir/lib/receita.ex
fcevado/minha-receita
ebd5cca95115d878934a0f762a8e92d3f8f5b495
[ "MIT" ]
null
null
null
poc_elixir/lib/receita.ex
fcevado/minha-receita
ebd5cca95115d878934a0f762a8e92d3f8f5b495
[ "MIT" ]
null
null
null
poc_elixir/lib/receita.ex
fcevado/minha-receita
ebd5cca95115d878934a0f762a8e92d3f8f5b495
[ "MIT" ]
null
null
null
defmodule Receita do @moduledoc """ Receita keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
651c2d11075bc7878d4b7674918a536258c4a0a7
2,663
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__speech_transcription.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__speech_transcription.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__speech_transcription.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 ...
36.986111
240
0.746526
651c34a90274d7e586b416c458886de944e4ef0a
1,152
ex
Elixir
lib/jisho_elixir/v1/v1.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
20
2017-08-31T17:18:46.000Z
2021-07-12T12:58:15.000Z
lib/jisho_elixir/v1/v1.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
1
2020-03-08T14:05:35.000Z
2020-03-08T14:05:35.000Z
lib/jisho_elixir/v1/v1.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
3
2018-05-19T15:11:53.000Z
2020-03-03T14:53:10.000Z
require IEx; defmodule JishoElixir.V1 do @moduledoc false # JishoElixir API V1 alias JishoElixir.V1.Search alias JishoElixir.V1.Verb alias JishoElixir.V1.TagSearch defdelegate search!(word), to: Search def search(word), do: tuplify(&search!(&1), word) defdelegate search!(word, tag), to: Search ...
28.8
74
0.643229
651c413fdbb24164c95b74143d74769025b69838
1,394
exs
Elixir
mix.exs
haljin/amqp
cc6491d488a104ed4eeaf260816d1680db614fc7
[ "MIT" ]
null
null
null
mix.exs
haljin/amqp
cc6491d488a104ed4eeaf260816d1680db614fc7
[ "MIT" ]
null
null
null
mix.exs
haljin/amqp
cc6491d488a104ed4eeaf260816d1680db614fc7
[ "MIT" ]
1
2020-10-03T06:56:52.000Z
2020-10-03T06:56:52.000Z
defmodule AMQP.Mixfile do use Mix.Project @version "1.4.2" def project do [ app: :amqp, version: @version, elixir: "~> 1.7", description: description(), package: package(), source_url: "https://github.com/pma/amqp", deps: deps(), dialyzer: [ ignore_war...
21.446154
75
0.532999
651c518c366f0ba0f913ec9575db9d10ebf7c56d
208
ex
Elixir
lib/sprint_poker/serializers/deck_serializer.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
199
2015-10-22T16:20:09.000Z
2021-11-08T11:20:45.000Z
lib/sprint_poker/serializers/deck_serializer.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
4
2015-10-24T20:43:29.000Z
2016-03-03T21:09:06.000Z
lib/sprint_poker/serializers/deck_serializer.ex
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
34
2015-10-23T06:38:43.000Z
2019-08-13T23:49:24.000Z
defimpl Poison.Encoder, for: SprintPoker.Repo.Deck do def encode(deck, options) do %{ id: deck.id, name: deck.name, cards: deck.cards } |> Poison.Encoder.encode(options) end end
20.8
53
0.634615
651c9304c479a985ff61addfc249656777501cf0
1,034
exs
Elixir
mix.exs
mylanconnolly/cumulus
99d07d4a7479fc236889650606861f306b0bb0b3
[ "MIT" ]
1
2018-01-04T05:46:53.000Z
2018-01-04T05:46:53.000Z
mix.exs
mylanconnolly/cumulus
99d07d4a7479fc236889650606861f306b0bb0b3
[ "MIT" ]
null
null
null
mix.exs
mylanconnolly/cumulus
99d07d4a7479fc236889650606861f306b0bb0b3
[ "MIT" ]
null
null
null
defmodule Cumulus.Mixfile do use Mix.Project def project do [ app: :cumulus, version: "0.2.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, description: "Cumulus is a minimal Google Cloud Storage client for Elixir", deps: deps(), package: package(), name:...
22.478261
81
0.55029
651cd8dbebd0e749b541ff659378dc922eeead8c
329
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_qualified_multiple_aliases_parsing_test_case/MatchedQualifiedCallOperation.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/parser_definition/matched_qualified_multiple_aliases_parsing_test_case/MatchedQualifiedCallOperation.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/parser_definition/matched_qualified_multiple_aliases_parsing_test_case/MatchedQualifiedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
One.Two.relative_identifier( Three.{} )( Five.{} ).{} One.Two.relative_identifier key: Qualified.Value One.Two.relative_identifier unqualified Qualified.Positional, key: QUalified.Value One.Two.relative_identifier Qualified.Positional, key: Qualifi...
29.909091
61
0.635258
651ce956bc6d859badeb64c3059da841b7def20c
786
ex
Elixir
lib/dup/worker.ex
abhishekkr/dup
8153b38f5f9d0f19794d9cd1202ed7a990a2089e
[ "MIT" ]
null
null
null
lib/dup/worker.ex
abhishekkr/dup
8153b38f5f9d0f19794d9cd1202ed7a990a2089e
[ "MIT" ]
null
null
null
lib/dup/worker.ex
abhishekkr/dup
8153b38f5f9d0f19794d9cd1202ed7a990a2089e
[ "MIT" ]
null
null
null
defmodule Dup.Worker do use GenServer, restart: :transient @file_chunk 1024*1024 def start_link(_), do: GenServer.start_link(__MODULE__, :no_args) def init(:no_args) do Process.send_after(self(), :do_one_file, 0) {:ok, nil} end def handle_info(:do_one_file, _) do Dup.PathFinder.next_path() |...
21.243243
67
0.641221
651d1a164df988a975833581ff2b578292a1ae34
3,909
exs
Elixir
test/round_trip_test.exs
kianmeng/cldr_calendars
af1ffe1b40100792e8e643ce09cc7db7224060b6
[ "Apache-2.0" ]
6
2019-08-29T12:31:03.000Z
2021-08-28T23:15:39.000Z
test/round_trip_test.exs
kianmeng/cldr_calendars
af1ffe1b40100792e8e643ce09cc7db7224060b6
[ "Apache-2.0" ]
8
2019-11-08T09:13:00.000Z
2021-12-26T05:34:28.000Z
test/round_trip_test.exs
kianmeng/cldr_calendars
af1ffe1b40100792e8e643ce09cc7db7224060b6
[ "Apache-2.0" ]
2
2020-05-08T12:19:01.000Z
2022-03-03T14:53:06.000Z
defmodule Cldr.Calendar.RoundTrip.Test do use ExUnit.Case, async: true # :calendar module doesn't work with year 0 or negative years test "that iso week of year is same as erlang" do for year <- 0001..2200, month <- 1..12, day <- 1..Cldr.Calendar.Gregorian.days_in_month(year, month) do ...
39.09
95
0.637247
651d1f48cfdcc7fe57a657125578fb32940cb5ee
353
exs
Elixir
test/stream_x/enum_test.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
test/stream_x/enum_test.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
test/stream_x/enum_test.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
defmodule StreamX.EnumTest do use ExUnit.Case doctest StreamX.Enum test "comparing with :combination" do input=1..16 n=8 result = StreamX.Enum.combination(input, n) |> Enum.map(&Enum.sort/1) |> Enum.sort ref_result = Combination.combine(input, n) |> Enum.map(&Enum.sort/1) |> Enum.sort assert...
23.533333
86
0.68272
651d2903135209898cd07dcbd08f84f1c18b11c5
1,633
exs
Elixir
test/phoenix/integration/websocket_client.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/integration/websocket_client.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/integration/websocket_client.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Integration.WebsocketClient do alias Poison, as: JSON @doc """ Starts the WebSocket server for given ws URL. Received Socket.Message's are forwarded to the sender pid """ def start_link(sender, url) do :crypto.start :ssl.start :websocket_client.start_link(String.to_char_list(u...
26.33871
80
0.689528
651d52c926f004d2f1e54328cb48b5e670c8813b
2,081
ex
Elixir
lib/aws/http_client.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/http_client.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/http_client.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
defmodule AWS.HTTPClient do require Logger @moduledoc """ Specifies the behaviour of a HTTP Client. You can switch the default HTTP client which uses hackney underneath by defining a different implementation by setting the `:http_client` configuration in AWS.Client: client = %AWS.Client{http_client...
29.309859
112
0.626622
651d5edbbdc8d52a6cc72cab2f59824b42fd4bd6
2,757
exs
Elixir
test/kafka_gen_stage/consumer_logic_test.exs
hrubi/kafka_gen_stage
e28b84813d1e0ab46a545247eb589096ec398a0a
[ "Apache-2.0" ]
null
null
null
test/kafka_gen_stage/consumer_logic_test.exs
hrubi/kafka_gen_stage
e28b84813d1e0ab46a545247eb589096ec398a0a
[ "Apache-2.0" ]
null
null
null
test/kafka_gen_stage/consumer_logic_test.exs
hrubi/kafka_gen_stage
e28b84813d1e0ab46a545247eb589096ec398a0a
[ "Apache-2.0" ]
null
null
null
defmodule KafkaGenStage.ConsumerLogicTest do @moduledoc false use ExUnit.Case, async: true alias KafkaGenStage.ConsumerLogic, as: Logic @msg0 {0, 1_540_458_185_657, "kafkey0", "kafval0"} @msg1 {1, 1_540_458_185_658, "kafkey1", "kafval1"} @msg2 {2, 1_540_458_185_659, "kafkey2", "kafval2"} @msgs [@msg0, @...
29.021053
99
0.632934
651d7083f50ce5ce3ee0b317c9451375cb08ed0c
3,702
ex
Elixir
lib/mix/lib/releases/appup/transform.ex
DianaOlympos/distillery
c25d4927d028bdeccbfa3a63e1db90798c8cdf1f
[ "MIT" ]
null
null
null
lib/mix/lib/releases/appup/transform.ex
DianaOlympos/distillery
c25d4927d028bdeccbfa3a63e1db90798c8cdf1f
[ "MIT" ]
null
null
null
lib/mix/lib/releases/appup/transform.ex
DianaOlympos/distillery
c25d4927d028bdeccbfa3a63e1db90798c8cdf1f
[ "MIT" ]
1
2019-07-25T22:54:10.000Z
2019-07-25T22:54:10.000Z
defmodule Mix.Releases.Appup.Transform do @moduledoc """ A transform is an appup compilation pass which receives a list of appup instructions, along with metadata about those instructions, such as the source application, the source and target versions involved, and an optional list of configuration options fo...
33.654545
114
0.679363
651d770f284f867957549548aac504c3d0bacd71
1,682
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/model/person_places_lived.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/person_places_lived.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/person_places_lived.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...
32.980392
147
0.729489
651da210112142557a2baf464376d2a00151b579
200
ex
Elixir
lib/bitcoin/metanet/onchainable.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/metanet/onchainable.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/metanet/onchainable.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defprotocol Bitcoin.Metanet.Onchain do @doc """ %Meta{ inner: %B{ inner: {:file, "path/to/file.txt"} } } |> to_data_list == <<...>> """ def to_data_list(term) end
14.285714
42
0.515
651da26b4e0f9e61d603536f7c59b75744d4968b
373
exs
Elixir
priv/repo/migrations/20211111111111_user.exs
ponyatov/exBook
e9fbe83198c40b9c9a975a651e18bc6564025870
[ "MIT" ]
null
null
null
priv/repo/migrations/20211111111111_user.exs
ponyatov/exBook
e9fbe83198c40b9c9a975a651e18bc6564025870
[ "MIT" ]
null
null
null
priv/repo/migrations/20211111111111_user.exs
ponyatov/exBook
e9fbe83198c40b9c9a975a651e18bc6564025870
[ "MIT" ]
null
null
null
defmodule ExBook.Repo.Migrations.User do use Ecto.Migration def change do create table :user do add :login, :string add :passwd, :string add :first_name, :string add :sec_name, :string add :last_name, :string add :email, :string add :phone, :string add :telegram,...
20.722222
40
0.616622
651da4eb770960dabe96b3f3c56be98277784af9
682
exs
Elixir
year_2020/test/day_02/policy_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_02/policy_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_02/policy_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day02.PolicyTest do use ExUnit.Case test "it detects valid passwords" do policy = %Day02.Policy{min: 1, max: 3, char: "a"} assert Day02.Policy.valid?(policy, "abcde") end test "it detects invalid passwords" do policy = %Day02.Policy{min: 1, max: 3, char: "b"} refute Day02.Policy.vali...
28.416667
55
0.668622
651dbcc44db3ab9275634e82cc8a51087341a1eb
2,293
exs
Elixir
test/faktory_worker/job/batch_integration_test.exs
SeatedInc/faktory_worker
13469c7208392454b83d6061ddd8e3195ae4cd7a
[ "MIT" ]
17
2019-04-14T21:35:33.000Z
2019-10-26T10:36:35.000Z
test/faktory_worker/job/batch_integration_test.exs
SeatedInc/faktory_worker
13469c7208392454b83d6061ddd8e3195ae4cd7a
[ "MIT" ]
75
2019-03-12T12:09:34.000Z
2020-01-04T14:19:11.000Z
test/faktory_worker/job/batch_integration_test.exs
opt-elixir/faktory_worker
a4774dcef45da02c568003275b79d235be9beab5
[ "MIT" ]
2
2021-11-18T16:38:33.000Z
2022-01-14T17:34:10.000Z
defmodule FaktoryWorker.BatchIntegrationTest do use ExUnit.Case @moduletag :enterprise import FaktoryWorker.FaktoryTestHelpers alias FaktoryWorker.{Random, DefaultWorker, Batch} setup :flush_faktory! setup do faktory_name = :"Test_#{Random.string()}" faktory_opts = [ name: faktory_name, ...
23.885417
87
0.622329
651dc7991797e4ad9aaced7f420ba41951494cc5
1,011
ex
Elixir
lib/2020/day15.ex
Bentheburrito/adventofcode
6fca0933c2a0e541567fe9f8bc34df4a048b5d8a
[ "MIT" ]
null
null
null
lib/2020/day15.ex
Bentheburrito/adventofcode
6fca0933c2a0e541567fe9f8bc34df4a048b5d8a
[ "MIT" ]
null
null
null
lib/2020/day15.ex
Bentheburrito/adventofcode
6fca0933c2a0e541567fe9f8bc34df4a048b5d8a
[ "MIT" ]
null
null
null
defmodule AOC.Day15 do def run(input) do starting_nums = String.split(input, ",") |> Enum.map(&String.to_integer/1) num = AOC.time(&find_nth/2, [starting_nums, 2020]) IO.puts "The 2020th number is #{num}" num2 = AOC.time(&find_nth/2, [starting_nums, 30000000]) IO.puts "The 30,000,000th number is #{num2}" ...
38.884615
91
0.67458
651e1f7df5b512ebf8b2c24c9ece56116c76ea74
609
exs
Elixir
test/rocketpay/numbers_test.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
2
2021-02-25T17:05:30.000Z
2021-02-26T15:52:33.000Z
test/rocketpay/numbers_test.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
test/rocketpay/numbers_test.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
defmodule Rocketpay.NumbersTest do use ExUnit.Case, async: true alias Rocketpay.Numbers describe "sum_from_file/1" do test "when there is a file with the given name, returns the sum of numbers" do response = Numbers.sum_from_file("numbers") expected_response = {:ok, %{result: 37}} assert...
25.375
82
0.689655
651e36b001cd1b1438fc052294aa55752d60c187
2,928
ex
Elixir
apps/ewallet_config/test/support/config_test_helper.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_config/test/support/config_test_helper.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_config/test/support/config_test_helper.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.575758
98
0.69638
651e383c2739dece0c36a4bb9941a54437d4ce77
517
ex
Elixir
lib/expedia_phx_elm_web/router.ex
saifelokour/expedia_phx_elm
2112e58821e4bb994654b4a1882997678c0e7f16
[ "MIT" ]
null
null
null
lib/expedia_phx_elm_web/router.ex
saifelokour/expedia_phx_elm
2112e58821e4bb994654b4a1882997678c0e7f16
[ "MIT" ]
null
null
null
lib/expedia_phx_elm_web/router.ex
saifelokour/expedia_phx_elm
2112e58821e4bb994654b4a1882997678c0e7f16
[ "MIT" ]
null
null
null
defmodule ExpediaPhxElmWeb.Router do use ExpediaPhxElmWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", ExpediaPhxE...
18.464286
43
0.690522
651e90eea281c854b1fe774475def9e5613cd279
493
ex
Elixir
lib/hex_flora_web/views/error_view.ex
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
null
null
null
lib/hex_flora_web/views/error_view.ex
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
8
2021-06-04T18:50:28.000Z
2021-08-08T19:43:46.000Z
lib/hex_flora_web/views/error_view.ex
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
null
null
null
defmodule HexFloraWeb.ErrorView do use HexFloraWeb, :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 na...
29
61
0.736308
651e9b70e14c6aaa85a1270337c9ffe1e0ff9ccf
14,317
exs
Elixir
test/trie_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
8
2018-04-25T18:15:53.000Z
2021-02-09T20:42:46.000Z
test/trie_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
9
2018-06-19T09:42:46.000Z
2018-12-12T00:13:58.000Z
test/trie_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
7
2018-07-30T22:05:19.000Z
2022-03-06T09:22:51.000Z
defmodule MerklePatriciaTree.TrieTest do use ExUnit.Case, async: true doctest MerklePatriciaTree.Trie alias MerklePatriciaTree.Trie alias MerklePatriciaTree.Utils alias MerklePatriciaTree.DB.ETS alias MerklePatriciaTree.Trie.Verifier @max_32_bits 4_294_967_296 setup do {:ok, %{db: ETS.random_ets_...
33.450935
98
0.503108
651eab5d071596aa30cd85a6d0d409903dc753f9
33,299
ex
Elixir
lib/elixir/lib/keyword.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A keyword list is a list that consists exclusively of two-element tuples. The first element of these tuples is known as the *key*, and it must be an atom. The second element, known as the *value*, can be any term. Keywords are mostly used to work with optional values. ...
28.100422
150
0.602871
651ecd67ed7bb906ea6d1bd1092bd6fc88ce8aa8
5,430
exs
Elixir
test/absinthe/schema/sdl_render_test.exs
dnsbty/absinthe
37d72813e1d89b05413e6f58f4563f89a84c94f8
[ "MIT" ]
null
null
null
test/absinthe/schema/sdl_render_test.exs
dnsbty/absinthe
37d72813e1d89b05413e6f58f4563f89a84c94f8
[ "MIT" ]
null
null
null
test/absinthe/schema/sdl_render_test.exs
dnsbty/absinthe
37d72813e1d89b05413e6f58f4563f89a84c94f8
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.SdlRenderTest do use ExUnit.Case defmodule SdlTestSchema do use Absinthe.Schema alias Absinthe.Blueprint.Schema @sdl """ schema { query: Query } directive @foo(name: String!) repeatable on OBJECT | SCALAR interface Animal { legCount: Int! } ...
20.111111
83
0.54954
651ed12d238b597c6df717985e5bef33253e19e2
1,210
ex
Elixir
lib/check/function_name_underscore_prefix.ex
smaximov/credo_contrib
dfbd1cad8e1c58fcb2271fdfdfaad67e7218c2b8
[ "ISC" ]
9
2019-12-29T05:10:48.000Z
2022-03-14T17:12:23.000Z
lib/check/function_name_underscore_prefix.ex
smaximov/credo_contrib
dfbd1cad8e1c58fcb2271fdfdfaad67e7218c2b8
[ "ISC" ]
6
2019-05-09T13:32:26.000Z
2021-03-31T15:36:35.000Z
lib/check/function_name_underscore_prefix.ex
smaximov/credo_contrib
dfbd1cad8e1c58fcb2271fdfdfaad67e7218c2b8
[ "ISC" ]
5
2019-03-16T17:09:42.000Z
2021-03-09T14:23:24.000Z
defmodule CredoContrib.Check.FunctionNameUnderscorePrefix do @moduledoc """ Function names should not be prefixed with underscores. Consider using do_<name> instead. """ @explanation [ check: @moduledoc ] use Credo.Check, base_priority: :high, category: :readability def run(source_file, params \\ [...
26.304348
100
0.653719
651ed2d124c5eb69b9246b8c29afb3e753d6c21e
263
ex
Elixir
app/lib/devops_fitness.ex
ohr486/devops.fitness
848f36c5076627f12b5a5453a47081aad126d045
[ "MIT" ]
null
null
null
app/lib/devops_fitness.ex
ohr486/devops.fitness
848f36c5076627f12b5a5453a47081aad126d045
[ "MIT" ]
null
null
null
app/lib/devops_fitness.ex
ohr486/devops.fitness
848f36c5076627f12b5a5453a47081aad126d045
[ "MIT" ]
null
null
null
defmodule DevopsFitness do @moduledoc """ DevopsFitness keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
651f01530a0bd39f81828f639294c6620d237c44
480
exs
Elixir
test/intersection_test.exs
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
6
2019-05-23T19:57:26.000Z
2021-06-14T16:52:53.000Z
test/intersection_test.exs
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
10
2019-06-21T22:09:39.000Z
2019-07-10T04:16:12.000Z
test/intersection_test.exs
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
1
2021-01-09T01:58:55.000Z
2021-01-09T01:58:55.000Z
defmodule ElixirRigidPhysicsTest.IntersectionTest do use ExUnit.Case, async: true doctest ElixirRigidPhysics.Collision.Intersection.SphereSphere doctest ElixirRigidPhysics.Collision.Intersection.SphereCapsule doctest ElixirRigidPhysics.Collision.Intersection.CapsuleCapsule # doctest ElixirRigidPhysics.Collisi...
48
66
0.870833
651f1bc22c507c939dbefd62bd7bea143882c8b6
2,576
ex
Elixir
apps/signal_base/lib/signal_base/application.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
17
2020-06-20T11:29:43.000Z
2022-03-21T05:53:06.000Z
apps/signal_base/lib/signal_base/application.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
2
2020-07-09T10:22:50.000Z
2020-09-01T14:46:40.000Z
apps/signal_base/lib/signal_base/application.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
3
2020-07-17T20:04:36.000Z
2022-01-24T14:19:46.000Z
# Copyright 2019 Volvo Cars # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (t...
33.894737
114
0.709627
651f54b0c1a659181ab082807c9200a010a5cf01
387
ex
Elixir
apps/nerves_hub_api/lib/nerves_hub_api_web/views/user_view.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_api/lib/nerves_hub_api_web/views/user_view.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_api/lib/nerves_hub_api_web/views/user_view.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubAPIWeb.UserView do use NervesHubAPIWeb, :view alias NervesHubAPIWeb.UserView def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end def render("user.json", %{user: user}) do %{username: user.username, email: user.email} end def render("...
22.764706
52
0.664083
651f711675383902e21d7728e428e414245af899
1,680
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/authentication_token.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/authentication_token.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/authentication_token.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.6
127
0.746429
651f86474116585b3852380a152fce8c0e764037
1,374
exs
Elixir
mix.exs
tristanperalta/ravenx_email
521f82d9456176090bae0656124b104a69ed67ac
[ "MIT" ]
null
null
null
mix.exs
tristanperalta/ravenx_email
521f82d9456176090bae0656124b104a69ed67ac
[ "MIT" ]
null
null
null
mix.exs
tristanperalta/ravenx_email
521f82d9456176090bae0656124b104a69ed67ac
[ "MIT" ]
null
null
null
defmodule RavenxEmail.MixProject do use Mix.Project def project do [ app: :ravenx_email, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), ...
22.16129
70
0.550218
651f9fb8ef0de805c644ba0db608ce12dc9a3df2
206
exs
Elixir
test/command/encryption_key_test.exs
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
test/command/encryption_key_test.exs
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
test/command/encryption_key_test.exs
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
defmodule CommandEncryptionKeyTest do use ExUnit.Case alias Jeff.Command.EncryptionKey test "encode" do key = "foo" assert EncryptionKey.encode(key: key) == <<0x01, 0x03, "foo">> end end
17.166667
66
0.694175
651fdc7167dff22ccca35d3078a2be6c482350bb
6,515
ex
Elixir
lib/resemblixir.ex
katehedgpeth/resemblixir
0ff32c75d9e9cd897477c721c38227cf0e62b969
[ "MIT" ]
null
null
null
lib/resemblixir.ex
katehedgpeth/resemblixir
0ff32c75d9e9cd897477c721c38227cf0e62b969
[ "MIT" ]
null
null
null
lib/resemblixir.ex
katehedgpeth/resemblixir
0ff32c75d9e9cd897477c721c38227cf0e62b969
[ "MIT" ]
null
null
null
defmodule Resemblixir do use GenServer alias Resemblixir.{Scenario, Paths, Opts, NoScenariosError, ScenarioConfigError, UrlError} defstruct [:folder, :parent, passed: [], failed: [], in_progress: [], queue: [], opts: %Opts{}] @type t :: %__MODULE__{ passed: [Scenario.t], failed: [Scenario.t], queu...
33.239796
139
0.640215
651ffe9edfaa90e5ef7c1bd779e4f169bde279b2
716
ex
Elixir
lib/snap/aggregation.ex
aram0112/snap
81f6bbf192919a84619bd8a03132f7af2ac1f339
[ "MIT" ]
20
2021-04-16T19:33:59.000Z
2022-03-16T17:16:51.000Z
lib/snap/aggregation.ex
aram0112/snap
81f6bbf192919a84619bd8a03132f7af2ac1f339
[ "MIT" ]
8
2021-02-05T20:17:18.000Z
2022-03-28T21:43:47.000Z
lib/snap/aggregation.ex
aram0112/snap
81f6bbf192919a84619bd8a03132f7af2ac1f339
[ "MIT" ]
5
2021-04-12T13:54:26.000Z
2022-03-10T17:59:58.000Z
defmodule Snap.Aggregation do @moduledoc """ Represents an individual aggregation dictionary from a [Search Aggregation API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html) response. """ defstruct ~w[ buckets doc_count_error_upper_bound sum_other_doc_cou...
26.518519
116
0.699721
6520130072026f16d0bc12b3fc2c788f002a5eb2
2,506
exs
Elixir
config/config_sample.exs
serra-allgood/mx-mtg-lookup
232dcec3da237db786fd5b6c962ff34b1d7ba283
[ "Apache-2.0" ]
null
null
null
config/config_sample.exs
serra-allgood/mx-mtg-lookup
232dcec3da237db786fd5b6c962ff34b1d7ba283
[ "Apache-2.0" ]
null
null
null
config/config_sample.exs
serra-allgood/mx-mtg-lookup
232dcec3da237db786fd5b6c962ff34b1d7ba283
[ "Apache-2.0" ]
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...
39.777778
92
0.723464
6520348fd9a3fc0df84b7202016de07425dddcc8
1,062
ex
Elixir
lib/fdl_messenger_bot/endpoint.ex
ukisami/fdl-messenger-bot
571d29795612a21a3be21ce9f8851afa5a7b387f
[ "MIT" ]
null
null
null
lib/fdl_messenger_bot/endpoint.ex
ukisami/fdl-messenger-bot
571d29795612a21a3be21ce9f8851afa5a7b387f
[ "MIT" ]
null
null
null
lib/fdl_messenger_bot/endpoint.ex
ukisami/fdl-messenger-bot
571d29795612a21a3be21ce9f8851afa5a7b387f
[ "MIT" ]
null
null
null
defmodule FdlMessengerBot.Endpoint do use Phoenix.Endpoint, otp_app: :fdl_messenger_bot socket "/socket", FdlMessengerBot.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in product...
26.55
69
0.723164
65203959ff630050dd05fefd86baef855c033f65
498
ex
Elixir
lib/pinboardixir/user.ex
ElaWorkshop/pinboardixir
e6391dedd10e9fb17ccb78f8d6b8f80918315712
[ "MIT" ]
1
2016-09-08T07:15:32.000Z
2016-09-08T07:15:32.000Z
lib/pinboardixir/user.ex
ElaWorkshop/pinboardixir
e6391dedd10e9fb17ccb78f8d6b8f80918315712
[ "MIT" ]
7
2016-05-25T20:32:07.000Z
2016-06-08T06:01:59.000Z
lib/pinboardixir/user.ex
ElaWorkshop/pinboardixir
e6391dedd10e9fb17ccb78f8d6b8f80918315712
[ "MIT" ]
2
2016-10-24T12:32:33.000Z
2018-11-15T19:43:37.000Z
defmodule Pinboardixir.User do @moduledoc """ Endpoints under "/user". """ alias Pinboardixir.Client @doc """ Returns the user's secret RSS key. """ @spec secret() :: String.t def secret do Client.get!("/user/secret").body |> Poison.decode! |> Map.get("result") end @doc """ Return...
17.785714
39
0.604418
652039beb1c8f9a225ccfc85c7651fff0b81323c
318
ex
Elixir
lib/google_protos/timestamp.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
lib/google_protos/timestamp.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
lib/google_protos/timestamp.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
defmodule Google.Protobuf.Timestamp do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ seconds: integer, nanos: integer } defstruct [:seconds, :nanos] field :seconds, 1, type: :int64 field :nanos, 2, type: :int32 def transform_module(), do: nil end
18.705882
38
0.63522
6520670bb173b9a5ee424d6085d86f4e7c0f624b
1,865
exs
Elixir
test/acceptance/html/table_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/table_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/table_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Html.TableTest do use Support.AcceptanceTestCase describe "Tables and IAL" do test "as mentioned above" do markdown = "|a|b|\n|d|e|\n{:#the-table}" html = gen({:table, [id: "the-table"], {:tbody, [ {:tr, [{:td, [style: "text-align: left;"], "a"}, ...
26.267606
83
0.460054
6520995f90f87e80d05c9fd80e255b1817b7e69c
507
ex
Elixir
phoenix/phoenix_tailwind/lib/phoenix_tailwind_web/views/error_view.ex
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
phoenix/phoenix_tailwind/lib/phoenix_tailwind_web/views/error_view.ex
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
phoenix/phoenix_tailwind/lib/phoenix_tailwind_web/views/error_view.ex
toff63/elixir-sandbox
ac63f839b97ccb7a11e07fb1e505b7cd24e19cb3
[ "Apache-2.0" ]
null
null
null
defmodule PhoenixTailwindWeb.ErrorView do use PhoenixTailwindWeb, :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 # t...
29.823529
61
0.74359
65209d88b2919340d4eda3b28cc0318e38e8d88b
15,044
exs
Elixir
integration_test/cases/preload.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
integration_test/cases/preload.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
integration_test/cases/preload.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.PreloadTest do use Ecto.Integration.Case alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Comment alias Ecto.Integration.Permalink alias Ecto.Integration.User alias Ecto.Integration.Custom test "preload empty" do ass...
35.904535
110
0.625299
6520c4d3251bbcb7f010233c3b48c667f35bba20
2,849
ex
Elixir
kousa/lib/beef/user.ex
arthurysong/dogehouse
2e909332cd3016763adc097bb02c18ef6c182935
[ "MIT" ]
1
2021-12-15T04:44:06.000Z
2021-12-15T04:44:06.000Z
kousa/lib/beef/user.ex
ametow/dogehouse
2e909332cd3016763adc097bb02c18ef6c182935
[ "MIT" ]
null
null
null
kousa/lib/beef/user.ex
ametow/dogehouse
2e909332cd3016763adc097bb02c18ef6c182935
[ "MIT" ]
null
null
null
defmodule Beef.User do use Ecto.Schema import Ecto.Changeset @timestamps_opts [type: :utc_datetime_usec] @type t :: %__MODULE__{ id: Ecto.UUID.t(), twitterId: String.t(), githubId: String.t(), username: String.t(), email: String.t(), githubAccessToken...
30.634409
124
0.579151
6520f7ee9bf78004d5074125d22753c62b81304e
31,033
ex
Elixir
lib/ecto_tablestore/migration.ex
xosdy/ecto_tablestore
bea08b70fcf7a12932e677b63882cfb936956b1a
[ "MIT" ]
null
null
null
lib/ecto_tablestore/migration.ex
xosdy/ecto_tablestore
bea08b70fcf7a12932e677b63882cfb936956b1a
[ "MIT" ]
null
null
null
lib/ecto_tablestore/migration.ex
xosdy/ecto_tablestore
bea08b70fcf7a12932e677b63882cfb936956b1a
[ "MIT" ]
null
null
null
defmodule EctoTablestore.Migration do @moduledoc """ Migrations are used to create your tables. Support the partition key is autoincrementing based on this library's wrapper, for this use case, we can use the migration to automatically create an another separated table to generate the serial value when `:ins...
32.092037
174
0.630909
65211b2c6225372d50a0f936ebb7c7206ae1cd0a
3,872
ex
Elixir
lib/user_points_manager/server.ex
Geekfish/random-user-points-service
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
null
null
null
lib/user_points_manager/server.ex
Geekfish/random-user-points-service
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
4
2021-08-16T11:44:58.000Z
2021-08-19T15:45:10.000Z
lib/user_points_manager/server.ex
Geekfish/user-points-manager
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
null
null
null
defmodule UserPointsManager.Server do @moduledoc """ This is the server responsible for updating as well as querying user points. """ use GenServer require Logger alias UserPointsManager.User @server_name __MODULE__ @default_schedule :timer.minutes(1) @update_timeout :timer.seconds(30) @max_users...
25.642384
89
0.677686
652130ff93ea9a4c938e36e518ffc169068f51e3
128
ex
Elixir
lib/groups_chat_web/presence.ex
tyde81/groups-chat
15cf9aca8339bc2c9813540c33ab85ced9fbc25b
[ "MIT" ]
null
null
null
lib/groups_chat_web/presence.ex
tyde81/groups-chat
15cf9aca8339bc2c9813540c33ab85ced9fbc25b
[ "MIT" ]
null
null
null
lib/groups_chat_web/presence.ex
tyde81/groups-chat
15cf9aca8339bc2c9813540c33ab85ced9fbc25b
[ "MIT" ]
null
null
null
defmodule GroupsChatWeb.Presence do use Phoenix.Presence, otp_app: :groups_chat, pubsub_server: GroupsChat.PubSub end
21.333333
36
0.78125
6521396aead7624d2e6053188f775a9bbcc01806
8,813
ex
Elixir
clients/dns/lib/google_api/dns/v1/api/changes.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/changes.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/changes.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...
44.736041
191
0.685465
652160d40a35c54a3f513c6b648878ea05d3bd3d
216
exs
Elixir
test/test_helper.exs
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
24
2018-04-03T11:36:54.000Z
2021-09-21T09:37:15.000Z
test/test_helper.exs
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
8
2019-06-01T13:49:37.000Z
2022-03-29T04:18:39.000Z
test/test_helper.exs
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
10
2019-02-01T16:52:48.000Z
2022-02-23T03:46:09.000Z
{:ok, _} = Application.ensure_all_started(:postgrex) {:ok, _} = Application.ensure_all_started(:ecto) EctoLtree.TestApp.start(:normal, []) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(EctoLtree.TestRepo, :manual)
27
59
0.75463
652163ca449429543ed82cbfe7ad2e8b227bca40
221
exs
Elixir
templates/default/test/response_test.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
124
2015-01-03T16:48:21.000Z
2022-02-02T21:13:11.000Z
templates/default/test/response_test.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
2
2015-03-08T05:29:36.000Z
2015-07-19T15:31:19.000Z
templates/default/test/response_test.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
12
2015-02-23T02:09:27.000Z
2016-08-07T13:50:38.000Z
defmodule WeberHttpResponseTest do use ExUnit.Case test "SimpleResponse test" do {:ok, status, _, client} = :hackney.request(:get, 'http://localhost:8080/weber', [], <<>>, []) assert(status == 404) end end
24.555556
98
0.651584
65216a9acc5f1aaf2198a910f56fd1dc8bf8b5e2
1,119
ex
Elixir
2017-04/superoo7/d04b.ex
opcode0x90/adventofcode
50b037dbc90e74b2aa2c1ebe04e0636ffa859e34
[ "BSD-3-Clause" ]
3
2018-12-01T07:11:32.000Z
2021-11-26T16:23:52.000Z
2017-04/superoo7/d04b.ex
opcode0x90/adventofcode
50b037dbc90e74b2aa2c1ebe04e0636ffa859e34
[ "BSD-3-Clause" ]
3
2017-12-15T10:24:04.000Z
2018-12-02T18:37:55.000Z
2017-04/superoo7/d04b.ex
opcode0x90/adventofcode
50b037dbc90e74b2aa2c1ebe04e0636ffa859e34
[ "BSD-3-Clause" ]
3
2017-12-15T08:33:31.000Z
2018-12-02T14:38:29.000Z
defmodule D04b do @moduledoc """ Documentation for D04b. """ def index do "input.txt" |> fileRead |> processFile |> main end @doc """ Hello world. ## Examples iex> D04b.processFile("abcde fghij") |> D04b.solve 1 iex> D04b.processFile("abcde xyz ecdab") |> D04b.solve ...
19.293103
85
0.560322
65219d02002f5990ece7f1296934775ff3056396
804
exs
Elixir
bench/eex_comparison_bench.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
312
2015-12-28T05:25:47.000Z
2022-02-16T05:18:16.000Z
bench/eex_comparison_bench.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
105
2015-12-27T21:20:58.000Z
2022-02-24T05:23:38.000Z
bench/eex_comparison_bench.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
45
2016-01-12T04:02:01.000Z
2021-09-14T16:19:18.000Z
defmodule EExComparisonBench do use Benchfella require Slime Slime.function_from_string :def, :slime, """ - site_title = "Hello, world!" doctype html html head meta name="keywords" description="Slime" title = site_title body #id.class ul = for x <- [1, 2] do ...
16.75
46
0.512438
6521a0be9d5d2020a39c2a96e5deb3b7408b8c6a
971
exs
Elixir
mix.exs
Byzanteam-Labs/alixir_oss
dd5b395a7cfa9c66ab936a5276a7a73d1e245a01
[ "MIT" ]
null
null
null
mix.exs
Byzanteam-Labs/alixir_oss
dd5b395a7cfa9c66ab936a5276a7a73d1e245a01
[ "MIT" ]
1
2018-08-15T03:29:41.000Z
2018-08-15T09:25:31.000Z
mix.exs
GreenNerd-Labs/alixir_oss
dd5b395a7cfa9c66ab936a5276a7a73d1e245a01
[ "MIT" ]
3
2018-07-27T02:51:56.000Z
2019-01-24T09:21:44.000Z
defmodule AlixirOss.MixProject do use Mix.Project @project_host "https://github.com/GreenNerd-Labs/alixir_oss" @version "0.2.1" def project do [ app: :alixir_oss, version: @version, source_url: @project_host, homepage_url: @project_host, description: description(), pack...
19.42
62
0.548919
6521a98d6a82d71c4d0958f306825a3c2633f86e
829
ex
Elixir
contrib/examples/elixir/lib/brod_sample/group_subscriber_v2.ex
dmrlawson/brod
97df93926d6f72d5d474d13e0a00361472ff1bd4
[ "Apache-2.0" ]
529
2015-03-18T15:36:44.000Z
2021-02-19T18:29:22.000Z
contrib/examples/elixir/lib/brod_sample/group_subscriber_v2.ex
dmrlawson/brod
97df93926d6f72d5d474d13e0a00361472ff1bd4
[ "Apache-2.0" ]
356
2015-06-11T06:20:27.000Z
2021-02-26T08:30:26.000Z
contrib/examples/elixir/lib/brod_sample/group_subscriber_v2.ex
dmrlawson/brod
97df93926d6f72d5d474d13e0a00361472ff1bd4
[ "Apache-2.0" ]
178
2015-03-02T20:15:13.000Z
2021-02-18T10:04:52.000Z
defmodule BrodSample.GroupSubscriberV2 do @behaviour :brod_group_subscriber_v2 require Logger def start() do group_config = [ offset_commit_policy: :commit_to_kafka_v2, offset_commit_interval_seconds: 5, rejoin_delay_seconds: 2, reconnect_cool_down_seconds: 10 ] config = %{ ...
21.815789
69
0.656212
6521b0ded2a9ab206432e2acc0b46abb22b02d70
1,037
ex
Elixir
lib/coderjobs/application.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
28
2017-11-20T02:01:17.000Z
2021-05-08T16:52:58.000Z
lib/coderjobs/application.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
1
2018-12-05T06:07:36.000Z
2018-12-09T17:33:28.000Z
lib/coderjobs/application.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
3
2017-12-21T03:29:39.000Z
2019-08-11T02:56:08.000Z
defmodule Coderjobs.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
32.40625
87
0.717454
6522227afb3708a0ba4855888a3cbe06fb8d9b40
1,092
exs
Elixir
test/hierarch_test.exs
Byzanteam-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
20
2019-05-22T01:48:54.000Z
2021-08-05T12:51:39.000Z
test/hierarch_test.exs
Byzanteam-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
23
2019-06-24T06:45:11.000Z
2022-03-14T19:13:19.000Z
test/hierarch_test.exs
GreenNerd-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
4
2018-07-10T13:14:42.000Z
2018-11-12T22:09:00.000Z
defmodule HierarchTest do use Hierarch.TestCase doctest Hierarch alias Dummy.Catelog describe "is_root?/1" do test "returns true if it is root" do labels_str = "" catelog = %Catelog{name: labels_str, path: labels_str} assert Catelog.is_root?(catelog) end test "returns false if ...
24.818182
70
0.636447
652230bb961a450a34dc24149cfaac0443ace687
332
exs
Elixir
priv/repo/migrations/20200617001926_create_commcare_patients.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
priv/repo/migrations/20200617001926_create_commcare_patients.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
priv/repo/migrations/20200617001926_create_commcare_patients.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Repo.Migrations.CreateCommcarePatients do use Ecto.Migration def change do create table(:commcare_patients) do add :case_id, :uuid, default: fragment("gen_random_uuid()") add :patient_keys, {:array, :string}, null: false add :data, :map, null: false timestamps() en...
23.714286
65
0.683735
65223bfba40df1473d662fb2195bf8f453ca6ba8
260
ex
Elixir
web/views/permission_view.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
web/views/permission_view.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
web/views/permission_view.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.PermissionView do use AfterGlow.Web, :view use JaSerializer.PhoenixView attributes [:name, :inserted_at, :updated_at, :permission_set_id] has_one :permission_set, field: :permission_set_id, type: "permission_set" end
18.571429
67
0.75
6522442e376d435ccc6723df63b36e2759007e0a
837
exs
Elixir
exercises/rna-transcription/rna_transcription_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/rna-transcription/rna_transcription_test.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/rna-transcription/rna_transcription_test.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("rna_transcription.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule RNATranscriptionTest do use ExUnit.Case # @tag :pending test "transcribes guanine to cytosine" do assert RNATranscription.to_rna('G')...
23.25
68
0.719235
652263d749aef0a98126af33ba255cbbe4b11cae
552
exs
Elixir
mix.exs
evertonts/alphavantage-elixir
9136e88a90ec7124eb9acd5bbc9ec90e8d2cd485
[ "MIT" ]
null
null
null
mix.exs
evertonts/alphavantage-elixir
9136e88a90ec7124eb9acd5bbc9ec90e8d2cd485
[ "MIT" ]
null
null
null
mix.exs
evertonts/alphavantage-elixir
9136e88a90ec7124eb9acd5bbc9ec90e8d2cd485
[ "MIT" ]
null
null
null
defmodule AlphaAdvantage.MixProject do use Mix.Project def project do [ app: :alpha_advantage, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [...
18.4
59
0.552536
65226f471faa8c0e8016023a65bfda513b3bf377
3,044
exs
Elixir
config/dev.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
config/dev.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
config/dev.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
import Config # Configure your database config :thundermoon, Thundermoon.Repo, # username: "postgres", # password: "postgres", database: "thundermoon_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and...
30.44
85
0.67247
6522969780de45dd4fe5993fc8c638d06a8062e8
11,243
exs
Elixir
lib/iex/test/iex/autocomplete_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/autocomplete_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/autocomplete_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.AutocompleteTest do use ExUnit.Case, async: true setup do evaluator = IEx.Server.start_evaluator([]) Process.put(:evaluator, evaluator) :ok end defmodule MyServer do def evaluator do Process.get(:evaluator) end end d...
32.49422
104
0.576003
6522a8c14d7a5f281d26834139ea5d7bbba9be3f
456
exs
Elixir
mix.exs
McEx/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
4
2016-06-16T23:26:11.000Z
2021-07-08T12:05:06.000Z
mix.exs
Gjum/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
null
null
null
mix.exs
Gjum/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
3
2016-04-09T21:06:01.000Z
2021-07-27T13:39:51.000Z
defmodule McChunk.Mixfile do use Mix.Project def project do [app: :mc_chunk, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, rustler_crates: ["mc_chunk_native"], deps: deps] end def application do [applications: [:l...
17.538462
44
0.559211
6522afe1bfbbef671f790f970825d7be9637d39a
4,124
ex
Elixir
src/pollution_data.ex
sheldak/pollution-monitor
bdefb0a06b9aa546f7aac79b86010cef3a143bcf
[ "Apache-2.0" ]
null
null
null
src/pollution_data.ex
sheldak/pollution-monitor
bdefb0a06b9aa546f7aac79b86010cef3a143bcf
[ "Apache-2.0" ]
null
null
null
src/pollution_data.ex
sheldak/pollution-monitor
bdefb0a06b9aa546f7aac79b86010cef3a143bcf
[ "Apache-2.0" ]
null
null
null
defmodule PollutionData do @moduledoc """ Loading data from file to the pollution server using Enum. """ @doc """ Gets lines from CSV file as list. Returns list. """ def import_lines_from_CSV do lines = File.read!("pollution.csv") |> String.split("\r\n") lines end @doc """ M...
31.480916
119
0.603298
6522cfdf061d388f061c3aa9241e669b66128a6a
896
ex
Elixir
lib/auth0_ex/parser.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
lib/auth0_ex/parser.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
lib/auth0_ex/parser.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
defmodule Auth0Ex.Parser do @moduledoc """ Parser to parse all the responses from Auth0 API endpoints """ @type status_code :: integer @type response :: {:ok, [struct]} | {:ok, struct} | :ok | {:error, map, status_code} | {:error, map} | any @doc """ Parses the response from auth0 api calls ...
26.352941
98
0.58817
6522dc00fd876b1618114b0031aaed9069b25710
1,633
ex
Elixir
projects/api/lib/margaret/helpers/draft_js.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/lib/margaret/helpers/draft_js.ex
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/lib/margaret/helpers/draft_js.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule Margaret.Helpers.DraftJS do @moduledoc """ Helper functions for dealing with DraftJS data validation. """ @invalid_draftjs_data_message "invalid format" @doc """ Changeset validator that validates the data exported by DraftJS. ## Examples iex> validate_draftjs_data(%Ecto.Changeset{}, f...
28.649123
84
0.709737
65233d00f28bb7870bdf644f2ccbdacce5982340
568
ex
Elixir
lib/postgrex/super_extension.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
lib/postgrex/super_extension.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
lib/postgrex/super_extension.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.SuperExtension do @moduledoc false @type state :: term @callback init(Keyword.t) :: state @callback matching(state) :: [type: String.t, send: String.t, receive: String.t, input: String.t, ...
25.818182
74
0.535211
65234757eeea7e08fc4e668099e1da8983183e45
892
ex
Elixir
clients/workflows/lib/google_api/workflows/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/workflows/lib/google_api/workflows/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/workflows/lib/google_api/workflows/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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.037037
74
0.761211
65234e8a0aea2f7a47854265c4c357a58ab9630e
4,313
exs
Elixir
lib/elixir/test/elixir/kernel/binary_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/binary_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/binary_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.BinaryTest do use ExUnit.Case, async: true test :heredoc do assert 7 == __ENV__.line assert "foo\nbar\n" == """ foo bar """ assert 13 == __ENV__.line assert "foo\nbar \"\"\"\n" == """ foo bar """ """ end test :heredoc_with_extr...
23.313514
94
0.504753
6523643e97785c2a61b308498b8897ee64c3f1b5
4,673
ex
Elixir
lib/orderer.ex
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
lib/orderer.ex
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
lib/orderer.ex
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
# by_stephan.com_ ____ ___ _____ # __ _| | _____ __| | |___ \( _ )___ | # \ \/ / |/ / __/ _` | __) / _ \ / / # > <| < (_| (_| | / __/ (_) |/ / # /_/\_\_|\_\___\__,_|___|_____\___//_/ # |_____| # based on XKCD 287 - https://xkcd.com/287/ defmodule Ordere...
46.267327
198
0.612455
652383117c6467475385877fc1d663fe65bc0c6e
1,531
exs
Elixir
apps/discovery_api/test/unit/discovery_api_web/controllers/metadata_controller_schema_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/metadata_controller_schema_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/metadata_controller_schema_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApiWeb.MetadataController.SchemaTest do use DiscoveryApiWeb.ConnCase use Placebo alias DiscoveryApi.Test.Helper alias DiscoveryApi.Data.Model @dataset_id "123" describe "fetch schema" do test "retrieves limited fields for dataset schema from model", %{conn: conn} do schema = [...
26.859649
100
0.540823
65239b5d6387d0f41368d56b94a55741ae1fd5b7
1,223
exs
Elixir
mix.exs
smeevil/routjes
7dc7cf1364c0fee2704b783973ff0fb3c19d0ec5
[ "WTFPL" ]
1
2021-09-30T07:58:17.000Z
2021-09-30T07:58:17.000Z
mix.exs
smeevil/routjes
7dc7cf1364c0fee2704b783973ff0fb3c19d0ec5
[ "WTFPL" ]
null
null
null
mix.exs
smeevil/routjes
7dc7cf1364c0fee2704b783973ff0fb3c19d0ec5
[ "WTFPL" ]
null
null
null
defmodule Routjes.MixProject do use Mix.Project def project do [ app: :routjes, version: "1.1.0", description: """ An Elixir library that can extract the Phoenix router paths and create a java/typescript module of them. """, elixir: "~> 1.7", start_permanent: Mix.env...
22.236364
112
0.522486
6523a972a675ba75e22aceae768423d6eeb687da
4,340
exs
Elixir
lib/elixir/test/elixir/list_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/test/elixir/list_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/list_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule ListTest do use ExUnit.Case, async: true test :cons_cell_precedence do assert [1|:lists.flatten([2, 3])] == [1, 2, 3] end test :optional_comma do assert [1] == [ 1, ] assert [1, 2, 3] == [1, 2, 3, ] end test :partial_application do a...
31.678832
74
0.477189
6523a99405087033c9a38ca7d7325ff6935cdfbc
844
exs
Elixir
test/edgedb/protocol/codecs/builtin/enum_test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
test/edgedb/protocol/codecs/builtin/enum_test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
test/edgedb/protocol/codecs/builtin/enum_test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule Tests.EdgeDB.Protocol.Codecs.Builtin.EnumTest do use Tests.Support.EdgeDBCase setup :edgedb_connection test "decoding enum value", %{conn: conn} do value = "Green" assert ^value = EdgeDB.query_single!(conn, "SELECT <Color>'Green'") end test "encoding string to enum value", %{conn: conn} d...
28.133333
100
0.63981
6523b0359ea0fddc9a16ad26faa17d36a86d2cfd
1,051
ex
Elixir
lib/elixir_app.ex
mogetutu/didactic-invention
be25678ba30ca5b9efc1b27e9f7c79350f53ab95
[ "MIT" ]
null
null
null
lib/elixir_app.ex
mogetutu/didactic-invention
be25678ba30ca5b9efc1b27e9f7c79350f53ab95
[ "MIT" ]
null
null
null
lib/elixir_app.ex
mogetutu/didactic-invention
be25678ba30ca5b9efc1b27e9f7c79350f53ab95
[ "MIT" ]
null
null
null
defmodule ElixirApp do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repositor...
32.84375
87
0.716461
6523baf66e10c716a16a887aae41f4f16cbebf69
1,056
exs
Elixir
test/suite/draft7/optional/format/hostname_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft7/optional/format/hostname_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft7/optional/format/hostname_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
defmodule Draft7.Optional.Format.HostnameTest do use ExUnit.Case, async: true import Xema, only: [valid?: 2] describe "validation of host names" do setup do %{schema: Xema.new(format: :hostname)} end test "a valid host name", %{schema: schema} do data = "www.example.com" assert va...
27.076923
101
0.65625
6523d7285a8ed8beca30f4986e9d36c3983a9d00
759
ex
Elixir
lib/subspace_product_api/model/v1_update_sip_teleport.ex
subspace-com/subspace_elixir_openapi_client
9e52d31edb228de2d93f2f988c98207106241a32
[ "MIT" ]
null
null
null
lib/subspace_product_api/model/v1_update_sip_teleport.ex
subspace-com/subspace_elixir_openapi_client
9e52d31edb228de2d93f2f988c98207106241a32
[ "MIT" ]
null
null
null
lib/subspace_product_api/model/v1_update_sip_teleport.ex
subspace-com/subspace_elixir_openapi_client
9e52d31edb228de2d93f2f988c98207106241a32
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SubspaceProductAPI.Model.V1UpdateSipTeleport do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"name", :"destination", ...
23.71875
93
0.70751
6523ed1d14a7d3810dc4ae12c1e4db7a86fd1945
9,830
ex
Elixir
lib/surface/formatter/render.ex
lnr0626/surface_formatter
de09afd9088316f3f6ae9115fe2e10b84476a77f
[ "MIT" ]
null
null
null
lib/surface/formatter/render.ex
lnr0626/surface_formatter
de09afd9088316f3f6ae9115fe2e10b84476a77f
[ "MIT" ]
null
null
null
lib/surface/formatter/render.ex
lnr0626/surface_formatter
de09afd9088316f3f6ae9115fe2e10b84476a77f
[ "MIT" ]
null
null
null
defmodule Surface.Formatter.Render do @moduledoc "Functions for rendering formatter nodes" alias Surface.Formatter # Use 2 spaces for a tab @tab " " # Line length of opening tags before splitting attributes onto their own line @default_line_length 98 @doc """ Given a `t:Surface.Formatter.formatter_...
30.52795
98
0.579959
65242511b7a4bb08c1e60fc81d3c05362d6dd44a
3,548
ex
Elixir
lib/cassette/controller.ex
bundacia/cassette-plug
ee99912204f5085bf4d77e47eaae3978bf59542c
[ "MIT" ]
null
null
null
lib/cassette/controller.ex
bundacia/cassette-plug
ee99912204f5085bf4d77e47eaae3978bf59542c
[ "MIT" ]
null
null
null
lib/cassette/controller.ex
bundacia/cassette-plug
ee99912204f5085bf4d77e47eaae3978bf59542c
[ "MIT" ]
null
null
null
defmodule Cassette.Controller do @moduledoc """ A helper module to quickly validate roles and get the current user To use in your controller, add as a plug restricting the actions: ```elixir defmodule MyApp.MyController do use MyApp.Web, :controller use Cassette.Controller plug :require_role!,...
23.812081
131
0.640079
6524261266ca4e508fa8f2f0bb662920242a6167
2,490
ex
Elixir
lib/white_bread/runners/feature_runner.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
lib/white_bread/runners/feature_runner.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
lib/white_bread/runners/feature_runner.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.Runners.FeatureRunner do alias WhiteBread.Runners.Setup alias WhiteBread.Runners.ScenarioRunner alias WhiteBread.Runners.ScenarioOutlineRunner alias Gherkin.Elements.Scenario alias Gherkin.Elements.ScenarioOutline def run(feature, context, async: async) do setup = Setup.new ...
30
80
0.673092
652439bf7cab81ad3596718ee7b0bad0277a1178
2,394
exs
Elixir
test/apps/sharding/test/sharding_test.exs
fossabot/yacto
07ed65ebe2ab030dcc0abe468600d6b06e8696e9
[ "Apache-2.0" ]
null
null
null
test/apps/sharding/test/sharding_test.exs
fossabot/yacto
07ed65ebe2ab030dcc0abe468600d6b06e8696e9
[ "Apache-2.0" ]
1
2019-03-06T20:05:53.000Z
2019-03-06T20:05:54.000Z
test/apps/sharding/test/sharding_test.exs
fossabot/yacto
07ed65ebe2ab030dcc0abe468600d6b06e8696e9
[ "Apache-2.0" ]
1
2019-03-06T20:03:49.000Z
2019-03-06T20:03:49.000Z
defmodule ShardingTest do use ExUnit.Case test "config" do assert [ telemetry_prefix: [:sharding, :repo, :player0], otp_app: :sharding, timeout: 15000, pool_size: 10, database: "sharding_repo_player0", username: "root", ...
38
64
0.576441
6524573eb4fad47f955a310b6fb2d754533b434a
5,017
exs
Elixir
test/integration/discovery_api/data/hosted_file_test.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/data/hosted_file_test.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/data/hosted_file_test.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.Data.HostedFileTest do use ExUnit.Case use Divo use DiscoveryApi.DataCase alias SmartCity.Registry.Dataset alias DiscoveryApi.TestDataGenerator, as: TDG alias DiscoveryApi.Test.Helper require Logger @expected_checksum :crypto.hash(:md5, File.read!("test/integration/test-file.tes...
29.686391
134
0.675703
65246156d0a787c7b2f93d6f136e929467860d0c
2,370
ex
Elixir
lib/mix/lib/mix/shell/process.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/process.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/process.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell.Process do @moduledoc """ This is a Mix shell that uses the current process mailbox for communication instead of IO. When a developer calls `info("hello")`, the following message will be sent to the current process: { :mix_shell, :info, ["hello"] } This is mainly useful in tests...
24.947368
82
0.637553
6524649d690de18da887e192d20e2da40981bbf1
1,082
ex
Elixir
lib/name_web/channels/user_socket.ex
JuliaMathias/name
0323ffa940b456cc18532e5d906aa2e301216dc4
[ "MIT" ]
1
2021-08-13T14:18:10.000Z
2021-08-13T14:18:10.000Z
lib/name_web/channels/user_socket.ex
JuliaMathias/name
0323ffa940b456cc18532e5d906aa2e301216dc4
[ "MIT" ]
8
2021-08-12T23:46:04.000Z
2021-08-18T19:08:12.000Z
lib/name_web/channels/user_socket.ex
JuliaMathias/name
0323ffa940b456cc18532e5d906aa2e301216dc4
[ "MIT" ]
1
2021-08-15T02:07:19.000Z
2021-08-15T02:07:19.000Z
defmodule NameWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", NameWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ie...
30.055556
83
0.692237
6524b3ae45d55e09adabf2773ddd261608638982
6,635
ex
Elixir
lib/plausible_web/controllers/api/stats_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/api/stats_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/api/stats_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.Api.StatsController do use PlausibleWeb, :controller use Plausible.Repo alias Plausible.Stats alias Plausible.Stats.Query plug PlausibleWeb.AuthorizeStatsPlug def main_graph(conn, params) do site = conn.assigns[:site] query = Stats.Query.from(site.timezone, params) plot_...
36.256831
137
0.693444
6524c3f1a91f32c84966a0b36b774a0801faf20c
4,474
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/paragraph_style.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/paragraph_style.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/paragraph_style.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 &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...
59.653333
627
0.744077
6524ceee85cb6bbdddc953e0c2c76a8a61591f81
1,215
ex
Elixir
apps/tai/lib/tai/orders/transitions/fill.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/orders/transitions/fill.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/orders/transitions/fill.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Orders.Transitions.Fill do @moduledoc """ The order was fully filled and removed from the order book """ @type client_id :: Tai.Orders.Order.client_id() @type venue_order_id :: Tai.Orders.Order.venue_order_id() @type t :: %__MODULE__{ client_id: client_id, venue_order_id: ...
25.3125
92
0.679835
6524e233fa7e7912f02d51e78f9c9e31559e08a7
1,245
ex
Elixir
lib/hello_release_web/channels/user_socket.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
lib/hello_release_web/channels/user_socket.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
lib/hello_release_web/channels/user_socket.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
defmodule HelloReleaseWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HelloReleaseWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll channel "heartbeat:*", HelloReleaseWeb.HeartbeatChannel # Socket pa...
32.763158
87
0.71245
6524fee83441c61db904b85f354c6e02d8d4806e
674
exs
Elixir
doorman/mix.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
doorman/mix.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
2
2021-03-09T20:59:23.000Z
2021-05-10T18:01:00.000Z
doorman/mix.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
defmodule Doorman.MixProject do use Mix.Project def project do [ app: :doorman, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ mod: {Doo...
21.0625
87
0.560831