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
2825f6df5d61cbbbba4bc4cca2812fdd37fac605
1,682
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.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...
33.64
124
0.738407
28264b6ecea8ec58236eb96f586bc61d5486ac0f
2,133
exs
Elixir
test/statix/overriding_test.exs
wschroeder/statix
656b5624ff963c7bf90bcb52bb0b4e2953747029
[ "ISC" ]
null
null
null
test/statix/overriding_test.exs
wschroeder/statix
656b5624ff963c7bf90bcb52bb0b4e2953747029
[ "ISC" ]
null
null
null
test/statix/overriding_test.exs
wschroeder/statix
656b5624ff963c7bf90bcb52bb0b4e2953747029
[ "ISC" ]
null
null
null
defmodule Statix.OverridingTest do @server_port 8225 use Statix.TestCase, port: @server_port Application.put_env(:statix, __MODULE__, port: @server_port) use Statix def increment(key, value, options) do super([key, "-overridden"], value, options) end def decrement(key, value, options) do supe...
23.966292
90
0.639006
2826554a32b1519ceccd709e31f3fddaafb50637
1,982
exs
Elixir
clients/container_analysis/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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.58209
188
0.671544
2826fb2d55256637ee8a36a07c4df2653fa7379a
1,059
ex
Elixir
lib/elixirdo/notation/do.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
lib/elixirdo/notation/do.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
5
2018-07-20T12:36:25.000Z
2018-08-01T04:55:46.000Z
lib/elixirdo/notation/do.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
defmodule Elixirdo.Notation.Do do alias Elixirdo.Base.Utils defmacro __using__(_) do quote do import Elixirdo.Notation.Do, only: [monad: 1, monad: 2] end end defmacro monad(do: body) do do_monad(:monad, do: body) end defmacro monad(typeclass, do: body) do do_monad(typeclass, do: bod...
23.533333
84
0.563739
28271450c2d48da40be2a9639db316c0392deff5
7,962
exs
Elixir
test/connection_test.exs
Lean5/rbmq
c6e746c212e103fc4ada53969e88fc1f32a357a6
[ "MIT" ]
null
null
null
test/connection_test.exs
Lean5/rbmq
c6e746c212e103fc4ada53969e88fc1f32a357a6
[ "MIT" ]
1
2019-02-13T14:26:22.000Z
2019-02-13T14:26:22.000Z
test/connection_test.exs
Lean5/rbmq
c6e746c212e103fc4ada53969e88fc1f32a357a6
[ "MIT" ]
null
null
null
defmodule RBMQ.ConnectionTest do use ExUnit.Case import RBMQ.Connection doctest RBMQ.Connection defmodule TestConnection do use RBMQ.Connection, otp_app: :rbmq, queue: [ name: "test_qeueue_1", error_name: "test_qeueue_1_error", routing_key: "test_qeueue_1" ], ...
28.435714
103
0.695554
28276dd404dbbdeef9f017078cc839ad845dcf8e
84
ex
Elixir
lib/kuddle/config_error.ex
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
1
2022-02-15T00:59:16.000Z
2022-02-15T00:59:16.000Z
lib/kuddle/config_error.ex
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
null
null
null
lib/kuddle/config_error.ex
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
null
null
null
defmodule Kuddle.ConfigError do defexception [ :message, :reason, ] end
12
31
0.666667
28277bcd06804c0ad056c86bdd126ec2c753ec39
84
exs
Elixir
test/live_beats_web/views/page_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
547
2022-02-02T14:11:31.000Z
2022-03-31T12:34:03.000Z
test/live_beats_web/views/page_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
24
2022-02-02T14:11:36.000Z
2022-02-23T20:14:43.000Z
test/live_beats_web/views/page_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
63
2022-02-02T15:59:36.000Z
2022-03-23T05:30:43.000Z
defmodule LiveBeatsWeb.PageViewTest do use LiveBeatsWeb.ConnCase, async: true end
21
40
0.833333
2827a56f3beb6d91c6a0d0e57ad7b8562820493f
1,315
ex
Elixir
lib/matrix/response_constructer.ex
djmaze/mxbridge
816dd7159fa4f3fcc0b1a74dacd17cc74acd3618
[ "MIT" ]
2
2018-09-05T22:15:59.000Z
2018-09-11T05:06:39.000Z
lib/matrix/response_constructer.ex
djmaze/mxbridge
816dd7159fa4f3fcc0b1a74dacd17cc74acd3618
[ "MIT" ]
null
null
null
lib/matrix/response_constructer.ex
djmaze/mxbridge
816dd7159fa4f3fcc0b1a74dacd17cc74acd3618
[ "MIT" ]
1
2019-11-29T20:02:56.000Z
2019-11-29T20:02:56.000Z
defmodule Matrix.ResponseConstructer do def events(response) do %Matrix.Events{ events: response["rooms"]["join"] |> Enum.flat_map(&room/1), next_batch: response["next_batch"] } end def room({room_id, response}) do response["timeline"]["events"] |> Enum.map(fn event -> Map.put(event, ...
21.557377
67
0.615209
2827a9712dbc803e5f78813cf71b5f2dbc7b9c5d
1,276
exs
Elixir
mix.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
mix.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
mix.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Ntp.Mixfile do use Mix.Project def project do [ app: :nerves_ntp, version: "0.1.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package() ] end ...
21.266667
86
0.579937
2827bb5714a328406eef56131bd5949c3966c2f2
1,108
ex
Elixir
lib/grizzly/zwave/commands/central_scene_configuration_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/central_scene_configuration_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/central_scene_configuration_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.CentralSceneConfigurationSet do @moduledoc """ This command is used to configure the use of optional node capabilities for scene notifications. Params: * `:slow_refresh` - This boolean field indicates whether the scene launching node must use Slow Refresh. """ ...
24.622222
94
0.694946
2827daca067f9556519eedeaae8ae95faacadba1
8,027
exs
Elixir
priv/repo/seeds.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
122
2017-11-24T11:28:17.000Z
2022-02-25T17:05:20.000Z
priv/repo/seeds.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
6
2018-01-11T22:07:44.000Z
2021-11-21T15:41:42.000Z
priv/repo/seeds.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
25
2018-04-01T02:43:21.000Z
2022-02-15T03:22:54.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: # # Yummy.Repo.insert!(%Yummy.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
35.052402
259
0.715959
2827e360e2208b99a486322d437dadeea8d1e311
474
exs
Elixir
test/models/user_repo_test.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
test/models/user_repo_test.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
test/models/user_repo_test.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
defmodule Rumbl.UserRepoTest do use Rumbl.ModelCase, async: false alias Rumbl.User @valid_attrs %{name: "A User", username: "eva"} test "converts unique_constraint on username to error" do insert_user(username: "eric") attrs = Map.put(@valid_attrs, :username, "eric") changeset = User.changeset(%Us...
29.625
73
0.694093
2827f4137faad1e4b9ef56b7a5d64202be97be26
1,055
ex
Elixir
lib/osrs_api_proxy/application.ex
ScapeGuru/osrs_api_proxy
7d4cace8e5185ec60a324de274df225a58049b7a
[ "Apache-2.0" ]
null
null
null
lib/osrs_api_proxy/application.ex
ScapeGuru/osrs_api_proxy
7d4cace8e5185ec60a324de274df225a58049b7a
[ "Apache-2.0" ]
37
2021-04-19T23:56:46.000Z
2022-02-28T15:14:04.000Z
lib/osrs_api_proxy/application.ex
ScapeGuru/osrs_api_proxy
7d4cace8e5185ec60a324de274df225a58049b7a
[ "Apache-2.0" ]
null
null
null
defmodule OsrsApiProxy.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository OsrsApiProxy.Repo, # Start the Telemetry supervisor ...
30.142857
70
0.714692
28280d54e4a38f25b1cc34cc7bdbcec6dd535265
2,411
ex
Elixir
lib/hedwig_saliva/connection.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
lib/hedwig_saliva/connection.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
lib/hedwig_saliva/connection.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
defmodule HedwigSaliva.Connection do @behaviour :websocket_client alias HedwigSaliva.{Connection, ConnectionSupervisor} require Logger @keepalive 30_000 defstruct next_id: 1, owner: nil, ref: nil ### PUBLIC API ### def start(url) do {:ok, pid} = Supervisor.start_child(ConnectionSupervisor, [url,...
22.53271
100
0.632103
28284717cb50d15a09f9a94dd3959843ea2e14c8
1,805
ex
Elixir
lib/mix/lib/mix/tasks/loadpaths.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/tasks/loadpaths.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/loadpaths.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Loadpaths do use Mix.Task @moduledoc """ Loads the application and its dependencies paths. ## Command line options * `--no-deps-check` - do not check dependencies * `--no-elixir-version-check` - do not check elixir version """ @spec run(OptionParser.argv) :: :ok def run(ar...
25.785714
86
0.615512
28285834901065650a77f4b15c02ea49f715efda
814
ex
Elixir
lib/whippet/chart.ex
mrblueblue/whippet
89cb4a292dfff75ef5adac2404015e00bae3bc76
[ "MIT" ]
1
2017-04-24T03:01:44.000Z
2017-04-24T03:01:44.000Z
lib/whippet/chart.ex
mrblueblue/whippet
89cb4a292dfff75ef5adac2404015e00bae3bc76
[ "MIT" ]
null
null
null
lib/whippet/chart.ex
mrblueblue/whippet
89cb4a292dfff75ef5adac2404015e00bae3bc76
[ "MIT" ]
null
null
null
defmodule Whippet.Chart do defstruct type: "table", measures: [], dimensions: [] defmodule Helpers do use Hound.Helpers defp get_selection_class element do element |> attribute_value("class") |> String.split end def elements_selected(node, selector) do find_all_elements(:c...
24.666667
55
0.616708
282895c0057e7a104503034171017c95db761393
536
exs
Elixir
mix.exs
hero-laboratories/linguist
27a9892db85c7d82d1812de55055f47c8bd0505d
[ "MIT" ]
null
null
null
mix.exs
hero-laboratories/linguist
27a9892db85c7d82d1812de55055f47c8bd0505d
[ "MIT" ]
null
null
null
mix.exs
hero-laboratories/linguist
27a9892db85c7d82d1812de55055f47c8bd0505d
[ "MIT" ]
null
null
null
Code.ensure_loaded?(Hex) and Hex.start() defmodule Linguist.Mixfile do use Mix.Project def project do [ app: :linguist, version: "0.1.5", elixir: "~> 1.7", deps: deps(), package: [ contributors: ["Chris McCord"], licenses: ["MIT"], links: %{github: "https:...
17.290323
67
0.55597
2828a423d121fa47f6cf9c21603feca56f1f71bc
6,391
exs
Elixir
.credo.exs
axelson/inky
f9112e239040010b5336f144d407bd1492cae387
[ "Apache-2.0" ]
51
2019-06-23T21:03:59.000Z
2022-03-17T04:57:57.000Z
.credo.exs
axelson/inky
f9112e239040010b5336f144d407bd1492cae387
[ "Apache-2.0" ]
24
2019-06-17T05:56:34.000Z
2021-12-05T15:06:37.000Z
.credo.exs
axelson/inky
f9112e239040010b5336f144d407bd1492cae387
[ "Apache-2.0" ]
9
2019-07-26T13:06:13.000Z
2021-11-27T13:12:24.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.450617
88
0.615397
2828bb2375b7c56b56289002627368782b35fcf7
1,134
exs
Elixir
apps/astarte_pairing/config/test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
3
2018-02-02T14:06:57.000Z
2019-01-11T00:50:40.000Z
apps/astarte_pairing/config/test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
6
2019-11-15T15:58:56.000Z
2019-12-05T16:49:04.000Z
apps/astarte_pairing/config/test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
1
2018-07-09T16:08:07.000Z
2018-07-09T16:08:07.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # 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...
30.648649
93
0.738095
2828cd7fea55d2186037fccc11b78452aaa084ca
807
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.SwapSpaceMonitorMemoryUsage2 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"_class", :"available...
23.735294
91
0.680297
2828d5d2839865ffc39a1db01cbd4a96a508c39f
5,128
ex
Elixir
lib/mix/lib/mix/task.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/mix/lib/mix/task.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/task.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Task do use Behaviour alias :ordsets, as: Ordset @moduledoc """ A simple module that provides conveniences for creating, loading and manipulating tasks. """ @doc """ A task needs to implement `run` which receives a list of command line args. """ defcallback run([binary]) :: any ...
25.64
76
0.625585
2828dacb688470a2deba27e1a0f75cd8c1fee1ab
3,849
ex
Elixir
web/lib/infolab_light_games/idle_animations/game_of_life.ex
simmsb/infolab-lights
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
null
null
null
web/lib/infolab_light_games/idle_animations/game_of_life.ex
simmsb/infolab-lights
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
47
2020-08-03T09:30:46.000Z
2021-03-01T08:18:51.000Z
web/lib/infolab_light_games/idle_animations/game_of_life.ex
nitros12/something-secret
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
null
null
null
defmodule IdleAnimations.GOL do use GenServer, restart: :temporary @moduledoc "A GOL idle animation" defmodule State do use TypedStruct typedstruct enforce: true do field :id, String.t() field :gol_state, Matrix.t(boolean()) field :fading_out, boolean(), default: false field :...
21.032787
96
0.552091
2828db814c7c122345bc26203882ba679b43f87f
933
exs
Elixir
backend/config/config.exs
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
null
null
null
backend/config/config.exs
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
9
2020-02-12T00:40:03.000Z
2021-12-09T01:11:33.000Z
backend/config/config.exs
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "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 # General application configuration config :backend, ecto_repos: [Backend.Repo] # ...
33.321429
86
0.76313
2828e9d98b6fe38883fabcbc31104d59ebf3b49c
746
ex
Elixir
backend/lib/backend_web/controllers/fallback_controller.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/fallback_controller.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/fallback_controller.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
defmodule BackendWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use BackendWeb, :controller # This clause handles errors returned by Ecto's insert/update/delete. def call(con...
29.84
78
0.709115
282913e972535347f5deab49d44db276e0fe13e5
1,725
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_rename_tag_template_field_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_rename_tag_template_field_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_rename_tag_template_field_request.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...
31.363636
148
0.761159
28291f5434e99189b17264bec0432b21a9cf1bb2
1,315
ex
Elixir
lib/chat_api_web/views/widget_settings_view.ex
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-18T09:57:23.000Z
2021-01-18T09:57:23.000Z
lib/chat_api_web/views/widget_settings_view.ex
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-17T10:42:34.000Z
2021-01-17T10:42:34.000Z
lib/chat_api_web/views/widget_settings_view.ex
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.WidgetSettingsView do use ChatApiWeb, :view alias ChatApiWeb.{AccountView, WidgetSettingsView} def render("show.json", %{widget_settings: widget_settings}) do %{data: render_one(widget_settings, WidgetSettingsView, "expanded.json")} end def render("update.json", %{widget_settings: w...
33.717949
77
0.730798
28294a0ae32d488f3222692f977cc852ab87da26
2,813
ex
Elixir
deps/credo/lib/credo/check/readability/module_doc.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/credo/lib/credo/check/readability/module_doc.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/credo/lib/credo/check/readability/module_doc.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.ModuleDoc do @moduledoc """ Every module should contain comprehensive documentation. # preferred defmodule MyApp.Web.Search do @moduledoc \"\"\" This module provides a public API for all search queries originating in the web layer. \"\"...
29.302083
108
0.657661
282957772a2b82059ba66f1e452a650acce272e9
509
ex
Elixir
lib/hydra/storage/memory.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
71
2016-01-18T11:30:59.000Z
2021-02-15T04:15:31.000Z
lib/hydra/storage/memory.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
7
2016-01-21T22:31:42.000Z
2018-04-06T17:03:59.000Z
lib/hydra/storage/memory.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
5
2016-06-13T15:19:27.000Z
2019-12-06T23:07:52.000Z
defmodule Hydra.Storage.Memory do @moduledoc """ Memory storage implementation. ETS wrapper. """ @spec open(atom) :: {:ok, atom} def open(name) do tid = :ets.new(name, [:set, :protected]) {:ok, tid} end @spec all(atom) :: {:ok, [any]} | {:error, any} def all(name), do: name |> :ets.select([{:...
24.238095
64
0.573674
28296092a4579ff8b2c643bd74d36bb10046839f
1,643
ex
Elixir
lib/webmonitor/agent_checker.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
5
2016-07-05T20:31:46.000Z
2021-03-20T20:11:48.000Z
lib/webmonitor/agent_checker.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
null
null
null
lib/webmonitor/agent_checker.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
1
2016-07-18T23:00:46.000Z
2016-07-18T23:00:46.000Z
defmodule Webmonitor.AgentChecker do require Logger alias Webmonitor.Checker.Stats # accepts a url and returns one of the following # {:up, %{} = stats} # {:down, reason} # {:error, error} def check(url) do Logger.debug("CHECKING '#{url}'") case invoke_lambda(url) do {:ok, %{"errorMessage"...
35.717391
158
0.6549
28299df63007168f37669f8ce207b4a1dde95c9b
858
ex
Elixir
lib/speck/runner/report.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
1
2018-11-19T15:54:56.000Z
2018-11-19T15:54:56.000Z
lib/speck/runner/report.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
null
null
null
lib/speck/runner/report.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
null
null
null
defmodule Speck.Runner.Report do alias Speck.Runner.Checker defstruct( success: nil, module: nil, function: nil, arg: [], expected: [], result: nil ) def run(module, function, arg, expected) do %__MODULE__{module: module, function: function, arg: arg, expected: expected} |> run...
23.833333
83
0.624709
2829d72157ccc4768b96c2dcb09ad6f62e147ef8
19,818
ex
Elixir
clients/content/lib/google_api/content/v2/api/shippingsettings.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/shippingsettings.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/shippingsettings.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.803456
236
0.633818
2829de56beeb304c6de25ff91282b99dd8760050
395
ex
Elixir
lib/espec/assertion_error.ex
Kukunin/espec
71f8f9382b6038fd46b46a159b05600c73a96308
[ "Apache-2.0" ]
null
null
null
lib/espec/assertion_error.ex
Kukunin/espec
71f8f9382b6038fd46b46a159b05600c73a96308
[ "Apache-2.0" ]
null
null
null
lib/espec/assertion_error.ex
Kukunin/espec
71f8f9382b6038fd46b46a159b05600c73a96308
[ "Apache-2.0" ]
null
null
null
defmodule ESpec.AssertionError do @moduledoc """ Defines ESpec.AssertionError exception. The exception is raised by `ESpec.Assertions.Interface.raise_error/4` when example fails. """ defexception subject: nil, data: nil, result: nil, asserion: nil, m...
28.214286
91
0.58481
282a023432b26ee4ff08bfb089a83c60a2a43701
1,106
exs
Elixir
test/ex_pool/manager/info_test.exs
jcabotc/ex_pool
ec5acab0e16aa7b7d5c58abba8aa1ebcf8c5c6e4
[ "Apache-2.0" ]
6
2015-11-29T10:43:02.000Z
2016-04-07T17:32:17.000Z
test/ex_pool/manager/info_test.exs
jcabotc/ex_pool
ec5acab0e16aa7b7d5c58abba8aa1ebcf8c5c6e4
[ "Apache-2.0" ]
null
null
null
test/ex_pool/manager/info_test.exs
jcabotc/ex_pool
ec5acab0e16aa7b7d5c58abba8aa1ebcf8c5c6e4
[ "Apache-2.0" ]
null
null
null
defmodule ExPool.Manager.InfoTest do use ExUnit.Case alias ExPool.State alias ExPool.Manager.Info defmodule TestWorker do def start_link(_opts \\ []), do: Agent.start_link(fn -> :ok end) end setup do state = State.new(worker_mod: TestWorker) {:ok, %{state: state}} end def new_pid do ...
27.65
75
0.644665
282a1d61f51512edf0cceb89ff7cba4b356dd346
306
exs
Elixir
test/onehundredsixtyeight_hours_web/views/layout_view_test.exs
Sgoettschkes/168-hours
fd9895b2b3b8fd1dcce0283f03fe46cd0a5c454b
[ "MIT" ]
null
null
null
test/onehundredsixtyeight_hours_web/views/layout_view_test.exs
Sgoettschkes/168-hours
fd9895b2b3b8fd1dcce0283f03fe46cd0a5c454b
[ "MIT" ]
null
null
null
test/onehundredsixtyeight_hours_web/views/layout_view_test.exs
Sgoettschkes/168-hours
fd9895b2b3b8fd1dcce0283f03fe46cd0a5c454b
[ "MIT" ]
null
null
null
defmodule OnehundredsixtyeightHoursWeb.LayoutViewTest do use OnehundredsixtyeightHoursWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
34
65
0.794118
282a1fb76264414d70cd77323c73736620f67366
1,246
ex
Elixir
apps/fz_http/lib/fz_http/application.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1
2022-02-02T07:56:41.000Z
2022-02-02T07:56:41.000Z
apps/fz_http/lib/fz_http/application.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/application.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias FzHttp.Telemetry def start(_type, _args) do # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported optio...
24.431373
87
0.695024
282a4109f44efe5fe60ddf3dbe219cfb4a521890
1,983
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_segmentation_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_segmentation_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_segmentation_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.789474
173
0.78114
282a568d1f4765b99e270d140661768f2fa1de36
57
ex
Elixir
web/views/page_view.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
44
2016-09-22T21:37:48.000Z
2021-10-09T03:43:32.000Z
web/views/page_view.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
3
2016-09-23T08:41:22.000Z
2017-05-24T10:58:54.000Z
web/views/page_view.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
5
2016-09-25T18:52:00.000Z
2021-07-28T21:12:33.000Z
defmodule Scaler.PageView do use Scaler.Web, :view end
14.25
28
0.77193
282a732863f7a1c3615d5ed997841de5d4bb31a8
25,616
ex
Elixir
lib/ex_unit/lib/ex_unit/doc_test.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/doc_test.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/doc_test.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.DocTest do @moduledoc """ ExUnit.DocTest implements functionality similar to [Python's doctest](https://docs.python.org/2/library/doctest.html). It allows us to generate tests from the code examples in a module/function/macro's documentation. To do this, invoke the `doctest/1` macro from w...
29.376147
98
0.613289
282a7557032096a8993a7b22fa80c48451b451bc
900
exs
Elixir
mix.exs
expert360/analytics-elixir
32e8fc327969a63bc8577b3dfe081c0cbf30b313
[ "MIT" ]
null
null
null
mix.exs
expert360/analytics-elixir
32e8fc327969a63bc8577b3dfe081c0cbf30b313
[ "MIT" ]
23
2018-05-24T07:09:37.000Z
2021-08-02T19:13:53.000Z
mix.exs
expert360/analytics-elixir
32e8fc327969a63bc8577b3dfe081c0cbf30b313
[ "MIT" ]
4
2018-11-26T19:47:17.000Z
2020-06-24T07:20:23.000Z
defmodule AnalyticsElixir.Mixfile do use Mix.Project def project do [ app: :segment, version: "1.1.1", elixir: "~> 1.5", deps: deps(), description: "analytics_elixir", package: package() ] end # Configuration for the OTP application # # Type `mix help compile.ap...
20.454545
76
0.543333
282a8405f1f88a74ca1dcd63c688f4a153706af9
527
ex
Elixir
lib/app_web/views/error_view.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/views/error_view.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/views/error_view.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
defmodule AppWeb.ErrorView do use AppWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from # the...
31
83
0.71537
282a9155e717cdfb27c0d15ec0d65e9ccf6d8ce2
1,357
ex
Elixir
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/remove_firebase_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/remove_firebase_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/remove_firebase_request.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...
32.309524
92
0.773029
282a99eaf1ec650efd8d68c976ad08c8f9bf4d5e
1,897
ex
Elixir
lib/tilex_web/controllers/auth_controller.ex
SimpleBet/tilex
64b8bfac59fd12c399f650d0732facfb965970b1
[ "MIT" ]
1
2020-06-24T00:47:39.000Z
2020-06-24T00:47:39.000Z
lib/tilex_web/controllers/auth_controller.ex
SimpleBet/tilex
64b8bfac59fd12c399f650d0732facfb965970b1
[ "MIT" ]
3
2020-06-22T18:10:32.000Z
2020-07-08T20:52:59.000Z
lib/tilex_web/controllers/auth_controller.ex
SimpleBet/tilex
64b8bfac59fd12c399f650d0732facfb965970b1
[ "MIT" ]
null
null
null
defmodule TilexWeb.AuthController do use TilexWeb, :controller require Logger plug(Ueberauth) alias Tilex.{Developer, Repo, Auth} def callback(%{assigns: %{ueberauth_auth: auth}} = conn, _params) do case authenticate(auth) do {:ok, developer} -> conn = Auth.Guardian.Plug.sign_in(conn, dev...
25.293333
95
0.610965
282aacd90df6a588aa9137a77bcd89b3481215c8
1,171
ex
Elixir
lib/fake_server/server/handlers/list_handler.ex
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
72
2016-09-20T21:45:33.000Z
2021-06-10T17:35:35.000Z
lib/fake_server/server/handlers/list_handler.ex
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
44
2016-09-20T18:31:36.000Z
2020-05-31T17:31:00.000Z
lib/fake_server/server/handlers/list_handler.ex
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
21
2016-09-22T08:27:07.000Z
2021-11-09T21:29:39.000Z
defmodule FakeServer.Handlers.ListHandler do @moduledoc false alias FakeServer.Route alias FakeServer.Response alias FakeServer.Request alias FakeServer.Server.Access require Logger def init(req, state) do with %Route{} = route <- Keyword.get(state, :route, nil), {:ok, access} <- extract_a...
27.880952
88
0.64731
282ab5098ce9d0f9e0258156d5c96b8fb8aa5df3
227
exs
Elixir
core/priv/repo/migrations/20210602231130_create_intervals.exs
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
core/priv/repo/migrations/20210602231130_create_intervals.exs
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
core/priv/repo/migrations/20210602231130_create_intervals.exs
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
defmodule CronusCore.Repo.Migrations.CreateIntervals do use Ecto.Migration def change do create table(:intervals) do add :start, :utc_datetime add :end, :utc_datetime timestamps() end end end
16.214286
55
0.687225
282acd8c728e4754846639696b56a30031505880
79
ex
Elixir
web/views/layout_view.ex
kcpavan/phoenix_react_todo
9f90ca1ec0e391f24a2ca7b1837b0d2c1c2b0c9f
[ "Unlicense" ]
null
null
null
web/views/layout_view.ex
kcpavan/phoenix_react_todo
9f90ca1ec0e391f24a2ca7b1837b0d2c1c2b0c9f
[ "Unlicense" ]
null
null
null
web/views/layout_view.ex
kcpavan/phoenix_react_todo
9f90ca1ec0e391f24a2ca7b1837b0d2c1c2b0c9f
[ "Unlicense" ]
null
null
null
defmodule PhoenixReactTodo.LayoutView do use PhoenixReactTodo.Web, :view end
19.75
40
0.835443
282ad82030656166e7443f6491d5af4ef52b482c
4,916
exs
Elixir
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
200
2019-12-12T13:50:59.000Z
2022-02-20T22:38:42.000Z
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
1,938
2019-12-12T08:07:10.000Z
2021-01-29T12:56:13.000Z
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
239
2019-12-12T14:09:08.000Z
2022-03-18T00:04:07.000Z
defmodule BoutiqueSuggestionsTest do use ExUnit.Case # @tag :pending test "generates one pair from one top and one bottom" do top = %{ item_name: "Long Sleeve T-shirt", price: 19.95, quantity: 15, color: "Deep Red", base_color: "red" } bottom = %{ item_name: "Wond...
22.345455
93
0.573434
282af84275c24ddb80fa0dced530f16ce50ea383
781
exs
Elixir
test/kafka_ex/gen_consumer_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
test/kafka_ex/gen_consumer_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
test/kafka_ex/gen_consumer_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.GenConsumerTest do use ExUnit.Case import ExUnit.CaptureLog # non-integration GenConsumer tests defmodule TestConsumer do use KafkaEx.GenConsumer def handle_message_set(_, state), do: state end test "calling handle_call raises an error if there is no implementation" do asse...
28.925926
80
0.738796
282b07f75c9743978bfcbabccda4894c32a9968a
825
ex
Elixir
web/views/movie_view.ex
swarut/movies-elixir-phoenix
d88f28c0e8c43529d3a28f98cce6034213a93b0d
[ "MIT" ]
25
2015-10-26T18:20:30.000Z
2022-01-28T17:53:01.000Z
web/views/movie_view.ex
swarut/movies-elixir-phoenix
d88f28c0e8c43529d3a28f98cce6034213a93b0d
[ "MIT" ]
1
2015-10-28T08:43:36.000Z
2015-10-28T08:43:36.000Z
web/views/movie_view.ex
swarut/movies-elixir-phoenix
d88f28c0e8c43529d3a28f98cce6034213a93b0d
[ "MIT" ]
8
2016-08-10T16:26:02.000Z
2021-09-29T06:11:39.000Z
defmodule MoviesElixirPhoenix.MovieView do use MoviesElixirPhoenix.Web, :view def render("search_by_title_containing.json", %{movies: movies}) do %{ movies: Enum.map(movies, &(Map.get(&1, "movie")))} end # def render("show.json", %{movie: movie}) do # %{data: render_one(movie, MoviesElixirPhoenix.Movi...
27.5
77
0.597576
282b1c3c6a001d4b2e56665cde9031b58a849004
2,388
exs
Elixir
test/thrift/exceptions_test.exs
dnlserrano/elixir-thrift
568de9f7bdfa43279c819cb50e16c33b4dc09146
[ "Apache-2.0" ]
209
2015-12-19T09:56:39.000Z
2022-03-22T04:43:16.000Z
test/thrift/exceptions_test.exs
dnlserrano/elixir-thrift
568de9f7bdfa43279c819cb50e16c33b4dc09146
[ "Apache-2.0" ]
312
2016-01-05T04:04:58.000Z
2021-11-15T17:59:57.000Z
test/thrift/exceptions_test.exs
CultivateHQ/elixir-thrift
d285ddc0f134afc6f7d8c5d0b504a8d27157da9a
[ "Apache-2.0" ]
40
2015-12-21T19:46:03.000Z
2022-02-10T08:34:58.000Z
defmodule Thrift.ExceptionsTest do use ExUnit.Case, async: true describe "ConnectionError" do alias Thrift.ConnectionError test "formats :closed" do exception = ConnectionError.exception(reason: :closed) assert Exception.message(exception) == "Connection error: closed" end test "forma...
32.712329
98
0.707705
282b49fbde885fee9021ef05b8f03ef98af27bbf
1,930
ex
Elixir
lib/phst_mutate.ex
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
5
2017-01-27T06:35:29.000Z
2020-01-04T02:37:35.000Z
lib/phst_mutate.ex
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
null
null
null
lib/phst_mutate.ex
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
null
null
null
defmodule PhStMutate do import PhStTransform @doc """ Returns a mutation of the original data structure. This is a data structure that is congruent to the original but with randomized elements. """ def mutate(data) do mutate_potion = %{ Atom => &from_atom/2, Integer => &from_in...
25.394737
117
0.648187
282b569e60466088f743cc8c191d6f40529d0dc8
3,052
ex
Elixir
throwaway/hello/deps/db_connection/lib/db_connection/poolboy.ex
BryanJBryce/programming-phoenix
ced3b5c383ada2575237d377430ef0a2743da0a2
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/db_connection/lib/db_connection/poolboy.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
deps/db_connection/lib/db_connection/poolboy.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
defmodule DBConnection.Poolboy do @moduledoc """ A `DBConnection.Pool` using poolboy. ### Options * `:pool_size` - The number of connections (default: `10`) * `:pool_overflow` - The maximum number of overflow connections to start if all connections are checked out (default: `0`) * `:queue_out` -...
27.745455
72
0.631389
282b591bb720c8d699991be97bf1f204201ed8ca
315
ex
Elixir
elixir/stalin_sort.ex
twofist/stalin-sort
46d9434bde96daf6c5c957b60b928fc9eb6e4006
[ "MIT" ]
1,140
2018-10-30T13:03:09.000Z
2022-03-29T22:41:24.000Z
elixir/stalin_sort.ex
twofist/stalin-sort
46d9434bde96daf6c5c957b60b928fc9eb6e4006
[ "MIT" ]
77
2018-10-30T13:20:15.000Z
2021-11-06T03:44:55.000Z
elixir/stalin_sort.ex
twofist/stalin-sort
46d9434bde96daf6c5c957b60b928fc9eb6e4006
[ "MIT" ]
245
2018-10-30T13:10:53.000Z
2022-03-14T08:13:56.000Z
defmodule StalinSort do def sort(list) do list |> Enum.with_index |> Enum.reduce([], fn({number, index}, acc) -> is_ordered = index == 0 || number > Enum.at(acc, -1) case is_ordered do true -> acc ++ [number] false -> acc end end) end end
22.5
60
0.504762
282b7fb2e1c11fd1848b328f28f6c2c0b817692d
8,134
ex
Elixir
lib/eval.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
5
2018-12-28T21:55:02.000Z
2022-02-13T17:55:29.000Z
lib/eval.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
2
2019-01-16T16:13:13.000Z
2019-02-06T01:45:51.000Z
lib/eval.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
null
null
null
defmodule EvalError do defexception message: "Parser Error" end defmodule ReturnException do defexception [:message, :value] end defmodule Eval do alias Lox.Ast.{ Literal, Unary, Binary, Grouping, Stmt, PrintStmt, VarDecl, Assign, Block, If, Logical, While, Fu...
25.26087
113
0.449594
282b84b2731d870f2c1f51c4a9d2cd5df795bea2
1,616
ex
Elixir
lib/ash/query/operator/is_nil.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/query/operator/is_nil.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/query/operator/is_nil.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
defmodule Ash.Query.Operator.IsNil do @moduledoc """ left is_nil true/false This predicate matches if the left is nil when the right is `true` or if the left is not nil when the right is `false` """ use Ash.Query.Operator, operator: :is_nil, predicate?: true, types: [[{:ref, :any}, :boolean], [...
23.42029
92
0.600866
282b85fadd6e5b8286b5905383727a8d2730e108
447
ex
Elixir
lib/harnais/attribute/attribute.ex
ianrumford/harnais
b1b7e68cddc0e0aa24fc53b87ffd5937adfc0155
[ "MIT" ]
1
2017-04-26T21:07:45.000Z
2017-04-26T21:07:45.000Z
lib/harnais/attribute/attribute.ex
ianrumford/harnais
b1b7e68cddc0e0aa24fc53b87ffd5937adfc0155
[ "MIT" ]
null
null
null
lib/harnais/attribute/attribute.ex
ianrumford/harnais
b1b7e68cddc0e0aa24fc53b87ffd5937adfc0155
[ "MIT" ]
null
null
null
defmodule Harnais.Attribute do @moduledoc false defmacro __using__(_opts \\ []) do quote do @harnais_key_struct_id :__struct__ @harnais_key_compare_module :compare_module @harnais_key_compare_mfas :compare_mfas @harnais_key_compare_keys :compare_keys @harnais_key_filter_keys :fil...
26.294118
49
0.756152
282b8a5358112016d3a13d6f97f3a653f232a9f4
462
exs
Elixir
test/conversor_web/views/error_view_test.exs
wagncarv/CurrencyExchange
3e626681d97a17a68385be31d8c8a82fd4bfcd59
[ "MIT" ]
1
2022-03-28T19:10:45.000Z
2022-03-28T19:10:45.000Z
test/conversor_web/views/error_view_test.exs
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
test/conversor_web/views/error_view_test.exs
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
defmodule ConversorWeb.ErrorViewTest do use ConversorWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(ConversorWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 5...
28.875
94
0.688312
282bb677dbea7ebf2842346c6a9c063f87e67216
7,751
ex
Elixir
exercism_test_helper/lib/json_formatter.ex
neenjaw/exercism-elixir-test-runner
5715919d90bf7989a940c0c34e9a267d550722d5
[ "MIT" ]
null
null
null
exercism_test_helper/lib/json_formatter.ex
neenjaw/exercism-elixir-test-runner
5715919d90bf7989a940c0c34e9a267d550722d5
[ "MIT" ]
null
null
null
exercism_test_helper/lib/json_formatter.ex
neenjaw/exercism-elixir-test-runner
5715919d90bf7989a940c0c34e9a267d550722d5
[ "MIT" ]
null
null
null
defmodule JSONFormatter do @moduledoc """ Module containing the ExUnit formatter for outputting test results in in the desired JSON format required by the exercism automated test runner. Output configuration inspired by the JUnit Formatter, found at: https://github.com/victorolinasc/junit-formatter """ ...
30.515748
104
0.66585
282bb967f459878d6a9948fdc31bce890443380f
429
ex
Elixir
lib/obelisk/plug/server.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
406
2015-01-01T14:59:37.000Z
2022-02-19T08:08:47.000Z
lib/obelisk/plug/server.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
38
2015-01-19T11:58:30.000Z
2019-01-18T14:06:24.000Z
lib/obelisk/plug/server.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
64
2015-01-19T09:59:55.000Z
2021-02-06T01:14:59.000Z
defmodule Obelisk.Plug.Server do @moduledoc """ A plug for serving Obelisk-generated content. """ use Plug.Builder plug Plug.Static, at: "/", from: "./build/" plug Obelisk.Plug.Index plug :not_found @doc """ Sends all unknown requests a 404. """ def not_found(conn, _) do Plug.Conn.send_resp(...
23.833333
122
0.678322
282bbca61a4614cbaa8d2b71f189c60b1b80d441
1,343
ex
Elixir
lib/valve/store/ets.ex
evuez/valve
ad12afb79fce978dd04fa7ad6a21aacf5275a8d7
[ "MIT" ]
1
2017-10-09T10:57:18.000Z
2017-10-09T10:57:18.000Z
lib/valve/store/ets.ex
evuez/valve
ad12afb79fce978dd04fa7ad6a21aacf5275a8d7
[ "MIT" ]
1
2017-12-26T11:15:26.000Z
2017-12-26T11:15:26.000Z
lib/valve/store/ets.ex
evuez/valve
ad12afb79fce978dd04fa7ad6a21aacf5275a8d7
[ "MIT" ]
2
2017-12-26T11:14:53.000Z
2018-06-22T01:33:30.000Z
defmodule Valve.Store.ETS do @moduledoc """ An ETS-backed store for Valve. """ use GenServer require Logger @behaviour Valve.Store @table :valve @ttl 24 * 3600 * 1000 @sweep_interval 3600 * 1000 def start_link(name), do: GenServer.start_link(__MODULE__, nil, name: name) def init(nil) do :e...
20.044776
82
0.614296
282bd60ee5488b2fd21a1b254a02388a54949284
1,081
ex
Elixir
lib/exprof/macro.ex
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
171
2015-01-07T17:26:35.000Z
2022-02-25T01:21:02.000Z
lib/exprof/macro.ex
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
13
2015-01-16T19:31:55.000Z
2020-12-17T13:32:45.000Z
lib/exprof/macro.ex
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
15
2015-01-16T19:13:04.000Z
2021-03-27T21:16:15.000Z
defmodule ExProf.Macro do @moduledoc """ Provides a macro to profile a block of code. """ @doc """ A macro to specify the code block to profile. It spawns a new process to execute the code block for isolating the profile result. (ex.) profile do :timer.sleep 2000 end """ defmac...
19.654545
86
0.60222
282bf7f3cfbd166baca968ecba357b9e331515c7
916
ex
Elixir
clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.925926
74
0.767467
282c05b5ecebdbc26a8b3362be529cfffd4c198b
197
ex
Elixir
lib/phone/co.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/co.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/co.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.CO do @moduledoc false use Helper.Country def regex, do: ~r/^(57)()(.+)/ def country, do: "Colombia" def a2, do: "CO" def a3, do: "COL" matcher(:regex, ["57"]) end
15.153846
32
0.593909
282c30b0023143d68cead3162780236098d23af9
922
ex
Elixir
lib/namerx.ex
dabaer/namerx
5d4ce29dcba87c2273fe5f274937ab5357ffd352
[ "Unlicense" ]
1
2020-08-27T19:30:16.000Z
2020-08-27T19:30:16.000Z
lib/namerx.ex
dabaer/namerx
5d4ce29dcba87c2273fe5f274937ab5357ffd352
[ "Unlicense" ]
null
null
null
lib/namerx.ex
dabaer/namerx
5d4ce29dcba87c2273fe5f274937ab5357ffd352
[ "Unlicense" ]
null
null
null
defmodule Namerx do @moduledoc """ Documentation for Namerx. """ @doc """ Generates a random hostname for computers. ## Examples iex> Namerx.generate("DESKTOP") "DESKTOP-1AB2CDE34" """ @spec generate(binary | nil) :: no_return def generate(prefix \\ nil) do return = if prefix ===...
20.954545
65
0.484816
282c535b0863c8bfbf2281881f57229058817e74
312
exs
Elixir
test/ecto_list/list_item_test.exs
popo63301/ecto_list
adce0006617f2e88aedcf4e493b642b41b227b5a
[ "MIT" ]
18
2019-07-18T09:11:27.000Z
2020-08-07T11:01:22.000Z
test/ecto_list/list_item_test.exs
popo63301/ecto_list
adce0006617f2e88aedcf4e493b642b41b227b5a
[ "MIT" ]
null
null
null
test/ecto_list/list_item_test.exs
popo63301/ecto_list
adce0006617f2e88aedcf4e493b642b41b227b5a
[ "MIT" ]
null
null
null
defmodule EctoList.ListItemTest do use ExUnit.Case doctest EctoList.ListItem # List.insert_at([1, 2, 3, 4], 2, 0) # [1, 2, 0, 3, 4] # List.insert_at([1, 2, 3], 10, 0) # [1, 2, 3, 0] # List.insert_at([1, 2, 3], -1, 0) # [1, 2, 3, 0] # List.insert_at([1, 2, 3], -10, 0) # [0, 1, 2, 3] end
18.352941
39
0.519231
282c6c4c29530dfee2625f4785f8363ca0bb4109
1,015
exs
Elixir
config/config.exs
Jethro-Mushilingwa/chat
9ed85178c3f95ab63cb8ac4eb234e2291c3fa801
[ "MIT" ]
null
null
null
config/config.exs
Jethro-Mushilingwa/chat
9ed85178c3f95ab63cb8ac4eb234e2291c3fa801
[ "MIT" ]
1
2021-03-10T17:36:53.000Z
2021-03-10T17:36:53.000Z
config/config.exs
Jethro-Mushilingwa/chat
9ed85178c3f95ab63cb8ac4eb234e2291c3fa801
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :chat, ecto_repos: [Chat.Repo] # Confi...
31.71875
86
0.765517
282cdf95ca61b13c95394a499f59e117695405bf
183
ex
Elixir
lib/mix/tasks/count/wikipedia.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
2
2018-10-09T20:17:08.000Z
2018-10-18T23:30:49.000Z
lib/mix/tasks/count/wikipedia.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
13
2018-10-06T08:03:23.000Z
2019-10-02T18:50:43.000Z
lib/mix/tasks/count/wikipedia.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
7
2018-10-06T10:14:41.000Z
2019-10-01T09:29:44.000Z
defmodule Mix.Tasks.Count.Wikipedia do @moduledoc false use Mix.Task @shortdoc "Tokenize a directory of text and count unigrams" def run(_) do IO.puts("TODO") end end
16.636364
61
0.710383
282d148179438d48b134204e488275753915d04e
199
ex
Elixir
lib/typesense/utilities.ex
semagraph/typesense
850a81a8c9db82d210a5449eec5bcd283d511987
[ "MIT" ]
null
null
null
lib/typesense/utilities.ex
semagraph/typesense
850a81a8c9db82d210a5449eec5bcd283d511987
[ "MIT" ]
null
null
null
lib/typesense/utilities.ex
semagraph/typesense
850a81a8c9db82d210a5449eec5bcd283d511987
[ "MIT" ]
null
null
null
defmodule Typesense.Utilities do @moduledoc false def to_query_string(map) do map |> Map.to_list |> Enum.map(fn {key, value} -> "#{key}=#{value}" end) |> Enum.join("&") end end
19.9
57
0.60804
282d1d4f7b33728564d26f8109580a94e69fee03
739
ex
Elixir
lib/tiled_map/layer.ex
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
2
2016-04-20T22:29:24.000Z
2021-01-20T04:40:41.000Z
lib/tiled_map/layer.ex
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
null
null
null
lib/tiled_map/layer.ex
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
1
2019-09-27T11:10:18.000Z
2019-09-27T11:10:18.000Z
defmodule TiledMap.Layer do defstruct name: "", type: "", data: [], # filled for "tilelayer" type _data: {}, # private; tuple version of `data` list for O(1) access objects: [], # filled for "objectgroup" type opacity: 1, properties: %{}, ...
24.633333
82
0.564276
282d298a4605ff1685644da18cca438cb8037757
63
ex
Elixir
lib/crew_web/views/user_notifier_view.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
lib/crew_web/views/user_notifier_view.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
lib/crew_web/views/user_notifier_view.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
defmodule CrewWeb.UserNotifierView do use CrewWeb, :view end
15.75
37
0.809524
282d33ba08f515c2c8194cd60a74ad531e953dbf
665
exs
Elixir
lib/exercism/hello-world/hello_world.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/hello-world/hello_world.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/hello-world/hello_world.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
defmodule HelloWorld do @moduledoc """ Elixir counts the number of arguments as part of the function name. For instance; def hello() do end would be a completely different function from def hello(name) do end Can you find a way to make all the tests pass with just one function? ...
22.931034
85
0.67218
282d451fb829fd32537a2d45644d517cade7a470
1,413
exs
Elixir
test/table_formater_test.exs
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
test/table_formater_test.exs
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
test/table_formater_test.exs
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
defmodule TableFormaterTest do use ExUnit.Case import ExUnit.CaptureIO doctest Issues.TableFormater alias Issues.TableFormater, as: TF @simple_test_data [ [c1: "r1 c1", c2: "r1 c2", c3: "r1 c3", c4: "r1+++c4"], [c1: "r2 c1", c2: "r2 c2", c3: "r2 c3", c4: "r2 c4"], [c1: "r3 c1", c2: "r3 c2", c3...
25.690909
71
0.561217
282d62abf960297f71f5f5f5465a1b3c7d5e4c16
777
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/swap_space_monitor_memory_usage2.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.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 SwaggyJenkins.Model.SwapSpaceMonitorMemoryUsage2 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"_class", :"available...
22.852941
91
0.687259
282d75055aceefb3f44a20024b0b664988e869ab
3,894
exs
Elixir
test/yacto/migration/file_test.exs
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
56
2017-11-30T02:07:07.000Z
2022-02-16T17:38:42.000Z
test/yacto/migration/file_test.exs
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
22
2018-01-04T00:34:51.000Z
2021-08-01T06:52:10.000Z
test/yacto/migration/file_test.exs
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
13
2018-08-08T05:32:42.000Z
2021-07-30T14:57:35.000Z
defmodule Yacto.Migration.FileTest do use PowerAssert @migration_dir "_migrations" setup do ExUnit.Callbacks.on_exit(fn -> File.rm_rf!("_migrations") end) :ok end defp create_dummy(files) do File.rm_rf!("_migrations") for file <- files do path = Path.join(@migration_dir, f...
29.059701
159
0.675141
282d7c460f04f81ebd9a59aaeab3311b3681c1bb
948
exs
Elixir
test/regressions/i119_footnotes_inside_li_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i119_footnotes_inside_li_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i119_footnotes_inside_li_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Regressions.I119FootnotesInsideLiTest do use ExUnit.Case, async: true @li_footnote """ 1. foo[^1] [^1]: bar baz """ test "footnotes in list items do not crash (no footnotes)" do assert without_fn(@li_footnote) == {:ok,~s{<ol>\n<li>foo[^1]\n</li>\n</ol>\n<p>[^1]: bar baz</p>\n}, []} end...
39.5
300
0.630802
282d803fa2520ceb4f3a9f9c124023ae6d15848c
803
exs
Elixir
mix.exs
gabrielelana/exiban
49072a2bf2c9a0d3dbcff3899af669d23b0ef86a
[ "MIT" ]
10
2016-02-09T14:23:17.000Z
2020-01-13T23:40:20.000Z
mix.exs
gabrielelana/exiban
49072a2bf2c9a0d3dbcff3899af669d23b0ef86a
[ "MIT" ]
5
2016-02-29T11:20:34.000Z
2022-03-03T08:46:47.000Z
mix.exs
gabrielelana/exiban
49072a2bf2c9a0d3dbcff3899af669d23b0ef86a
[ "MIT" ]
15
2016-02-29T10:55:44.000Z
2022-02-28T19:11:23.000Z
defmodule ExIban.Mixfile do use Mix.Project def project do [app: :exiban, version: "0.0.5", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps()] end def application do [ap...
19.585366
65
0.561644
282d98c82c5cd126e693868150b9aa52dc245e47
2,783
exs
Elixir
test/elixir/test/reshard_helpers.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
1
2020-09-11T19:23:27.000Z
2020-09-11T19:23:27.000Z
test/elixir/test/reshard_helpers.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/test/reshard_helpers.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
defmodule ReshardHelpers do use CouchTestCase def get_summary do resp = Couch.get("/_reshard") assert resp.status_code == 200 resp.body end def get_state do resp = Couch.get("/_reshard/state") assert resp.status_code == 200 resp.body end def put_state_running do resp = Couch.p...
24.2
72
0.624865
282dac10b68763833a650767131d93065b75539d
1,399
exs
Elixir
test/plausible_web/controllers/admin_auth_controller_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
test/plausible_web/controllers/admin_auth_controller_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
test/plausible_web/controllers/admin_auth_controller_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.AdminAuthControllerTest do use PlausibleWeb.ConnCase describe "GET /" do test "no landing page", %{conn: conn} do set_config(disable_authentication: false) conn = get(conn, "/") assert redirected_to(conn) == "/login" end test "logs admin user in automatically w...
26.396226
93
0.629736
282db5c86910c7f1459794ec9448645e902c02df
338
ex
Elixir
lib/supabase_surface/components/icons/icon_slack.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_slack.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_slack.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconSlack do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.slack(width: icon_size, height: icon_size)} </IconContainer> ...
22.533333
63
0.715976
282dc08974877c5f4e4699aa7cb5ebe6c909d8f3
1,105
ex
Elixir
example/test/support/channel_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
example/test/support/channel_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
example/test/support/channel_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
defmodule NestedWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wi...
26.95122
68
0.725792
282de93bf70ab79087bbf8b3dde8ead734bfcf0d
2,311
exs
Elixir
config/prod.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
1
2019-06-24T23:55:26.000Z
2019-06-24T23:55:26.000Z
config/prod.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
config/prod.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.015152
66
0.718304
282ded599ed9a9c1ad87e4bf7108d3681e32fb57
1,214
ex
Elixir
lib/phoenix/endpoint/supervisor.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/supervisor.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/supervisor.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
defmodule Phoenix.Endpoint.Supervisor do # The supervisor for the underlying handlers. @moduledoc false @handler Phoenix.Endpoint.CowboyHandler use Supervisor def start_link(otp_app, endpoint) do if endpoint.config(:server) do Supervisor.start_link(__MODULE__, {otp_app, endpoint}) else :...
25.829787
88
0.68369
282df6387be737846421536fdb45cac39674efd1
5,734
ex
Elixir
lib/ash/filter/runtime.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
lib/ash/filter/runtime.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
lib/ash/filter/runtime.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
defmodule Ash.Filter.Runtime do @moduledoc """ Checks a record to see if it matches a filter statement. We can't always tell if a record matches a filter statement, and as such this function may return `:unknown` """ alias Ash.Query.{Expression, Not, Ref} @doc """ Checks if a record matches a filter, ...
26.423963
86
0.576561
282e238ce129affcf1bf8b5749541dca862e90bb
20,778
ex
Elixir
lib/phoenix_live_view/test/live_view_test.ex
SherSpock/phoenix_live_view
56a777cb995486ec2286c620223c07c7d7961b45
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
SherSpock/phoenix_live_view
56a777cb995486ec2286c620223c07c7d7961b45
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
SherSpock/phoenix_live_view
56a777cb995486ec2286c620223c07c7d7961b45
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest do @moduledoc """ Conveniences for testing Phoenix live views. In LiveView tests, we interact with views via process communication in substitution of a browser. Like a browser, our test process receives messages about the rendered updates from the view which can be asserted a...
31.386707
95
0.642843
282e32bf3071ce488ac1d49f421ef77b5db7a544
638
ex
Elixir
web/models/guardian_token.ex
jbr/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
335
2015-06-19T18:27:51.000Z
2020-11-25T19:00:27.000Z
web/models/guardian_token.ex
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
33
2015-06-24T17:00:01.000Z
2017-11-23T09:53:29.000Z
web/models/guardian_token.ex
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
95
2015-06-30T22:18:00.000Z
2022-01-14T13:47:10.000Z
defmodule PhoenixGuardian.GuardianToken do use PhoenixGuardian.Web, :model alias PhoenixGuardian.Repo alias PhoenixGuardian.GuardianSerializer @primary_key {:jti, :string, []} @derive {Phoenix.Param, key: :jti} schema "guardian_tokens" do field :aud, :string field :iss, :string field :sub, :st...
22
71
0.65047
282e3a333a2f1f77d942ee3d9f20f6c40acd6c8b
888
exs
Elixir
mix.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
mix.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
mix.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.Mixfile do use Mix.Project @version "4.2.0" def project do [ name: "Legendary", version: @version, apps_path: "apps", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], ...
20.651163
47
0.542793
282e7242d3d1be14f6e55552f780a00fabe844b3
2,070
exs
Elixir
mix.exs
lucidstack/scenic_new
6e74a7c6d438cd5dbfe6189053bb425720aa0cc6
[ "Apache-2.0" ]
null
null
null
mix.exs
lucidstack/scenic_new
6e74a7c6d438cd5dbfe6189053bb425720aa0cc6
[ "Apache-2.0" ]
null
null
null
mix.exs
lucidstack/scenic_new
6e74a7c6d438cd5dbfe6189053bb425720aa0cc6
[ "Apache-2.0" ]
null
null
null
defmodule ScenicNew.MixProject do use Mix.Project @version "0.9.2" @github "https://github.com/boydm/scenic_new" def project do [ app: :scenic_new, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), docs: [ ...
23.522727
84
0.523671
282e8d05276fc208784d4816c9d2f358f770b703
840
exs
Elixir
test/core/sup_tree_core/system_metrics_reporter_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
test/core/sup_tree_core/system_metrics_reporter_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
test/core/sup_tree_core/system_metrics_reporter_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.SystemMetricsReporterTest do use Croma.TestCase alias Antikythera.Time alias Antikythera.Test.GenServerHelper alias AntikytheraCore.Metrics.AggregateStrategy.Gauge setup do # will be killed together with `self` when...
33.6
84
0.713095
282e906680915583135ce7a808ea95737b05270f
7,239
ex
Elixir
lib/data_providers/ecto_provider.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
lib/data_providers/ecto_provider.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
lib/data_providers/ecto_provider.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
defmodule Lti_1p3.DataProviders.EctoProvider do import Ecto.Query, warn: false import Lti_1p3.DataProviders.EctoProvider.Config alias Lti_1p3.DataProvider alias Lti_1p3.PlatformDataProvider alias Lti_1p3.ToolDataProvider alias Lti_1p3.DataProviderError alias Lti_1p3.Jwk alias Lti_1p3.Nonce alias Lti_...
30.673729
128
0.692223
282f1f7a2f32282b6c61070c46660f04353efa96
1,149
exs
Elixir
config/test.exs
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
null
null
null
config/test.exs
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
6
2021-09-07T15:10:50.000Z
2021-10-31T02:56:08.000Z
config/test.exs
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
null
null
null
import Config # Only in tests, remove the complexity from the password hashing algorithm config :argon2_elixir, t_cost: 1, m_cost: 8 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more informati...
33.794118
86
0.771976
282f1f935377101ee3a763d9c32d006cf78559db
799
exs
Elixir
test/state_test.exs
prmrreddy/eat-master
7c8d11cc903f8a4cb0cdb26eff6717d3bc1265ba
[ "CC-BY-4.0", "MIT" ]
1
2020-01-26T17:51:50.000Z
2020-01-26T17:51:50.000Z
test/state_test.exs
prmrreddy/eat-master
7c8d11cc903f8a4cb0cdb26eff6717d3bc1265ba
[ "CC-BY-4.0", "MIT" ]
13
2017-11-11T23:16:24.000Z
2020-06-08T02:12:15.000Z
test/state_test.exs
prmrreddy/eat-master
7c8d11cc903f8a4cb0cdb26eff6717d3bc1265ba
[ "CC-BY-4.0", "MIT" ]
null
null
null
defmodule Clone.StateTest do use ExUnit.Case, async: true alias Clone.State def options(options \\ [], arguments \\ [], invalid \\ []) do {options, arguments, invalid} end test "creates a state struct from an OptionParser tuple" do state = State.new(options()) assert state.arguments == [] ...
24.96875
74
0.653317
282f29c6bedb54c4df846448984efcb35e1ee1fc
1,954
ex
Elixir
lib/sag_appointments/doctor/schedule.ex
pik694/sag-appointments-mas
220ac4d0bd1bb1dfdffec823114ecb40fb5beb93
[ "MIT" ]
null
null
null
lib/sag_appointments/doctor/schedule.ex
pik694/sag-appointments-mas
220ac4d0bd1bb1dfdffec823114ecb40fb5beb93
[ "MIT" ]
null
null
null
lib/sag_appointments/doctor/schedule.ex
pik694/sag-appointments-mas
220ac4d0bd1bb1dfdffec823114ecb40fb5beb93
[ "MIT" ]
null
null
null
defmodule SagAppointments.Doctor.Schedule do use GenServer defstruct history: [], future: [] alias SagAppointments.Appointment def start_link() do GenServer.start_link(__MODULE__, nil) end def add_appointment(schedule, %Appointment{} = appointment) do GenServer.cast(schedule, {:add, appointment}...
24.123457
92
0.655578
282f3598839f85ed05de8314daa1b669ce0f952b
457
ex
Elixir
lib/xeroxero/core_api/currencies.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-12-01T18:21:31.000Z
2021-12-01T18:21:31.000Z
lib/xeroxero/core_api/currencies.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
null
null
null
lib/xeroxero/core_api/currencies.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-10-01T12:09:46.000Z
2021-10-01T12:09:46.000Z
defmodule XeroXero.CoreApi.Currencies do @resource "currencies" @model_module XeroXero.CoreApi.Models.Currencies def find(client) do XeroXero.CoreApi.Common.find(client, @resource) |> XeroXero.CoreApi.Utils.ResponseHandler.handle_response(@model_module) end def filter(client, filter) do XeroXero...
30.466667
76
0.774617
282f44369e38e20598d49aa25729489e4877a212
1,124
exs
Elixir
config/config.exs
dnsbty/level10
e5b9cddc18f3b174fb32022123527dcdfc3a8d7a
[ "MIT" ]
37
2020-05-05T22:02:51.000Z
2022-02-08T20:44:06.000Z
config/config.exs
dnsbty/level10
e5b9cddc18f3b174fb32022123527dcdfc3a8d7a
[ "MIT" ]
65
2020-03-18T01:11:58.000Z
2021-01-31T03:19:48.000Z
config/config.exs
dnsbty/level10
e5b9cddc18f3b174fb32022123527dcdfc3a8d7a
[ "MIT" ]
1
2020-05-05T22:02:57.000Z
2020-05-05T22:02:57.000Z
import Config # Configures the endpoint config :level10, Level10Web.Endpoint, http: [port: String.to_integer(System.get_env("PORT") || "4000")], url: [host: "localhost"], secret_key_base: "/zVsH2ul2vyeKjwK7OVZI8dJM7bnN8DqwXb8N8Oy3Cw+KscU88U/oB4JXeBPWM+t", render_errors: [view: Level10Web.ErrorView, accepts: ~w...
33.058824
86
0.714413
282f6033ab0aae1b2c18eae9644ac936774b6c0d
818
exs
Elixir
ultimate_tic_tac_toe_bot/mix.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
4
2016-02-03T22:03:45.000Z
2016-04-13T17:24:27.000Z
ultimate_tic_tac_toe_bot/mix.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
2
2016-02-03T00:01:28.000Z
2016-04-13T17:22:58.000Z
ultimate_tic_tac_toe_bot/mix.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
1
2016-02-05T11:30:42.000Z
2016-02-05T11:30:42.000Z
defmodule UltimateTicTacToeBot.Mixfile do use Mix.Project def project do [app: :ultimate_tic_tac_toe_bot, version: "0.0.1", elixir: "~> 1.0", escript: escript_config, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the ...
20.974359
77
0.630807
282f653c36f921054a599a1d046caeaa76397911
22,910
exs
Elixir
test/domo/tasks.compile.domo_test.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
null
null
null
test/domo/tasks.compile.domo_test.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
null
null
null
test/domo/tasks.compile.domo_test.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
null
null
null
defmodule Domo.MixTasksCompileDomoTest do use Domo.FileCase, async: false use Placebo import ExUnit.CaptureIO alias Domo.TypeEnsurerFactory.BatchEnsurer alias Domo.TypeEnsurerFactory.Cleaner alias Domo.TypeEnsurerFactory.DependencyResolver alias Domo.TypeEnsurerFactory.Error alias Domo.TypeEnsurerFact...
33.059163
159
0.625928
282f81f8ce0e5c1e533bb994070dce53e21ad1a3
317
ex
Elixir
lib/phone/br/sp.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/br/sp.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/br/sp.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.BR.SP do @moduledoc false use Helper.Area def regex, do: ~r/^(55)(1[1-9])([2-5|89].{7}|9.{8}|7[07-9].{6})$/ def area_name, do: "São Paulo" def area_type, do: "state" def area_abbreviation, do: "SP" matcher(["5511", "5512", "5513", "5514", "5515", "5516", "5517", "5518", "5519"]) end
24.384615
83
0.586751
282f82d152ea29d8cd27d20b30ff45cfa1643435
1,117
ex
Elixir
lib/boom.ex
matthewsecrist/boom
86e72598a56e51c309576f51fa4a3216710267da
[ "MIT" ]
null
null
null
lib/boom.ex
matthewsecrist/boom
86e72598a56e51c309576f51fa4a3216710267da
[ "MIT" ]
null
null
null
lib/boom.ex
matthewsecrist/boom
86e72598a56e51c309576f51fa4a3216710267da
[ "MIT" ]
null
null
null
defmodule Boom do @moduledoc """ `Boom` is inspired by the NodeJS package `@hapi/boom` It allows you to respond with json errors easily. """ alias Boom.Errors Enum.each(Errors.list(), fn {type, {status_code, message}} -> @spec unquote(type)(Plug.Conn.t(), String.t() | nil) :: Plug.Conn.t() @doc "...
23.765957
73
0.63205
282fb0df0550fcf5458d1e92e033b1f40bdff06c
13,006
ex
Elixir
lib/cldr/messages/format/interpreter.ex
alco/cldr_messages
363e03eef1cbee696bee6d1efa8f10ee186dcbb8
[ "Apache-2.0" ]
null
null
null
lib/cldr/messages/format/interpreter.ex
alco/cldr_messages
363e03eef1cbee696bee6d1efa8f10ee186dcbb8
[ "Apache-2.0" ]
null
null
null
lib/cldr/messages/format/interpreter.ex
alco/cldr_messages
363e03eef1cbee696bee6d1efa8f10ee186dcbb8
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Message.Interpreter do @doc """ Formats an ICU message into an iolist """ alias Cldr.Message @spec format_list(list() | tuple(), Message.arguments(), Message.options()) :: list() | no_return def format_list(message, args \\ [], options \\ []) def format_list([], _args, _option...
31.799511
99
0.682608
282fc42bbc163b5cbbb51cdb4501120374290a72
531
ex
Elixir
fogex/lib/fogex_web/views/error_view.ex
FogEx/poc
0d3a26b482152b4b73a279dfdb2bf69008234c06
[ "MIT" ]
null
null
null
fogex/lib/fogex_web/views/error_view.ex
FogEx/poc
0d3a26b482152b4b73a279dfdb2bf69008234c06
[ "MIT" ]
null
null
null
fogex/lib/fogex_web/views/error_view.ex
FogEx/poc
0d3a26b482152b4b73a279dfdb2bf69008234c06
[ "MIT" ]
null
null
null
defmodule FogExWeb.ErrorView do use FogExWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from #...
31.235294
83
0.717514
28300c2a216a5a8b1d7c4ed906213b25b6aae8a6
1,394
ex
Elixir
lib/zip/zip.ex
sohjiro/ex_ebook
4d5d72fbb880a7b25b1c5e217d0a9b679d0496ac
[ "MIT" ]
null
null
null
lib/zip/zip.ex
sohjiro/ex_ebook
4d5d72fbb880a7b25b1c5e217d0a9b679d0496ac
[ "MIT" ]
null
null
null
lib/zip/zip.ex
sohjiro/ex_ebook
4d5d72fbb880a7b25b1c5e217d0a9b679d0496ac
[ "MIT" ]
null
null
null
defmodule ExEbook.Zip do @moduledoc """ Module for handling zip content """ @type file :: String.t() @type path :: String.t() @spec open_file_in_memory(path) :: {:ok, pid()} def open_file_in_memory(path) do path |> to_charlist() |> :zip.zip_open([:memory]) end @spec read_in_memory_file(p...
21.121212
64
0.586083