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
18ecba36758790ab31235570813aa98bf253e77d
2,580
ex
Elixir
lib/surface/catalogue/layout_view.ex
BasileNouvellet/surface_catalogue
1e4fd050c036974a293cbc8f9e435343c6bcb9f6
[ "MIT" ]
null
null
null
lib/surface/catalogue/layout_view.ex
BasileNouvellet/surface_catalogue
1e4fd050c036974a293cbc8f9e435343c6bcb9f6
[ "MIT" ]
null
null
null
lib/surface/catalogue/layout_view.ex
BasileNouvellet/surface_catalogue
1e4fd050c036974a293cbc8f9e435343c6bcb9f6
[ "MIT" ]
null
null
null
defmodule Surface.Catalogue.LayoutView do use Phoenix.View, namespace: Surface.Catalogue, root: "lib/surface/catalogue/templates" import Surface js_path = Path.join(__DIR__, "../../../priv/static/assets/app.js") css_path = Path.join(__DIR__, "../../../priv/static/assets/app.css") @external_resourc...
33.506494
115
0.581395
18ecc0845195cf19290eee81e56774af45b6ac09
442
exs
Elixir
priv/repo/migrations/20220317142420_create_bottles.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
priv/repo/migrations/20220317142420_create_bottles.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
priv/repo/migrations/20220317142420_create_bottles.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
defmodule Topshelf.Repo.Migrations.CreateBottles do use Ecto.Migration def change do create table(:bottles) do add :brand, :string add :name, :string add :type, :string add :description, :text add :volume, :string add :abv, :float add :url, :string add :shelf_id,...
21.047619
62
0.628959
18ed14168ff60173d939f46f9d361546550e1e35
12,968
ex
Elixir
lib/ecto/migrator.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Migrator do @moduledoc """ This module provides the migration API. ## Example defmodule MyApp.MigrationExample do use Ecto.Migration def up do execute "CREATE TABLE users(id serial PRIMARY_KEY, username text)" end def down do execute "DR...
31.248193
95
0.651681
18ed19740bf699ebe5dcf16930eb417abf2cbeba
1,859
exs
Elixir
test/responders/pugme_test.exs
labzero/hedwig_responders
09a944cfd5494d12b9c66ba906a6006ce140cee8
[ "MIT", "Unlicense" ]
5
2017-02-24T06:26:23.000Z
2021-03-23T18:29:47.000Z
test/responders/pugme_test.exs
labzero/hedwig_responders
09a944cfd5494d12b9c66ba906a6006ce140cee8
[ "MIT", "Unlicense" ]
11
2016-12-05T22:47:39.000Z
2017-09-11T20:30:13.000Z
test/responders/pugme_test.exs
labzero/hedwig_responders
09a944cfd5494d12b9c66ba906a6006ce140cee8
[ "MIT", "Unlicense" ]
3
2017-08-22T19:38:37.000Z
2018-04-27T11:17:29.000Z
defmodule HedwigSimpleResponders.PugMeTest do use Hedwig.RobotCase @tag start_robot: true, name: "alfred", responders: [{HedwigSimpleResponders.PugMe, []}] test "pug me", %{adapter: adapter, msg: msg} do send adapter, {:message, %{msg | text: "pug me"}} assert_receive {:message, %{text: text}} assert...
47.666667
90
0.664874
18ed29e73efd91e011cf52e0c27a38d76eb3f950
2,752
ex
Elixir
lib/astarte_flow/flows/dets_storage.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
11
2020-01-30T17:44:35.000Z
2022-01-13T19:17:21.000Z
lib/astarte_flow/flows/dets_storage.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
100
2020-02-11T10:01:35.000Z
2022-02-17T10:39:35.000Z
lib/astarte_flow/flows/dets_storage.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
7
2020-01-30T11:33:20.000Z
2021-05-03T09:48:41.000Z
# # This file is part of Astarte. # # Copyright 2020 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 appl...
26.980392
82
0.646076
18ed2e16c8379a89543bd7a8ef61b043467cee90
1,565
ex
Elixir
lib/books/accounts/user_notifier.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books/accounts/user_notifier.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books/accounts/user_notifier.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
defmodule Books.Accounts.UserNotifier do # For simplicity, this module simply logs messages to the terminal. # You should replace it by a proper email or notification tool, such as: # # * Swoosh - https://hexdocs.pm/swoosh # * Bamboo - https://hexdocs.pm/bamboo # defp deliver(to, body) do require ...
21.148649
74
0.565495
18ed5499e88cf44f7bfd90f51ebc71841840b6aa
10,628
ex
Elixir
lib/iex/lib/iex/server.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/iex/lib/iex/server.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/iex/lib/iex/server.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
defmodule IEx.State do @moduledoc false # This state is exchanged between IEx.Server and # IEx.Evaluator which is why it is a struct. defstruct buffer: "", counter: 1, prefix: "iex", on_eof: :stop_evaluator, evaluator_options: [] @type t :: %__MODULE__{} end defmodule IEx.Server do @moduledoc """ The IEx...
28.802168
101
0.6449
18ed61152b6f3fa22c97c61e0ccfe283a996f0a1
1,939
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
34.017544
166
0.750387
18edb074f81a47852a7052ecc10381efa1624a40
622
ex
Elixir
lib/formulator/html_builder.ex
elixir-twister/formulator
1c679212d23cc4ec9985cee2e0caaa093d9aeef5
[ "MIT" ]
1
2019-05-20T04:59:50.000Z
2019-05-20T04:59:50.000Z
lib/formulator/html_builder.ex
ByteDecoder/formulator
289d74889c60dc3aab0f065cdce1c71cd246ded1
[ "MIT" ]
null
null
null
lib/formulator/html_builder.ex
ByteDecoder/formulator
289d74889c60dc3aab0f065cdce1c71cd246ded1
[ "MIT" ]
null
null
null
defmodule Formulator.HtmlBuilder do use Phoenix.HTML def build_error_span(error, field) do content_tag :span, translate_error(error), class: "field-error", "data-role": "#{field}-error" end @error_message """ Missing translate_error_module config. Add the following to your config/config.ex...
24.88
86
0.72508
18edbda0a0d7f20b189487d2ad6805167826876f
284
ex
Elixir
lib/postoffice/http_worker.ex
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
15
2020-01-24T10:33:57.000Z
2020-10-24T07:57:14.000Z
lib/postoffice/http_worker.ex
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
24
2020-01-24T09:52:56.000Z
2021-02-19T09:15:12.000Z
lib/postoffice/http_worker.ex
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
5
2020-01-25T18:03:44.000Z
2021-02-23T10:07:03.000Z
defmodule Postoffice.HttpWorker do require Logger use Oban.Worker, queue: :http, priority: 0, max_attempts: 100, tags: ["hive"] alias Postoffice.Workers.Http @impl Oban.Worker def perform(%Oban.Job{id: id, args: args}) do Http.run(id, args) end end
16.705882
47
0.661972
18ee3ceda73a45758c1fb15e7f5f7af70bedfec1
56,693
exs
Elixir
test/web_driver_client_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
test/web_driver_client_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
test/web_driver_client_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClientTest do use WebDriverClient.APIClientCase, async: true use ExUnitProperties import Plug.Conn alias WebDriverClient.ConnectionError alias WebDriverClient.Cookie alias WebDriverClient.Element alias WebDriverClient.JSONWireProtocolClient.ErrorScenarios, as: JWPErrorScenarios alia...
33.095738
120
0.68594
18ee643cd32b0aea7b9136638e652c82a467ce93
708
ex
Elixir
lib/webapi_web/gettext.ex
gabe-santana/web-api-elixir
5e5b9356e993e503676182db6d67acee1e31fbec
[ "MIT" ]
null
null
null
lib/webapi_web/gettext.ex
gabe-santana/web-api-elixir
5e5b9356e993e503676182db6d67acee1e31fbec
[ "MIT" ]
null
null
null
lib/webapi_web/gettext.ex
gabe-santana/web-api-elixir
5e5b9356e993e503676182db6d67acee1e31fbec
[ "MIT" ]
null
null
null
defmodule WebapiWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import WebapiWeb.Gettext # Simple translation gettext("Here is the...
28.32
72
0.676554
18ee657477027796ea74d25b9f2578d1dea82b11
1,901
ex
Elixir
scenic/counter/lib/scenes/home.ex
TheEndIsNear/7guis
95db269ad35ab847b90dab9c8f6c2dc4e306ab5c
[ "MIT" ]
null
null
null
scenic/counter/lib/scenes/home.ex
TheEndIsNear/7guis
95db269ad35ab847b90dab9c8f6c2dc4e306ab5c
[ "MIT" ]
null
null
null
scenic/counter/lib/scenes/home.ex
TheEndIsNear/7guis
95db269ad35ab847b90dab9c8f6c2dc4e306ab5c
[ "MIT" ]
null
null
null
defmodule Counter.Scene.Home do use Scenic.Scene alias Scenic.Graph import Scenic.Components @text_size 24 @impl Scenic.Scene def init(_, _opts) do graph = Graph.build(font: :roboto, font_size: @text_size) |> text_field("0", id: :count_text, t: {5, 5}, width: 50) |> button("Inc", i...
27.550725
81
0.644924
18ee696f0af471158b585404a8e92f02a8d9a674
1,238
ex
Elixir
lib/open_movie_api_web/endpoint.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
5
2019-11-02T14:35:49.000Z
2022-01-22T12:26:23.000Z
lib/open_movie_api_web/endpoint.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
null
null
null
lib/open_movie_api_web/endpoint.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
null
null
null
defmodule OpenMovieApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :open_movie_api socket "/socket", OpenMovieApiWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when dep...
27.511111
63
0.713247
18ee91210969f99db1debd085bf112bbe08cb0c3
501
ex
Elixir
lib/flame_on/capture/trace.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
55
2022-02-23T20:36:43.000Z
2022-03-31T13:55:28.000Z
lib/flame_on/capture/trace.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
7
2022-02-24T00:23:10.000Z
2022-03-28T18:23:30.000Z
lib/flame_on/capture/trace.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
1
2022-02-26T03:27:00.000Z
2022-02-26T03:27:00.000Z
defmodule FlameOn.Capture.Trace do alias FlameOn.Capture.Server @flags [:call, :return_to, :running, :arity, :timestamp] def start_trace(tracer) do match_spec = [{:_, [], [{:message, {{:cp, {:caller}}}}]}] :erlang.trace_pattern(:on_load, match_spec, [:local]) :erlang.trace_pattern({:_, :_, :_}, match...
29.470588
61
0.636727
18eea829dc1b3a35ffeed09289bbdff11da8d3a7
386
exs
Elixir
test/ex338_web/views/email_view_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/ex338_web/views/email_view_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/ex338_web/views/email_view_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.EmailViewTest do use Ex338Web.ConnCase, async: true alias Ex338Web.{EmailView} describe "display_player/1" do test "returns trimmed player name and abbrev" do player = %{ player_name: "Name ", sports_league: %{ abbrev: "CBB" } } assert ...
20.315789
60
0.621762
18eebb33cf8f008452a6493acb77a43a9c6576cc
565
ex
Elixir
lib/lapin/connection/supervisor.ex
lswith/lapin
a8a588dc1a0d8032d85d2c661c22b437fec3519b
[ "MIT" ]
null
null
null
lib/lapin/connection/supervisor.ex
lswith/lapin
a8a588dc1a0d8032d85d2c661c22b437fec3519b
[ "MIT" ]
null
null
null
lib/lapin/connection/supervisor.ex
lswith/lapin
a8a588dc1a0d8032d85d2c661c22b437fec3519b
[ "MIT" ]
null
null
null
defmodule Lapin.Connection.Supervisor do @moduledoc """ Lapin Connections Supervisor """ use Supervisor require Logger @spec start_link(configuration :: Lapin.config) :: Supervisor.on_start def start_link(configuration) do Supervisor.start_link(__MODULE__, configuration, name: __MODULE__) end de...
25.681818
72
0.716814
18eebc0c0a80db2ba97560ca07819ae0c4724ee9
70
exs
Elixir
test/test_helper.exs
Jesterovskiy/geo-tasks
65fbfdc3d1604084aa288fefba9c548e087a387e
[ "MIT" ]
null
null
null
test/test_helper.exs
Jesterovskiy/geo-tasks
65fbfdc3d1604084aa288fefba9c548e087a387e
[ "MIT" ]
null
null
null
test/test_helper.exs
Jesterovskiy/geo-tasks
65fbfdc3d1604084aa288fefba9c548e087a387e
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(GeoTasks.Repo, :manual)
23.333333
54
0.785714
18eeea04aad9d01213d20399e5479d4eaad104d3
1,378
ex
Elixir
lib/surface/components/link.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
lib/surface/components/link.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
lib/surface/components/link.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
defmodule Surface.Components.Link do @moduledoc """ Defines a hyperlink. Provides a wrapper for Phoenix.HTML.Link's `link/2` function. All options passed via `opts` will be sent to `link/2`, `label` and `class` can be set directly and will override anything in `opts`. ## Examples ``` <Link label=...
21.53125
116
0.621916
18ef369eb5c5aea50c2f00c510dfdf25bdbdb0aa
3,279
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/metric_value.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_control/lib/google_api/service_control/v1/model/metric_value.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/metric_value.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 ...
42.584416
132
0.694724
18ef36f41521c383a9a2d24441ce7959ee063c71
2,753
exs
Elixir
test/gettext/fuzzy_test.exs
wojtekmach/gettext
f7ad21ec372f8359c3222a7f2994697e50542a47
[ "Apache-2.0" ]
110
2019-09-23T18:58:00.000Z
2022-03-07T00:27:34.000Z
test/gettext/fuzzy_test.exs
wojtekmach/gettext
f7ad21ec372f8359c3222a7f2994697e50542a47
[ "Apache-2.0" ]
93
2019-09-08T18:28:28.000Z
2022-03-31T20:38:59.000Z
test/gettext/fuzzy_test.exs
wojtekmach/gettext
f7ad21ec372f8359c3222a7f2994697e50542a47
[ "Apache-2.0" ]
41
2019-09-16T14:17:49.000Z
2022-03-03T15:11:59.000Z
defmodule Gettext.FuzzyTest do use ExUnit.Case, async: true alias Gettext.Fuzzy alias Gettext.PO.Translation alias Gettext.PO.PluralTranslation test "matcher/1" do assert Fuzzy.matcher(0.5).({nil, "foo"}, {nil, "foo"}) == {:match, 1.0} assert Fuzzy.matcher(0.5).({nil, "foo"}, {nil, "bar"}) == :nomat...
34.4125
96
0.591355
18ef3a3df703c6a9cecc4b9a232833bf1aec0487
1,085
ex
Elixir
ex_api/ex_api_web/channels/user_socket.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
2
2018-03-02T11:29:33.000Z
2019-10-26T18:38:01.000Z
ex_api/ex_api_web/channels/user_socket.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
5
2018-01-30T11:40:56.000Z
2021-07-12T05:30:02.000Z
ex_api/ex_api_web/channels/user_socket.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
1
2020-07-25T15:07:12.000Z
2020-07-25T15:07:12.000Z
defmodule ExApiWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ExApiWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ...
30.138889
83
0.693088
18ef454dc322390f8458f3247e30abad824613af
1,268
ex
Elixir
elixir/library-fees/lib/library_fees.ex
joabehenrique/exercism-tracks
397c7e685a7952b2bdbf694c285e74b67bfa864f
[ "MIT" ]
null
null
null
elixir/library-fees/lib/library_fees.ex
joabehenrique/exercism-tracks
397c7e685a7952b2bdbf694c285e74b67bfa864f
[ "MIT" ]
null
null
null
elixir/library-fees/lib/library_fees.ex
joabehenrique/exercism-tracks
397c7e685a7952b2bdbf694c285e74b67bfa864f
[ "MIT" ]
null
null
null
defmodule LibraryFees do @time_noon ~T[12:00:00] def datetime_from_string(string), do: NaiveDateTime.from_iso8601!(string) def before_noon?(datetime), do: NaiveDateTime.to_time(datetime) < @time_noon def return_date(checkout_datetime) do checkout_datetime |> before_noon?() |> add_date(checkout_datetime) ...
29.488372
81
0.716877
18ef591ba1367c5840eeabd585dfdac47b5887e4
1,341
exs
Elixir
mix.exs
elixir-depot/exotus
6441ccb4312a182cffa9fd6042c1497b523f1c62
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-depot/exotus
6441ccb4312a182cffa9fd6042c1497b523f1c62
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-depot/exotus
6441ccb4312a182cffa9fd6042c1497b523f1c62
[ "Apache-2.0" ]
null
null
null
defmodule Exotus.MixProject do use Mix.Project def project do [ app: :exotus, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), package: package(), na...
24.833333
68
0.584638
18ef73910eb6168e60c1dfd7786d06de4784fb1b
36
ex
Elixir
test/support/my_app/plugins/plugin1/router.ex
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
9
2017-07-09T21:45:56.000Z
2020-09-26T04:19:58.000Z
test/support/my_app/plugins/plugin1/router.ex
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
null
null
null
test/support/my_app/plugins/plugin1/router.ex
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
2
2017-09-18T14:38:59.000Z
2017-11-27T10:31:36.000Z
defmodule Plugin1.Web.Router do end
12
31
0.833333
18ef7628baa6909d585d75d03ad2f06b33daed70
756
exs
Elixir
mix.exs
Qqwy/elixir_taylor
3a0b98b00d3e8f67518251c8bb9d3b7c8d4cafb8
[ "MIT" ]
null
null
null
mix.exs
Qqwy/elixir_taylor
3a0b98b00d3e8f67518251c8bb9d3b7c8d4cafb8
[ "MIT" ]
null
null
null
mix.exs
Qqwy/elixir_taylor
3a0b98b00d3e8f67518251c8bb9d3b7c8d4cafb8
[ "MIT" ]
null
null
null
defmodule Taylor.Mixfile do use Mix.Project def project do [app: :taylor, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more...
20.432432
77
0.568783
18ef89d630f8198292e90e5eacedd6dd4aed32ac
31,115
exs
Elixir
apps/omg_watcher/test/omg_watcher/exit_processor/canonicity_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/test/omg_watcher/exit_processor/canonicity_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher/test/omg_watcher/exit_processor/canonicity_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
44.45
122
0.664149
18efa4f82c832f513c81f601a2beae08737ecb7b
1,951
exs
Elixir
playground_project/test/crud_tdd/accounts_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/test/crud_tdd/accounts_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/test/crud_tdd/accounts_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
defmodule CrudTdd.AccountsTest do use CrudTdd.DataCase alias CrudTdd.Accounts describe "users" do alias CrudTdd.Accounts.User @valid_attrs %{age: 42, name: "some name"} @update_attrs %{age: 43, name: "some updated name"} @invalid_attrs %{age: nil, name: nil} def user_fixture(attrs \\ %{}) ...
29.119403
85
0.645823
18efd52e3ed7b3698174950b75aa4682d780b3d7
447
exs
Elixir
test/dailymeal_web/views/meals_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal_web/views/meals_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal_web/views/meals_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule DailymealWeb.MealsViewTest do use DailymealWeb.ConnCase, async: true import Phoenix.View import Dailymeal.Factory alias Dailymeal.Meal alias DailymealWeb.MealsView test "renders meal.json" do meal = build(:meal) response = render(MealsView, "meal.json", meal: meal) assert %Meal{ ...
20.318182
57
0.646532
18efdcdbb71e24f311933c649e6709b6ebe9ec5a
1,768
ex
Elixir
lib/autocompletex/predictive/worker.ex
0b01/autocompletex
8430f1de2dde1798ff2ff3e7fd0b61656cf6304e
[ "MIT" ]
25
2017-05-22T08:00:25.000Z
2019-09-01T14:18:52.000Z
lib/autocompletex/predictive/worker.ex
0b01/autocompletex
8430f1de2dde1798ff2ff3e7fd0b61656cf6304e
[ "MIT" ]
2
2017-05-23T23:03:55.000Z
2017-05-25T23:31:05.000Z
lib/autocompletex/predictive/worker.ex
rickyhan/autocompletex
8430f1de2dde1798ff2ff3e7fd0b61656cf6304e
[ "MIT" ]
2
2017-05-25T15:42:36.000Z
2018-04-17T05:12:36.000Z
defmodule Autocompletex.Predictive do use GenServer def start_link(redis, db_prefix \\ "autocompletex", name) do GenServer.start_link(__MODULE__, %{:redis => redis, :db_prefix => db_prefix}, [name: name]) end def ping(pid) do GenServer.call(pid, {:ping}) end def complete(pid, prefix, rangelen \\ ...
25.623188
108
0.571833
18efeb5e73b124dfad4af55e2879436ab3b85ecf
2,160
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list_warning.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 ...
40
194
0.724537
18efff3f6491966db77357a4b653cde63e93cbc9
814
ex
Elixir
apps/tai/lib/tai/venues/boot/positions.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venues/boot/positions.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venues/boot/positions.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Venues.Boot.Positions do @type venue :: Tai.Venue.t() @spec hydrate(venue) :: {:ok, total :: pos_integer} | {:error, reason :: term} def hydrate(venue) do venue.credentials |> Enum.reduce( :ok, &fetch_and_add(&1, &2, venue) ) end defp fetch_and_add({credential_id, _}, :...
25.4375
81
0.604423
18f0240f774deaf488f9c91d33f4b897c43b15e9
1,657
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/flags_list_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/flags_list_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/flags_list_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.14
106
0.722993
18f0713011efd09e1de2b25a394140ff66a0ae7e
876
ex
Elixir
lib/exboard/application.ex
eahanson/exboard
ff2da4d6afd2a01d0e0b54f04198b2e4ffbb48db
[ "MIT" ]
null
null
null
lib/exboard/application.ex
eahanson/exboard
ff2da4d6afd2a01d0e0b54f04198b2e4ffbb48db
[ "MIT" ]
2
2021-03-09T18:32:46.000Z
2021-05-10T15:18:35.000Z
lib/exboard/application.ex
eahanson/exboard
ff2da4d6afd2a01d0e0b54f04198b2e4ffbb48db
[ "MIT" ]
null
null
null
defmodule Exboard.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the endpoint when the application starts ...
29.2
66
0.72032
18f075430347095baa370f5ad746321cab9e25ef
795
exs
Elixir
mix.exs
af83/CaptainHook
9b03bcb75bee3748c9914ba864d6b5f6dfef6eb7
[ "MIT" ]
null
null
null
mix.exs
af83/CaptainHook
9b03bcb75bee3748c9914ba864d6b5f6dfef6eb7
[ "MIT" ]
null
null
null
mix.exs
af83/CaptainHook
9b03bcb75bee3748c9914ba864d6b5f6dfef6eb7
[ "MIT" ]
null
null
null
defmodule CaptainHook.Mixfile do use Mix.Project def project do [app: :captain_hook, version: "0.0.1", elixir: "~> 0.15", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:cowboy, :plug,...
21.486486
75
0.555975
18f088b9c6539cf85740bb02eaaa47bd53bf802e
2,859
ex
Elixir
lib/financeiro.ex
joaothallis/financeiro
15b2df077f9f7450dc38c074c308294f32334cc7
[ "MIT" ]
2
2017-12-07T11:25:52.000Z
2017-12-07T11:59:13.000Z
lib/financeiro.ex
joaothallis/financeiro
15b2df077f9f7450dc38c074c308294f32334cc7
[ "MIT" ]
null
null
null
lib/financeiro.ex
joaothallis/financeiro
15b2df077f9f7450dc38c074c308294f32334cc7
[ "MIT" ]
null
null
null
defmodule Financeiro do @moduledoc """ Início do sistema. Através desse módulo o usuário escolhe quais operações fazer. """ @doc """ Inicia o sistema financeiro. """ def main([]) do alfa(usr_padrao(), entrada("Sistema Financeiro\nDigite 1 para entrar ou 2 para criar um cadastro: ")) end @doc ...
24.435897
147
0.643582
18f091aaf146fd4ed4e9c336b64943d516375a27
3,720
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/api/v1.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/api/v1.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/api/v1.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "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.758621
196
0.648656
18f0ae0737ad9935955e7e7360e621579eb71489
2,507
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_request.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...
42.491525
273
0.723973
18f0e0e20026da9a499fd82203f4094647dfaf72
683
ex
Elixir
test/support/user.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
11
2018-01-17T09:31:26.000Z
2019-03-11T03:20:50.000Z
test/support/user.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
24
2018-01-17T00:13:38.000Z
2018-11-12T09:38:09.000Z
test/support/user.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
3
2018-01-17T03:23:17.000Z
2019-03-11T03:20:47.000Z
defmodule Authority.Ecto.Test.User do @moduledoc false use Ecto.Schema import Ecto.Changeset import Authority.Ecto.Changeset schema "users" do field(:email, :string) field(:encrypted_password, :string) field(:password, :string, virtual: true) field(:password_confirmation, :string, virtual:...
24.392857
64
0.702782
18f0e8d78df6f58adbdfa4b37ac85877bdcb83c1
300
ex
Elixir
lib/ex_ftx/modify_order_by_client_id_payload.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
lib/ex_ftx/modify_order_by_client_id_payload.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
lib/ex_ftx/modify_order_by_client_id_payload.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.ModifyOrderByClientIdPayload do alias __MODULE__ @type t :: %ModifyOrderByClientIdPayload{ client_id: ExFtx.OrderPayload.client_id() | nil, price: number | nil, size: number | nil } defstruct ~w[ client_id price size ]a end
18.75
58
0.63
18f1003a6bfe333f4f4b904ea89738258a06681c
2,803
exs
Elixir
test/meeseeks/selector/xpath/expr/path_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
test/meeseeks/selector/xpath/expr/path_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
test/meeseeks/selector/xpath/expr/path_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Selector.XPath.Expr.PathTest do use ExUnit.Case alias Meeseeks.Document alias Meeseeks.Selector.Combinator alias Meeseeks.Selector.XPath.Expr @document Meeseeks.parse( {"book", [], [{"chapter", [], [{"page", [], ["1"]}, {"page", [], ["2"]}]}]}, :tuple_tree ...
26.443396
90
0.565109
18f114eff4c226e718e1d0cf7391aa42154b02cc
409
exs
Elixir
test/ngram_web/views/error_view_test.exs
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
test/ngram_web/views/error_view_test.exs
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
test/ngram_web/views/error_view_test.exs
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
defmodule NgramWeb.ErrorViewTest do use NgramWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(NgramWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert r...
27.266667
90
0.728606
18f11f48d68093ea0b876d83ef24c33fa2e51acf
817
ex
Elixir
apps/buzzcms_web/lib/buzzcms_web/helpers/email_factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms_web/lib/buzzcms_web/helpers/email_factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms_web/lib/buzzcms_web/helpers/email_factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule BuzzcmsWeb.Helpers.EmailFactory do import Bamboo.Email alias Buzzcms.Schema.{EmailTemplate, User} def make_email(%EmailTemplate{} = template, to, payload) when is_bitstring(to) do make_email(template, payload) |> to(to) end def make_email(%EmailTemplate{} = template, %User{} = to, payload) do ...
24.757576
83
0.635251
18f120d075cd3591cbfffe0db1a5419fc18a93c2
2,401
exs
Elixir
config/dev.exs
herminiotorres/blog
f23bca9ef80d13cd61dbc9e4139bb682f86f0acf
[ "MIT" ]
null
null
null
config/dev.exs
herminiotorres/blog
f23bca9ef80d13cd61dbc9e4139bb682f86f0acf
[ "MIT" ]
null
null
null
config/dev.exs
herminiotorres/blog
f23bca9ef80d13cd61dbc9e4139bb682f86f0acf
[ "MIT" ]
null
null
null
import Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with esbuild to bundle .js and .css sources. config :herminio_torres, HerminioTorresWeb.Endpoint, # Bind...
32.445946
86
0.693461
18f13c408e527f16d15ded677984dbe223ad007f
57
ex
Elixir
lib/live_web/views/layout_view.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
lib/live_web/views/layout_view.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
lib/live_web/views/layout_view.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
defmodule LiveWeb.LayoutView do use LiveWeb, :view end
14.25
31
0.789474
18f14a523d27f46df2fb425686c69ee8700eff32
169
exs
Elixir
priv/repo/migrations/20150531055813_add_job_answer_column.exs
smoynes/get_a_job_ex
13b17562f48561803ee4635342c345d28cffe27d
[ "MIT" ]
1
2020-06-10T11:19:17.000Z
2020-06-10T11:19:17.000Z
priv/repo/migrations/20150531055813_add_job_answer_column.exs
smoynes/get_a_job_ex
13b17562f48561803ee4635342c345d28cffe27d
[ "MIT" ]
null
null
null
priv/repo/migrations/20150531055813_add_job_answer_column.exs
smoynes/get_a_job_ex
13b17562f48561803ee4635342c345d28cffe27d
[ "MIT" ]
null
null
null
defmodule GetAJobEx.Repo.Migrations.AddJobAnswerColumn do use Ecto.Migration def change do alter table(:jobs) do add :answer, :integer end end end
15.363636
57
0.710059
18f18168f41a0ba69a217eb8f846e21b19f4600b
106
exs
Elixir
apps/ex_wire/test/ex_wire/peer_supervisor_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/test/ex_wire/peer_supervisor_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/test/ex_wire/peer_supervisor_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.PeerSupervisorTest do use ExUnit.Case, async: true doctest ExWire.PeerSupervisor end
21.2
38
0.820755
18f19bfc01ae706180df32f480482afc0854507f
6,209
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.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...
76.654321
1,060
0.745853
18f1c7ce0408d09b32bfa29f992fb8ea3410d678
1,284
exs
Elixir
exercises/change/change_test.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
exercises/change/change_test.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
exercises/change/change_test.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("change.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule ChangeTest do use ExUnit.Case test "returns :error on empty list" do assert Change.generate(1, []) == :error end @tag :pending test "generates the c...
28.533333
76
0.630841
18f1efe3737e39ded84baa946a55a0433911da62
835
exs
Elixir
mix.exs
data-twister/machine_gun
2f91a9babf455553701cd1b59cbe4f70609fd52a
[ "ISC" ]
null
null
null
mix.exs
data-twister/machine_gun
2f91a9babf455553701cd1b59cbe4f70609fd52a
[ "ISC" ]
null
null
null
mix.exs
data-twister/machine_gun
2f91a9babf455553701cd1b59cbe4f70609fd52a
[ "ISC" ]
null
null
null
defmodule MachineGun.Mixfile do use Mix.Project def project do [ app: :machine_gun, version: "0.1.6", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), lockfile: "mix.lock", name: "Machine Gun", description: "HTTP/1 an...
20.365854
84
0.543713
18f206b94c352cd12fdb7db9d47fabbb7188e7ac
77
exs
Elixir
test/views/layout_view_test.exs
Frylock13/PhoenixChat
05f9a14df49a981ce1c9ebf41740577ccb2aae81
[ "MIT" ]
1
2016-02-24T01:45:57.000Z
2016-02-24T01:45:57.000Z
test/views/layout_view_test.exs
Frylock13/PhoenixChat
05f9a14df49a981ce1c9ebf41740577ccb2aae81
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
Frylock13/PhoenixChat
05f9a14df49a981ce1c9ebf41740577ccb2aae81
[ "MIT" ]
1
2016-02-24T01:47:02.000Z
2016-02-24T01:47:02.000Z
defmodule ChatDemo.LayoutViewTest do use ChatDemo.ConnCase, async: true end
25.666667
36
0.831169
18f210dfd82fa6391e99d9ad95a115987b4c078e
6,124
exs
Elixir
test/core/sup_tree_core/tenant_executor_pools_manager_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
test/core/sup_tree_core/tenant_executor_pools_manager_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_core/tenant_executor_pools_manager_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.TenantExecutorPoolsManagerTest do use Croma.TestCase alias Antikythera.Test.ProcessHelper alias AntikytheraCore.ExecutorPool alias AntikytheraCore.ExecutorPool.Setting, as: EPoolSetting alias AntikytheraCore.ExecutorPool...
41.945205
105
0.735794
18f23b93f2ef588a92e8efa382af72063bb94456
1,650
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_create_test_return_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/orders_create_test_return_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/orders_create_test_return_response.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...
33
161
0.730303
18f295f7882116a3e1551b5f961a6f328bfdeff0
130
ex
Elixir
HackerRank/Functional Programming/Introduction/fp-hello-world.ex
neiesc/Problem-solving
d3bce7a3b9801e6049e2c135418b31cba47b0964
[ "MIT" ]
1
2019-07-20T16:59:21.000Z
2019-07-20T16:59:21.000Z
HackerRank/Functional Programming/Introduction/fp-hello-world.ex
neiesc/Problem-solving
d3bce7a3b9801e6049e2c135418b31cba47b0964
[ "MIT" ]
5
2019-03-10T19:46:42.000Z
2020-04-24T22:42:30.000Z
HackerRank/Functional Programming/Introduction/fp-hello-world.ex
neiesc/Problem-solving
d3bce7a3b9801e6049e2c135418b31cba47b0964
[ "MIT" ]
null
null
null
# Hello World # https://www.hackerrank.com/challenges/fp-hello-world/problem defmodule Solution do IO.puts "Hello World" end
18.571429
62
0.753846
18f2ba8e2e1a3e94acb9879e468bfc823b1e9421
1,975
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/object_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/object_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/object_filter.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...
37.264151
260
0.717975
18f30b9081fc00477bb47f3f0e688ad40cbb4b12
6,347
ex
Elixir
vendor/ex_minimatch/ex_minimatch.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
vendor/ex_minimatch/ex_minimatch.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
vendor/ex_minimatch/ex_minimatch.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule ExMinimatch do @moduledoc """ ExMinimatch =========== Globbing paths without walking the tree! Elixir and Erlang provide `wildcard` functions in the stdlib. But these will walk the directory tree. If you simply want to test whether a file path matches a glob, ExMinimatch is for you. Quick exa...
30.514423
109
0.656846
18f319389276daccd3c5e631005e7b4d09c3ced5
54
ex
Elixir
lib/whistle/session.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
59
2018-12-18T15:24:23.000Z
2020-11-19T18:40:25.000Z
lib/whistle/session.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
8
2019-02-05T22:36:17.000Z
2019-03-20T21:13:42.000Z
lib/whistle/session.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
3
2019-01-30T19:13:53.000Z
2020-11-19T18:40:28.000Z
defmodule Whistle.Session do @type t() :: map() end
13.5
28
0.666667
18f3658953bdd717977d4b3ce267aee38ebde925
512
ex
Elixir
apps/legion_http/lib/http/identity/auth/sign_up/registration_view.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
1
2021-01-04T11:06:12.000Z
2021-01-04T11:06:12.000Z
apps/legion_http/lib/http/identity/auth/sign_up/registration_view.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
3
2021-01-30T06:40:37.000Z
2021-01-30T06:41:08.000Z
apps/legion_http/lib/http/identity/auth/sign_up/registration_view.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
null
null
null
defmodule Legion.HTTP.Identity.Auth.SignUp.RegistrationView do @moduledoc """ Renders a map with given registration info. """ use Legion.HTTP, :view def render("success.json", params) do %{registration_info: render_one(params, __MODULE__, "registration_info.json")} end def render("registration_info....
26.947368
82
0.71875
18f3c5543e9dc8c366a0ee97b87c04edd8b3450d
3,042
exs
Elixir
phoenix/test/mehr_schulferien_web/controllers/category_controller_test.exs
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/test/mehr_schulferien_web/controllers/category_controller_test.exs
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/test/mehr_schulferien_web/controllers/category_controller_test.exs
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
defmodule MehrSchulferienWeb.CategoryControllerTest do use MehrSchulferienWeb.ConnCase alias MehrSchulferien.Timetables @create_attrs %{for_anybody: true, for_students: true, name: "some name", needs_exeat: true, slug: "some slug"} @update_attrs %{for_anybody: false, for_students: false, name: "some updated n...
34.179775
132
0.684089
18f3daedbfe491d02beb959349343b3e640f05ad
209
exs
Elixir
test/web/controllers/page_controller_test.exs
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
5
2017-07-13T03:38:55.000Z
2019-03-25T18:19:54.000Z
test/web/controllers/page_controller_test.exs
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
null
null
null
test/web/controllers/page_controller_test.exs
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
2
2017-04-26T04:59:46.000Z
2021-09-19T12:53:49.000Z
defmodule PhoenixBloc.Web.PageControllerTest do use PhoenixBloc.Web.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.222222
60
0.688995
18f3e446f6e51b1913de4343b5c6060122a82bf7
1,290
ex
Elixir
lib/rumbl_web/endpoint.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
lib/rumbl_web/endpoint.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
lib/rumbl_web/endpoint.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule RumblWeb.Endpoint do use Phoenix.Endpoint, otp_app: :rumbl socket "/socket", RumblWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static file...
27.446809
69
0.706977
18f3e5ceff2fc53418513b9cb242dcbbe08b2103
67
exs
Elixir
test/test_helper.exs
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
28
2021-02-20T22:22:49.000Z
2022-03-24T21:07:39.000Z
test/test_helper.exs
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
5
2021-05-06T11:37:11.000Z
2021-08-31T11:38:14.000Z
test/test_helper.exs
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
7
2021-02-24T19:18:28.000Z
2021-09-13T16:07:08.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Noted.Repo, :manual)
22.333333
51
0.776119
18f3f8a348c98bbd2db8b6b890e058f956ef88b8
877
ex
Elixir
lib/shippo/operation/customs_declaration.ex
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
lib/shippo/operation/customs_declaration.ex
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
lib/shippo/operation/customs_declaration.ex
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
defmodule Shippo.Operation.CustomsDeclaration do @moduledoc """ [Shippo Customs Declarations](https://goshippo.com/docs/reference#customs-declarations) """ alias Shippo.Operation @doc """ Creates a new Customs Declaration object. """ @spec create(params :: map(), opts :: keyword()) :: Operation.t() ...
25.057143
89
0.643101
18f419a60a5fb1aa6f3b26c05bea26947c64d46d
499
ex
Elixir
lib/changix_demo_web/views/error_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
1
2019-11-16T21:14:43.000Z
2019-11-16T21:14:43.000Z
lib/changix_demo_web/views/error_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
2
2021-03-09T23:25:26.000Z
2021-05-10T19:19:32.000Z
lib/changix_demo_web/views/error_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
null
null
null
defmodule ChangixDemoWeb.ErrorView do use ChangixDemoWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the templ...
29.352941
61
0.739479
18f437c24c2e31efc5e47399f5dbf3a98212557d
5,057
exs
Elixir
test/sport_test.exs
samuelventura/sport
b3d935dd19cbb6b609535f1aef8b875c07cf70de
[ "MIT" ]
null
null
null
test/sport_test.exs
samuelventura/sport
b3d935dd19cbb6b609535f1aef8b875c07cf70de
[ "MIT" ]
null
null
null
test/sport_test.exs
samuelventura/sport
b3d935dd19cbb6b609535f1aef8b875c07cf70de
[ "MIT" ]
null
null
null
defmodule SportTest do use ExUnit.Case, async: false doctest Sport test "basic test" do port0 = Sport.open("/tmp/tty.socat0", 9600, "8N1") port1 = Sport.open("/tmp/tty.socat1", 9600, "8N1") assert true == Sport.discard(port0, false) assert true == Sport.discard(port1, true) assert true == Spo...
33.490066
63
0.608068
18f43d90a1c3650511fe4bcaf562922e32f2500c
1,111
exs
Elixir
test/app/app.exs
youroff/state_machine
37ff18fa5dfc33d628b5409d721cc06087cdd56d
[ "MIT" ]
16
2020-08-07T15:04:33.000Z
2021-05-17T16:33:51.000Z
test/app/app.exs
youroff/state_machine
37ff18fa5dfc33d628b5409d721cc06087cdd56d
[ "MIT" ]
4
2020-08-30T20:42:54.000Z
2020-09-09T12:17:25.000Z
test/app/app.exs
youroff/state_machine
37ff18fa5dfc33d628b5409d721cc06087cdd56d
[ "MIT" ]
null
null
null
defmodule TestApp.Repo do use Ecto.Repo, otp_app: :test_app, adapter: Ecto.Adapters.Postgres end defmodule TestApp.CatMachine do use StateMachine defmachine field: :state, repo: TestApp.Repo do state :asleep state :awake state :playing state :eating, after_enter: &__MODULE__.feed_up/1 ...
20.574074
73
0.660666
18f4443ac4e1de45d450b9ca7868faf0b7b5536d
9,159
ex
Elixir
lib/logger/lib/logger/utils.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/utils.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/utils.ex
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Utils do @moduledoc false @doc """ Truncates a char data into n bytes. There is a chance we truncate in the middle of a grapheme cluster but we never truncate in the middle of a binary codepoint. For this reason, truncation is not exact. """ @spec truncate(IO.chardata, non_neg_integer...
34.175373
92
0.636751
18f446e1a5d972194ebc351c61cd78664d2ade59
22,715
ex
Elixir
lib/elixir/lib/map.ex
CaldwellYSR/elixir
9bc852b95c9e1d910e643604148bedc2aa6e03d4
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/map.ex
CaldwellYSR/elixir
9bc852b95c9e1d910e643604148bedc2aa6e03d4
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
CaldwellYSR/elixir
9bc852b95c9e1d910e643604148bedc2aa6e03d4
[ "Apache-2.0" ]
null
null
null
defmodule Map do @moduledoc """ A set of functions for working with maps. Many functions for maps, which implement the `Enumerable` protocol, are found in the `Enum` module. Additionally, the following functions for maps are found in `Kernel`: * `map_size/1` Maps are the "go to" key-value data struct...
25.210877
98
0.571473
18f45970c5ad7c8b6b4296a942350fc5d3ca4888
350
ex
Elixir
lib/mix/triton.ex
kiopro/triton
12a2b9423c7dc0b037e256eafd9e80a006cf0272
[ "MIT" ]
null
null
null
lib/mix/triton.ex
kiopro/triton
12a2b9423c7dc0b037e256eafd9e80a006cf0272
[ "MIT" ]
null
null
null
lib/mix/triton.ex
kiopro/triton
12a2b9423c7dc0b037e256eafd9e80a006cf0272
[ "MIT" ]
null
null
null
defmodule Mix.Triton do # Conveniences for writing Mix.Tasks in Triton. @moduledoc false @doc """ Gets a path relative to the application path. Raises on umbrella application. """ def no_umbrella!(task) do if Mix.Project.umbrella?() do Mix.raise("Cannot run task #{inspect(task)} from umbrella a...
25
77
0.7
18f462a41af267b9f8b34c713b8741379649c880
579
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
0zZ &one 0zZ one \\ default 0zZ one when guard 0zZ one :: type 0zZ one | new 0zZ one = two 0zZ one or two 0zZ one || two 0zZ one and two 0zZ one && two 0zZ one != two 0zZ one < two 0zZ one |> two 0zZ one + two 0zZ one / two 0zZ one * two 0zZ one ^^^ two 0zZ !one 0zZ One.Two 0zZ One.two 0zZ @one 0zZ One Two 0zZ one 0zZ ...
11.816327
22
0.639033
18f46326aa2a31072c717ed9da0ae9ec4f595871
1,341
ex
Elixir
lib/makeup/styles/html/pygments/vim.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
lib/makeup/styles/html/pygments/vim.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
lib/makeup/styles/html/pygments/vim.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
defmodule Makeup.Styles.HTML.VimStyle do @moduledoc false require Makeup.Token.TokenTypes alias Makeup.Token.TokenTypes, as: Tok @styles %{ Tok.error => "border:#FF0000", Tok.keyword => "#cdcd00", Tok.keyword_declaration => "#00cd00", Tok.keyword_namespace => "#cd00cd", Tok.keyword_type =...
27.367347
45
0.62267
18f46da5056db6e200aa4d677918ebf0f6df2e38
798
ex
Elixir
lib/plug/parsers/graphql.ex
cgiffard/plug_graphql
588fcef49ae429fb12e3241a28bbcc35c73eb5fb
[ "BSD-3-Clause" ]
91
2016-03-02T11:40:21.000Z
2021-08-04T08:42:03.000Z
lib/plug/parsers/graphql.ex
cgiffard/plug_graphql
588fcef49ae429fb12e3241a28bbcc35c73eb5fb
[ "BSD-3-Clause" ]
20
2015-11-24T20:52:12.000Z
2016-02-29T17:21:27.000Z
lib/plug/parsers/graphql.ex
cgiffard/plug_graphql
588fcef49ae429fb12e3241a28bbcc35c73eb5fb
[ "BSD-3-Clause" ]
9
2015-11-26T00:45:11.000Z
2016-02-26T19:29:50.000Z
defmodule Plug.Parsers.GRAPHQL do @moduledoc """ Parses a GraphQL request body when the content-type is set to `application/graphql`. Mount it as a custom `Plug.Parser` by passing the atom `:graphql` to `Plug.Parsers`: ```elixir plug Plug.Parsers, parsers: [:graphql], pass: ["*/*"] ``` An empty reque...
24.9375
86
0.630326
18f499a2444bb3d2f0a086da8a746c60e8aff5dc
1,313
ex
Elixir
lib/upclid/os/centos.ex
flat235/upclid
ee06b3146e57a82a348eafd14f1f6ade03ca04b6
[ "Apache-2.0" ]
null
null
null
lib/upclid/os/centos.ex
flat235/upclid
ee06b3146e57a82a348eafd14f1f6ade03ca04b6
[ "Apache-2.0" ]
3
2018-06-11T16:09:46.000Z
2018-11-29T17:05:39.000Z
lib/upclid/os/centos.ex
flat235/upclid
ee06b3146e57a82a348eafd14f1f6ade03ca04b6
[ "Apache-2.0" ]
null
null
null
defmodule Upclid.Os.CentOS do use Upclid.Collector use Upclid.Action # Collector implementation def updates() do System.cmd("yum", ["list", "updates", "-q"]) |> elem(0) |> String.split("\n") |> Enum.drop(1) |> Enum.filter(fn (line) -> line != "" end) |> Enum.map(fn (line) -> String.spl...
26.26
141
0.58492
18f4b5b4f1c3feeac96faa90605753a175cb6618
1,354
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/undelete_project_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/undelete_project_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/undelete_project_request.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 ...
31.488372
94
0.773264
18f4da833a0df1c18d345d9195ed27d681b88300
323
exs
Elixir
farmbot_ext/test/farmbot_ext/http_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_ext/test/farmbot_ext/http_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/http_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotExt.HTTPTest do # def request(method, params, opts1, opts2) do # :httpc.request(method, params, opts1, opts2) # end use ExUnit.Case alias FarmbotExt.HTTP test "request/4" do params = {'http://typo.farm.bot', []} assert {:error, error} = HTTP.request(:head, params, [], []) end e...
24.846154
64
0.650155
18f503d8b08babf344723a3bd55a3a6c50f44fcc
2,832
exs
Elixir
apps/omg/test/omg/merge_transaction_validator_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg/test/omg/merge_transaction_validator_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg/test/omg/merge_transaction_validator_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
38.794521
131
0.686441
18f51ac2354c4cf7fc88814ce27c6a7294c7b8f3
88
ex
Elixir
lib/error.ex
easink/heos_ex
7a897d253548528e7ab2dcadfdcb6c1cbb27179f
[ "Apache-2.0" ]
null
null
null
lib/error.ex
easink/heos_ex
7a897d253548528e7ab2dcadfdcb6c1cbb27179f
[ "Apache-2.0" ]
null
null
null
lib/error.ex
easink/heos_ex
7a897d253548528e7ab2dcadfdcb6c1cbb27179f
[ "Apache-2.0" ]
null
null
null
defmodule Heos.Error do @moduledoc """ Heos.Error """ defstruct reason: "" end
11
23
0.636364
18f5245d7e4ce6390a44930357ed833b430c85a6
608
ex
Elixir
lib/system/aggregate_pid_manager.ex
exponentially/extreme_system
c3a63af286ace236726b32cc28b7b5445a9a9a29
[ "MIT" ]
9
2017-03-16T00:19:09.000Z
2022-01-28T21:22:21.000Z
lib/system/aggregate_pid_manager.ex
exponentially/extreme_system
c3a63af286ace236726b32cc28b7b5445a9a9a29
[ "MIT" ]
16
2018-09-05T07:44:17.000Z
2019-04-29T09:18:09.000Z
lib/system/aggregate_pid_manager.ex
exponentially/extreme_system
c3a63af286ace236726b32cc28b7b5445a9a9a29
[ "MIT" ]
7
2017-12-24T22:36:25.000Z
2020-08-26T17:40:45.000Z
defmodule Extreme.System.AggregatePidManager do use Supervisor alias Extreme.System.AggregateRegistry, as: Registry alias Extreme.System.AggregateSup def start_link(prefix, aggregate_mod), do: Supervisor.start_link(__MODULE__, {prefix, aggregate_mod}, name: name(aggregate_mod)) def init({prefix, aggrega...
30.4
93
0.741776
18f542fed1ce251b68636b8c27b5b114b78edc99
436
ex
Elixir
src/color.ex
ErikBavenstrand/Mandelbrot-Visualization
bcba6e16f49f42998b299590a230de02b9a28ea4
[ "MIT" ]
1
2021-09-24T12:34:00.000Z
2021-09-24T12:34:00.000Z
src/color.ex
ErikBavenstrand/Mandelbrot-Visualization
bcba6e16f49f42998b299590a230de02b9a28ea4
[ "MIT" ]
null
null
null
src/color.ex
ErikBavenstrand/Mandelbrot-Visualization
bcba6e16f49f42998b299590a230de02b9a28ea4
[ "MIT" ]
null
null
null
defmodule Color do #Convert a depth and a max depth to a rgb color def convert(depth, max) do f = depth/ max a = f * 4 x = trunc(a) y = trunc(255 * (a - x)) case x do 0 -> {:rgb, y, 0, 0} 1 -> {:rgb, 255, y, 0} 2 -> {:rg...
25.647059
52
0.37156
18f56d4d2373082789fa91958ee7319a3c7f64e1
659
exs
Elixir
day21/test/day21_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day21/test/day21_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
null
null
null
day21/test/day21_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day21Test do use ExUnit.Case doctest Day21 test "part 1 with example" do assert Day21.part1(example()) == 739785 end test "part 1 with my input data" do assert Day21.part1(input()) == 752745 end test "part 2 with example" do assert Day21.part2(example()) == 444356092776315 end ...
19.382353
52
0.637329
18f571c66b367feb3efeca8e35129af5ba5790b7
3,290
exs
Elixir
test/controllers/column_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
test/controllers/column_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
test/controllers/column_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.ColumnControllerTest do use AfterGlow.ConnCase alias AfterGlow.Column alias AfterGlow.Repo @valid_attrs %{name: "some content", type: "some content"} @invalid_attrs %{} setup do conn = build_conn() |> put_req_header("accept", "application/vnd.api+json") |> put_req_head...
27.647059
98
0.587842
18f574ad1bebc59f300388430ba196133247384a
1,061
exs
Elixir
test/journal/adapters/ipfs_test.exs
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
1
2019-08-09T06:01:42.000Z
2019-08-09T06:01:42.000Z
test/journal/adapters/ipfs_test.exs
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
3
2019-02-23T23:31:16.000Z
2019-03-07T15:22:23.000Z
test/journal/adapters/ipfs_test.exs
revelrylabs/journal
82450c22a5f77e152a0f91ba37345bc411e002e0
[ "MIT" ]
1
2020-03-05T21:17:21.000Z
2020-03-05T21:17:21.000Z
defmodule Journal.Adapters.IPFSTest do use ExUnit.Case, async: true setup_all do Application.put_env(:journal, Journal.IPFS, url: "http://localhost:5001") {:ok, _} = Journal.IPFS.start_link() :ok end test "put and get" do Journal.IPFS.put("/hello/test.txt", "there") assert {:ok, %Journal....
30.314286
88
0.641847
18f57f6190d09012ba2ddda1336a28b46f8085a8
2,459
exs
Elixir
apps/gitgud_web/test/gitgud_web/controllers/session_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/gitgud_web/controllers/session_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/gitgud_web/controllers/session_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.SessionControllerTest do use GitGud.Web.ConnCase, async: true use GitGud.Web.DataFactory alias GitGud.Email alias GitGud.User alias GitGud.Web.LayoutView test "renders login form", %{conn: conn} do conn = get(conn, Routes.session_path(conn, :new)) assert {:ok, html} = Floki.p...
43.140351
132
0.684018
18f594ab30b2939925682178fe4f87d4a4160709
1,975
ex
Elixir
tests/dummy/web/router.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/web/router.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/web/router.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
defmodule Dummy.Router do use Dummy.Web, :router alias Autox.SessionUtils def has_owner?(conn) do with %{owner_id: id} when is_binary(id) <- SessionUtils.current_session(conn) do true else false end end @moduledoc """ Upcoming: ## Characteristics Characteristics should be a bit l...
17.477876
84
0.642532
18f59978a867d1dd3dd7a3920fe61e2f521a878b
429
exs
Elixir
src/test/block_clock_web/views/error_view_test.exs
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
1
2021-12-16T09:01:44.000Z
2021-12-16T09:01:44.000Z
src/test/block_clock_web/views/error_view_test.exs
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
null
null
null
src/test/block_clock_web/views/error_view_test.exs
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
null
null
null
defmodule BlockClockWeb.ErrorViewTest do use BlockClockWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(BlockClockWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
18f5f599cb4ee6ac0f2b17c4b6ab72b07d4b3ac0
5,131
exs
Elixir
lib/mix/test/mix/project_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/mix/test/mix/project_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/project_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.ProjectTest do use MixTest.Case defmodule SampleProject do def project do [app: :sample, hello: "world"] end end test "returns consolidation path" do config = [apps_path: "apps", build_per_environment: true] assert Mix.Projec...
31.478528
105
0.654453
18f60cf6935b2664a489c5c449a86aac84a3ef78
712
ex
Elixir
apps/buzzcms_web/lib/buzzcms_web/resolver.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms_web/lib/buzzcms_web/resolver.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms_web/lib/buzzcms_web/resolver.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule BuzzcmsWeb.Resolver do defmacro __using__(_opts) do quote do alias Buzzcms.Repo alias BuzzcmsWeb.ResolverHelper import Ecto.Query def list(params, %{context: _} = _info) do ResolverHelper.list( params, @schema, @filter_definition, ...
20.941176
52
0.594101
18f6219e4379293b0506bc99c5559d0b41c231f9
1,835
ex
Elixir
test/support/model_case.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
test/support/model_case.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
test/support/model_case.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
defmodule Colorstorm.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. F...
27.80303
84
0.684469
18f62c1edc1775479fb6fa3c580df903177c0923
62
ex
Elixir
lib/utility_web/views/about_view.ex
dbernheisel/elixir-regex
250258474396269e278d23c052e714d2bf80f763
[ "MIT" ]
25
2020-09-16T22:01:53.000Z
2022-03-12T02:01:01.000Z
lib/utility_web/views/about_view.ex
dbernheisel/elixir-regex
250258474396269e278d23c052e714d2bf80f763
[ "MIT" ]
2
2021-07-26T20:30:26.000Z
2022-03-29T19:51:48.000Z
lib/utility_web/views/about_view.ex
zestcreative/elixir-utilities-web
6d7545b61939a038bb277790bb9a9ccd683dd16a
[ "MIT" ]
null
null
null
defmodule UtilityWeb.AboutView do use UtilityWeb, :view end
15.5
33
0.806452
18f6d4a2d7fbf10002dec1d1608cfc195a6b7e31
1,550
exs
Elixir
test/kaur/result_test.exs
fewlinesco/kaur_result
a44427f73eb7e6f34a18e0244d2575327e109807
[ "MIT" ]
null
null
null
test/kaur/result_test.exs
fewlinesco/kaur_result
a44427f73eb7e6f34a18e0244d2575327e109807
[ "MIT" ]
1
2018-06-01T14:48:35.000Z
2018-06-04T16:30:34.000Z
test/kaur/result_test.exs
fewlinesco/kaur_result
a44427f73eb7e6f34a18e0244d2575327e109807
[ "MIT" ]
null
null
null
defmodule Kaur.ResultTest do use ExUnit.Case import ExUnit.CaptureIO alias Kaur.Result doctest Kaur.Result test "tap: calls the function and returns original data" do original = Result.ok("World") assert "Hello World\n" == capture_io(fn -> assert original == ...
27.192982
75
0.48129
18f6dcedfcf377654fdb0701e6ee2a01af0e3d66
23,488
ex
Elixir
lib/mix/lib/mix/tasks/xref.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Xref do use Mix.Task import Mix.Compilers.Elixir, only: [read_manifest: 1, source: 0, source: 1, source: 2, module: 1] @shortdoc "Performs cross reference checks" @recursive true @manifest "compile.elixir" @moduledoc """ Performs cross reference checks between modules. The un...
29.396746
98
0.63773
18f6f49ed609064ebab0ddea648c5fece41075ed
292
exs
Elixir
priv/repo/migrations/20200415112347_job_post.exs
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
1
2021-07-31T16:28:53.000Z
2021-07-31T16:28:53.000Z
priv/repo/migrations/20200415112347_job_post.exs
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
null
null
null
priv/repo/migrations/20200415112347_job_post.exs
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
null
null
null
defmodule Findmeajob.Repo.Migrations.JobPost do use Ecto.Migration def change do create table(:job_posts) do add :title, :string add :company, :string add :link, :string add :location, :string add :added_on, :string timestamps() end end end
19.466667
47
0.640411
18f70ade4d5ab877a8a6a2f68473caf81ba76171
869
ex
Elixir
lib/maxwell_request_id/middleware.ex
doughsay/maxwell_request_id
25232d4b638cd16a1ff92dc1d18298e4c68dfcec
[ "MIT" ]
5
2017-04-02T06:21:46.000Z
2018-09-19T14:30:06.000Z
lib/maxwell_request_id/middleware.ex
doughsay/maxwell_request_id
25232d4b638cd16a1ff92dc1d18298e4c68dfcec
[ "MIT" ]
30
2017-04-02T17:42:39.000Z
2019-07-17T17:33:04.000Z
lib/maxwell_request_id/middleware.ex
doughsay/maxwell_request_id
25232d4b638cd16a1ff92dc1d18298e4c68dfcec
[ "MIT" ]
null
null
null
defmodule MaxwellRequestId.Middleware do @moduledoc """ Maxwell middleware for adding x-request-id to outgoing requests. It takes the `:request_id` property from the Logger metadata and passes it on under the `x-request-id` header in outgoing http requests made through maxwell. ### Example usage ``` def...
24.138889
114
0.698504
18f7158cf9a5f3f9b47b211c03cf89a7ae9d798f
956
exs
Elixir
apps/hometree/config/config.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
apps/hometree/config/config.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
apps/hometree/config/config.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :hometree, Hometree.Endpoint, url: [host: "localho...
31.866667
86
0.759414
18f715ee20d8d99b00db9778f3ef6d9ec4506baf
862
exs
Elixir
apps/bingo_hall/config/config.exs
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
2
2018-05-30T11:17:19.000Z
2018-11-08T19:04:09.000Z
apps/bingo_hall/config/config.exs
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
null
null
null
apps/bingo_hall/config/config.exs
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :bingo_hall, BingoHallWeb.Endpoint, url: [host: "l...
35.916667
86
0.762181
18f73f55bce6a58062c604d50e20a37c71ecadcf
339
ex
Elixir
lib/ex_aws_secrets_manager_cache.ex
Tolsee/ex-aws-secretsmanager-cache
9bfd54288fe7897b08f315e691c6a8cfe7884344
[ "MIT" ]
null
null
null
lib/ex_aws_secrets_manager_cache.ex
Tolsee/ex-aws-secretsmanager-cache
9bfd54288fe7897b08f315e691c6a8cfe7884344
[ "MIT" ]
4
2020-05-15T03:48:34.000Z
2020-05-15T05:58:09.000Z
lib/ex_aws_secrets_manager_cache.ex
Tolsee/ex-aws-secretsmanager-cache
9bfd54288fe7897b08f315e691c6a8cfe7884344
[ "MIT" ]
null
null
null
defmodule ExAwsSecretsManagerCache do @moduledoc """ `ExAwsSecretsManagerCache` It provides common utility functions to interact with Aws Secrets Manager """ @doc """ Returns secrets value """ @spec get_secret(String.t()) :: {:ok, String.t()} | {:error, :not_found} def get_secret(name) do "#{nam...
21.1875
75
0.681416
18f73fe1f6b9aaee707dde65f043d455668f0418
275
exs
Elixir
config/test.exs
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
4
2020-05-30T21:21:11.000Z
2020-06-03T10:46:41.000Z
config/test.exs
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
2
2021-03-10T20:18:30.000Z
2021-05-11T15:51:54.000Z
config/test.exs
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :plugoid_demo, PlugoidDemoWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
25
56
0.745455
18f7859d2d8b5d13c94e6165bd414169c43aa379
797
ex
Elixir
lib/policr_mini.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMini do @moduledoc """ PolicrMini 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. """ defmacro __using__(business: schema_module) do quote do ...
27.482759
90
0.651192
18f786713e3d64c89ab863e80137d6dbbe4ea454
10,258
ex
Elixir
lib/bypass/instance.ex
ulissesalmeida/bypass
a60bba9855036f8aba5d6879644a87fb003cc4ee
[ "MIT" ]
null
null
null
lib/bypass/instance.ex
ulissesalmeida/bypass
a60bba9855036f8aba5d6879644a87fb003cc4ee
[ "MIT" ]
null
null
null
lib/bypass/instance.ex
ulissesalmeida/bypass
a60bba9855036f8aba5d6879644a87fb003cc4ee
[ "MIT" ]
null
null
null
defmodule Bypass.Instance do use GenServer import Bypass.Utils # This is used to override the default behaviour of ranch_tcp # and limit the range of interfaces it will listen on to just # the loopback interface. @listen_ip {127, 0, 0, 1} def start_link(opts \\ []) do GenServer.start_link(__MODULE_...
30.529762
162
0.616202
18f7e4e047ace1ed241393539c2bc369fa1cc25b
81
exs
Elixir
test/views/layout_view_test.exs
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
19
2017-02-26T10:18:00.000Z
2022-01-18T18:21:28.000Z
test/views/layout_view_test.exs
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
1
2017-10-29T22:37:47.000Z
2017-10-29T22:37:47.000Z
test/views/layout_view_test.exs
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
4
2017-08-07T23:33:01.000Z
2020-02-27T12:36:25.000Z
defmodule ElmBlogger.LayoutViewTest do use ElmBlogger.ConnCase, async: true end
27
38
0.839506