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
38a166a45e98a8b16305acfca99d37cabc363014
15,629
ex
Elixir
clients/storage/lib/google_api/storage/v1/api/default_object_access_controls.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/default_object_access_controls.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/default_object_access_controls.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 "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...
45.565598
218
0.683921
38a1a83d8266fda8dc8b2b8507f325f1a3debee8
72
ex
Elixir
lib/flowr_web/views/developer/connector_view.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
2
2021-08-01T04:38:08.000Z
2021-08-01T06:52:29.000Z
lib/flowr_web/views/developer/connector_view.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
3
2021-08-01T08:20:13.000Z
2021-08-01T08:22:07.000Z
lib/flowr_web/views/developer/connector_view.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
null
null
null
defmodule FlowrWeb.Developer.ConnectorView do use FlowrWeb, :view end
18
45
0.819444
38a1bdcec479f90a7b91b0e3e4a9b221895516d4
166
exs
Elixir
config/dev.exs
evanrupert/telebrew
156ef186b59451715a5f1fbdac72973831c72555
[ "MIT" ]
1
2021-11-13T17:47:08.000Z
2021-11-13T17:47:08.000Z
config/dev.exs
evanrupert/telebrew
156ef186b59451715a5f1fbdac72973831c72555
[ "MIT" ]
null
null
null
config/dev.exs
evanrupert/telebrew
156ef186b59451715a5f1fbdac72973831c72555
[ "MIT" ]
null
null
null
use Mix.Config config :telebrew, telegram_wrapper: Nadia, quiet: false, listener_module: Testing config :nadia, token: System.get_env("TELEGRAM_API_KEY");
15.090909
44
0.746988
38a1c53b5f4c8671899f22a6b5758d05e1c4b1e9
3,276
ex
Elixir
lib/xmerl_xml_indent.ex
ericsalim/xmerl_xml_indent
ddf912d88b277eecb2c1e1957e88e3a4bf3e6d91
[ "Apache-2.0" ]
null
null
null
lib/xmerl_xml_indent.ex
ericsalim/xmerl_xml_indent
ddf912d88b277eecb2c1e1957e88e3a4bf3e6d91
[ "Apache-2.0" ]
null
null
null
lib/xmerl_xml_indent.ex
ericsalim/xmerl_xml_indent
ddf912d88b277eecb2c1e1957e88e3a4bf3e6d91
[ "Apache-2.0" ]
null
null
null
defmodule XmerlXmlIndent do @moduledoc """ Erlang OTP's built-in `xmerl` library lacks functionality to print XML with indent. This module fills the gap by providing a custom callback to print XML with indent. This module is taken from https://github.com/erlang/otp/blob/master/lib/xmerl/src/xmerl_xml.erl, co...
23.4
110
0.54304
38a1d7a9985d8f9fab89c219b28f3688f3b6330c
986
ex
Elixir
apps/faqcheck/lib/faqcheck/sources/strategies.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck/lib/faqcheck/sources/strategies.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck/lib/faqcheck/sources/strategies.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Sources.Strategies do @strategy_list [ Faqcheck.Sources.Strategies.NMCommunityResourceGuideXLSX, Faqcheck.Sources.Strategies.RRFB.ClientResources, Faqcheck.Sources.Strategies.RRFB.FoodFinder, ] @strategy_map Enum.map(@strategy_list, fn s -> {s.id, s} end) |> Enum.into(%{}) def g...
26.648649
81
0.640974
38a1e293c464526653cf1ba144afec41b6a996ba
728
ex
Elixir
lib/screens/config/dup/section/headway.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/config/dup/section/headway.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/config/dup/section/headway.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.Config.Dup.Section.Headway do @moduledoc false # credo:disable-for-this-file Credo.Check.Design.DuplicatedCode @typep sign_id :: String.t() @typep headway_id :: String.t() | nil @typep override :: {pos_integer, pos_integer} | nil @type t :: %__MODULE__{ sign_ids: [sign_id], ...
26.962963
65
0.648352
38a1ee9ce49c150d6f853572f473397423427937
1,070
ex
Elixir
test/support/conn_case.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
8
2019-01-15T09:31:05.000Z
2020-04-20T13:59:01.000Z
test/support/conn_case.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
2
2019-01-06T02:53:44.000Z
2019-05-30T20:30:20.000Z
test/support/conn_case.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
1
2019-01-04T04:37:21.000Z
2019-01-04T04:37:21.000Z
defmodule StabbyFliesWeb.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, i...
27.435897
73
0.723364
38a22cf6989feda872d4ef22db8537133fbc297b
1,580
exs
Elixir
test/xdr/bool_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
7
2020-06-30T22:52:23.000Z
2022-02-18T22:13:43.000Z
test/xdr/bool_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
22
2020-05-22T15:24:52.000Z
2021-09-01T16:56:53.000Z
test/xdr/bool_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
1
2021-08-17T12:34:15.000Z
2021-08-17T12:34:15.000Z
defmodule XDR.BoolTest do @moduledoc """ Tests for the `XDR.Bool` module. """ use ExUnit.Case alias XDR.{Bool, BoolError} describe "Encoding Boolean structures" do test "when the value is not boolean" do {status, reason} = Bool.new("true") |> Bool.encode_xdr() assert status == :error ...
24.6875
93
0.607595
38a2336046d34ba5d15861bf1ceab192a1936b42
5,405
exs
Elixir
test/unit/playwright/runner/connection_test.exs
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
test/unit/playwright/runner/connection_test.exs
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
test/unit/playwright/runner/connection_test.exs
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
defmodule Playwright.Runner.ConnectionTest do use ExUnit.Case, async: true alias Playwright.Runner.Catalog alias Playwright.Runner.Channel alias Playwright.Runner.Connection alias Playwright.Runner.ConnectionTest.TestTransport setup do %{ connection: start_supervised!({Connection, {TestTransport,...
28.298429
111
0.574653
38a26870dd82e89783bda6638639d649fddbb7d2
2,477
exs
Elixir
test/block_keys/encoding_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
20
2019-01-15T20:00:20.000Z
2021-12-15T02:40:22.000Z
test/block_keys/encoding_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
13
2019-03-04T16:56:26.000Z
2021-11-02T01:11:15.000Z
test/block_keys/encoding_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
9
2019-03-09T08:08:06.000Z
2021-06-22T08:22:01.000Z
defmodule EncodingTest do use ExUnit.Case, async: true alias BlockKeys.{Encoding, Mnemonic} alias BlockKeys.CKD describe "decode_extended_key/1" do test "it returns a map with all decoded bytes given a base58check private encoded extended key" do mnemonic = "safe result wire cattle sauce lug...
39.951613
164
0.554703
38a270fc02e68b3c7758049275b08bd50502c69b
6,555
ex
Elixir
lib/bmp280.ex
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
11
2020-09-17T08:03:11.000Z
2021-04-28T16:20:13.000Z
lib/bmp280.ex
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
13
2021-01-31T23:08:26.000Z
2021-03-27T23:08:42.000Z
lib/bmp280.ex
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
3
2021-09-05T08:48:27.000Z
2021-10-21T17:14:43.000Z
defmodule BMP280 do use GenServer require Logger alias BMP280.{Calc, Comm, Measurement, Transport} @sea_level_pa 100_000 @default_bmp280_bus_address 0x77 @polling_interval 1000 @typedoc """ The type of sensor in use If the sensor is unknown, then number in the parts ID register is used. """ @t...
30.207373
91
0.688635
38a27145b16575225fdf8ed0545e84d5a894c025
3,818
exs
Elixir
test/graphql/resolvers/revision_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/graphql/resolvers/revision_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/graphql/resolvers/revision_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule AccentTest.GraphQL.Resolvers.Revision do use Accent.RepoCase alias Accent.GraphQL.Resolvers.Revision, as: Resolver alias Accent.{ Repo, Project, Revision, Translation, User, Language } defmodule PlugConn do defstruct [:assigns] end @user %User{email: "test@test.co...
40.189474
161
0.675223
38a2ff33be139ed960831c42277c7a2af8be951b
661
exs
Elixir
elixir-class/cards/mix.exs
vagelim/learning-elixir
cda228f3d46a6464faddb060ea308aeceb538ee7
[ "MIT" ]
null
null
null
elixir-class/cards/mix.exs
vagelim/learning-elixir
cda228f3d46a6464faddb060ea308aeceb538ee7
[ "MIT" ]
null
null
null
elixir-class/cards/mix.exs
vagelim/learning-elixir
cda228f3d46a6464faddb060ea308aeceb538ee7
[ "MIT" ]
null
null
null
defmodule Cards.MixProject do use Mix.Project def project do [ app: :cards, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ applications:...
20.65625
88
0.555219
38a307ed29a356513b08e4a78fd9a28f1b11fd24
900
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_instance_view_statuses_summary.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_instance_view_statuses_summary.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_instance_view_statuses_summary.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Compute.Model.VirtualMachineScaleSetInstanceViewStatusesSummary do @moduledoc """ Instance view statuses summary fo...
32.142857
126
0.778889
38a323457d165db94995949b6b8032f9fbbf3c62
587
ex
Elixir
web/router.ex
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
1
2016-10-07T14:36:21.000Z
2016-10-07T14:36:21.000Z
web/router.ex
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
web/router.ex
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
defmodule Pxblog.Router do use Pxblog.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Pxblog do pipe_through ...
20.241379
57
0.67632
38a328248761a4471e41824e9894e882a018d611
1,484
exs
Elixir
test/absinthe/integration/execution/introspection/object_with_list_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/introspection/object_with_list_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/introspection/object_with_list_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Elixir.Absinthe.Integration.Execution.Introspection.ObjectWithListTest do use ExUnit.Case, async: true @query """ query { __type(name: "Person") { fields(include_deprecated: true) { name type { kind name ofType { kind name ...
27.481481
90
0.302561
38a37a513d2879e8a9c3c61f1294c3a3c012a5a3
3,104
exs
Elixir
test/better_params_test.exs
sheharyarn/better_params
3bc8d9fd57732fda06195745611b0900fd812fb2
[ "MIT" ]
98
2017-06-14T05:05:55.000Z
2022-01-29T07:56:09.000Z
test/better_params_test.exs
sheharyarn/better_params
3bc8d9fd57732fda06195745611b0900fd812fb2
[ "MIT" ]
5
2017-06-14T06:02:00.000Z
2018-01-23T00:18:26.000Z
test/better_params_test.exs
sheharyarn/better_params
3bc8d9fd57732fda06195745611b0900fd812fb2
[ "MIT" ]
2
2017-06-14T19:23:17.000Z
2017-12-09T00:53:45.000Z
defmodule BetterParams.Tests do use ExUnit.Case use Plug.Test alias BetterParams.Tests.Meta.Router alias BetterParams.Tests.Meta.AtomRouter alias BetterParams.Tests.Meta.Helpers # Module Methods # -------------- describe "#symbolize_merge" do test "it symbolizes a map and merges it with itself...
25.235772
97
0.537693
38a3ad647f23266e527c92302422e59bb344ef76
1,503
ex
Elixir
lib/inmana_web/endpoint.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
lib/inmana_web/endpoint.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
lib/inmana_web/endpoint.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
defmodule InmanaWeb.Endpoint do use Phoenix.Endpoint, otp_app: :inmana # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_inmana_key"...
28.358491
97
0.71324
38a3d13e6fda1fd6bbd2656a558ffbdc6bc5238f
859
ex
Elixir
lib/hubby/auth/user.ex
alissonfpmorais/hubby
5e8510f4cd30aca1f36864119240ec54f7069b5b
[ "MIT" ]
null
null
null
lib/hubby/auth/user.ex
alissonfpmorais/hubby
5e8510f4cd30aca1f36864119240ec54f7069b5b
[ "MIT" ]
null
null
null
lib/hubby/auth/user.ex
alissonfpmorais/hubby
5e8510f4cd30aca1f36864119240ec54f7069b5b
[ "MIT" ]
null
null
null
defmodule Hubby.Auth.User do use Ecto.Schema import Ecto.Changeset alias Hubby.Hub.{Info, Tech, Project, Social, UserHasSocial} schema "users" do field :avatar, :string field :email, :string field :name, :string field :provider, :string field :token, :string has_one :info, Info has...
24.542857
69
0.66007
38a3db8f6e7bebac24465f8703c1e681172bd634
2,486
ex
Elixir
priv/templates/phx.gen.context/schema_access.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
priv/templates/phx.gen.context/schema_access.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
1
2020-11-08T08:30:10.000Z
2020-11-08T08:30:10.000Z
priv/templates/phx.gen.context/schema_access.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
alias <%= inspect schema.module %> @doc """ Returns the list of <%= schema.plural %>. ## Examples iex> list_<%= schema.plural %>() [%<%= inspect schema.alias %>{}, ...] """ def list_<%= schema.plural %> do Repo.all(<%= inspect schema.alias %>) end @doc """ Gets a single <%= schem...
25.628866
102
0.559131
38a3eb840de3f4060fb67c321f0bc81a201b7068
876
ex
Elixir
tests/dummy/web/models/history.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/web/models/history.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/web/models/history.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
defmodule Dummy.History do use Dummy.Web, :model schema "polymorphic:histories" do field :recordable_id, :integer field :permalink, :string field :type, :string field :name, :string field :message, :string field :scheduled_at, Ecto.DateTime field :happened_at, Ecto.DateTime field :...
25.028571
93
0.715753
38a4091f10e99f366ed94f0470966b87c0fd49a7
1,844
ex
Elixir
lib/day07.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2022-01-10T02:34:18.000Z
2022-01-10T02:34:18.000Z
lib/day07.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
null
null
null
lib/day07.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2019-12-02T09:42:17.000Z
2019-12-02T09:42:17.000Z
defmodule Day07 do def hello() do :hello end def string_to_steps(lines) do lines |> String.split("\n", trim: true) |> Enum.map(fn line -> Regex.scan(~r/ ([A-Z]) /, line, capture: :all_but_first) |> Enum.concat() end) |> nexts(Map.new()) end def nexts([], map) do map end ...
22.765432
84
0.525488
38a418f6607b958e0b60aea1414d9d05fcce81e9
79
exs
Elixir
test/test_helper.exs
codegram/elixir-sonic-client
181ceedb752e134cf214b840ad66a62f4e488e63
[ "MIT" ]
1
2020-12-04T12:04:42.000Z
2020-12-04T12:04:42.000Z
test/test_helper.exs
codegram/elixir-sonic-client
181ceedb752e134cf214b840ad66a62f4e488e63
[ "MIT" ]
15
2020-11-23T08:56:58.000Z
2020-11-25T08:14:44.000Z
test/test_helper.exs
codegram/elixir-sonic-client
181ceedb752e134cf214b840ad66a62f4e488e63
[ "MIT" ]
1
2020-12-15T14:19:05.000Z
2020-12-15T14:19:05.000Z
ExUnit.start() Code.require_file("test_connection_helper.ex", "test/support/")
26.333333
63
0.78481
38a422169fb1e90e2bf1250c402fe17e97cf84f2
826
ex
Elixir
lib/milbase_web/schema/types.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase_web/schema/types.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase_web/schema/types.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule MilbaseWeb.Schema.Types do use Absinthe.Schema.Notation alias MilbaseWeb.Schema.Types import_types Types.UserType import_types Types.SessionType import_types Types.PostType import_types Types.CommentType import_types Types.ResetType #Import queries import_types MilbaseWeb.Schema.Query.Use...
30.592593
65
0.847458
38a43e8c14cf20cc7cf9a07b52393f44b7a9c1ce
927
exs
Elixir
config/config.exs
nelsonmestevao/phoenix
6a705dec3f46b5c6ac8f55c9df4e406f59619ebe
[ "MIT" ]
1
2022-02-05T13:37:59.000Z
2022-02-05T13:37:59.000Z
config/config.exs
nelsonmestevao/phoenix
6a705dec3f46b5c6ac8f55c9df4e406f59619ebe
[ "MIT" ]
null
null
null
config/config.exs
nelsonmestevao/phoenix
6a705dec3f46b5c6ac8f55c9df4e406f59619ebe
[ "MIT" ]
null
null
null
import Config config :logger, :console, colors: [enabled: false] config :phoenix, :stacktrace_depth, 20 config :phoenix, :json_library, Jason config :phoenix, :trim_on_html_eex_engine, false if Mix.env() == :dev do esbuild = fn args -> [ args: ~w(./js/phoenix --bundle) ++ args, cd: Path.expand("....
28.090909
112
0.619202
38a47f294889cd3f131cc1d015c773f5be009b88
17,514
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/mix/test/mix/tasks/compile.elixir_test.exs
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Compile.ElixirTest do alias Mix.Task.Compiler.Diagnostic use MixTest.Case setup do Mix.Project.push(MixTest.Case.Sample) :ok end @elixir_otp_version {System.version(), :erlang.system_info(:otp_release)} test "compiles a proj...
31.275
113
0.583191
38a48876349052b9eac522939ef4e23cbee430a1
2,076
ex
Elixir
lib/protobuf/builder.ex
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
209
2020-11-19T11:17:27.000Z
2022-03-20T12:47:31.000Z
lib/protobuf/builder.ex
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
101
2020-11-22T20:20:11.000Z
2022-03-06T16:09:26.000Z
lib/protobuf/builder.ex
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
35
2020-11-26T14:45:13.000Z
2022-03-22T23:22:00.000Z
defmodule Protobuf.Builder do @moduledoc false alias Protobuf.FieldProps @spec new(module) :: %{required(:__struct__) => module} when module: module() def new(mod) when is_atom(mod) do struct(mod) end @spec new(module, Enum.t()) :: %{required(:__struct__) => module} when module: module() def new(mo...
30.985075
93
0.614162
38a49492d4ca934f77c61de63001b23f8d2d3726
1,308
exs
Elixir
mix.exs
g13ydson/elixir_microservice_base
1048c77198d5ec1c3b5eab90b38f736ee2f6c8be
[ "MIT" ]
5
2019-07-26T11:22:30.000Z
2021-07-04T00:07:15.000Z
mix.exs
g13ydson/elixir_microservice_base
1048c77198d5ec1c3b5eab90b38f736ee2f6c8be
[ "MIT" ]
4
2019-07-26T16:08:43.000Z
2019-10-21T09:15:21.000Z
mix.exs
emcasa/elixir_microservice_base
cbfe61d3959320edbcd159ba0dce4cb247420b01
[ "MIT" ]
null
null
null
defmodule ElixirMicroserviceBase.Umbrella.Mixfile do use Mix.Project def project do [ app: :elixir_microservice_base, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), test_coverage: [tool: ExCoveralls], pr...
23.781818
67
0.530581
38a4d5bc60e1313835a16f06b554e988261913e0
2,418
exs
Elixir
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
31
87
0.668321
38a4ef07f8be15032bdf7c461cf2eb4552a9cdce
1,895
ex
Elixir
lib/ja_serializer/content_type_negotiation.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/content_type_negotiation.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/content_type_negotiation.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
defmodule JaSerializer.ContentTypeNegotiation do @moduledoc """ This plug provides content type negotiation by validating the `content-type` and `accept` headers. The proper jsonapi.org content type is: `application/vnd.api+json`. As per [the spec](http://jsonapi.org/format/#content-negotiation-servers) t...
30.079365
77
0.641689
38a52141fe4721f1d7c7f0ec557e86257b4a72b7
3,000
ex
Elixir
lib/mix/torch.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
lib/mix/torch.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
lib/mix/torch.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
defmodule Mix.Torch do @moduledoc false alias Torch.Config def parse_config!(task, args) do {opts, _, _} = OptionParser.parse(args, switches: [format: :string, app: :string]) format = opts[:format] || Config.template_format() otp_app = opts[:app] || Config.otp_app() unless otp_app do Mix...
33.707865
92
0.651
38a52183bf8be21999dad63136cdcf62c55c51a9
1,133
exs
Elixir
test/exnn/sensor_test.exs
zampino/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
104
2015-06-18T18:54:25.000Z
2021-11-04T15:07:02.000Z
test/exnn/sensor_test.exs
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
3
2016-10-09T11:19:42.000Z
2018-09-17T16:36:32.000Z
test/exnn/sensor_test.exs
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
17
2016-03-08T19:02:51.000Z
2019-04-27T16:40:52.000Z
defmodule EXNN.SensorTest do use ExUnit.Case defmodule TestOut do use GenServer def state do GenServer.call(:test_out, :state) end def handle_call(:state, _from, state) do {:reply, state, state} end def handle_call({:forward, message, _}, _from, state) do {:reply, :ok, ...
21.377358
68
0.62489
38a55755c7674b2685c014821a3075fc593f70eb
67
exs
Elixir
.formatter.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
1,455
2015-01-03T02:53:19.000Z
2022-03-12T00:31:25.000Z
.formatter.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
.formatter.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
[ inputs: ["*.exs", "lib/**/*.{ex,exs}", "test/**/*.{ex,exs}"] ]
16.75
62
0.38806
38a56e8a10500d0361883403bb3470d803853a45
1,045
exs
Elixir
config/config.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
config/config.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
config/config.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :books, ecto_repos: [Books.Repo] # Con...
32.65625
86
0.769378
38a57ce30f6669f8bca7e3e0006d461fba5d1778
535
exs
Elixir
hello-world/hello_world_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
hello-world/hello_world_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
hello-world/hello_world_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("hello_world.exs", __DIR__) end ExUnit.start # ExUnit.configure exclude: :pending, trace: true defmodule HelloWorldTest do use ExUnit.Case test "says hello with no name" do assert HelloWorld.hello() == "Hello, World!" end @tag :pending t...
20.576923
55
0.699065
38a57e89843733af8abc5b7d3340af39ff2a239e
1,476
ex
Elixir
openapi-client/elixir/lib/mail_baby_api/model/send_mail_adv.ex
interserver/mailbaby-api-samples
0879348474e22463e77dc76ba5e5f7e6300a2b6c
[ "MIT" ]
null
null
null
openapi-client/elixir/lib/mail_baby_api/model/send_mail_adv.ex
interserver/mailbaby-api-samples
0879348474e22463e77dc76ba5e5f7e6300a2b6c
[ "MIT" ]
185
2022-01-01T23:30:37.000Z
2022-03-25T01:08:22.000Z
openapi-client/elixir/lib/mail_baby_api/model/send_mail_adv.ex
interserver/mailbaby-api-samples
0879348474e22463e77dc76ba5e5f7e6300a2b6c
[ "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 MailBabyAPI.Model.SendMailAdv do @moduledoc """ Details for an Email """ @derive [Poison.Encoder] defstruct [ :"subject", :"body", ...
30.122449
91
0.655827
38a582dd7076d23d929fc157493b9064ae368529
8,787
ex
Elixir
lib/bamboo/phoenix.ex
evuez/bamboo
f137a38407e253546c3282ef8e60f80dde27fc4a
[ "MIT" ]
null
null
null
lib/bamboo/phoenix.ex
evuez/bamboo
f137a38407e253546c3282ef8e60f80dde27fc4a
[ "MIT" ]
null
null
null
lib/bamboo/phoenix.ex
evuez/bamboo
f137a38407e253546c3282ef8e60f80dde27fc4a
[ "MIT" ]
null
null
null
defmodule Bamboo.Phoenix do @moduledoc """ Render templates and layouts with Phoenix. This module makes it very easy to render layouts and views using Phoenix. Pass an atom (e.g. `:welcome_email`) as the template name to render HTML and plain text emails. Use a string if you only want to render one type, e.g...
30.510417
98
0.65062
38a5a74a63e6b19c3082f3403503dec5179c1905
1,642
ex
Elixir
lib/swoosh/application.ex
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
1,214
2016-03-21T16:56:42.000Z
2022-03-31T19:10:11.000Z
lib/swoosh/application.ex
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
399
2016-03-21T23:11:32.000Z
2022-03-04T10:52:28.000Z
deps/swoosh/lib/swoosh/application.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
208
2016-03-21T21:12:11.000Z
2022-03-04T06:35:33.000Z
defmodule Swoosh.Application do use Application require Logger def start(_type, _args) do Swoosh.ApiClient.init() children = [] |> runtime_children(:local) |> runtime_children(:serve_mailbox) opts = [strategy: :one_for_one, name: Swoosh.Supervisor] Supervisor.start_link(child...
23.457143
88
0.611449
38a5acabc415d32b6d7d9ebb717e3d4ef0088896
6,759
ex
Elixir
farmbot_core/lib/farmbot_core/firmware_side_effects.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/lib/farmbot_core/firmware_side_effects.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/firmware_side_effects.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCore.FirmwareSideEffects do @moduledoc "Handles firmware data and syncing it with BotState." @behaviour FarmbotFirmware.SideEffects require Logger require FarmbotCore.Logger alias FarmbotCore.{Asset, BotState, FirmwareEstopTimer, Leds} @impl FarmbotFirmware.SideEffects def handle_positio...
28.39916
85
0.695665
38a5bc976b1cd21b8fee17854857d267905e3805
1,744
exs
Elixir
mix.exs
jechol/repg2
eba11a703104d52c349c864ca3d79c636c71542f
[ "Apache-2.0" ]
null
null
null
mix.exs
jechol/repg2
eba11a703104d52c349c864ca3d79c636c71542f
[ "Apache-2.0" ]
null
null
null
mix.exs
jechol/repg2
eba11a703104d52c349c864ca3d79c636c71542f
[ "Apache-2.0" ]
null
null
null
defmodule RePG2.Mixfile do use Mix.Project @version "1.0.0" def project do [ app: :repg2, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), dialy...
24.56338
115
0.548739
38a5c87826b06325c34e2aed62d148c70da80c85
1,190
ex
Elixir
lib/atom_tweaks/application.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
lib/atom_tweaks/application.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
lib/atom_tweaks/application.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
defmodule AtomTweaks.Application do @moduledoc """ The AtomTweaks application. """ use Application alias AtomTweaksWeb.Endpoint @type octicon_name :: String.t() | atom # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args...
29.75
88
0.714286
38a5f01029619b2610e8af35147961973035c6db
2,348
ex
Elixir
lib/request_helper.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
lib/request_helper.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
lib/request_helper.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule Quenya.RequestHelper do @moduledoc """ Request helper functions """ alias Quenya.Token alias Plug.Conn def validate_required(v, required?, position) do case {required?, v} do {true, nil} -> raise(Plug.BadRequestError, "#{v} does not exist in request #{position}") _ -> v end ...
27.302326
100
0.623509
38a629f0a7b2b51b1272dc44baf01168b3e9f2f7
713
ex
Elixir
lib/euler/problem1.ex
nestalk/project-euler-elixir
9163c6fa7e9a4b115b0c0a9657f42a7b6f5005c2
[ "MIT" ]
null
null
null
lib/euler/problem1.ex
nestalk/project-euler-elixir
9163c6fa7e9a4b115b0c0a9657f42a7b6f5005c2
[ "MIT" ]
null
null
null
lib/euler/problem1.ex
nestalk/project-euler-elixir
9163c6fa7e9a4b115b0c0a9657f42a7b6f5005c2
[ "MIT" ]
null
null
null
defmodule Euler.Problem1 do @doc """ Takes a number and returns `true` if the number is a multiple of `3` or `5`. ## Example iex> Euler.Problem1.multiple_of_3_or_5?(2) false iex> Euler.Problem1.multiple_of_3_or_5?(3) true iex> Euler.Problem1.multiple_of_3_or_5?(5) true """ def mu...
20.970588
53
0.621318
38a635703e8117cd0b13adf0410415b1156c0e5b
636
ex
Elixir
lib/cizen/effects/fork.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
lib/cizen/effects/fork.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
lib/cizen/effects/fork.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.Effects.Fork do @moduledoc """ An effect to state an saga. Returns the started saga ID. ## Example saga_id = perform id, %Fork{ saga: some_saga_struct } """ @keys [:saga] @enforce_keys @keys defstruct @keys alias Cizen.Effect alias Cizen.Effects.{Map, Request}...
17.189189
71
0.625786
38a65c5624af5ed0eeaed4659415ce0688172cb0
18,409
ex
Elixir
lib/baiji/service/athena.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/athena.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/athena.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
defmodule Baiji.Athena do @moduledoc """ Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure t...
72.762846
9,729
0.588625
38a68624493449eb461ee1adf3d6469ddcc0a0a3
542
ex
Elixir
exercises/practice/two-bucket/lib/two_bucket.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/two-bucket/lib/two_bucket.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/two-bucket/lib/two_bucket.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule TwoBucket do defstruct [:bucket_one, :bucket_two, :moves] @type t :: %TwoBucket{bucket_one: integer, bucket_two: integer, moves: integer} @doc """ Find the quickest way to fill a bucket with some amount of water from two buckets of specific sizes. """ @spec measure( size_one :: integer,...
31.882353
102
0.636531
38a68c0ddfd74a345db66017896ad0030c54266d
2,211
exs
Elixir
config/dev.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
config/dev.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
7
2019-09-20T02:00:23.000Z
2019-10-07T04:22:51.000Z
config/dev.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :creek_dict_admin, CreekDictAdmin.Repo, username: "postgres", password: "postgres", database: "creek_dict_admin_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # deb...
28.714286
68
0.70104
38a6a76e4e602a5b5b19aebaae9ac5756bbf0239
6,124
ex
Elixir
clients/content/lib/google_api/content/v21/model/account.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
61.24
440
0.704605
38a6ac9c12500771120458b6a7b6ac36e096746f
792
ex
Elixir
apps/event_stream/lib/stax/event_stream/application.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/event_stream/lib/stax/event_stream/application.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/event_stream/lib/stax/event_stream/application.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.EventStream.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [] ++ nats_child_specs() # See https://hexdoc...
26.4
71
0.72096
38a6af1ae987509eefb7818c793765221283babc
1,715
ex
Elixir
clients/games/lib/google_api/games/v1/model/push_token_id_ios.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/push_token_id_ios.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/push_token_id_ios.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.3
186
0.733528
38a7015d46419600c0201c48bc9dda11f928df23
5,354
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_bgp_peer.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_bgp_peer.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_bgp_peer.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...
64.506024
446
0.719649
38a70ba042aa505f50d1a75f155ef567327708dc
81
exs
Elixir
test/auth/plug_test.exs
artsy/artsy_auth_ex
0f7f3f70f8493fcb310a918da590b6170423eaf2
[ "MIT" ]
null
null
null
test/auth/plug_test.exs
artsy/artsy_auth_ex
0f7f3f70f8493fcb310a918da590b6170423eaf2
[ "MIT" ]
null
null
null
test/auth/plug_test.exs
artsy/artsy_auth_ex
0f7f3f70f8493fcb310a918da590b6170423eaf2
[ "MIT" ]
null
null
null
defmodule Artsy.Auth.PlugTest do use ExUnit.Case doctest Artsy.Auth.Plug end
16.2
32
0.790123
38a744248fcbb3d64b35571d420fe3d656fe8b07
9,587
ex
Elixir
lib/decoder.ex
mpraski/pbf-parser
627cdf6518bec79724392afd4a7ec095a1998cbd
[ "MIT" ]
5
2019-02-11T14:25:57.000Z
2021-10-30T01:26:33.000Z
lib/decoder.ex
mpraski/pbf-parser
627cdf6518bec79724392afd4a7ec095a1998cbd
[ "MIT" ]
null
null
null
lib/decoder.ex
mpraski/pbf-parser
627cdf6518bec79724392afd4a7ec095a1998cbd
[ "MIT" ]
1
2019-08-30T14:09:36.000Z
2019-08-30T14:09:36.000Z
defmodule PBFParser.Decoder do @moduledoc false alias PBFParser.Proto.OsmFormat.{ DenseInfo, DenseNodes, HeaderBlock, Info, Node, PrimitiveBlock, PrimitiveGroup, Relation, StringTable, Way } @empty_dense_info %DenseInfo{ changeset: [], timestamp: [], uid: []...
24.708763
94
0.513195
38a7647c4fa6b586d78c4d12589053a46166f151
2,677
ex
Elixir
lib/acmex/openssl.ex
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
lib/acmex/openssl.ex
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
lib/acmex/openssl.ex
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
defmodule Acmex.OpenSSL do @moduledoc """ This module provides functions to generate a Private Key and Certificate Signing Request. """ @type rsa_key_sizes :: 2048 | 3082 | 4096 @rsa_key_sizes [2048, 3072, 4096] @subject_keys %{ country_name: "C", locality_name: "L", organization_name: "O", ...
25.495238
101
0.60777
38a76ed5c8ddd90b842e9e74980997e21864f987
7,070
exs
Elixir
lib/elixir/test/elixir/kernel/comprehension_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/test/elixir/kernel/comprehension_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/comprehension_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.ComprehensionTest do use ExUnit.Case, async: true import ExUnit.CaptureIO require Integer defmodule Pdict do defstruct [] defimpl Collectable do def into(struct) do {struct, fn _, {:cont, x} -> Process...
26.380597
91
0.541584
38a7dcee57f046b2055c018fe19d4d34605fedec
708
ex
Elixir
apps/brain/lib/sensors/supervisor.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
39
2016-11-01T07:21:51.000Z
2021-02-05T20:19:02.000Z
apps/brain/lib/sensors/supervisor.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
apps/brain/lib/sensors/supervisor.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
defmodule Brain.Sensors.Supervisor do use Supervisor require Logger def start_link() do Supervisor.start_link(__MODULE__, []) end def init([]) do children = registered_sensors() |> Enum.map(fn sensor_module -> sensor_configuration = Application.get_env(:brain, sensor_module) driver_modul...
28.32
121
0.69774
38a7e802ae650e47f0e4f8fecc45ead5c896db18
398
exs
Elixir
test/absinthe/integration/execution/fragments/basic_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/fragments/basic_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/fragments/basic_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Elixir.Absinthe.Integration.Execution.Fragments.BasicTest do use ExUnit.Case, async: true @query """ query Q { person { ...NamedPerson } } fragment NamedPerson on Person { name } """ test "scenario #1" do assert {:ok, %{data: %{"person" => %{"name" => "Bruce"}}}} == ...
19.9
70
0.595477
38a7fe735d1be633b0b57987b1949f0877856ce0
384
exs
Elixir
frameworks/Elixir/phoenix/config/dev.exs
ztellman/FrameworkBenchmarks
2efa214d727831922e5a95fc4436688588580684
[ "BSD-3-Clause" ]
6
2015-07-08T06:30:26.000Z
2021-12-11T16:13:17.000Z
frameworks/Elixir/phoenix/config/dev.exs
ztellman/FrameworkBenchmarks
2efa214d727831922e5a95fc4436688588580684
[ "BSD-3-Clause" ]
null
null
null
frameworks/Elixir/phoenix/config/dev.exs
ztellman/FrameworkBenchmarks
2efa214d727831922e5a95fc4436688588580684
[ "BSD-3-Clause" ]
1
2020-06-06T18:11:19.000Z
2020-06-06T18:11:19.000Z
use Mix.Config config :hello, Hello.Endpoint, url: [host: "localhost", port: 8080], http: [port: System.get_env("PORT") || 8080], debug_errors: true, cache_static_lookup: false # Enables code reloading for development config :phoenix, :code_reloader, true # Do not include metadata nor timestamps in developme...
27.428571
60
0.731771
38a814a332fcb455b29bbb64be35f59cab6f5ed9
1,441
ex
Elixir
lib/request.ex
rands0n/vroom-elixir
76a217d81f58c5fb4b29675ed009a4339277bd6b
[ "MIT" ]
1
2021-04-27T01:06:19.000Z
2021-04-27T01:06:19.000Z
lib/request.ex
rands0n/vroom-elixir
76a217d81f58c5fb4b29675ed009a4339277bd6b
[ "MIT" ]
null
null
null
lib/request.ex
rands0n/vroom-elixir
76a217d81f58c5fb4b29675ed009a4339277bd6b
[ "MIT" ]
null
null
null
defmodule VROOM.Request do @moduledoc false use Tesla require Logger @vroom_url Application.get_env(:vroom, :url) plug(Tesla.Middleware.BaseUrl, @vroom_url) plug(Tesla.Middleware.Headers, [{"content-type", "application/json"}]) plug(Tesla.Middleware.FollowRedirects) plug(Tesla.Middleware.JSON) plu...
32.022222
98
0.654407
38a81e3cf7cf9d50bc7660941dbb4958db355a36
512
ex
Elixir
web/views/artist_view.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
web/views/artist_view.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
web/views/artist_view.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
defmodule Headland.ArtistView do use Headland.Web, :view def render("index.json", %{artists: artists}) do %{data: render_many(artists, Headland.ArtistView, "artist.json")} end def render("show.json", %{artist: artist}) do %{data: render_one(artist, Headland.ArtistView, "artist.json")} end def ren...
25.6
69
0.666016
38a82fdb5c2657123052770c9e8388812e8601e4
2,866
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/key.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastore/lib/google_api/datastore/v1/model/key.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastore/lib/google_api/datastore/v1/model/key.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...
57.32
947
0.755757
38a86950dc116f026609d3349933cf14566cbbbf
153
ex
Elixir
apps/data/lib/grapevine_data/repo.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/lib/grapevine_data/repo.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/lib/grapevine_data/repo.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Repo do @moduledoc """ The socket repo """ use Ecto.Repo, otp_app: :grapevine_data, adapter: Ecto.Adapters.Postgres end
19.125
74
0.732026
38a8b6a9e4491e18750d3504fb71015ffec55278
20,595
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/placement_strategies.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/placement_strategies.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/placement_strategies.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...
43.726115
552
0.615635
38a8c14abd8d5a82e1e683f5184e78547c4bf383
3,898
ex
Elixir
lib/credo/check/readability/max_line_length.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/readability/max_line_length.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/readability/max_line_length.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.MaxLineLength do @moduledoc """ Checks for the length of lines. Ignores function definitions and (multi-)line strings by default. """ @explanation [ check: @moduledoc, params: [ max_length: "The maximum number of characters a line may consist of.", ignor...
27.450704
91
0.655208
38a8c6b7eadf06d12dfed5703fab354e175648bb
2,657
exs
Elixir
hippo-backend/config/prod.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
1
2020-09-20T14:16:03.000Z
2020-09-20T14:16:03.000Z
hippo-backend/config/prod.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
null
null
null
hippo-backend/config/prod.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
null
null
null
use Mix.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, # ...
32.012048
85
0.710199
38a8cc45ae83e6508b02eceb77c3e81e91173386
489
exs
Elixir
web/.formatter.exs
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
5
2021-11-04T08:31:46.000Z
2021-11-07T12:15:57.000Z
web/.formatter.exs
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
2
2021-11-01T19:00:35.000Z
2021-11-04T13:07:47.000Z
web/.formatter.exs
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
2
2021-11-04T10:46:41.000Z
2022-02-22T18:05:44.000Z
[ locals_without_parens: [ delete: 1, deprecated: 1, description: 1, get: 1, head: 1, nest: 1, operation_id: 1, options: 1, paging: 1, parameters: 1, parameters: 5, parameter: 5, patch: 1, post: 1, put: 1, response: 2, response: 3, response: 4, ...
16.862069
59
0.523517
38a8d22bc169d12b506e87a79534ca1861360c23
161
exs
Elixir
test/protolt3.exs
anqurvanillapy/protolt3
04c920987016d74ca1310c17d1566804c383add1
[ "MIT" ]
null
null
null
test/protolt3.exs
anqurvanillapy/protolt3
04c920987016d74ca1310c17d1566804c383add1
[ "MIT" ]
null
null
null
test/protolt3.exs
anqurvanillapy/protolt3
04c920987016d74ca1310c17d1566804c383add1
[ "MIT" ]
null
null
null
defmodule Protolt3 do @on_load :load_nifs def load_nifs do :erlang.load_nif('./wrap_protolt3', 0) end # TODO: other function calls end
16.1
46
0.652174
38a8e96c29c3ebb495ea8758889cccb2d8154126
142
ex
Elixir
web/controllers/page_controller.ex
kagemiku/ciphoenix
1d75529d5f92d4605bdc650e330414c9cda0c128
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
kagemiku/ciphoenix
1d75529d5f92d4605bdc650e330414c9cda0c128
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
kagemiku/ciphoenix
1d75529d5f92d4605bdc650e330414c9cda0c128
[ "MIT" ]
null
null
null
defmodule Ciphoenix.PageController do use Ciphoenix.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17.75
37
0.739437
38a9027661047604bc5c3be200d20eeac582a27f
1,188
exs
Elixir
tasks/docs.exs
boudra/earmark
add45b50fbfdd96283e0d5359ffcf43b844337ad
[ "Apache-1.1" ]
null
null
null
tasks/docs.exs
boudra/earmark
add45b50fbfdd96283e0d5359ffcf43b844337ad
[ "Apache-1.1" ]
null
null
null
tasks/docs.exs
boudra/earmark
add45b50fbfdd96283e0d5359ffcf43b844337ad
[ "Apache-1.1" ]
null
null
null
defmodule Mix.Tasks.Docs do use Mix.Task @shortdoc "Build docs with globally installed ex_doc to avoid conflicts" @moduledoc """ ex_doc uses earmark. This means we can't have a dependency from earmark back to ex_doc, as this would be circular. Instead, we run ex_doc from the command line. ## ...
25.276596
77
0.671717
38a919a78e7ccf8328ccfefaa839d6c2b488f369
1,787
exs
Elixir
test/straw_hat_review/reviews_test.exs
straw-hat-team/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
11
2018-04-09T06:32:02.000Z
2019-09-11T14:18:21.000Z
test/straw_hat_review/reviews_test.exs
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
64
2018-03-30T06:21:49.000Z
2019-11-01T13:57:34.000Z
test/straw_hat_review/reviews_test.exs
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
1
2018-06-21T23:00:00.000Z
2018-06-21T23:00:00.000Z
defmodule StrawHat.Review.ReviewsTest do use StrawHat.Review.Test.DataCase, async: true alias StrawHat.Review.{Reviews, Review} describe "find_review/1" do test "with valid id" do review = insert(:review) assert {:ok, _review} = Reviews.find_review(review.id) end test "with invalid id s...
28.365079
85
0.690543
38a977c7d83483fdb16cfc355eff7f09d7344a8a
579
ex
Elixir
lib/open_pantry/web/controllers/fallback_controller.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
lib/open_pantry/web/controllers/fallback_controller.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
lib/open_pantry/web/controllers/fallback_controller.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.Web.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use OpenPantry.Web, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> p...
27.571429
79
0.70639
38a978af434058bd2429088e0bcef4050df7c99d
2,145
exs
Elixir
config/dev.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
config/dev.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
config/dev.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :horizons, Horizons.Repo, username: "postgres", password: "postgres", database: "horizons_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reload...
27.857143
68
0.691841
38a99bf12d38ca297114f407253cb88739f8d2c3
1,044
exs
Elixir
test/load_data_test.exs
yieldbot/datomic_gen_server
a1df454a9b78034c4ac68820dd625128799fc2c1
[ "Unlicense", "MIT" ]
23
2016-02-16T16:55:05.000Z
2021-07-23T17:06:29.000Z
test/load_data_test.exs
yieldbot/datomic_gen_server
a1df454a9b78034c4ac68820dd625128799fc2c1
[ "Unlicense", "MIT" ]
1
2017-01-20T20:55:56.000Z
2017-01-20T20:55:56.000Z
test/load_data_test.exs
yieldbot/datomic_gen_server
a1df454a9b78034c4ac68820dd625128799fc2c1
[ "Unlicense", "MIT" ]
6
2017-01-17T16:12:23.000Z
2020-09-19T15:30:59.000Z
defmodule LoadDataTest do use ExUnit.Case, async: false setup_all do # Need long timeouts to let the JVM start. DatomicGenServer.start_link( "datomic:mem://seed-data-test", true, [{:timeout, 20_000}, {:default_message_timeout, 20_000}, {:name, LoadDataServer}] ) :ok end ...
37.285714
115
0.618774
38aa1ff9c279bd96f81c4dd802899568c2e18f2e
320
exs
Elixir
test/tempo/event/easter_test.exs
kipcole9/tempo
817714acd6baf38be3a8a997ef1d205206d79adc
[ "Apache-2.0" ]
16
2021-01-03T12:53:52.000Z
2021-08-25T03:47:14.000Z
test/tempo/event/easter_test.exs
kipcole9/tempo
817714acd6baf38be3a8a997ef1d205206d79adc
[ "Apache-2.0" ]
3
2021-01-10T09:32:22.000Z
2021-07-19T12:16:17.000Z
test/tempo/event/easter_test.exs
kipcole9/tempo
817714acd6baf38be3a8a997ef1d205206d79adc
[ "Apache-2.0" ]
1
2021-01-10T09:01:11.000Z
2021-01-10T09:01:11.000Z
defmodule Tempo.Event.Easter.Test do use ExUnit.Case for [year, month, day] <- Tempo.GregorianEasterTest.data() do test "Gregorian Easter for the year #{year}" do assert Tempo.Event.Easter.gregorian_easter(unquote(year)) == Date.new!(unquote(year), unquote(month), unquote(day)) end end end
29.090909
66
0.69375
38aa2019e8af0fc087d2497786360715b40818c4
243
exs
Elixir
apps/blog/priv/repo/migrations/20170129152844_create_category.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/priv/repo/migrations/20170129152844_create_category.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/priv/repo/migrations/20170129152844_create_category.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
defmodule Blog.Repo.Migrations.CreateCategory do use Ecto.Migration def change do create table(:categories) do add :name, :string, null: false timestamps() end create unique_index(:categories, [:name]) end end
17.357143
48
0.683128
38aa3abd60f0a2b49679b514481ce511fa12bbf5
1,040
ex
Elixir
lib/cforum/repo.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum/repo.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum/repo.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Repo do use Ecto.Repo, otp_app: :cforum, adapter: Ecto.Adapters.Postgres import Ecto.Query, warn: false # def exists?(queryable) do # query = # Ecto.Query.from(x in queryable, select: 1, limit: 1) # |> Ecto.Queryable.to_query() # case all(query) do # [1] -> true # ...
25.365854
74
0.628846
38aa3d63ba142c354377d254d6ad8ac02bcd8f15
1,023
ex
Elixir
exercism/elixir/dnd-character/lib/dnd_character.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/dnd-character/lib/dnd_character.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/dnd-character/lib/dnd_character.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule DndCharacter do @type t :: %__MODULE__{ strength: pos_integer(), dexterity: pos_integer(), constitution: pos_integer(), intelligence: pos_integer(), wisdom: pos_integer(), charisma: pos_integer(), hitpoints: pos_integer() } def...
24.95122
87
0.600196
38aa4b3a23996983c1c382aa0b0db3060952a20d
4,225
exs
Elixir
test/aasm_test.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
2
2019-06-10T11:42:02.000Z
2019-08-06T02:53:59.000Z
test/aasm_test.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
null
null
null
test/aasm_test.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
null
null
null
defmodule AASMTest do use ExUnit.Case import Dummy.Factory alias Dummy.Order setup_all do { :ok, created_order: insert(:order, %{state: "state_created"}), assigned_order: insert(:order, %{state: "state_assigned"}), finished_order: insert(:order, %{state: "state_finished"}), ...
34.349593
94
0.657988
38aa5d44eb5bb4190750dc3d5adeda4da6faa159
886
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# 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...
32.814815
74
0.759594
38aa69bbd9eb253e3cf97cfaaca80b7cbf625de9
955
exs
Elixir
test/corker/slack/actions_test.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
5
2019-05-24T17:00:42.000Z
2019-05-27T13:50:56.000Z
test/corker/slack/actions_test.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
17
2019-05-27T08:59:36.000Z
2020-02-17T06:45:27.000Z
test/corker/slack/actions_test.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
1
2019-08-27T14:27:06.000Z
2019-08-27T14:27:06.000Z
defmodule Corker.Slack.ActionsTest do use ExUnit.Case, async: true alias Corker.Slack.{ Actions, Messages } describe "parse/2" do test "replies with error when receiving unknown DMs" do state = %{} response = Actions.parse( %{channel: "DIRECTMESSAGEID", text: "123", ...
23.292683
70
0.605236
38aa7fdb57f7f94bafa53db74ab361d132add355
12,605
exs
Elixir
apps/state_mediator/test/state_mediator/integration/gtfs_test.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
null
null
null
apps/state_mediator/test/state_mediator/integration/gtfs_test.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
null
null
null
apps/state_mediator/test/state_mediator/integration/gtfs_test.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
null
null
null
defmodule StateMediator.Integration.GtfsTest do use ExUnit.Case @moduledoc """ Don't run these tests along with the main ones. Instead, run them alone: `$ mix test --include integration --exclude test` You can also give them a direct path to a .ZIP file for local testing: `$ env MBTA_GTFS_FILE=<path to...
32.825521
100
0.61428
38aabd907c9a7a7df4c4dff35393ccf92111e9d9
2,621
ex
Elixir
lib/metrics/player_instrumenter.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/metrics/player_instrumenter.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/metrics/player_instrumenter.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Metrics.PlayerInstrumenter do @moduledoc """ Player metrics """ use Prometheus.Metric require Logger def setup() do Gauge.declare( name: :exventure_player_count, help: "Number of players signed in currently", labels: [:role] ) Gauge.declare( name: :exventure...
27.589474
91
0.709271
38aacbac30c9a744e5ace6bf59e47ac22c77b5a9
2,552
ex
Elixir
lib/phoenix_pubsub_redis_z/redis_z.ex
cctiger36/phoenix_pubsub_redis_z
27ed1a60fcbcec4bced37e7b45493c16f8fa816d
[ "MIT" ]
5
2018-05-27T15:45:16.000Z
2019-02-12T12:56:31.000Z
lib/phoenix_pubsub_redis_z/redis_z.ex
cctiger36/phoenix_pubsub_redis_z
27ed1a60fcbcec4bced37e7b45493c16f8fa816d
[ "MIT" ]
45
2018-09-11T00:29:09.000Z
2022-03-23T21:39:38.000Z
lib/phoenix_pubsub_redis_z/redis_z.ex
cctiger36/phoenix_pubsub_redis_z
27ed1a60fcbcec4bced37e7b45493c16f8fa816d
[ "MIT" ]
1
2018-05-23T11:54:55.000Z
2018-05-23T11:54:55.000Z
defmodule Phoenix.PubSub.RedisZ do @moduledoc false alias __MODULE__.{LocalSupervisor, RedisSupervisor} use Supervisor @default_publisher_pool_size 8 @spec start_link(keyword) :: Supervisor.on_start() def start_link(options) do unless is_atom(options[:name]), do: raise(ArgumentError, message: ...
29
89
0.674765
38aacbd668a40ce2cf919b8bb318b1d1a36b5bb1
4,168
exs
Elixir
test/game/account_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
test/game/account_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
test/game/account_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.AccountTest do use Data.ModelCase alias Data.Character alias Data.Item alias Data.User alias Game.Account describe "creating an account" do test "successfully" do create_config(:starting_save, base_save() |> Poison.encode!) human = create_race() fighter = create_class(...
30.647059
143
0.666027
38aaf801d4de157fee4379a7a327062df5e45aab
719
ex
Elixir
lib/chromic_pdf/pdf/connection/tokenizer.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
177
2020-02-28T13:37:23.000Z
2022-03-25T13:37:46.000Z
lib/chromic_pdf/pdf/connection/tokenizer.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
46
2020-02-28T11:31:41.000Z
2022-03-31T14:49:26.000Z
lib/chromic_pdf/pdf/connection/tokenizer.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
14
2020-07-09T02:09:34.000Z
2022-03-25T13:37:48.000Z
defmodule ChromicPDF.Connection.Tokenizer do @moduledoc false @type t :: list() # Returns initial memo. def init do [] end # Returns {[msgs(), memo()]}, msgs can be consumed, memo should be saved for next data blob. def tokenize(data, memo) do data |> String.split("\0") |> handle_chunks...
21.787879
94
0.607789
38ab0bbd858faeab29e5871afd1c05acf74baf87
3,707
exs
Elixir
priv/templates/phx.gen.json/controller_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
null
null
null
priv/templates/phx.gen.json/controller_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
null
null
null
priv/templates/phx.gen.json/controller_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
null
null
null
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>ControllerTest do use <%= inspect context.web_module %>.ConnCase import <%= inspect context.module %>Fixtures alias <%= inspect schema.module %> @create_attrs %{ <%= schema.params.create |> Enum.map(fn...
43.611765
165
0.591044
38ab3264f045274ab76f825d7f708efafd8d813e
5,322
ex
Elixir
lib/instream/series.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
lib/instream/series.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
lib/instream/series.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
defmodule Instream.Series do @moduledoc """ Defines a series. ## Usage defmodule MySeries do use Instream.Series series do database "my_database_optional" measurement "cpu_load" tag :host, default: "www" tag :core field :value, defaul...
22.455696
85
0.61631
38ab42d80aabdcf2617005b0c42efa46eb89ed6c
1,565
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_location_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_location_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_location_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.297872
112
0.755272
38ab48b564a0984b65fafd41e3a7dc07d3f5a862
205
exs
Elixir
examples/05-indeterminate.exs
varsill/progress_bar
123536f5af4c86f332a77e027fe7c489731eafea
[ "MIT" ]
318
2015-09-19T14:02:22.000Z
2022-03-10T21:27:53.000Z
examples/05-indeterminate.exs
varsill/progress_bar
123536f5af4c86f332a77e027fe7c489731eafea
[ "MIT" ]
26
2015-09-19T10:48:44.000Z
2021-11-16T17:11:21.000Z
examples/05-indeterminate.exs
varsill/progress_bar
123536f5af4c86f332a77e027fe7c489731eafea
[ "MIT" ]
26
2015-09-30T02:01:54.000Z
2022-03-18T13:58:12.000Z
IO.puts "" IO.puts "Indeterminate bar (with custom colors):" format = [ bars_color: IO.ANSI.yellow, done_color: IO.ANSI.green, ] ProgressBar.render_indeterminate(format, fn -> :timer.sleep 5000 end)
20.5
69
0.726829
38ab64b4eca0dace4076aa287f948f9fe131eb5f
1,079
ex
Elixir
apps/xee/test/support/conn_case.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
11
2015-12-24T07:51:45.000Z
2019-03-05T12:29:31.000Z
apps/xee/test/support/conn_case.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
62
2015-12-25T02:58:20.000Z
2020-03-04T06:52:11.000Z
apps/xee/test/support/conn_case.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
1
2016-07-19T03:28:08.000Z
2016-07-19T03:28:08.000Z
defmodule XeeWeb.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the dat...
24.522727
65
0.698795
38ab94f98bb5b3eed0a5560c870e53c1ef5ca64c
112
exs
Elixir
v02/structs/structs5.edit1.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/structs/structs5.edit1.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/structs/structs5.edit1.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
book1 = %Book{ author: "夏目漱石", title: "坊っちゃん" } for { key, value} <- book1 do IO.puts "#{key} = #{value}" end
22.4
47
0.571429
38aba4c171113542a99153fe663f806a5ceb13de
2,875
ex
Elixir
lib/openpayex/charges.ex
Plus17/openpayex
dbff5051254fd3c040f86364cf40793804af9e66
[ "MIT" ]
null
null
null
lib/openpayex/charges.ex
Plus17/openpayex
dbff5051254fd3c040f86364cf40793804af9e66
[ "MIT" ]
1
2019-08-19T03:53:19.000Z
2019-08-19T03:53:19.000Z
lib/openpayex/charges.ex
Plus17/openpayex
dbff5051254fd3c040f86364cf40793804af9e66
[ "MIT" ]
null
null
null
defmodule Openpayex.Charges do @moduledoc """ Functions for working with charges at Openpay. Through this API you can: * create a charge * get a charge * list charges """ alias Openpayex.OpenPay.OpenPayHelper @doc """ Create charge without client. ## Example: ``` params = %{ method: "ban...
23.760331
90
0.62887
38abc1ee470859caf4eb99f268408f56adbb62ba
1,456
ex
Elixir
lib/history/candles.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/candles.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/candles.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.Candles do require Ecto.Query import Ecto.Query alias History.Repo alias History.Candles.Candle @default_latest_page 1 @default_latest_page_size 25 @max_page_size 100 def search_latest(opts \\ []) do page = max((opts[:page] || @default_latest_page) - 1, 0) page_size = min(opt...
19.945205
88
0.554258
38abc6ae5ebfc3b294c08398db1040746f358e04
1,805
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_devices_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_devices_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_devices_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.404255
169
0.765097
38abd856a6abd860986937407798a1289891688e
2,468
exs
Elixir
evaluators/exeval.exs
chrisgzf/rs-evalbot
634d7c60570b363686f2419b8fb595a88c01d34d
[ "MIT" ]
12
2016-02-12T09:25:52.000Z
2021-07-28T14:59:26.000Z
evaluators/exeval.exs
chrisgzf/rs-evalbot
634d7c60570b363686f2419b8fb595a88c01d34d
[ "MIT" ]
1
2019-04-08T03:43:54.000Z
2019-04-08T03:43:54.000Z
evaluators/exeval.exs
chrisgzf/rs-evalbot
634d7c60570b363686f2419b8fb595a88c01d34d
[ "MIT" ]
8
2015-11-29T04:36:54.000Z
2021-01-21T07:39:52.000Z
defmodule ElixirEval do require Logger def start do case :gen_tcp.listen(0, [:binary, :local, fd: 3, active: false]) do {:ok, socket} -> accept_loop(socket) {:error, reason} -> Logger.error("Unable to listen: #{reason}") end end defp accept_loop(socket, buffer \\ <<>>, bindings \\ %{}) do ...
29.73494
98
0.640194
38abffb0d0d196b5fdaa9fbe8b22736dd571ddc9
8,145
exs
Elixir
test/phoenix_live_view/integrations/flash_test.exs
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/flash_test.exs
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/flash_test.exs
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.FlashIntegrationTest do use ExUnit.Case, async: false use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.{Endpoint, Router} @endpoint Endpoint @moduletag :capture_log setup do conn = Phoenix.ConnTest.build_conn() ...
35.413043
96
0.602455
38ac45bda1192b857d280e511adc2c1a571a0e74
1,957
ex
Elixir
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_binding_explanation_annotated_membership.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_binding_explanation_annotated_membership.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_binding_explanation_annotated_membership.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...
34.333333
144
0.754727
38ac6ade69640f83dc0a5fbb0ab69978a8fbc30c
200
ex
Elixir
lib/exchema/types/string.ex
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
21
2018-01-06T22:33:20.000Z
2020-02-07T18:49:22.000Z
lib/exchema/types/string.ex
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
5
2018-02-15T16:39:14.000Z
2018-11-30T21:06:08.000Z
lib/exchema/types/string.ex
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
4
2018-05-21T21:26:27.000Z
2019-04-17T16:45:14.000Z
defmodule Exchema.Types.String do @moduledoc "Represents any string/binary" alias Exchema.Predicates @doc false def __type__({}) do {:ref, :any, [{{Predicates, :is}, :binary}]} end end
20
48
0.68
38acec825bcf0743c6834e386e03ca8c7471ed22
46
exs
Elixir
test/poe_api_test.exs
simplecastapps/poe-api
56e9b6ebfcd931c4023e555534a753f5ad32cf9c
[ "MIT" ]
4
2016-01-14T05:33:21.000Z
2017-02-01T14:10:57.000Z
test/poe_api_test.exs
poegroup/poe-api
d056412c336e30747f811fb5124e14ecb1b43b98
[ "MIT" ]
null
null
null
test/poe_api_test.exs
poegroup/poe-api
d056412c336e30747f811fb5124e14ecb1b43b98
[ "MIT" ]
3
2017-01-09T14:34:54.000Z
2020-12-17T07:14:33.000Z
defmodule PoeApiTest do use ExUnit.Case end
11.5
23
0.804348
38ad3354b51af9022f6d731e81eaf4414145c59e
487
ex
Elixir
lib/lexin_web/views/error_view.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
lib/lexin_web/views/error_view.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
6
2022-01-05T12:51:37.000Z
2022-01-13T09:52:36.000Z
lib/lexin_web/views/error_view.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
defmodule LexinWeb.ErrorView do use LexinWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. Fo...
28.647059
61
0.73306