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
e83231d9a6b8c330dbbdeddbb7fde25187d1eb17
768
exs
Elixir
mix.exs
seanabrahams/elixir-bandsintown
720d4926ffe0255d79b29991cb686e103919daa7
[ "MIT" ]
1
2017-06-02T00:11:14.000Z
2017-06-02T00:11:14.000Z
mix.exs
seanabrahams/elixir-bandsintown
720d4926ffe0255d79b29991cb686e103919daa7
[ "MIT" ]
null
null
null
mix.exs
seanabrahams/elixir-bandsintown
720d4926ffe0255d79b29991cb686e103919daa7
[ "MIT" ]
null
null
null
defmodule Bandsintown.Mixfile do use Mix.Project def project do [app: :bandsintown, version: "0.1.0", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" ...
21.333333
77
0.585938
e8325c156decbefd0ff86b75512ea53a7b39efbb
1,896
exs
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-04.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-04.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-04.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule Shout do def users() do content = "some content to be not affected byuse of similar identifier in expression" usr = with {:ok, file} = File.open("/etc/passwd"), content = IO.read(file, :all), :ok = File.close(file), [_, uid, gid] = R...
29.625
89
0.484705
e8325d88e85f0f324a8706672f0616c69f82a61a
1,153
exs
Elixir
spec/error_pipe/with_error_pipe_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
422
2017-01-20T13:38:13.000Z
2022-02-08T14:07:11.000Z
spec/error_pipe/with_error_pipe_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
11
2017-01-26T15:40:36.000Z
2020-07-02T21:02:18.000Z
spec/error_pipe/with_error_pipe_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
20
2017-01-25T07:56:00.000Z
2021-11-29T16:19:34.000Z
defmodule WithErrorPipeSpec do use ESpec, async: true defmodule Pipeline do use Flowex.Pipeline defstruct data: nil, error: nil pipe :one pipe :two pipe :three error_pipe :if_error def one(_struct, _opts), do: raise(ArithmeticError, "error") def two(struct, _opts), do: struct ...
23.530612
77
0.639202
e832756c350db8887c47fbf96523568370c94f2f
2,344
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_control/lib/google_api/service_control/v1/model/status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_control/lib/google_api/service_control/v1/model/status.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...
44.226415
427
0.721416
e8327eb69b0f8582e7d94e0cd03922f6bd5619b0
4,334
exs
Elixir
.credo.exs
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
63
2016-10-19T15:48:22.000Z
2021-12-21T02:55:39.000Z
.credo.exs
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
33
2016-11-13T02:41:07.000Z
2021-05-25T11:12:51.000Z
.credo.exs
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
27
2016-11-13T02:47:29.000Z
2022-01-25T02:16:39.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
39.761468
80
0.652746
e832a09001f00c00a21f9551eb8d60e277840043
69
exs
Elixir
test/test_helper.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
test/test_helper.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
test/test_helper.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Admin.Repo, :manual)
13.8
51
0.753623
e8331b49112c28234d1532e882a18874e5cce24c
5,581
ex
Elixir
lib/mix.tasks/snoop.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
null
null
null
lib/mix.tasks/snoop.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
16
2019-12-16T04:56:50.000Z
2020-03-11T20:18:56.000Z
lib/mix.tasks/snoop.ex
ityonemo/ex_dhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Snoop do use Mix.Task @moduledoc """ A tool for snooping on DHCP transactions that are passing by this particular connected device. ## Usage Run this mix task on a device on the same layer-2 network as the network where you'd like to watch DHCP packets go by. It's probably a good ...
28.620513
96
0.643971
e83321de89ca1b4485e0e7c4bcc2cc9016fd6921
110
exs
Elixir
test/phoenix_react_playground_web/views/page_view_test.exs
vinej/tpr
4377a6cbe2b1105731296ad7630a905c40acd2de
[ "Unlicense" ]
88
2017-09-01T03:13:00.000Z
2021-06-26T10:56:29.000Z
test/phoenix_react_playground_web/views/page_view_test.exs
vinej/tpr
4377a6cbe2b1105731296ad7630a905c40acd2de
[ "Unlicense" ]
4
2020-07-17T07:52:09.000Z
2021-09-01T06:46:54.000Z
test/phoenix_react_playground_web/views/page_view_test.exs
vinej/tpr
4377a6cbe2b1105731296ad7630a905c40acd2de
[ "Unlicense" ]
21
2017-09-01T03:18:09.000Z
2021-09-23T09:07:41.000Z
defmodule PhoenixReactPlaygroundWeb.PageViewTest do use PhoenixReactPlaygroundWeb.ConnCase, async: true end
27.5
53
0.872727
e8332ce69f958e3c893629f2d7bce18fd01184df
8,463
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/category_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/test/admin_api/v1/controllers/admin_auth/category_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/category_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.CategoryControllerTest do use AdminAPI.ConnCase, async: true alias EWalletDB.Category alias EWalletDB.Helpers.Preloader describe "/category.all" do test "returns a list of categories and pagination data" do response = admin_user_request("/category.all") # Assert...
35.410042
97
0.600851
e83336f2179813afef1bf1b1ed1d03fdfbca89aa
2,120
exs
Elixir
test/combined_test.exs
robpark/elixir-roman-numerals
c69c27369a0fc28999f16cb9c0b0fdd4a8823f53
[ "MIT" ]
1
2015-11-23T17:11:59.000Z
2015-11-23T17:11:59.000Z
test/combined_test.exs
robpark/elixir_roman_numerals
c69c27369a0fc28999f16cb9c0b0fdd4a8823f53
[ "MIT" ]
null
null
null
test/combined_test.exs
robpark/elixir_roman_numerals
c69c27369a0fc28999f16cb9c0b0fdd4a8823f53
[ "MIT" ]
null
null
null
defmodule CombinedTest do use ExUnit.Case Enum.each 1..2000, fn(arabic) -> roman = Arabic.to_roman arabic computed_arabic = Roman.to_arabic roman test "#{arabic} -- #{roman} -- #{computed_arabic}" do assert unquote(computed_arabic) == unquote(arabic) end test "at most 3: #{roman}" do ...
30.285714
66
0.669811
e8335cc28cf11ed4ea22ccb89f9fb000459f4706
2,586
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/condition.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/condition.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/condition.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...
41.709677
314
0.704563
e8335d6c78a5760b0791cda205ae56afbb60d27f
1,011
exs
Elixir
mix.exs
tkschmidt/PushElixirOver
34c9703f9863d65778fc97761359e5f013027c77
[ "MIT" ]
null
null
null
mix.exs
tkschmidt/PushElixirOver
34c9703f9863d65778fc97761359e5f013027c77
[ "MIT" ]
null
null
null
mix.exs
tkschmidt/PushElixirOver
34c9703f9863d65778fc97761359e5f013027c77
[ "MIT" ]
null
null
null
defmodule PushElixirOver.Mixfile do use Mix.Project def project do [app: :pushElixirOver, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help compile...
22.977273
77
0.588526
e83372098432b945c6214e407e466c8bb4f1ac74
422
ex
Elixir
priv/templates/talon.new/web/controllers/page_controller.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
170
2017-05-25T15:09:53.000Z
2021-07-09T04:04:14.000Z
priv/templates/talon.new/web/controllers/page_controller.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
78
2017-05-25T09:41:55.000Z
2019-01-04T20:53:35.000Z
priv/templates/talon.new/web/controllers/page_controller.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
8
2017-06-24T12:28:06.000Z
2018-09-17T16:11:56.000Z
defmodule <%= base %>.<%= web_namespace %><%= concern %>PageController do use <%= base %>.Web, :controller use Talon.PageController, concern: <%= base %>.<%= concern %> plug Talon.Plug.LoadConcern, concern: <%= base %>.<%= concern %>, web_namespace: <%= web_module %> plug Talon.Plug.Theme plug Talon.Plug.Lay...
32.461538
100
0.627962
e833736bdeec97b01e802f82335c5d3bf43fa95d
488
ex
Elixir
gateway/lib/channel/supervisor.ex
xonnect/server-ce
7ec2e689a19098a17dfc5eaf190d56f29fb45263
[ "BSD-2-Clause" ]
null
null
null
gateway/lib/channel/supervisor.ex
xonnect/server-ce
7ec2e689a19098a17dfc5eaf190d56f29fb45263
[ "BSD-2-Clause" ]
null
null
null
gateway/lib/channel/supervisor.ex
xonnect/server-ce
7ec2e689a19098a17dfc5eaf190d56f29fb45263
[ "BSD-2-Clause" ]
null
null
null
defmodule Channel.Supervisor do use Supervisor # Supervisor api def start_child(identifier) do Supervisor.start_child __MODULE__, [identifier] end def start_link() do Supervisor.start_link __MODULE__, [], name: __MODULE__ end # Supervisor callback def init([]) do children = [ worker...
23.238095
86
0.713115
e83399fdabc4e58c2e2dc51ea9b9dc21a61d0d8e
1,543
ex
Elixir
lib/plexy/logger/simple_redactor.ex
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
153
2016-11-07T15:11:52.000Z
2021-11-16T23:20:52.000Z
lib/plexy/logger/simple_redactor.ex
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
21
2016-11-07T14:55:09.000Z
2022-03-30T18:31:31.000Z
lib/plexy/logger/simple_redactor.ex
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
5
2018-07-09T05:02:53.000Z
2019-11-01T01:08:09.000Z
defmodule Plexy.Logger.SimpleRedactor do @moduledoc """ SimpleRedactor is able to filter and redact sensative data """ @doc """ Assuming line is in the format "key=value" - redact the values for all "keys" under `opts` :redact - filter out the entire line if it has a "key" under `opts` :filter ## Exa...
27.070175
79
0.558652
e833bf58c08075811d5022938d4657b1ac677417
6,539
ex
Elixir
lib/app/router.ex
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
null
null
null
lib/app/router.ex
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
2
2021-11-12T14:34:12.000Z
2021-11-12T14:40:30.000Z
lib/app/router.ex
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
null
null
null
defmodule App.Router do @bot_name Application.compile_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 ...
25.15
86
0.609726
e833e2342b63938f996f97f4c088373a1e4ea036
425
ex
Elixir
12elixirtut_loop.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
12elixirtut_loop.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
12elixirtut_loop.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
defmodule M do def main do do_stuff() end def do_stuff do IO.puts "Sum : #{sum([1,2,3])}" loop(5, 1) end def sum([]), do: 0 def sum([h|t]), do: h + sum(t) def loop(0,_), do: nil def loop(max, min) do if max < min do loop(0, min) ...
16.346154
39
0.414118
e83445cf4f4f7c69cb5de3ea296f8028f563213f
23,865
ex
Elixir
lib/tortoise311/connection.ex
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
lib/tortoise311/connection.ex
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
lib/tortoise311/connection.ex
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
defmodule Tortoise311.Connection do @moduledoc """ Establish a connection to a MQTT broker. Todo. """ use GenServer require Logger defstruct [ :client_id, :connect, :server, :status, :backoff, :subscriptions, :keep_alive, :opts, :handler ] alias __MODULE__, as:...
32.917241
100
0.649445
e834628737617c8f82e3d068c6c808bc11351735
3,557
ex
Elixir
lib/network/simple.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/network/simple.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/network/simple.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
require Logger alias Network.Simple, as: Net defmodule Network.Simple.Cortex do use GenServer @moduledoc """ The Cortex is the controller for the network. It is responsible for synchronizing signals from sensors and waiting for responses from actuators. This Cortex implementation does not wait for actuat...
20.325714
78
0.669947
e83492e2bd238b11c92dae8f995165342093b78b
8,474
exs
Elixir
test/statham_logger_test.exs
prosapient/statham_logger
0d58b333e714891676aed9b5a76dd535d4d2d074
[ "Apache-2.0" ]
2
2021-06-25T17:35:12.000Z
2021-07-14T15:05:30.000Z
test/statham_logger_test.exs
prosapient/statham_logger
0d58b333e714891676aed9b5a76dd535d4d2d074
[ "Apache-2.0" ]
null
null
null
test/statham_logger_test.exs
prosapient/statham_logger
0d58b333e714891676aed9b5a76dd535d4d2d074
[ "Apache-2.0" ]
null
null
null
defmodule StathamLoggerTest do use StathamLogger.LoggerCase, async: false import ExUnit.CaptureIO require Logger defmodule IDStruct, do: defstruct(id: nil) setup do Logger.remove_backend(:console) Logger.add_backend(StathamLogger) :ok = Logger.configure_backend( StathamLogger, ...
23.736695
101
0.554992
e83498a021da0f500762c97ef999de3e6e0e79b2
640
exs
Elixir
test/user_model_test.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
1
2016-04-28T18:32:10.000Z
2016-04-28T18:32:10.000Z
test/user_model_test.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
null
null
null
test/user_model_test.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
null
null
null
defmodule Models.UserTest do use ExUnit.Case, async: false alias Pass.Test.User @valid_attrs %{email: "email", username: "uname", password: "some content", emailConfirmed: true, passwordResetToken: "pw token"} @invalid_attrs %{} setup tags do unless tags[:async] do Ecto.Adapters.SQL.restart_test_...
25.6
131
0.709375
e834d37b803f3ff21ea5f10e38d458f64c75eafc
1,496
exs
Elixir
mix.exs
hellogustav/elixir_email_reply_parser
e0cad1831cfaf1eb8db41fd8965eea2dd6e03c7d
[ "MIT" ]
7
2017-04-15T13:49:45.000Z
2022-02-15T08:06:33.000Z
mix.exs
hellogustav/elixir_email_reply_parser
e0cad1831cfaf1eb8db41fd8965eea2dd6e03c7d
[ "MIT" ]
12
2017-03-28T16:56:23.000Z
2019-10-16T13:41:12.000Z
mix.exs
hellogustav/elixir_email_reply_parser
e0cad1831cfaf1eb8db41fd8965eea2dd6e03c7d
[ "MIT" ]
2
2017-11-11T19:14:29.000Z
2020-10-19T17:41:44.000Z
defmodule ElixirEmailReplyParser.Mixfile do use Mix.Project def project do [app: :elixir_email_reply_parser, version: "0.1.2", description: description(), elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), deps: deps(), ...
28.226415
85
0.647727
e835047cdf10d75f97fbaccd80f125194d25e92b
959
exs
Elixir
demos/brella_demo_umbrella/config/prod.secret.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
8
2020-03-15T19:22:02.000Z
2021-09-28T11:00:18.000Z
demos/brella_demo_umbrella/config/prod.secret.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
7
2020-03-11T06:21:57.000Z
2020-11-15T19:48:54.000Z
demos/brella_demo_umbrella/config/prod.secret.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config secret_key_base = System.get_env("SECRET_KEY_BASE") || raise """ ...
31.966667
67
0.736184
e83528efce04d7f25f051904d851beef506f79c3
45
exs
Elixir
test/trash_test.exs
newaperio/trash
ad7f82dab736c8b4e926888f8f09fce078b289ac
[ "MIT" ]
1
2022-03-18T15:26:07.000Z
2022-03-18T15:26:07.000Z
test/trash_test.exs
newaperio/trash
ad7f82dab736c8b4e926888f8f09fce078b289ac
[ "MIT" ]
null
null
null
test/trash_test.exs
newaperio/trash
ad7f82dab736c8b4e926888f8f09fce078b289ac
[ "MIT" ]
null
null
null
defmodule TrashTest do use ExUnit.Case end
11.25
22
0.8
e8353c0009a0db43e90f288ae85025cb0e956ba8
1,106
ex
Elixir
lib/elasticlunr/storage.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
129
2021-11-15T23:22:06.000Z
2022-03-20T03:03:27.000Z
lib/elasticlunr/storage.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
9
2021-11-06T16:22:30.000Z
2022-03-28T11:58:08.000Z
lib/elasticlunr/storage.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
5
2022-01-05T16:44:21.000Z
2022-03-24T11:55:49.000Z
defmodule Elasticlunr.Storage do @moduledoc """ This is the storage interface that's used by the index manager. ```elixir config :elasticlunr, storage: Elasticlunr.Storage.Blackhole # this is the default provider ``` """ alias Elasticlunr.Index alias Elasticlunr.Storage.Blackhole @spec all() :: E...
24.043478
76
0.659132
e8353e13e2feaf00e325a4310cd428c3a7e1dc71
3,212
ex
Elixir
lib/codes/codes_r46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R46 do alias IcdCode.ICDCode def _R460 do %ICDCode{full_code: "R460", category_code: "R46", short_code: "0", full_name: "Very low level of personal hygiene", short_name: "Very low level of personal hygiene", category_name: "Very lo...
33.113402
91
0.624222
e83575ed9639262c8a5cc51b72e971414ec724e8
2,050
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_yum_artifacts_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_yum_artifacts_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_yum_artifacts_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.196078
175
0.754634
e835a5b8ec6d902d1f6f03173b6a04b9ae7cbada
1,389
exs
Elixir
test/arrow_web/controllers/auth_controller_test.exs
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
null
null
null
test/arrow_web/controllers/auth_controller_test.exs
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
775
2019-11-18T16:23:57.000Z
2022-03-28T18:20:04.000Z
test/arrow_web/controllers/auth_controller_test.exs
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
1
2019-12-23T13:52:25.000Z
2019-12-23T13:52:25.000Z
defmodule ArrowWeb.Controllers.AuthControllerTest do use ArrowWeb.ConnCase describe "callback" do test "redirects on success and saves refresh token", %{conn: conn} do current_time = System.system_time(:second) auth = %Ueberauth.Auth{ uid: "foo@mbta.com", credentials: %Ueberauth.Au...
27.78
73
0.62707
e835c866816b340382188aa10cbbd88a6a59b3c8
1,482
ex
Elixir
lib/tesla/middleware/follow_redirects.ex
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
null
null
null
lib/tesla/middleware/follow_redirects.ex
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
null
null
null
lib/tesla/middleware/follow_redirects.ex
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
null
null
null
defmodule Tesla.Middleware.FollowRedirects do @behaviour Tesla.Middleware @moduledoc """ Follow 3xx redirects ### Example ``` defmodule MyClient do use Tesla plug Tesla.Middleware.FollowRedirects, max_redirects: 3 # defaults to 5 end ``` ### Options - `:max_redirects` - limit number of r...
21.478261
79
0.591093
e835d63fc6630ab61d6be5330fce544576ff2f76
20,984
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/interconnects.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnects.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnects.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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...
48.574074
414
0.650448
e835e66bf8b1d237bb7e356534c7b369d7f03dff
12,445
ex
Elixir
data/web/deps/ecto/lib/ecto/changeset/relation.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/ecto/lib/ecto/changeset/relation.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/ecto/lib/ecto/changeset/relation.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Changeset.Relation do @moduledoc false alias Ecto.Changeset alias Ecto.Association.NotLoaded @type t :: %{cardinality: :one | :many, on_replace: :raise | :mark_as_invalid | atom, relationship: :parent | :child, owner: atom, related: at...
33.186667
126
0.651828
e835ec6a6d4601bdbfba312f2f0e22b63a5a46fe
403
exs
Elixir
apps/bankingengine/priv/repo/migrations/20210414184116_create_user.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
apps/bankingengine/priv/repo/migrations/20210414184116_create_user.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
apps/bankingengine/priv/repo/migrations/20210414184116_create_user.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
defmodule Bankingengine.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users, primary_key: false) do add :id, :uuid, primary_key: true add :cpf, :string add :name, :string add :email, :string add :adress, :string timestamps() end creat...
21.210526
53
0.645161
e83614f58f4e3c14aadcce92fa34bd70581b64fa
274
ex
Elixir
lib/drunkard/protobuf/recipeArray.pb.ex
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
2
2020-07-05T21:27:33.000Z
2021-12-12T22:56:00.000Z
lib/drunkard/protobuf/recipeArray.pb.ex
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
1
2021-05-11T08:14:48.000Z
2021-05-11T08:14:48.000Z
lib/drunkard/protobuf/recipeArray.pb.ex
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
1
2020-07-05T21:27:46.000Z
2020-07-05T21:27:46.000Z
defmodule Drunkard.Protobuf.RecipeArray do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ recipe: [Drunkard.Protobuf.Recipe.t()] } defstruct [:recipe] field :recipe, 1, repeated: true, type: Drunkard.Protobuf.Recipe end
22.833333
66
0.682482
e83633d8d4aabbce11b3846eaebcb410e6901cd3
304
ex
Elixir
lib/sanbase_web/live_view_utils.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/live_view_utils.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/live_view_utils.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.LiveViewUtils do require Sanbase.Utils.Config, as: Config def session_options(opts) do opts |> Keyword.put(:domain, Config.module_get(SanbaseWeb.Plug.SessionPlug, :domain)) |> Keyword.put(:key, Config.module_get(SanbaseWeb.Plug.SessionPlug, :session_key)) end end
30.4
86
0.753289
e8364086db690601e37553678f25a356ef1dcae3
1,513
ex
Elixir
lib/locations_web/endpoint.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
14
2020-09-16T14:10:35.000Z
2021-10-30T22:05:48.000Z
lib/locations_web/endpoint.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
lib/locations_web/endpoint.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
defmodule LocationsWeb.Endpoint do use Phoenix.Endpoint, otp_app: :locations # 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: "_locat...
29.666667
97
0.71844
e8365b99ba13ea511b7af1c4f8d18490216fff8e
1,170
exs
Elixir
test/bitcoin_simulator/bitcoin_core/network_test.exs
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
1
2021-12-16T08:31:24.000Z
2021-12-16T08:31:24.000Z
test/bitcoin_simulator/bitcoin_core/network_test.exs
hojason117/BitcoinSimulator
f85e623eec1923a2c0d418388f440cc06b6a5283
[ "MIT" ]
null
null
null
test/bitcoin_simulator/bitcoin_core/network_test.exs
hojason117/BitcoinSimulator
f85e623eec1923a2c0d418388f440cc06b6a5283
[ "MIT" ]
null
null
null
defmodule BitcoinSimulator.BitcoinCore.NetworkTest do use ExUnit.Case, async: true alias BitcoinSimulator.BitcoinCore.Network test "message seen?" do record = %Network.MessageRecord{ transactions: Map.new([{:crypto.hash(:sha256, "exist"), Timex.now()}]), blocks: Map.new([{:crypto.hash(...
41.785714
95
0.683761
e836683b74f5ab7fbe0a65b1209ec8f386dbf6c9
460
exs
Elixir
.workshop/exercises/my_enum/test/test_helper.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
10
2015-12-13T07:29:08.000Z
2016-09-22T03:47:35.000Z
.workshop/exercises/my_enum/test/test_helper.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
4
2015-12-02T12:12:14.000Z
2016-01-11T07:33:24.000Z
.workshop/exercises/my_enum/test/test_helper.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
null
null
null
defmodule Workshop.Exercise.MyEnumCheck.Helper do def exec(solution_dir) do # Locate and load and perhaps start the users solution. # The following example assumes that the user solution is located # in a file called *exercise.exs*: "my_enum.ex" |> Path.expand(solution_dir) |> Code.require_f...
25.555556
69
0.715217
e83682b4a5ca25483b6aea32f9a4258db79e2399
738
ex
Elixir
lib/glimesh_web/live/live_helpers.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/live_helpers.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/live_helpers.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `GlimeshWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Examples <%= live_modal @socket, GlimeshWeb.P...
30.75
80
0.697832
e836a8168f6118c69dd212714635090e0ef817b9
106
ex
Elixir
lib/journey/repo.ex
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-10-04T15:49:53.000Z
2021-10-04T15:49:53.000Z
lib/journey/repo.ex
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-06-14T02:31:57.000Z
2021-06-14T02:31:57.000Z
lib/journey/repo.ex
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
null
null
null
defmodule Journey.Repo do use Ecto.Repo, otp_app: :journey, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
e836b541b0ac175ad3b0767dfda2a971a8dc16e8
123
ex
Elixir
lib/google_fit/activity_type/hiking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/hiking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/hiking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.Hiking do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
20.5
55
0.804878
e836b5be3a4baa8ba9f3fd71367464930d560116
111
exs
Elixir
test/test_helper.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
72
2017-03-20T02:33:30.000Z
2018-08-11T14:51:15.000Z
test/test_helper.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
46
2017-03-27T06:43:27.000Z
2018-07-17T16:49:08.000Z
test/test_helper.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
30
2017-03-14T07:10:26.000Z
2018-07-19T10:14:14.000Z
ExUnit.start() Rummage.Phoenix.Repo.start_link() Ecto.Adapters.SQL.Sandbox.mode(Rummage.Phoenix.Repo, :manual)
27.75
61
0.801802
e836bf2412a753b2e156e34b1ce3687dabcfb69c
1,522
exs
Elixir
priv/repo/seeds.exs
supersimple/tilex
8e0c2ae06fe007f2a9b6393532c415cf8c3135f0
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
priv/repo/seeds.exs
supersimple/tilex
8e0c2ae06fe007f2a9b6393532c415cf8c3135f0
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
priv/repo/seeds.exs
supersimple/tilex
8e0c2ae06fe007f2a9b6393532c415cf8c3135f0
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Tilex.Repo.insert!(%Tilex.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail...
29.269231
90
0.672142
e836cb2c6dc2a9713f7eb7d35b81aba1235cc132
1,820
ex
Elixir
web/controllers/game_controller.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
1
2020-01-19T03:29:22.000Z
2020-01-19T03:29:22.000Z
web/controllers/game_controller.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
null
null
null
web/controllers/game_controller.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
null
null
null
defmodule InteractiveTetris.GameController do use InteractiveTetris.Web, :controller alias InteractiveTetris.Room alias InteractiveTetris.ConnectedGame alias InteractiveTetris.User def game(conn, %{"id" => id}) do room = Repo.get(Room, id) room = Ecto.Changeset.change(room, active: true) case R...
28.888889
102
0.558791
e836d625906eba9d7160d4039512436cba0e3d76
1,298
ex
Elixir
lib/oli_web/live/common/text_search.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/common/text_search.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/common/text_search.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
1
2021-10-30T05:58:19.000Z
2021-10-30T05:58:19.000Z
defmodule OliWeb.Common.TextSearch do use Surface.LiveComponent prop apply, :event, default: "text_search_apply" prop reset, :event, default: "text_search_reset" prop change, :event, default: "text_search_change" prop text, :string, default: "" def render(%{id: id} = assigns) do ~F""" <div class...
34.157895
161
0.649461
e836d6324be498c90a2e1798197831acb26dd546
106
ex
Elixir
web/commands/variant_option_value.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/commands/variant_option_value.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/commands/variant_option_value.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Command.VariantOptionValue do use Nectar.Command, model: Nectar.VariantOptionValue end
26.5
54
0.849057
e83703115ad1d85af7b70f20d3b87cb58ae117a7
71
ex
Elixir
lib/wiring_editor_web/views/page_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
lib/wiring_editor_web/views/page_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
lib/wiring_editor_web/views/page_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
defmodule WiringEditorWeb.PageView do use WiringEditorWeb, :view end
17.75
37
0.830986
e83704cd093b78886460cec63f68a3e0395e1691
1,767
exs
Elixir
db_server/test/db_server_web/schema/participating_team_schema_test.exs
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/test/db_server_web/schema/participating_team_schema_test.exs
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/test/db_server_web/schema/participating_team_schema_test.exs
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
defmodule DbServerWeb.ParticipatingTeamSchemaTest do use ExUnit.Case, async: true use DbServer.DataCase use DbServer.AroundRepo describe "participating team schema test." do @insert_tournament_params %{ name: "test_name", duration: 120, participation_deadline: DateTime.utc_now(), te...
33.980769
135
0.650821
e837051e0a947afc58f0e7417eac9eefda5dee2f
46
ex
Elixir
lib/assoc.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
6
2019-01-31T23:31:42.000Z
2020-10-06T20:05:34.000Z
lib/assoc.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2021-11-09T14:35:51.000Z
2021-11-09T18:04:15.000Z
lib/assoc.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2019-01-31T23:53:33.000Z
2021-11-05T21:47:26.000Z
defmodule Assoc do @moduledoc """ """ end
9.2
18
0.608696
e83716a1a3746b8b80e884518c22d4339739f115
4,927
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
60.82716
587
0.737569
e8377a3ef81820529f50a5452ce8d50917fbb8a9
4,165
ex
Elixir
lib/sphinx_rtm/messages.ex
esl/sphinx
2b514a713035512d80ab5d63f6945b1e11357b28
[ "Apache-2.0" ]
1
2021-03-11T23:23:34.000Z
2021-03-11T23:23:34.000Z
lib/sphinx_rtm/messages.ex
esl/sphinx
2b514a713035512d80ab5d63f6945b1e11357b28
[ "Apache-2.0" ]
1
2019-12-19T12:25:58.000Z
2019-12-19T12:25:58.000Z
lib/sphinx_rtm/messages.ex
esl/sphinx
2b514a713035512d80ab5d63f6945b1e11357b28
[ "Apache-2.0" ]
2
2021-03-11T23:27:14.000Z
2022-03-06T10:20:41.000Z
defmodule SphinxRtm.Messages do alias SphinxRtm.Messages.Parser alias Sphinx.Riddles alias Sphinx.SlackUtils alias Sphinx.Answers import Ecto.Query @help """ ``` @sphinx help Print Sphinx commands \n @sphinx [TEXT] Starts a thread with SphinxBot \n @sphinx [SAVE] [TEXT] It saves the link to the thr...
27.766667
128
0.597119
e837b08fffaf94ce3921df67861d23be4451ac6a
3,678
exs
Elixir
test/siwapp_web/graphql/invoices_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
test/siwapp_web/graphql/invoices_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
test/siwapp_web/graphql/invoices_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
defmodule SiwappWeb.Graphql.InvoicesTest do use SiwappWeb.ConnCase, async: true import Siwapp.InvoicesFixtures import Siwapp.CommonsFixtures import Siwapp.SettingsFixtures setup do series = series_fixture(%{name: "A-Series", code: "A-"}) taxes_fixture(%{name: "VAT", value: 21, default: true}) ta...
23.426752
123
0.494018
e837b4d0f136ce0beae8a38f6e600fe60d6e2584
1,732
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_csv_import_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_csv_import_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_csv_import_options.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...
33.960784
135
0.729792
e837c323e3b11fb73a16bc1e6a1f90191044ab67
1,670
ex
Elixir
clients/games/lib/google_api/games/v1/model/push_token_id.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/push_token_id.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/push_token_id.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
32.745098
140
0.733533
e837f613aace91ed74df665d57b0ea9f66c4441f
198
exs
Elixir
broker/test/broker_web/controllers/page_controller_test.exs
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
1
2019-02-04T21:09:16.000Z
2019-02-04T21:09:16.000Z
broker/test/broker_web/controllers/page_controller_test.exs
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
null
null
null
broker/test/broker_web/controllers/page_controller_test.exs
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
null
null
null
defmodule BrokerWeb.PageControllerTest do use BrokerWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22
60
0.676768
e83801a3c4f9646e78207b12ecf8a7189c5c2f53
6,957
ex
Elixir
lib/unifex/specs.ex
wishdev/unifex
f16a65b73e2a482e784b1bf6816b73c0f7bdb2a7
[ "Apache-2.0" ]
null
null
null
lib/unifex/specs.ex
wishdev/unifex
f16a65b73e2a482e784b1bf6816b73c0f7bdb2a7
[ "Apache-2.0" ]
null
null
null
lib/unifex/specs.ex
wishdev/unifex
f16a65b73e2a482e784b1bf6816b73c0f7bdb2a7
[ "Apache-2.0" ]
null
null
null
defmodule Unifex.Specs do @moduledoc """ Module exporting macros that can be used to define Unifex specs. Example of such specs is provided below: module Membrane.Element.Mad.Decoder.Native spec create() :: {:ok :: label, state} spec decode_frame(payload, offset :: int, state) :: ...
37.203209
118
0.693115
e83802e49603ddfe8820cd32e3e02d4a2a9260b7
579
exs
Elixir
exercises/practice/tournament/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/tournament/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/tournament/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Tournament.MixProject do use Mix.Project def project do [ app: :tournament, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ e...
19.965517
87
0.578584
e838636d9f057109c5a65fa1a9bac3264cb27a41
2,536
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher.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...
47.849057
302
0.759858
e8386a6f3920c69a0b8ba50da299bd6c4a29b591
498
exs
Elixir
languages/elixir/exercises/concept/rpn-calculator/test/rpn_calculator_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
3
2020-07-25T06:24:00.000Z
2020-09-14T17:39:11.000Z
languages/elixir/exercises/concept/rpn-calculator/test/rpn_calculator_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
45
2020-01-24T17:04:52.000Z
2020-11-24T17:50:18.000Z
languages/elixir/exercises/concept/rpn-calculator/test/rpn_calculator_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
null
null
null
defmodule RPNCalculatorTest do use ExUnit.Case test "let it crash" do assert_raise(RuntimeError, fn -> RPNCalculator.calculate!([], fn _ -> raise "test error" end) end) end test "rescue the crash, no message" do assert RPNCalculator.calculate([], fn _ -> raise "test error" end) == :error e...
27.666667
104
0.674699
e838be2e5a57b2b2d8b0fbc0070e593e8d64228c
588
exs
Elixir
config/test.exs
ExSemantica/exsemantica
c2d72513195f44b6b5f73c8cc07394de0a1fd273
[ "Apache-2.0" ]
null
null
null
config/test.exs
ExSemantica/exsemantica
c2d72513195f44b6b5f73c8cc07394de0a1fd273
[ "Apache-2.0" ]
2
2020-07-21T20:53:13.000Z
2020-07-21T20:54:15.000Z
config/test.exs
Chlorophytus/eactivitypub
469346b4d5cd7ad2b575c245ac50fd71b00c4864
[ "Apache-2.0" ]
null
null
null
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :exsemantica, ExsemanticaWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: 4002], secret_key_base: "Fo2ydQjwjyrHBX+pVq+GGxiQRVeZADAHfx9oTaxMXdc8NZyPqPx7vByTjCs7iFlp", server: false # In test we d...
30.947368
86
0.768707
e838ec1636a063ea843cec3dd32fcb8dfca9e5d9
1,528
ex
Elixir
server/lib/fakers_api_web/endpoint.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-11-15T17:46:40.000Z
2021-06-15T16:10:57.000Z
server/lib/fakers_api_web/endpoint.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-12-04T13:38:10.000Z
2020-12-18T11:15:50.000Z
server/lib/fakers_api_web/endpoint.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
2
2020-12-18T11:16:18.000Z
2021-01-19T22:03:35.000Z
defmodule FakersApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :fakers_api # 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: "_fake...
28.830189
97
0.717932
e838f4e5d7aae75b704a907e12e9729610ea5aa4
716
ex
Elixir
lib/mix_test_interactive/test_files.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
32
2021-02-19T17:48:55.000Z
2022-03-28T21:52:01.000Z
lib/mix_test_interactive/test_files.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
6
2021-03-02T08:48:58.000Z
2021-11-19T16:58:42.000Z
lib/mix_test_interactive/test_files.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
2
2021-11-19T16:32:07.000Z
2022-03-25T10:32:22.000Z
defmodule MixTestInteractive.TestFiles do @moduledoc false @doc """ List available test files Respects the configured `:test_paths` and `:test_pattern` settings. Used internally to filter test files by pattern on each test run. That way, any new files that match an existing pattern will be picked up imm...
24.689655
71
0.682961
e839185df508b2f6c727d1aca7f704353fe39084
15,212
exs
Elixir
test/unit/typespec_test.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
1
2021-02-26T00:00:34.000Z
2021-02-26T00:00:34.000Z
test/unit/typespec_test.exs
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
test/unit/typespec_test.exs
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
defmodule ZiglerTest.Unit.TypespecTest do use ExUnit.Case, async: true @moduletag :typespec alias Zig.Parser.Nif alias Zig.Typespec describe "when asking for a typespec retval" do test "a void function gives a sane result" do result = quote context: Elixir do @spec egress() :: :nil ...
35.962175
120
0.586839
e8393a0d5e2cf7f09d276c6cf7720b27cc0ee5f0
639
ex
Elixir
lib/lib_ten_web/controllers/admin/settings_controller.ex
10clouds/10Books
622360ea190421e07d4b207700867be105894218
[ "MIT" ]
11
2018-08-29T15:59:09.000Z
2021-08-25T16:35:13.000Z
lib/lib_ten_web/controllers/admin/settings_controller.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
16
2018-08-29T15:43:52.000Z
2021-05-09T00:53:56.000Z
lib/lib_ten_web/controllers/admin/settings_controller.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
3
2019-05-29T14:22:59.000Z
2020-06-06T12:30:54.000Z
defmodule LibTenWeb.Admin.SettingsController do use LibTenWeb, :controller alias LibTen.Admin def index(conn, _params) do changeset = Admin.change_settings(conn.assigns.settings) render(conn, "index.html", changeset: changeset) end def update(conn, %{"settings" => params}) do case Admin.update_s...
29.045455
64
0.669797
e839531bbae5b822e38dfe00cd05e4494fdc4732
523
exs
Elixir
mix.exs
corka149/burrito
fa7d9af37b83e59a6429c19c6645ca8da170a86f
[ "MIT" ]
null
null
null
mix.exs
corka149/burrito
fa7d9af37b83e59a6429c19c6645ca8da170a86f
[ "MIT" ]
null
null
null
mix.exs
corka149/burrito
fa7d9af37b83e59a6429c19c6645ca8da170a86f
[ "MIT" ]
null
null
null
defmodule Burrito.MixProject do use Mix.Project def project do [ app: :burrito, version: String.trim(File.read!("VERSION")), elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def applicat...
18.034483
59
0.562141
e83968cd7b49952f157077abd994dec5f351ee67
11,896
ex
Elixir
lib/mimic.ex
dylan-chong/mimic
4ed364823f75285039af80af549dbe0ea646ebf0
[ "Apache-2.0" ]
null
null
null
lib/mimic.ex
dylan-chong/mimic
4ed364823f75285039af80af549dbe0ea646ebf0
[ "Apache-2.0" ]
null
null
null
lib/mimic.ex
dylan-chong/mimic
4ed364823f75285039af80af549dbe0ea646ebf0
[ "Apache-2.0" ]
null
null
null
defmodule Mimic do @moduledoc """ Mimic is a library that simplifies the usage of mocks in Elixir. Mimic is mostly API compatible with [mox](https://hex.pm/packages/mox) but doesn't require explicit contract checking with behaviours. It's also faster. You're welcome. Mimic works by copying your module ou...
26.672646
96
0.665098
e839940f029fede8e9b770ebdaef90f0bc7c49bb
472
ex
Elixir
lib/perkle/blockchain.ex
esprezzo/elixir-perkle
42666bcb5b56322c9685068971b19029b00a17e3
[ "MIT" ]
null
null
null
lib/perkle/blockchain.ex
esprezzo/elixir-perkle
42666bcb5b56322c9685068971b19029b00a17e3
[ "MIT" ]
null
null
null
lib/perkle/blockchain.ex
esprezzo/elixir-perkle
42666bcb5b56322c9685068971b19029b00a17e3
[ "MIT" ]
null
null
null
defmodule Perkle.Blockchain do @doc """ iex> all_blocks = Perkle.Blockchain.get_all_blocks() """ @spec get_all_blocks :: {:ok, List.t} | {:error, String.t} def get_all_blocks() do {:ok, highest_block_num} = Perkle.Eth.block_number() range_floor = 0 range = highest_block_num..range_floor b...
27.764706
80
0.652542
e839ae4dc9f789358af753ead03373c13b1c2ee2
678
ex
Elixir
learning/adopting_elixir/chapter_9/demo/lib/demo_web/views/error_helpers.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/adopting_elixir/chapter_9/demo/lib/demo_web/views/error_helpers.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/adopting_elixir/chapter_9/demo/lib/demo_web/views/error_helpers.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule DemoWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:sp...
24.214286
73
0.674041
e839ce187af0a47b5d2619c5f7de24d58d9d7215
2,209
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/permission_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.907407
310
0.740154
e839e9faaf8c40c0d6eaef34835415773ac9ee11
66
ex
Elixir
lib/eecrit/old_repo.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
lib/eecrit/old_repo.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
lib/eecrit/old_repo.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.OldRepo do use Ecto.Repo, otp_app: :eecrit end
16.5
33
0.772727
e839f625379404b56850424a8172e005d0362f6b
1,298
exs
Elixir
test/paginate_test.exs
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
test/paginate_test.exs
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
test/paginate_test.exs
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule ExAdmin.PaginateTest do use ExUnit.Case alias ExAdmin.Paginate test "pagination_information name total" do assert Paginate.pagination_information("Contacts", 10) == "Displaying <b>all 10</b> Contacts" end test "pagination_information/4" do assert Paginate.pagination_information("Contacts",...
34.157895
97
0.651772
e83a1fe9c7f8a0dacb471a37014434f0c18553ca
1,644
exs
Elixir
mix.exs
membraneframework/elixir_libnice
5db244055282855aeaa520a6e4ae65cad34a084a
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/elixir_libnice
5db244055282855aeaa520a6e4ae65cad34a084a
[ "Apache-2.0" ]
1
2020-09-30T13:59:37.000Z
2020-09-30T13:59:37.000Z
mix.exs
membraneframework/elixir_libnice
5db244055282855aeaa520a6e4ae65cad34a084a
[ "Apache-2.0" ]
null
null
null
defmodule ExLibnice.MixProject do use Mix.Project @version "0.8.0" @github_url "https://github.com/membraneframework/ex_libnice" def project do [ app: :ex_libnice, version: @version, elixir: "~> 1.10", compilers: [:unifex, :bundlex] ++ Mix.compilers(), elixirc_paths: elixirc_...
23.15493
96
0.550487
e83a7e0bf7cfb2db0cb013c459f4400f4292c0ae
291
ex
Elixir
test/support/conn_case.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
test/support/conn_case.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
test/support/conn_case.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
defmodule FlightStatusWeb.ConnCase do use ExUnit.CaseTemplate using do quote do use Phoenix.ConnTest import FlightStatusWeb.Router.Helpers @endpoint FlightStatusWeb.Endpoint end end setup _tags do {:ok, conn: Phoenix.ConnTest.build_conn()} end end
17.117647
46
0.71134
e83af906cd1556f55dd364aaef054d360a70de37
2,971
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/binding.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/binding.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/binding.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 ...
43.057971
315
0.728374
e83b03bcbd8f23af34678f5da9e3a063048f49cb
1,629
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_byte_content_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_byte_content_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_byte_content_item.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...
32.58
125
0.724985
e83b1252fb2107bffae279957bec3dd339bba3bb
3,364
exs
Elixir
priv/templates/phx.gen.context/test_cases.exs
zoosky/phoenix
8c90262009652390286dd6150bed513f6a3e6150
[ "MIT" ]
null
null
null
priv/templates/phx.gen.context/test_cases.exs
zoosky/phoenix
8c90262009652390286dd6150bed513f6a3e6150
[ "MIT" ]
null
null
null
priv/templates/phx.gen.context/test_cases.exs
zoosky/phoenix
8c90262009652390286dd6150bed513f6a3e6150
[ "MIT" ]
null
null
null
describe "<%= schema.plural %>" do alias <%= inspect schema.module %> @valid_attrs <%= inspect schema.params.create %> @update_attrs <%= inspect schema.params.update %> @invalid_attrs <%= inspect for {key, _} <- schema.params.create, into: %{}, do: {key, nil} %> def <%= schema.singular %>_fixtu...
54.258065
202
0.601962
e83b1629fd0736a7b19b9ef5cc495100d1751821
4,244
ex
Elixir
lib/platform/video/video_processing.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
lib/platform/video/video_processing.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
lib/platform/video/video_processing.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule Platform.VideoProcessing do @moduledoc """ Context for the video converter """ require Logger alias Filename alias FileHelper alias Platform.Speech alias VideoConverter alias Platform.VideoHelper alias Platform.Core alias Platform.Core.Schema.Lesson alias Platform.Core.Schema.Slide ...
34.225806
230
0.711357
e83b1a7ffc0b57f22c82b3742871f06055ffd7d6
1,182
exs
Elixir
mix.exs
simonmcconnell/msgpax_serializer
985980a016a08f7ad80cef1d90272624843aebd1
[ "MIT" ]
null
null
null
mix.exs
simonmcconnell/msgpax_serializer
985980a016a08f7ad80cef1d90272624843aebd1
[ "MIT" ]
1
2022-02-01T08:00:00.000Z
2022-02-01T08:00:00.000Z
mix.exs
simonmcconnell/msgpax_serializer
985980a016a08f7ad80cef1d90272624843aebd1
[ "MIT" ]
null
null
null
defmodule MsgpaxSerializer.MixProject do use Mix.Project @version "0.1.0" @github_url "https://github.com/simonmcconnell/msgpax_serializer" def project do [ app: :msgpax_serializer, version: @version, elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), ...
23.64
88
0.543993
e83b2227a6a799ae3160eacdebe4330e233e6715
12,728
ex
Elixir
lib/votr/stv.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
1
2018-04-27T09:43:27.000Z
2018-04-27T09:43:27.000Z
lib/votr/stv.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
null
null
null
lib/votr/stv.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
null
null
null
# TODO implement Borda method # TODO implement Condorcet method # TODO implement Block Plurality (multiple seats, unranked votes) # TODO implement dynamic vs static threshold option # TODO implement STV tie breaking options (backwards, random) # TODO implement overvote and undervote handling options and reporting # TOD...
37.216374
102
0.529777
e83b307db922174a210193c9548fa294f701367f
586
exs
Elixir
mix.exs
IanLuites/kvasir_pub_sub
2059f18bbf88612f66e4292625b81edf3d970ba0
[ "MIT" ]
null
null
null
mix.exs
IanLuites/kvasir_pub_sub
2059f18bbf88612f66e4292625b81edf3d970ba0
[ "MIT" ]
null
null
null
mix.exs
IanLuites/kvasir_pub_sub
2059f18bbf88612f66e4292625b81edf3d970ba0
[ "MIT" ]
null
null
null
defmodule Kvasir.PubSub.MixProject do use Mix.Project def project do [ app: :kvasir_pub_sub, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
18.903226
59
0.551195
e83b46c5cca351814e2623ff9be9deaf9859dabc
2,310
exs
Elixir
mix.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
mix.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
mix.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
defmodule Rockelivery.MixProject do use Mix.Project def project do [ app: :rockelivery, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.176471
84
0.547186
e83b4a326188442b15511a489c8bfa404967001f
682
ex
Elixir
lib/brando_admin/live/pages/page_fragment_create_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando_admin/live/pages/page_fragment_create_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando_admin/live/pages/page_fragment_create_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule BrandoAdmin.Pages.PageFragmentCreateLive do use BrandoAdmin.LiveView.Form, schema: Brando.Pages.Fragment alias BrandoAdmin.Components.Content alias BrandoAdmin.Components.Form import Brando.Gettext def mount(%{"page_id" => page_id, "language" => language}, assigns, socket) do {:ok, socket ...
24.357143
80
0.668622
e83b4f2c7ca864edf66194600ecd356ad0f63280
4,949
ex
Elixir
lib/majudge.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
null
null
null
lib/majudge.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
1
2021-05-10T04:23:56.000Z
2021-05-10T04:23:56.000Z
lib/majudge.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
null
null
null
defmodule Majudge do @moduledoc """ Majudge 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. """ @default_ratings [:excellent, :verygood, :good, :average, :fair, :poor...
27.494444
105
0.650232
e83b4feaed4c105df1885bd08dc06e01c3a9a9af
967
ex
Elixir
clients/line_social_api/lib/line/social_api/profile.ex
wingyplus/elixir-line-sdk
e2e9518747237aac1f6edee0d4b9c546277a1dd0
[ "MIT" ]
null
null
null
clients/line_social_api/lib/line/social_api/profile.ex
wingyplus/elixir-line-sdk
e2e9518747237aac1f6edee0d4b9c546277a1dd0
[ "MIT" ]
null
null
null
clients/line_social_api/lib/line/social_api/profile.ex
wingyplus/elixir-line-sdk
e2e9518747237aac1f6edee0d4b9c546277a1dd0
[ "MIT" ]
null
null
null
defmodule LINE.SocialAPI.Profile.UserProfile do defstruct [:display_name, :user_id, :picture_url, :status_message] def from_map(user_profile) when is_map(user_profile) do %__MODULE__{ display_name: user_profile["displayName"], user_id: user_profile["userId"], picture_url: user_profile["pictur...
26.135135
78
0.672182
e83b9fbc087eb35e0d208a91ca9411639dfcc47b
3,601
ex
Elixir
lib/singyeong/gateway/encoding.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
70
2018-10-25T06:06:37.000Z
2022-03-14T19:51:56.000Z
lib/singyeong/gateway/encoding.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
140
2019-02-19T06:52:59.000Z
2022-03-01T11:13:41.000Z
lib/singyeong/gateway/encoding.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
9
2019-03-20T12:17:28.000Z
2021-03-11T18:51:00.000Z
defmodule Singyeong.Gateway.Encoding do @moduledoc false alias Phoenix.Socket alias Singyeong.Gateway.Payload alias Singyeong.Utils require Logger @valid_encodings [ "json", "msgpack", "etf", ] @spec validate_encoding(binary()) :: boolean() def validate_encoding(encoding) when is_binary...
27.280303
109
0.585115
e83bb4c66186f225c5802e2dd225e2806522344d
292
exs
Elixir
priv/repo/migrations/20170921014405_loosen_markdown_restrictions.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
priv/repo/migrations/20170921014405_loosen_markdown_restrictions.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
priv/repo/migrations/20170921014405_loosen_markdown_restrictions.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Repo.Migrations.LoosenMarkdownRestrictions do use Ecto.Migration def up do alter table(:comments) do modify :markdown, :text, null: true end end def down do alter table(:comments) do modify :markdown, :text, null: false end end end
18.25
65
0.684932
e83bc8e8384c054e9c4ee25478faf1c6aa3aa9d5
2,065
ex
Elixir
lib/execution.ex
dnlserrano/firefighter
dca8a8f199dc4a30c19a55abf29f3a8e17209c5b
[ "MIT" ]
5
2020-11-26T11:47:21.000Z
2021-03-26T23:18:49.000Z
lib/execution.ex
dnlserrano/firefighter
dca8a8f199dc4a30c19a55abf29f3a8e17209c5b
[ "MIT" ]
8
2021-03-09T18:38:40.000Z
2022-03-20T18:08:04.000Z
lib/execution.ex
dnlserrano/firefighter
dca8a8f199dc4a30c19a55abf29f3a8e17209c5b
[ "MIT" ]
1
2021-03-09T18:08:16.000Z
2021-03-09T18:08:16.000Z
defmodule Firefighter.Execution do @type execution :: %__MODULE__{} @callback start(data :: map) :: execution @callback record(exec :: execution, data :: map) :: execution @callback record_many(exec :: execution, name :: binary, data :: list | map) :: execution @callback push(exec :: execution, pid :: any) :...
27.171053
92
0.6523
e83c0ab9eaa8ab053740ad2c2beaccb6f66edca9
7,156
ex
Elixir
lib/ayesql/ast/context.ex
iautom8things/ayesql
c6f6a21fde52f44bcfb59a5b51e170df33a5117d
[ "MIT" ]
null
null
null
lib/ayesql/ast/context.ex
iautom8things/ayesql
c6f6a21fde52f44bcfb59a5b51e170df33a5117d
[ "MIT" ]
null
null
null
lib/ayesql/ast/context.ex
iautom8things/ayesql
c6f6a21fde52f44bcfb59a5b51e170df33a5117d
[ "MIT" ]
null
null
null
defmodule AyeSQL.AST.Context do @moduledoc """ This module defines an AST context. """ alias __MODULE__, as: Context alias AyeSQL.Core alias AyeSQL.Error alias AyeSQL.Query @doc """ AST context struct. """ defstruct index: 1, statement: [], arguments: [], errors: [] @typedoc """ Current cont...
24.847222
81
0.621716
e83c256676d0f4ac6a5960db17c5154c8d3d38c7
59,657
ex
Elixir
plugins/one_chat/lib/one_chat_web/channels/user_channel.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/lib/one_chat_web/channels/user_channel.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/lib/one_chat_web/channels/user_channel.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChatWeb.UserChannel do @moduledoc """ A channel responsible for handling most of the user based chat interactions. Much of the communications between the client and the server is done with this channel. When new messages are broadcast to users, they much be individually rendered for the user so ...
32.90513
137
0.659302
e83c39a26bdb8b2e14fd1ef2ec49089ee70be303
4,491
exs
Elixir
test/glimesh_web/live/category_live_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
test/glimesh_web/live/category_live_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
test/glimesh_web/live/category_live_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.CategoryLiveTest do use GlimeshWeb.ConnCase import Phoenix.LiveViewTest alias Glimesh.Streams @create_attrs %{ name: "some name" } @update_attrs %{ name: "some updated name" } @invalid_attrs %{name: nil} defp fixture(:category, parent_category) do {:ok, category} =...
32.078571
93
0.643509
e83c451ed0799332a3f0d335bcb99d93003ce72a
338
ex
Elixir
lib/sobelow/misc.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
lib/sobelow/misc.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
lib/sobelow/misc.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.Misc do @submodules [Sobelow.Misc.BinToTerm, Sobelow.Misc.FilePath] use Sobelow.FindingType def get_vulns(fun, meta_file, _web_root, skip_mods \\ []) do allowed = @submodules -- (Sobelow.get_ignored() ++ skip_mods) Enum.each(allowed, fn mod -> apply(mod, :run, [fun, meta_file]) ...
26
65
0.686391
e83c45936f044fffd504880e0a147d1936175597
9,803
ex
Elixir
lib/ex_unit/lib/ex_unit/runner.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Runner do @moduledoc false alias ExUnit.EventManager, as: EM def run(opts, load_us) do {opts, config} = configure(opts) :erlang.system_flag(:backtrace_depth, Keyword.fetch!(opts, :stacktrace_depth)) {run_us, _} = :timer.tc fn -> EM.suite_start...
27.928775
93
0.608385
e83c53d64c4ee72b0ec1cd0adacbe0f517697ad7
14,158
ex
Elixir
lib/eml/html/parser.ex
clemensm/eml
e2dc3dc605d2a61ccbdca1901a444a123abd8e94
[ "Apache-2.0" ]
null
null
null
lib/eml/html/parser.ex
clemensm/eml
e2dc3dc605d2a61ccbdca1901a444a123abd8e94
[ "Apache-2.0" ]
null
null
null
lib/eml/html/parser.ex
clemensm/eml
e2dc3dc605d2a61ccbdca1901a444a123abd8e94
[ "Apache-2.0" ]
null
null
null
defmodule Eml.HTML.Parser do @moduledoc false # API @spec parse(binary, Keyword.t) :: [Eml.t] def parse(html, opts \\ []) do res = tokenize(html, { :blank, [] }, [], :blank, opts) |> parse_content(opts) case res do { content, [] } -> content { content, rest }-> raise Eml.Pa...
32.69746
132
0.588713
e83c66ed7c0c5557ceec24b0af7f0e359eb37b5d
13,044
ex
Elixir
apps/api_web/lib/api_web/router.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/router.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/router.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule ApiWeb.Router do use ApiWeb.Web, :router defdelegate set_content_type(conn, opts), to: JaSerializer.ContentTypeNegotiation @rate_limit_headers """ The HTTP headers returned in any API response show your rate limit status: | Header | Description | | ------ | ----------- | | `x-ratelimit-limit` ...
32.856423
143
0.536875
e83c73fc829e8b26862cd0db5b019a419a5d70ad
754
exs
Elixir
test/bank_account_test.exs
laurocaetano/bank_account
5d14aeee50d4e6020631126ded6ebbbf3fada5e8
[ "MIT" ]
1
2015-04-05T16:36:02.000Z
2015-04-05T16:36:02.000Z
test/bank_account_test.exs
laurocaetano/bank_account
5d14aeee50d4e6020631126ded6ebbbf3fada5e8
[ "MIT" ]
null
null
null
test/bank_account_test.exs
laurocaetano/bank_account
5d14aeee50d4e6020631126ded6ebbbf3fada5e8
[ "MIT" ]
null
null
null
defmodule BankAccountTest do use ExUnit.Case test "starts off with a balance of 0" do account = spawn_link(BankAccount, :start, []) verify_balance_is 0, account end test "has balance incremented by the amount of the deposit" do account = spawn_link(BankAccount, :start, []) send(account, {:dep...
25.133333
65
0.704244
e83c8c340f0cc5accaa6ef41eb2cc2f182158588
603
ex
Elixir
apps/dockup_ui/lib/dockup_ui/metrics.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/lib/dockup_ui/metrics.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/lib/dockup_ui/metrics.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
defmodule DockupUi.Metrics do def send(container_count, metrics_url) do has_customer_name = not is_nil(get_customer_name()) if(has_customer_name) do route = "/containers/" <> get_customer_name() <> ".json" url = metrics_url <> route body = Poison.encode!(%{count: container_count, timeStamp:...
25.125
85
0.631841
e83cbf7997b5c4a655a91d4595b47671b42a32f1
1,679
ex
Elixir
apps/bank_web/web/web.ex
devnacho/acme_bank
cee19a490d2b3c04465273b7a6212d7e6a81f736
[ "MIT" ]
776
2016-07-16T14:24:37.000Z
2022-03-07T17:05:11.000Z
apps/bank_web/web/web.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
19
2016-09-03T15:06:57.000Z
2021-12-10T10:04:05.000Z
apps/bank_web/web/web.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
defmodule BankWeb.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use BankWeb.Web, :controller use BankWeb.Web, :view The definitions below will be executed for every view, controller, etc, so keep them sho...
19.988095
88
0.668255
e83cd4f30c84602a9eb9cc88369c46fb66bcfe02
388
exs
Elixir
day16/test/day16_test.exs
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
1
2021-05-12T11:30:15.000Z
2021-05-12T11:30:15.000Z
day16/test/day16_test.exs
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
day16/test/day16_test.exs
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
defmodule Day16Test do use ExUnit.Case doctest Day16 test "part 1 with example" do assert Day16.part1("10000", 20) == "01100" end test "part 1 with my input data" do assert Day16.part1(input()) == "11100111011101111" end test "part 2 with my input data" do assert Day16.part2(input()) == "10...
20.421053
54
0.677835
e83ceb559e4a3ae8f9456bcd73159e441dd8aa5c
3,551
ex
Elixir
lib/bsv/address.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
lib/bsv/address.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
lib/bsv/address.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
defmodule BSV.Address do @moduledoc """ Module for calculating any Bitcoin public or private key's address. A Bitcoin address is calculated by hashing the public key with both the SHA-256 and then RIPEMD alogrithms. The hash is then Base58Check encoded, resulting in the Bitcoin address. """ alias BSV.Cry...
27.742188
104
0.665728
e83d135e54d4379faab09b20c20c89d708cfaf53
1,736
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/map_value.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/map_value.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/map_value.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.93617
368
0.755184
e83d31b16bc1e6191580d589765f71c0481d9795
958
ex
Elixir
clients/books/lib/google_api/books/v1/request_builder.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/request_builder.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/request_builder.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
36.846154
77
0.763048