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
21fc1019529836114c630d54d7d16cd9ad8e300d
1,154
exs
Elixir
apps/v3_api/test/facilities_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/v3_api/test/facilities_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/v3_api/test/facilities_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule V3Api.FacilitiesTest do use ExUnit.Case describe "all" do test "hits /facilities" do bypass = Bypass.open() url = "http://localhost:#{bypass.port}" Bypass.expect(bypass, fn conn -> assert conn.request_path == "/facilities/" conn = Plug.Conn.fetch_query_params(conn)...
25.644444
88
0.531196
21fc11da87b58f51cfd5761724c8d9a4d3b288ca
3,467
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/cache_key_policy.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/cache_key_policy.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/cache_key_policy.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
53.338462
324
0.721085
21fc15da3d758f5efadafb884eb4bbba0f02b2d2
4,959
ex
Elixir
deps/plug/lib/plug/upload.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/upload.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/upload.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
defmodule Plug.UploadError do defexception [:message] end defmodule Plug.Upload do @moduledoc """ A server (a `GenServer` specifically) that manages uploaded files. Uploaded files are stored in a temporary directory and removed from that directory after the process that requested the file dies. During ...
27.39779
110
0.616657
21fc165761e9a260ed97078db28bb246c8eacde2
2,217
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/time_of_day.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v3/model/time_of_day.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v3/model/time_of_day.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.589286
214
0.699143
21fc36895d8c009834c3c8b39e3dd073055967c8
1,859
ex
Elixir
lib/revolver/conn.ex
scrogson/revolver
174f1049ba8beae65e53672b19d526bbba761a6d
[ "Apache-2.0" ]
9
2015-07-26T13:27:16.000Z
2017-04-02T11:18:46.000Z
lib/revolver/conn.ex
scrogson/revolver
174f1049ba8beae65e53672b19d526bbba761a6d
[ "Apache-2.0" ]
1
2016-08-16T02:48:37.000Z
2016-08-16T03:44:19.000Z
lib/revolver/conn.ex
scrogson/revolver
174f1049ba8beae65e53672b19d526bbba761a6d
[ "Apache-2.0" ]
null
null
null
defmodule Revolver.Conn do @moduledoc """ The Revolver Connection. This module provides a struct that will be used throughout the connection life-cycle. """ alias Revolver.Conn defstruct adapter: {Revolver.Conn, nil}, host: "www.example.com", method: ...
29.983871
89
0.556213
21fc428cc921e507595c782e1fea6f5a84d5abb7
407
ex
Elixir
lib/shopircruit_gateway.ex
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
lib/shopircruit_gateway.ex
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
lib/shopircruit_gateway.ex
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
# interface for challenge-related API requests defmodule Shopircruit.Gateway do use HTTPoison.Base @endpoint "https://backend-challenge-summer-2018.herokuapp.com" def endpoint do @endpoint end defp process_url(url) do case url |> String.slice(0, 8) |> String.downcase do "http://" <> _ -> supe...
21.421053
65
0.646192
21fc5a3b228a9f1b359defc0c5dd98009682e284
970
exs
Elixir
05-module-use.exs
MilesChou/30-days-of-elixir
1ac8231c5c98a84d7e567e4d6855c83360eab01a
[ "MIT" ]
null
null
null
05-module-use.exs
MilesChou/30-days-of-elixir
1ac8231c5c98a84d7e567e4d6855c83360eab01a
[ "MIT" ]
null
null
null
05-module-use.exs
MilesChou/30-days-of-elixir
1ac8231c5c98a84d7e567e4d6855c83360eab01a
[ "MIT" ]
null
null
null
# https://elixirschool.com/en/lessons/basics/modules/#composition defmodule Hello do defmacro __using__(_opts) do quote do def hello(name), do: "Hi, #{name}" end end end defmodule Example do use Hello end IO.puts Example.hello("Sean") defmodule Hello2 do defmacro __using__(opts) do greetin...
16.166667
65
0.671134
21fc5ad7bd485cfe519ce30ad785e88bc6fce614
51,446
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.35
196
0.607861
21fc64a7a560b9a6eaae5754df3b3e167f778fb9
992
ex
Elixir
test/support/web/commanders/broadcast2_commander.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
test/support/web/commanders/broadcast2_commander.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
test/support/web/commanders/broadcast2_commander.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule DrabTestApp.Broadcast2Commander do @moduledoc false use Drab.Commander, modules: [Drab.Query, Drab.Modal] onload(:page_loaded) onconnect(:connected) broadcasting(:same_controller) def page_loaded(socket) do socket |> Drab.Query.insert("<h3 id='page_loaded_indicator'>Page Loaded</h3>", a...
29.176471
94
0.668347
21fca363f57ad51b137218397d31d8b2d1ad4317
5,881
exs
Elixir
test/invoices/invoice_acceptance_test.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
test/invoices/invoice_acceptance_test.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
test/invoices/invoice_acceptance_test.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
defmodule BitPal.InvoiceAcceptanceTest do use BitPal.IntegrationCase alias BitPal.BackendMock @tag backends: true, double_spend_timeout: 1 test "accept after no double spend in timeout" do {:ok, inv, stub, _invoice_handler} = HandlerSubscriberCollector.create_invoice(required_confirmations: 0) B...
31.789189
94
0.655841
21fca52406ca50408ef8c1e525f25724fc8c6237
1,120
exs
Elixir
test/matrix_sdk/api/error_test.exs
arjan/matrix-elixir-sdk
97ad3d50fe07df51e79a2938c7373a76f68971c3
[ "MIT" ]
51
2020-06-30T13:34:34.000Z
2022-01-30T06:04:26.000Z
test/matrix_sdk/api/error_test.exs
suranyami/matrix-elixir-sdk
db8f405e2ce341d967c8b95b514645e607bb0402
[ "MIT" ]
43
2020-06-15T09:44:35.000Z
2021-04-09T03:44:32.000Z
test/matrix_sdk/api/error_test.exs
suranyami/matrix-elixir-sdk
db8f405e2ce341d967c8b95b514645e607bb0402
[ "MIT" ]
7
2020-08-05T18:20:48.000Z
2021-07-28T21:07:31.000Z
defmodule MatrixSDK.API.ErrorTest do use ExUnit.Case, async: true alias MatrixSDK.API.Error alias Tesla describe "for/1:" do test "parses a 4xx HTTP response into an Error" do response = %Tesla.Env{ status: 401, body: %{ # Testing all the fields here, in reality not all of ...
32
76
0.625893
21fcc6fbbc6d03d807b41042600006e01cebdd1c
1,786
exs
Elixir
clients/docs/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/docs/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/mix.exs
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...
26.656716
95
0.647816
21fcdddbef47da054efe9a87bf48a36530c34e43
932
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_21_calories.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_21_calories.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_21_calories.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20021Calories do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"confidenceRange9...
27.411765
147
0.729614
21fd08043d4ec86b542a0e88f964d42a012ced95
1,874
ex
Elixir
lib/polimorfismo_web.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
lib/polimorfismo_web.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
lib/polimorfismo_web.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
defmodule PolimorfismoWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use PolimorfismoWeb, :controller use PolimorfismoWeb, :view The definitions below will be executed for every view,...
23.721519
76
0.697972
21fd12d95f4168cf1ac1e7c3d2f65885f23d7ad9
1,243
exs
Elixir
config/dev.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
config/dev.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
config/dev.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
import Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :my_app, MyAppWeb.Endpoint, http: [port: 4000], ...
28.906977
68
0.69992
21fd4a50c4e5ceb1035bcd10d2ffe6b918d8b64c
3,554
ex
Elixir
lib/finch/http1/pool.ex
jeffutter/finch
5c20d4eeab76cfe8e15c8e47dadb0346a46806c0
[ "MIT" ]
null
null
null
lib/finch/http1/pool.ex
jeffutter/finch
5c20d4eeab76cfe8e15c8e47dadb0346a46806c0
[ "MIT" ]
null
null
null
lib/finch/http1/pool.ex
jeffutter/finch
5c20d4eeab76cfe8e15c8e47dadb0346a46806c0
[ "MIT" ]
null
null
null
defmodule Finch.HTTP1.Pool do @moduledoc false @behaviour NimblePool @behaviour Finch.Pool alias Finch.Conn alias Finch.Telemetry def child_spec(opts) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [opts]} } end def start_link({shp, registry_name, pool_size, conn_opts}) do...
26.522388
88
0.610861
21fd7632c43dbebdb3949552821b608c9d7734a2
5,522
exs
Elixir
elixir/fizz_buzz.exs
sgeos/InterviewQuestions
b2000d49e03b75c40abaa04ee24ae560dd3b5f1f
[ "CC0-1.0" ]
2
2018-12-12T06:58:58.000Z
2019-04-20T14:06:22.000Z
elixir/fizz_buzz.exs
sgeos/InterviewQuestions
b2000d49e03b75c40abaa04ee24ae560dd3b5f1f
[ "CC0-1.0" ]
null
null
null
elixir/fizz_buzz.exs
sgeos/InterviewQuestions
b2000d49e03b75c40abaa04ee24ae560dd3b5f1f
[ "CC0-1.0" ]
3
2019-08-13T09:33:27.000Z
2021-09-14T09:22:30.000Z
#!/usr/bin/env elixir # PROBLEM: # Write a program that prints the numbers from 1 to 100. # But for multiples of three print "Fizz" instead of the number # and for the multiples of five print "Buzz". # For numbers which are multiples of both three and five print "FizzBuzz". # REFERENCE: # https://blog.codin...
38.082759
178
0.565918
21fd8a2be57efc72f4b7fcb3a29fdd8315990003
6,086
ex
Elixir
lib/matrex/db.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
36
2016-12-10T10:17:25.000Z
2022-01-20T03:58:12.000Z
lib/matrex/db.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
null
null
null
lib/matrex/db.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
10
2016-12-24T14:06:52.000Z
2022-01-20T03:59:17.000Z
defmodule Matrex.DB do use Agent alias __MODULE__, as: This alias Matrex.DB.Data alias Matrex.Models.{Account, Sessions} alias Matrex.Identifier alias Matrex.Events.State @typep auth_function :: (Data.t(), Identifier.user() -> {:ok, any, Data.t()} | {:error, atom, Data.t()}) @doc "For debug...
30.893401
98
0.633914
21fd91594897d0c20bd42a3e57e73bb67929f89b
165
exs
Elixir
apps/andi/priv/repo/migrations/20220311162504_add_ingestion_name.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/priv/repo/migrations/20220311162504_add_ingestion_name.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/priv/repo/migrations/20220311162504_add_ingestion_name.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.Repo.Migrations.AddIngestionName do use Ecto.Migration def change do alter table(:ingestions) do add :name, :string end end end
15
50
0.70303
21fda65edd67c2cdb0507168af9295322f8dcf63
2,057
exs
Elixir
config/dev.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
config/dev.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
config/dev.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :surface_bulma_widgets_playground, SurfaceBulmaWid...
30.25
84
0.705882
21fdaed96820bb899efa95ad9591b38a60ac88fc
2,277
ex
Elixir
test/support/test_support.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
test/support/test_support.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
test/support/test_support.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule FarmbotTestSupport do @moduledoc "Test Helpers." require Logger defp error(err) do """ #{IO.ANSI.red()} Could not connect to Farmbot #{err} server. Tried using creds: #{IO.ANSI.cyan()}email: #{IO.ANSI.normal()}#{ inspect(Application.get_env(:farmbot, :authorization)[:email] || "...
29.571429
112
0.635924
21fe1bc060865b51e414ad36db4d8b5f32563aa8
75
exs
Elixir
config/test.exs
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
config/test.exs
rdf-elixir/sparql-ex
138141797a1993ecfb50ddac6c1d2977601a11ff
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
config/test.exs
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
import Config config :rdf, default_base_iri: "http://example.com/base/"
15
46
0.733333
21fe2b0619ea8b9dd31313f4ec970615c770edd2
245
ex
Elixir
lib/tosh.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
defmodule Tosh do @moduledoc """ Tosh 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
24.5
66
0.746939
21fe40d0ace85feb0378cfc8e113894a61aaa5cf
2,690
exs
Elixir
config/prod.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
config/prod.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
config/prod.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.409639
68
0.714126
21fe433b39d3bfaf83f49740c579d4cea75db406
5,618
exs
Elixir
test/blog_post_api_web/controllers/user_controller_test.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
test/blog_post_api_web/controllers/user_controller_test.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
test/blog_post_api_web/controllers/user_controller_test.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
defmodule BlogPostApiWeb.UserControllerTest do use BlogPostApiWeb.ConnCase alias BlogPostApi.Accounts alias BlogPostApi.Factory describe "POST /user" do test "success: register a user and returns it auth token", %{conn: conn} do conn = post(conn, Routes.user_path(conn, :create), Factory.string_params...
31.038674
98
0.594696
21fe8522678c38230063044654d1e1e12c960e07
955
ex
Elixir
lib/ash/type/utc_datetime_usec.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/type/utc_datetime_usec.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/type/utc_datetime_usec.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Type.UtcDatetimeUsec do @moduledoc """ Represents a utc datetime with microsecond precision. A builtin type that can be referenced via `:utc_datetime_usec` """ use Ash.Type @impl true def storage_type, do: :utc_datetime_usec @impl true def cast_input(value, _) do Ecto.Type.cast(:u...
19.895833
64
0.595812
21fe8d46400a7f65d7954d65f451806d7b63808e
1,109
ex
Elixir
apps/sherbet_api/lib/sherbet.api.ex
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
3
2017-05-02T12:52:54.000Z
2017-05-28T11:53:17.000Z
apps/sherbet_api/lib/sherbet.api.ex
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
null
null
null
apps/sherbet_api/lib/sherbet.api.ex
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
2
2017-05-02T13:13:25.000Z
2019-10-24T11:55:39.000Z
defmodule Sherbet.API do @moduledoc """ The APIs for interfacing with the `Fondant.Service`. ## Configurable Options * `:server` - The server to send the request to. This takes a function that accepts a module and returns a valid named server. * `:timeout` - The maximum time to wait ...
28.435897
76
0.593327
21fe95b069304993b65e08f7ccce8f417693a218
13
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_match_operation_parsing_test_case/CharListLine.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_match_operation_parsing_test_case/CharListLine.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_match_operation_parsing_test_case/CharListLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
'One' = 'Two'
13
13
0.461538
21feaccda919e8b831b81793499299c48c9d353e
298
exs
Elixir
elixir/auction_umbrella/apps/auction/priv/repo/migrations/20210517221714_create_users.exs
kendru/darwin
67096eb900bc36d30bf5ce36d38aaa6db86a29a2
[ "MIT" ]
5
2021-11-17T04:37:39.000Z
2022-01-02T06:43:23.000Z
elixir/auction_umbrella/apps/auction/priv/repo/migrations/20210517221714_create_users.exs
kendru/darwin
67096eb900bc36d30bf5ce36d38aaa6db86a29a2
[ "MIT" ]
3
2021-05-21T21:50:11.000Z
2021-11-21T14:34:53.000Z
elixir/auction_umbrella/apps/auction/priv/repo/migrations/20210517221714_create_users.exs
kendru/darwin
67096eb900bc36d30bf5ce36d38aaa6db86a29a2
[ "MIT" ]
2
2021-11-16T14:14:05.000Z
2021-12-31T02:01:06.000Z
defmodule Auction.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table("users") do add :username, :string add :email_address, :string add :hashed_password, :string timestamps() end create unique_index(:users, [:username]) end end
19.866667
48
0.674497
21febe810187f8e1961a8d1f773799bafbabd1f1
3,381
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item_service_state.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item_service_state.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item_service_state.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
51.227273
395
0.761609
21fec1d7c808ce10724df174c84341d98f043e23
1,248
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/read_only.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/datastore/lib/google_api/datastore/v1/model/read_only.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/read_only.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 ...
29.714286
77
0.75641
21fecd72caab1cc43f0bf872e318be89761d438f
169
exs
Elixir
config/test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
config/test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
config/test.exs
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
import Config config :edgedb, file_module: Tests.Support.Mocks.FileMock, path_module: Tests.Support.Mocks.PathMock, system_module: Tests.Support.Mocks.SystemMock
24.142857
47
0.804734
21feec1d3d05fe103a69ff9988f50b066b733643
261
ex
Elixir
lib/swoosh.ex
matthewford/swoosh
2d7ee65aa3165b5bacd18a12a1746822e73d0af6
[ "MIT" ]
null
null
null
lib/swoosh.ex
matthewford/swoosh
2d7ee65aa3165b5bacd18a12a1746822e73d0af6
[ "MIT" ]
null
null
null
lib/swoosh.ex
matthewford/swoosh
2d7ee65aa3165b5bacd18a12a1746822e73d0af6
[ "MIT" ]
null
null
null
defmodule Swoosh do @moduledoc File.read!("README.md") |> String.replace("# Swoosh\n\n", "", global: false) @version "1.3.1" @doc false def version, do: @version @doc false def json_library, do: Application.fetch_env!(:swoosh, :json_library) end
21.75
89
0.678161
21fef574183c2624b8bcab1518a7303dcd39e638
29,940
exs
Elixir
lib/elixir/test/elixir/kernel/parser_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/kernel/parser_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/kernel/parser_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.ParserTest do use ExUnit.Case, async: true describe "unary ops" do test "in keywords" do assert parse!("f(!: :ok)") == {:f, [line: 1], [[!: :ok]]} assert parse!("f @: :ok") == {:f, [line: 1], [[@: :ok]]} end test "ambiguous...
32.864984
266
0.537809
21ff10fd2f67448599b915cda8acbb4547a4249c
1,018
ex
Elixir
lib/plug/method_override.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
null
null
null
lib/plug/method_override.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
null
null
null
lib/plug/method_override.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
null
null
null
defmodule Plug.MethodOverride do @moduledoc """ This plug overrides the request's `POST` method with the method defined in the `_method` request parameter. The `POST` method can be overridden only with on of these HTTP methods: * `PUT` * `PATCH` * `DELETE` This plug expects the parameters to be alrea...
22.130435
79
0.645383
21ff218df863ade4a0278fd7c1cf9077d719304d
34,796
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/api/inventory_source_groups.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/api/inventory_source_groups.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/api/inventory_source_groups.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...
44.496164
196
0.634268
21ff264f9787edc0e618e585ce1b804d83038481
2,740
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_table_cell_properties_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_table_cell_properties_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_table_cell_properties_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
48.070175
564
0.748905
21ff6c7c627fba95035e152b7c73d3592967d4b5
161
ex
Elixir
lib/elsa/partitioner/default.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
76
2019-05-31T20:35:19.000Z
2022-02-26T10:15:27.000Z
lib/elsa/partitioner/default.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
44
2019-06-13T14:43:30.000Z
2022-03-31T12:16:19.000Z
lib/elsa/partitioner/default.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
11
2019-06-05T02:23:06.000Z
2022-02-10T16:14:33.000Z
defmodule Elsa.Partitioner.Default do @moduledoc """ Defaults partition to 0. """ @behaviour Elsa.Partitioner def partition(_count, _key), do: 0 end
16.1
37
0.708075
21ff760c761738e1cf18edde039ac60cee0e8f68
7,208
exs
Elixir
test/unit/match_spec_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/unit/match_spec_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/unit/match_spec_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
defmodule EctoMnesia.Context.MatchSpecTest do use ExUnit.Case, async: true require Logger import Ecto.Query import Support.EvalHelpers alias EctoMnesia.Record.Context @pk_field_id :"$1" @status_field_id :"$9" @age_field_id :"$12" defp ms({%Ecto.SubQuery{} = query, args}) do "sell_offer" |> C...
35.860697
114
0.470588
21ff9f0e0e8a2616e8e27282d22de93713deb5ef
28,491
ex
Elixir
lib/phoenix_live_view/engine.ex
mudphone/phoenix_live_view
3ae19bbe03084f5a3a701b5732a715275b31e48e
[ "MIT" ]
null
null
null
lib/phoenix_live_view/engine.ex
mudphone/phoenix_live_view
3ae19bbe03084f5a3a701b5732a715275b31e48e
[ "MIT" ]
null
null
null
lib/phoenix_live_view/engine.ex
mudphone/phoenix_live_view
3ae19bbe03084f5a3a701b5732a715275b31e48e
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Component do @moduledoc """ The struct returned by components in .leex templates. This component is never meant to be output directly into the template. It should always be handled by the diffing algorithm. """ defstruct [:id, :component, :assigns] @type t :: %__MODULE__{ ...
31.44702
96
0.634972
21ffabc236cf5d3b9b14da0c281a3df64f8475b1
109
ex
Elixir
lib/models/invoice_subscription_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-07-19T18:33:04.000Z
2021-07-19T18:33:04.000Z
lib/models/invoice_subscription_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-06-29T23:03:36.000Z
2021-06-29T23:03:36.000Z
lib/models/invoice_subscription_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-06-22T20:15:50.000Z
2021-06-22T20:15:50.000Z
defmodule LndClient.Models.InvoiceSubscriptionRequest do defstruct [add_index: nil, settle_index: nil] end
27.25
56
0.834862
21ffc6c9b19a1d2e66aedb247f8de3f9afc3bfe3
809
ex
Elixir
lib/alga_card/users/users.ex
mvalitov/alga_card_bot
b1fb79010bb99c968c3bd35f5cb58b348483537d
[ "MIT" ]
null
null
null
lib/alga_card/users/users.ex
mvalitov/alga_card_bot
b1fb79010bb99c968c3bd35f5cb58b348483537d
[ "MIT" ]
null
null
null
lib/alga_card/users/users.ex
mvalitov/alga_card_bot
b1fb79010bb99c968c3bd35f5cb58b348483537d
[ "MIT" ]
null
null
null
defmodule AlgaCard.Users do alias AlgaCard.Users.User alias AlgaCard.Utils alias AlgaCard.Repo import Ecto.Query @spec create_user!(any) :: any def create_user!(args) do args = Utils.key_to_string(args) %User{} |> User.changeset(args) |> Repo.insert!() end @spec get_user(any) :: any ...
22.472222
59
0.660074
21ffe222238eff4d89c25a0b7ab0a3722707470d
5,863
exs
Elixir
test/phoenix/integration/endpoint_test.exs
clickavia/phoenix
60ff50fc7c8cf4fbac462961cbbdd370049df6b3
[ "MIT" ]
null
null
null
test/phoenix/integration/endpoint_test.exs
clickavia/phoenix
60ff50fc7c8cf4fbac462961cbbdd370049df6b3
[ "MIT" ]
null
null
null
test/phoenix/integration/endpoint_test.exs
clickavia/phoenix
60ff50fc7c8cf4fbac462961cbbdd370049df6b3
[ "MIT" ]
null
null
null
Code.require_file "../../support/http_client.exs", __DIR__ defmodule Phoenix.Integration.EndpointTest do use ExUnit.Case import ExUnit.CaptureLog alias Phoenix.Integration.AdapterTest.ProdEndpoint alias Phoenix.Integration.AdapterTest.DevEndpoint alias Phoenix.Integration.AdapterTest.ProdInet6Endpoint Ap...
29.761421
105
0.617772
1d0001afbf131ad78fb1fd1949df6c2515c9d69c
207
exs
Elixir
test/stormcaster_web/controllers/page_controller_test.exs
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
test/stormcaster_web/controllers/page_controller_test.exs
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
test/stormcaster_web/controllers/page_controller_test.exs
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
defmodule StormcasterWeb.PageControllerTest do use StormcasterWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23
60
0.695652
1d001c5354e165c91b60325d6f8f2cf99e822b96
26,904
exs
Elixir
test/compiler/tokenizer_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
test/compiler/tokenizer_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
test/compiler/tokenizer_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Compiler.TokenizerTest do use ExUnit.Case, async: true import Surface.Compiler.Tokenizer alias Surface.Compiler.ParseError describe "text" do test "represented as {:text, value}" do assert tokenize!("Hello") == [{:text, "Hello"}] end test "with multiple lines" do tok...
27.203236
99
0.461864
1d00665276f90b2bfa0a1dca7c2ca9b3bab1595a
2,698
ex
Elixir
robot-simulator/lib/robot_simulator.ex
matheuscas/my-exercism-io-elixir-track
6c676d84f6bc4dd24192e2aea04324c238f436ee
[ "MIT" ]
null
null
null
robot-simulator/lib/robot_simulator.ex
matheuscas/my-exercism-io-elixir-track
6c676d84f6bc4dd24192e2aea04324c238f436ee
[ "MIT" ]
null
null
null
robot-simulator/lib/robot_simulator.ex
matheuscas/my-exercism-io-elixir-track
6c676d84f6bc4dd24192e2aea04324c238f436ee
[ "MIT" ]
null
null
null
defmodule Robot do defstruct direction: :north, position: {0,0} end defmodule RobotSimulator do @doc """ Create a Robot Simulator given an initial direction and position. Valid directions are: `:north`, `:east`, `:south`, `:west` """ @valid_directions [:north, :east, :south, :west] @valid_instructions [...
24.752294
130
0.610823
1d0071f20f3a007a098f56577e118f76a3c0f99f
6,407
ex
Elixir
lib/passwordless_auth.ex
adolfosilva/passwordless_auth
6c384fcee43140226afe2cc3aa00d894c55468e9
[ "Apache-2.0" ]
null
null
null
lib/passwordless_auth.ex
adolfosilva/passwordless_auth
6c384fcee43140226afe2cc3aa00d894c55468e9
[ "Apache-2.0" ]
null
null
null
lib/passwordless_auth.ex
adolfosilva/passwordless_auth
6c384fcee43140226afe2cc3aa00d894c55468e9
[ "Apache-2.0" ]
null
null
null
defmodule PasswordlessAuth do @moduledoc """ PasswordlessAuth provides functionality for generating numeric codes that can be used for verifying a user's ownership of a phone number, email address or any other identifying address. It is designed to be used in a verification system, such as a passwordless aut...
33.369792
201
0.697674
1d00be93e396f335d6d70708adebc2c92f526110
86
exs
Elixir
test/utils_test.exs
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2019-04-18T15:36:50.000Z
2021-01-19T04:38:48.000Z
test/utils_test.exs
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
null
null
null
test/utils_test.exs
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2017-08-15T10:43:40.000Z
2018-11-06T09:12:49.000Z
defmodule UtilsTest do use ExUnit.Case, async: true doctest ExCdrPusher.Utils end
17.2
30
0.790698
1d00dba4a31e1c47291ce945213fbef7f3092dd8
18,541
ex
Elixir
lib/elixir/lib/task/supervised.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/task/supervised.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/task/supervised.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Task.Supervised do @moduledoc false @ref_timeout 5000 def start(info, fun) do {:ok, :proc_lib.spawn(__MODULE__, :noreply, [info, fun])} end def start_link(info, fun) do {:ok, :proc_lib.spawn_link(__MODULE__, :noreply, [info, fun])} end def start_link(caller, monitor, info, fun) do ...
32.700176
98
0.614206
1d00ebc15159bc796a8b017b1195e839f3a137ad
12,143
ex
Elixir
lib/ex_oauth2_provider/access_tokens/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/access_tokens/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/access_tokens/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.AccessTokens.Strategy.SqlStrategy do @moduledoc """ Standard Postgres-based access token implementation strategy """ @behaviour ExOauth2Provider.AccessTokens import Ecto.Query alias ExOauth2Provider.Mixin.{Expirable, Revocable, Scopes} alias ExOauth2Provider.{AccessTokens.Acce...
31.704961
134
0.700239
1d00f56ed13c63b0eae3a37d5b72206cd2b807a3
1,742
ex
Elixir
lib/pkg_deb/format/control.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
null
null
null
lib/pkg_deb/format/control.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
12
2020-07-18T10:38:53.000Z
2022-03-24T04:04:12.000Z
lib/pkg_deb/format/control.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
1
2020-11-28T21:08:54.000Z
2020-11-28T21:08:54.000Z
defmodule PkgDeb.Format.Control do @moduledoc """ This module houses the logic required to build the control file and include custom control data such as pre/post install hooks. """ alias PkgDeb.Format.Generators.Control # - Add ability to create pre-inst / post-inst hooks [WIP] def build({release, deb_r...
25.617647
77
0.619977
1d00ffae9303fa05e5922449b6f6d7aaa747909b
3,092
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/field.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/field.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/field.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...
41.783784
208
0.667853
1d01094a8fa447ad3af28767652ca99239246ecc
525
ex
Elixir
lib/team_budget/team_budget_graphql/types/user.ex
adrianomota/team-budget
b105f47f602a0f7a2c184404235b8d004268c346
[ "MIT" ]
null
null
null
lib/team_budget/team_budget_graphql/types/user.ex
adrianomota/team-budget
b105f47f602a0f7a2c184404235b8d004268c346
[ "MIT" ]
null
null
null
lib/team_budget/team_budget_graphql/types/user.ex
adrianomota/team-budget
b105f47f602a0f7a2c184404235b8d004268c346
[ "MIT" ]
null
null
null
defmodule TeamBudgetGraphql.Types.User do use Absinthe.Schema.Notation object :user do field :id, :id field :first_name, :string field :last_name, :string field :email, :string field :role, :string field :teams, list_of(:team) end input_object :user_input do field :first_name, :str...
22.826087
41
0.68381
1d018057c15d8688062d0ccebb5392280ba955d5
1,768
ex
Elixir
lib/still/application.ex
still-ex/still
2597587550eeb9bc46ee7cf4e1c30a1af7776d7d
[ "0BSD" ]
202
2021-01-13T15:45:17.000Z
2022-03-22T01:26:27.000Z
lib/still/application.ex
still-ex/still
2597587550eeb9bc46ee7cf4e1c30a1af7776d7d
[ "0BSD" ]
55
2021-01-26T14:11:34.000Z
2022-03-22T22:34:37.000Z
lib/still/application.ex
subvisual/still
2597587550eeb9bc46ee7cf4e1c30a1af7776d7d
[ "0BSD" ]
10
2021-02-04T21:14:41.000Z
2022-03-20T10:12:59.000Z
defmodule Still.Application do @moduledoc false use Application import Still.Utils, only: [config: 2] require Logger def start(_type, _args) do # Some templating engines need to redefine a module every time a particular # file is rendered. Code.compiler_options(ignore_module_conflict: true) ...
19.865169
96
0.607466
1d0194f6a841ff85d913a19b9a0364062224d485
802
exs
Elixir
mix.exs
qllll/clintone
1d1e0e62c3b5089b5e6311a21b3dc75e86ca22fb
[ "MIT" ]
null
null
null
mix.exs
qllll/clintone
1d1e0e62c3b5089b5e6311a21b3dc75e86ca22fb
[ "MIT" ]
null
null
null
mix.exs
qllll/clintone
1d1e0e62c3b5089b5e6311a21b3dc75e86ca22fb
[ "MIT" ]
null
null
null
defmodule Clintone.Mixfile do use Mix.Project def project do [app: :clintone, escript: escript_config, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Ty...
20.05
77
0.602244
1d01c56729098f723e7f6febd30e3fce11b2ea51
58,644
ex
Elixir
lib/timex.ex
dstockdale/timex
024f8392e9debf3b8d40d1977b6a24182079e546
[ "MIT" ]
null
null
null
lib/timex.ex
dstockdale/timex
024f8392e9debf3b8d40d1977b6a24182079e546
[ "MIT" ]
null
null
null
lib/timex.ex
dstockdale/timex
024f8392e9debf3b8d40d1977b6a24182079e546
[ "MIT" ]
null
null
null
defmodule Timex do @moduledoc File.read!("README.md") use Application def start(_type, _args) do apps = Enum.map(Application.started_applications(), &elem(&1, 0)) cond do :tzdata in apps -> Supervisor.start_link([], strategy: :one_for_one, name: Timex.Supervisor) :else -> {...
31.631068
129
0.641873
1d01d32965cf9e9fe49711632790994219008f08
1,611
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_token_detected_break.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_token_detected_break.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_token_detected_break.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...
29.833333
106
0.749845
1d01e66552dd662a36db7b76f7f9c88bb039e245
37,352
ex
Elixir
lib/nimble_parsec/compiler.ex
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
227
2020-01-20T16:39:39.000Z
2022-03-31T14:37:19.000Z
lib/nimble_parsec/compiler.ex
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
34
2020-01-31T01:14:06.000Z
2022-02-28T10:50:31.000Z
lib/nimble_parsec/compiler.ex
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
25
2020-02-23T02:05:20.000Z
2022-01-25T21:32:55.000Z
defmodule NimbleParsec.Compiler do @moduledoc false @arity 6 @doc """ Returns a parsec entrypoint named `name`. """ def entry_point(name) do doc = """ Parses the given `binary` as #{name}. Returns `{:ok, [token], rest, context, position, byte_offset}` or `{:error, reason, rest, context, li...
33.559748
100
0.624946
1d02169e9206e111534075d780105b89aee19ed7
118
exs
Elixir
test/bolt/converter/role_converter_test.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
31
2018-12-06T23:12:33.000Z
2022-03-29T18:34:25.000Z
test/bolt/converter/role_converter_test.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
18
2021-06-14T19:03:26.000Z
2022-03-15T17:46:22.000Z
test/bolt/converter/role_converter_test.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
4
2018-11-07T18:52:28.000Z
2022-03-16T00:14:38.000Z
defmodule BoltTest.Converters.Role do use ExUnit.Case, async: true doctest Bolt.Converters.Role, import: true end
23.6
44
0.788136
1d0219f8a7a6dff9e13b765c8fc0b35c24499425
554
ex
Elixir
web/router.ex
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
6
2015-10-27T01:46:27.000Z
2021-04-08T18:28:44.000Z
web/router.ex
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
66
2015-10-23T20:21:12.000Z
2018-04-18T15:25:57.000Z
web/router.ex
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
null
null
null
defmodule PivotalSwimlanes.Router do use PivotalSwimlanes.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 "/", Pivotal...
20.518519
57
0.694946
1d02435144c2bb2325d08ae79a05bd403e12c44e
3,689
ex
Elixir
lib/plug_telemetry_server_timing.ex
hauleth/plug_server_timing
a5b78c3c48f7760249c3970a3e22908a8b521da2
[ "MIT" ]
11
2019-10-08T19:35:14.000Z
2022-01-02T01:34:59.000Z
lib/plug_telemetry_server_timing.ex
hauleth/plug_server_timing
a5b78c3c48f7760249c3970a3e22908a8b521da2
[ "MIT" ]
7
2020-11-04T23:07:19.000Z
2022-03-21T16:52:31.000Z
lib/plug_telemetry_server_timing.ex
hauleth/plug_server_timing
a5b78c3c48f7760249c3970a3e22908a8b521da2
[ "MIT" ]
3
2020-01-16T03:43:34.000Z
2021-03-24T17:19:07.000Z
defmodule Plug.Telemetry.ServerTiming do @behaviour Plug @external_resource "README.md" @moduledoc File.read!("README.md") |> String.split(~r/<!--\s*(BEGIN|END)\s*-->/, parts: 3) |> Enum.at(1) import Plug.Conn @impl true @doc false def init(opts), do: opts @impl true @doc...
29.047244
92
0.608837
1d0256d9cfb32034242c9ed1c79296de3f99412b
3,551
ex
Elixir
lib/grizzly/zwave/commands/antitheft_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/antitheft_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/antitheft_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.AntitheftSet do @moduledoc """ This command is used to lock or unlock a node. Params: * `:state` - This field MUST indicate the desired :locked or :unlocked state for the receiving node (required v2+) * `:magic_code` - This field contains the 1 to 10 byte Magic Cod...
32.577982
96
0.660096
1d025d9596aefee7fd7a6197f6f46244ee4d0b10
757
exs
Elixir
test/credo/check/refactor/regex_multiple_spaces_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/refactor/regex_multiple_spaces_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/refactor/regex_multiple_spaces_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Refactor.RegexMultipleSpacesTest do use Credo.Test.Case @described_check Credo.Check.Refactor.RegexMultipleSpaces @moduletag :to_be_implemented # # cases NOT raising issues # test "it should NOT report expected code" do """ defmodule CredoSampleModule do def my_fun ...
19.921053
59
0.648613
1d025e1ae1e04624b92601d7404d9fc796877e77
3,271
ex
Elixir
lib/pg_ranges.ex
blockfi/pg_ranges
d61f51323169fb10706fe61d902dec4b3f42595b
[ "MIT" ]
null
null
null
lib/pg_ranges.ex
blockfi/pg_ranges
d61f51323169fb10706fe61d902dec4b3f42595b
[ "MIT" ]
null
null
null
lib/pg_ranges.ex
blockfi/pg_ranges
d61f51323169fb10706fe61d902dec4b3f42595b
[ "MIT" ]
null
null
null
defmodule PgRanges do @moduledoc """ PgRanges provides a simple wrapper around `Postgrex.Range` so that you can create schemas with range type fields and use the native range type in migrations. defmodule MyApp.Employee do use Ecto.Schema alias PgRanges.DateRange schema "employee...
27.258333
90
0.578111
1d0262d0ce55293964892c7640c9313cd2650801
1,638
ex
Elixir
web/lib/infolab_light_games_web/controllers/api/animation_controller.ex
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
5
2021-11-04T08:31:46.000Z
2021-11-07T12:15:57.000Z
web/lib/infolab_light_games_web/controllers/api/animation_controller.ex
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
2
2021-11-01T19:00:35.000Z
2021-11-04T13:07:47.000Z
web/lib/infolab_light_games_web/controllers/api/animation_controller.ex
JohnVidler/infolab-lights
389ac6cfcfd73589cda00df825fa512e3b35b898
[ "MIT" ]
2
2021-11-04T10:46:41.000Z
2022-02-22T18:05:44.000Z
defmodule Api.AnimationController do import Plug.Conn.Status, only: [code: 1] use InfolabLightGamesWeb, :controller use PhoenixSwagger @example_animation """ return class MyEffect { constructor(display) { this.display = display; this.#clear(); } #clear() { for (let x = 0; x < ...
23.4
87
0.587912
1d026cb5f46eaff01497216742df62416a2827aa
287
ex
Elixir
test/support/mocks.ex
rockneurotiko/telemetry_metrics_appsignal
875b022f34fb34ecc42f2530e1036a296db47464
[ "MIT" ]
7
2020-05-12T14:41:33.000Z
2022-03-22T20:39:51.000Z
test/support/mocks.ex
rockneurotiko/telemetry_metrics_appsignal
875b022f34fb34ecc42f2530e1036a296db47464
[ "MIT" ]
5
2020-05-06T20:10:26.000Z
2021-12-06T10:30:15.000Z
test/support/mocks.ex
rockneurotiko/telemetry_metrics_appsignal
875b022f34fb34ecc42f2530e1036a296db47464
[ "MIT" ]
6
2020-04-22T13:33:49.000Z
2021-12-06T07:24:03.000Z
defmodule AppsignalBehaviour do @callback add_distribution_value(String.t(), number(), map()) :: :ok @callback increment_counter(String.t(), number(), map()) :: :ok @callback set_gauge(String.t(), number(), map()) :: :ok end Hammox.defmock(AppsignalMock, for: AppsignalBehaviour)
35.875
70
0.714286
1d0281b40105d78e87ac9916ce3f8e6336db6c29
29,837
ex
Elixir
lib/ecto/repo/schema.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/schema.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/schema.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.Schema do # The module invoked by user defined repos # for schema related functionality. @moduledoc false alias Ecto.Changeset alias Ecto.Changeset.Relation require Ecto.Query @doc """ Implementation for `Ecto.Repo.insert_all/3`. """ def insert_all(repo, adapter, schema, rows, ...
37.156912
114
0.631498
1d029f6f8642d9b7cec5d759bb77926738cf602a
304
exs
Elixir
test/inch_ex_test.exs
AndrewDryga/inch_ex
59997ce05b60902c9b482409b09da7697b267c17
[ "MIT" ]
null
null
null
test/inch_ex_test.exs
AndrewDryga/inch_ex
59997ce05b60902c9b482409b09da7697b267c17
[ "MIT" ]
null
null
null
test/inch_ex_test.exs
AndrewDryga/inch_ex
59997ce05b60902c9b482409b09da7697b267c17
[ "MIT" ]
1
2022-03-17T18:34:45.000Z
2022-03-17T18:34:45.000Z
defmodule InchExTest do use ExUnit.Case test "the truth" do tuples = {:test, nil, {:other, nil, {:third, 32}}, {:other, nil, [:fourth, 42]}} lists = [:test, nil, [:other, nil, [:third, 32]], [:other, nil, [:fourth, 42]]] assert InchEx.Helper.map_tuple_to_list(tuples) == lists end end
30.4
84
0.615132
1d02a67488ea0be6917df8ca18d9a8d9f62bf5e0
899
ex
Elixir
lib/level.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
lib/level.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
lib/level.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
defmodule Level do @moduledoc false 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 th...
32.107143
83
0.704116
1d02b7d8e80721ad9ae019b427922916e6a1abbd
6,698
ex
Elixir
lib/changelog_web/countries.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog_web/countries.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog_web/countries.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Countries do @map %{ "AF" => "Afghanistan", "AX" => "Åland Islands", "AL" => "Albania", "DZ" => "Algeria", "AS" => "American Samoa", "AD" => "Andorra", "AO" => "Angola", "AI" => "Anguilla", "AQ" => "Antarctica", "AG" => "Antigua and Barbuda", "AR" => ...
26.579365
59
0.458644
1d0364c240f6aac984cdb7e124f9e357ead43a43
7,798
exs
Elixir
bench/witchcraft/foldable/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
bench/witchcraft/foldable/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
bench/witchcraft/foldable/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.Foldable.ListBench do require Integer use Benchfella use Witchcraft.Foldable ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @list Enum.to_list(0..10) ############ # Foldable # ############ bench "Enum.all?/1", do: Enum.all?([true, true, ...
34.504425
104
0.56912
1d03bdb73de43c1661d909ae7ec04d1555fa3cba
1,593
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/test_iam_permissions_response.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...
33.893617
143
0.757062
1d03c039d2f91e8b679da170f3d79662f428e969
52
ex
Elixir
code examples/example-10-29.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
code examples/example-10-29.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
code examples/example-10-29.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
:gen_statem.start_link(name, module, args, options)
26
51
0.788462
1d03dae0bcb8aea30743e950ac27e9372bd26ae7
2,591
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_equivalence_class.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_equivalence_class.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_equivalence_class.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.183333
231
0.751833
1d03e82609f1920838bbfc11abc974f07d31bbf8
1,764
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/components/public/flash_component.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/components/public/flash_component.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/components/public/flash_component.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtml.Helpers.FlashComponent do use MishkaHtmlWeb, :live_component def render(assigns) do ~H""" <div class="col-sm-12 rtl" id="live-flash" phx-hook="DeleteFlashMessage"> <%= if live_flash(@flash, :info) do %> <div class="space20"></div> <p class="col titile-of-b...
38.347826
164
0.59127
1d03f57598bb3c4ec304fb412c9f3101cbe7228c
2,351
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_report_disbursement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_report_disbursement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_report_disbursement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.847458
143
0.717142
1d04075ed55ec9617fbff27c777f5966c7853e6b
672
ex
Elixir
lib/bella/server/watcher/resource_version.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
null
null
null
lib/bella/server/watcher/resource_version.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
1
2021-08-25T04:42:14.000Z
2021-08-25T04:42:14.000Z
lib/bella/server/watcher/resource_version.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
null
null
null
defmodule Bella.Server.Watcher.ResourceVersion do @moduledoc "Get the resourceVersion for a `K8s.Operation`" @spec get(K8s.Operation.t(), any()) :: {:ok, binary} | {:error, atom} def get(%K8s.Operation{} = operation, client) do cluster = Bella.Config.cluster_name() case client.run(operation, cluster, pa...
32
71
0.630952
1d041794ee29938b820db1e1cbda4a1837772ad0
4,462
ex
Elixir
lib/docker/server.ex
hexedpackets/hauler
42381c49c856744c8d13acc1571decf6b701d8a7
[ "Apache-2.0" ]
3
2015-07-24T20:55:57.000Z
2015-10-12T14:48:49.000Z
lib/docker/server.ex
hexedpackets/hauler
42381c49c856744c8d13acc1571decf6b701d8a7
[ "Apache-2.0" ]
null
null
null
lib/docker/server.ex
hexedpackets/hauler
42381c49c856744c8d13acc1571decf6b701d8a7
[ "Apache-2.0" ]
null
null
null
defmodule Hauler.Server do use GenServer def server_name, do: Application.get_env(:hauler, :docker)[:server] def start_link(state) do GenServer.start_link(__MODULE__, state, name: server_name) end @base_timeout 60_000 def start(name, opts), do: GenServer.call(server_name, {:start, name, opts}, @base_...
34.859375
103
0.688481
1d043700723436de6517f46ff1b4c318b37ca90f
669
exs
Elixir
test/network_test.exs
danielpilon/letterbexd
b6a7e4e5572607c725c3c2c8e4cddec5877006c7
[ "MIT" ]
null
null
null
test/network_test.exs
danielpilon/letterbexd
b6a7e4e5572607c725c3c2c8e4cddec5877006c7
[ "MIT" ]
null
null
null
test/network_test.exs
danielpilon/letterbexd
b6a7e4e5572607c725c3c2c8e4cddec5877006c7
[ "MIT" ]
null
null
null
defmodule LetterbexdTest do use ExUnit.Case doctest Network @base_url Application.get_env(:letterbexd, :letterboxd_url) test "returns followees list" do {:ok, user_profile} = UserProfile.from("user1") {:ok, %Network{followees: followees}} = Network.from(user_profile) expected = %{name: "User 2", p...
33.45
86
0.70852
1d04536dcdec95e266c382dca2309e7372305163
2,295
ex
Elixir
lib/hexpm/store/store.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/store/store.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/store/store.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Store do @type region :: String.t @type bucket :: String.t @type prefix :: key @type key :: String.t @type body :: binary @type opts :: Keyword.t @callback list(region, bucket, prefix) :: [key] @callback get(region, bucket, key, opts) :: body @callback get_many(region, bu...
62.027027
103
0.612636
1d04631552124c76e8fef8fa728822bb1b5463a5
945
ex
Elixir
lib/arrow/ueberauth/strategy/fake.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
null
null
null
lib/arrow/ueberauth/strategy/fake.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
775
2019-11-18T16:23:57.000Z
2022-03-28T18:20:04.000Z
lib/arrow/ueberauth/strategy/fake.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
1
2019-12-23T13:52:25.000Z
2019-12-23T13:52:25.000Z
defmodule Arrow.Ueberauth.Strategy.Fake do @moduledoc false use Ueberauth.Strategy alias Arrow.Accounts.Group @impl Ueberauth.Strategy def handle_request!(conn) do conn |> redirect!("/auth/cognito/callback") |> halt() end @impl Ueberauth.Strategy def handle_callback!(conn) do conn e...
18.9
56
0.675132
1d04869839448242e62bfc39e1c7c1f5b2e7dff0
6,627
ex
Elixir
lib/app/router.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
null
null
null
lib/app/router.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
1
2017-12-11T21:11:44.000Z
2017-12-11T21:11:44.000Z
lib/app/router.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
null
null
null
defmodule App.Router do @bot_name Application.get_env(:app, :bot_name) # Code injectors defmacro __using__(_opts) do quote do require Logger import App.Router def match_message(message) do try do apply __MODULE__, :do_match_message, [message] rescue err...
25.390805
80
0.652784
1d04966b5850094ea85c567844381fabd6c77cbc
929
ex
Elixir
lib/maze.ex
samWson/mazes-for-programmers-in-elixir
88fd6380b9cbf9ca2da9d65e095aaa8491d605e7
[ "MIT" ]
null
null
null
lib/maze.ex
samWson/mazes-for-programmers-in-elixir
88fd6380b9cbf9ca2da9d65e095aaa8491d605e7
[ "MIT" ]
null
null
null
lib/maze.ex
samWson/mazes-for-programmers-in-elixir
88fd6380b9cbf9ca2da9d65e095aaa8491d605e7
[ "MIT" ]
null
null
null
defmodule Maze do @moduledoc """ A maze is an abstraction of a grid of cells linked together to form random paths. """ @doc """ new() ## Examples iex> extent = Coordinates.new(column: 2, row: 3) iex> Maze.new(extent) %{ {1, 1} => [], {1, 2} => [], {1, 3} => [],...
21.113636
76
0.55436
1d04bb308eb3c3d20cac99126d32f6fadd59caa2
2,974
ex
Elixir
lib/neural_network.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/neural_network.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/neural_network.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
defmodule NeuralNetwork do defstruct layers: [] alias NeuralNetwork.Layer def create(configuration) do layers = create_layers(configuration) connect_layers(layers) %NeuralNetwork{layers: layers} end def create_layers(configuration) do Enum.map configuration, fn num -> Layer.create(nu...
23.983871
64
0.691997
1d04ced417a6fec4f672f655d964b99198c6714c
200
exs
Elixir
.formatter.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
.formatter.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
.formatter.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
[ subdirectories: [ "apps/discord_splatoon_bot", "apps/splatoon_data", "apps/registration_data", "apps/airport", "apps/command", "apps/scheduler", "apps/spla2_api" ] ]
16.666667
32
0.62
1d04d031df5c0d5158f654cdbf489e962be9bd99
683
exs
Elixir
mix.exs
rabarar/elixir_otp
2840d3fbce61d416449219a31a280a07cec8cc84
[ "MIT" ]
2
2016-12-26T01:39:25.000Z
2017-01-06T20:59:51.000Z
mix.exs
rabarar/elixir_otp
2840d3fbce61d416449219a31a280a07cec8cc84
[ "MIT" ]
null
null
null
mix.exs
rabarar/elixir_otp
2840d3fbce61d416449219a31a280a07cec8cc84
[ "MIT" ]
null
null
null
defmodule Rob.Mixfile do use Mix.Project def project do [app: :rob, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more infor...
20.088235
77
0.591508
1d04ec81ed8455799097a7285613fa398a4c822f
70
exs
Elixir
test/test_helper.exs
msimonborg/live_chat
0a2405b0399e3af569a5c24d8b0c6295132d9561
[ "MIT" ]
null
null
null
test/test_helper.exs
msimonborg/live_chat
0a2405b0399e3af569a5c24d8b0c6295132d9561
[ "MIT" ]
null
null
null
test/test_helper.exs
msimonborg/live_chat
0a2405b0399e3af569a5c24d8b0c6295132d9561
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(LiveChat.Repo, :manual)
23.333333
54
0.785714
1d05379e07b0611e28fb2c2ca77cf6edb41b1237
126
exs
Elixir
backend/apps/students_crm_v2/priv/repo/migrations/20181113052717_drop_phone.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2/priv/repo/migrations/20181113052717_drop_phone.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2/priv/repo/migrations/20181113052717_drop_phone.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2.Repo.Migrations.DropPhone do use Ecto.Migration def change do drop(table(:phones)) end end
15.75
52
0.753968
1d05709b530132fffccfe7b8e77a3539ab3d5732
96
exs
Elixir
apps/service_acquire/test/test_helper.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/service_acquire/test/test_helper.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/service_acquire/test/test_helper.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
Mox.defmock(Acquire.Db.Mock, for: Acquire.Db) ExUnit.start(exclude: [:skip], capture_log: true)
32
49
0.75
1d057cd0ffdc61173ba6e991fc7451960dcc7b5b
2,210
ex
Elixir
lib/graph/quetzal_graph.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
10
2019-10-04T17:45:42.000Z
2022-03-27T23:58:52.000Z
lib/graph/quetzal_graph.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
3
2019-10-01T00:24:15.000Z
2019-10-23T17:04:48.000Z
lib/graph/quetzal_graph.ex
zgbjgg/quetzal
4c71b76dce601560d176df96594a0a91fef79fd7
[ "MIT" ]
1
2020-02-12T23:08:43.000Z
2020-02-12T23:08:43.000Z
defmodule Quetzal.Graph do @doc """ The base module to make graph components based on plotly.js In order to make components provide two keywords, the first one contains the div properties and the second the keywords to use as data in PlotlyJS, with this you are able to build any graph supported into PlotlyJS...
30.694444
119
0.641629
1d057d4ff990c345fdefae4eda67d0688fd4059f
455
ex
Elixir
lib/hl7/2.3.1/segments/db1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/db1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/db1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.Segments.DB1 do @moduledoc false require Logger alias HL7.V2_3_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_db1: nil, disabled_person_code: nil, disabled_person_identifier: DataTypes.Cx, disabled_indicator: nil, disability_start_dat...
22.75
47
0.701099
1d05c5b8805fd2939d30ef74d0e36c3ca1f125c8
57
ex
Elixir
lib/grpow_web/views/page_view.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
lib/grpow_web/views/page_view.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
2
2021-03-11T05:11:12.000Z
2021-05-11T22:29:52.000Z
lib/grpow_web/views/page_view.ex
g2t3s/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
defmodule GrpowWeb.PageView do use GrpowWeb, :view end
14.25
30
0.789474
1d05e8921a2cbf7fdb09dfeed357c7a706074946
974
ex
Elixir
lib/phoenix/socket/serializer.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
lib/phoenix/socket/serializer.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/phoenix/socket/serializer.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.Socket.Serializer do @moduledoc """ A behaviour that serializes incoming and outgoing socket messages. By default Phoenix provides `Phoenix.Socket.V2.JSONSerializer` that encodes to JSON and decodes JSON messages. Custom serializers may be configured in the socket. """ @doc """ Enco...
32.466667
85
0.663244
1d05f35cfee64afe80b6da6e6c067de97bdd99c2
24,009
ex
Elixir
lib/ex_unit_properties.ex
Qqwy/stream_data
c912edb42a26da3ea5d9241ba174cdefc8dd0a29
[ "Apache-2.0" ]
689
2017-07-10T15:25:03.000Z
2022-03-31T09:23:38.000Z
lib/ex_unit_properties.ex
Qqwy/stream_data
c912edb42a26da3ea5d9241ba174cdefc8dd0a29
[ "Apache-2.0" ]
151
2017-07-23T15:19:49.000Z
2022-01-31T09:33:59.000Z
lib/ex_unit_properties.ex
Qqwy/stream_data
c912edb42a26da3ea5d9241ba174cdefc8dd0a29
[ "Apache-2.0" ]
67
2017-08-11T15:52:30.000Z
2022-02-18T00:12:30.000Z
defmodule ExUnitProperties do @moduledoc """ Provides macros for property-based testing. This module provides a few macros that can be used for property-based testing. The core is `check/3`, which allows executing arbitrary tests on many pieces of generated data. Another one is `property/3`, which is meant a...
36.82362
103
0.673789
1d0602c63e61c48478376f9eac488b17dfb226fa
502
exs
Elixir
config/config.exs
hpopp/keep
376cc6e286d1b3b93eb6c22b33a993ea6b25af8c
[ "MIT" ]
3
2020-08-05T13:26:30.000Z
2021-05-26T14:24:36.000Z
config/config.exs
hpopp/keep
376cc6e286d1b3b93eb6c22b33a993ea6b25af8c
[ "MIT" ]
null
null
null
config/config.exs
hpopp/keep
376cc6e286d1b3b93eb6c22b33a993ea6b25af8c
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures Elixir's Logger config :logger, :console, format: "$time $metadata[$leve...
35.857143
70
0.772908
1d060988f49502a26e471c56ff8a34ab1938f887
1,252
exs
Elixir
mix.exs
SimpleBet/ecto_hlclock
b131005d8a4fd90e7aac37292d6104d93c17bf33
[ "Apache-2.0" ]
null
null
null
mix.exs
SimpleBet/ecto_hlclock
b131005d8a4fd90e7aac37292d6104d93c17bf33
[ "Apache-2.0" ]
null
null
null
mix.exs
SimpleBet/ecto_hlclock
b131005d8a4fd90e7aac37292d6104d93c17bf33
[ "Apache-2.0" ]
null
null
null
defmodule EctoHLClock.Mixfile do use Mix.Project @source_url "https://github.com/toniqsystems/ecto_hlclock" def project do [ app: :ecto_hlclock, version: "0.2.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, description: description(), package: package(), ...
20.866667
60
0.527157
1d0630961af65df1e59bb66c4bcd128bd3189ed8
5,196
exs
Elixir
lib/elixir/test/elixir/protocol/consolidation_test.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/protocol/consolidation_test.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/protocol/consolidation_test.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) path = Path.expand("../../ebin", __DIR__) File.mkdir_p!(path) files = Path.wildcard(PathHelpers.fixture_path("consolidation/*")) Kernel.ParallelCompiler.compile_to_path(files, path) defmodule Protocol.ConsolidationTest do use ExUnit.Case, async: true alias Protoco...
30.928571
103
0.68495
1d06793e4576272e3160301792eb101aad19c0b0
1,297
exs
Elixir
config/dev.exs
ganimp84/amnesia_example
9a44fece1ab97bb28d2cdf65a0ca5585dc43aaac
[ "MIT" ]
null
null
null
config/dev.exs
ganimp84/amnesia_example
9a44fece1ab97bb28d2cdf65a0ca5585dc43aaac
[ "MIT" ]
null
null
null
config/dev.exs
ganimp84/amnesia_example
9a44fece1ab97bb28d2cdf65a0ca5585dc43aaac
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :community, CommunityWeb.Endpoint, http: [port...
34.131579
170
0.737086
1d06b84342ec776002ed1918c687e5217cedefb2
298
exs
Elixir
priv/repo/migrations/20200704102003_create_shards.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
priv/repo/migrations/20200704102003_create_shards.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
priv/repo/migrations/20200704102003_create_shards.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule Uro.Repo.Migrations.CreateShards do use Ecto.Migration def change do create table(:shards) do add :address, :string add :port, :integer add :name, :string add :current_users, :integer add :max_users, :integer timestamps() end end end
16.555556
45
0.637584
1d06dfe20c81645ab960c5c3579793c406559f2f
775
exs
Elixir
apps/ewallet/test/ewallet/web/date_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet/test/ewallet/web/date_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/date_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWallet.Web.DateTest do use ExUnit.Case alias EWallet.Web.Date alias EWallet.Errors.InvalidDateFormatError describe "EWallet.Web.Date.to_iso8601/1" do test "formats a valid naive date time" do naive_date = ~N[2000-01-01 10:01:02] formatted_date = Date.to_iso8601(naive_date) ass...
27.678571
68
0.686452