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
4a967611e98e0a3072d6ad813ef73505a5297cad
2,722
exs
Elixir
test/producer_test.exs
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
89
2015-11-17T01:15:02.000Z
2022-01-31T20:17:17.000Z
test/producer_test.exs
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
20
2016-06-17T14:15:22.000Z
2019-09-23T13:31:18.000Z
test/producer_test.exs
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
33
2016-01-28T15:20:43.000Z
2021-12-18T14:36:19.000Z
defmodule NSQ.ProducerTest do use ExUnit.Case, async: true doctest NSQ.Producer @test_topic "__nsq_producer_test_topic__" @test_channel1 "__nsq_producer_test_channel1__" @configured_nsqds ["127.0.0.1:6750", "127.0.0.1:6760"] setup do Logger.configure(level: :warn) HTTPotion.post("http://127.0.0.1:...
34.025
96
0.668993
4a969350ec28ce4e7d883c317cd8e1e07c269272
1,296
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.609756
104
0.746914
4a969b5e242d5c990ba51d5707b856b256a30c51
5,180
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/menu_item.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/mirror/lib/google_api/mirror/v1/model/menu_item.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/mirror/lib/google_api/mirror/v1/model/menu_item.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
63.950617
447
0.723745
4a96aab96c79b76284ab1ce61fe8a875281ef9d4
2,873
exs
Elixir
persistent_list/test/persistent_list_test/day07_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_list/test/persistent_list_test/day07_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_list/test/persistent_list_test/day07_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule PersistentListTest.Day07 do use ExUnit.Case import PersistentList.Day07 defp empty(), do: new() defp from_to(from, to), do: empty() |> from_to(from, to) defp from_to(list, from, to) when from == to + 1, do: list defp from_to(list, from, to), do: list |> appen...
26.118182
60
0.494953
4a96b410550dd3e626c84e3ebe5976f329a2f63e
2,698
ex
Elixir
lib/mix/lib/mix/tasks/do.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/do.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/do.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Do do use Mix.Task @shortdoc "Executes the tasks separated by comma" @moduledoc """ Executes the tasks separated by comma: mix do compile --list, deps The comma should be followed by a space. ## Examples The example below prints the available compilers and then the list o...
24.752294
90
0.659748
4a96ce3a0fe71ff6b13825e98114e1dbd253927b
411
ex
Elixir
lib/phoenix_sample_web/controllers/page_controller.ex
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
null
null
null
lib/phoenix_sample_web/controllers/page_controller.ex
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
null
null
null
lib/phoenix_sample_web/controllers/page_controller.ex
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
null
null
null
defmodule PhoenixSampleWeb.PageController do use PhoenixSampleWeb, :controller @version Mix.Project.config[:version] def health(conn, params) do text(conn, Poison.encode!%{ State: "ok", Nodes: Node.list ++ [node], Date: DateTime.utc_now(), Version: @version }) end def loade...
24.176471
59
0.676399
4a96e09458ab4753dcadd77c4b6d32d0a742f46e
2,608
ex
Elixir
lib/glimesh_web.ex
mja00/glimesh.tv
1f543bfdf68de269d0984041ed8394b78fb2158d
[ "MIT" ]
null
null
null
lib/glimesh_web.ex
mja00/glimesh.tv
1f543bfdf68de269d0984041ed8394b78fb2158d
[ "MIT" ]
null
null
null
lib/glimesh_web.ex
mja00/glimesh.tv
1f543bfdf68de269d0984041ed8394b78fb2158d
[ "MIT" ]
null
null
null
defmodule GlimeshWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use GlimeshWeb, :controller use GlimeshWeb, :view The definitions below will be executed for every view, controller, ...
22.101695
78
0.655291
4a96ebb59626ac03f43242f6af5ed902c74165b4
1,712
ex
Elixir
lib/neko/user_rate/user_rate.ex
Pussymuy/neko-achievements
89bad224a7da25a071f5681b791e87182b05784c
[ "MIT" ]
null
null
null
lib/neko/user_rate/user_rate.ex
Pussymuy/neko-achievements
89bad224a7da25a071f5681b791e87182b05784c
[ "MIT" ]
null
null
null
lib/neko/user_rate/user_rate.ex
Pussymuy/neko-achievements
89bad224a7da25a071f5681b791e87182b05784c
[ "MIT" ]
null
null
null
defmodule Neko.UserRate do @moduledoc false alias Neko.UserRate.Store alias Neko.UserRate.Store.Registry defstruct ~w( id user_id target_id score status )a def from_request(request) do struct(__MODULE__, Map.from_struct(request)) end def load(user_id) do case Registry.loo...
24.457143
70
0.686916
4a96ecded4b1a93608cf93829046317ed3708861
2,322
ex
Elixir
lib/ExTopWindow.ex
DwayneDibley/ExTop
58199ae53eb87d18f9b65d260cda072ccbaae52a
[ "Apache-2.0" ]
null
null
null
lib/ExTopWindow.ex
DwayneDibley/ExTop
58199ae53eb87d18f9b65d260cda072ccbaae52a
[ "Apache-2.0" ]
null
null
null
lib/ExTopWindow.ex
DwayneDibley/ExTop
58199ae53eb87d18f9b65d260cda072ccbaae52a
[ "Apache-2.0" ]
null
null
null
defmodule ExTopWindow do use WxDsl import WxDefines def createWindow(show) do mainWindow name: :elixir_top_window, show: show, setFocus: true do # Create a simple frame. frame id: :main_frame, title: "Elixir Top", size: {900, 600}, pos: {200, 100} do me...
36.28125
86
0.559432
4a96fe9ff45e985a7788b708b421e079827ab904
396
ex
Elixir
web/views/error_view.ex
harmon25/phoenix_boiler
dfd80a01753ede234808595b0846802c2c7b9761
[ "MIT" ]
null
null
null
web/views/error_view.ex
harmon25/phoenix_boiler
dfd80a01753ede234808595b0846802c2c7b9761
[ "MIT" ]
null
null
null
web/views/error_view.ex
harmon25/phoenix_boiler
dfd80a01753ede234808595b0846802c2c7b9761
[ "MIT" ]
null
null
null
defmodule PhoenixReactBoiler.ErrorView do use PhoenixReactBoiler.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def templat...
22
47
0.714646
4a96ffa2f023cd15c097f1c8e41f171a6db7abe8
1,457
exs
Elixir
test/collector_protocol_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
test/collector_protocol_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
test/collector_protocol_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule CollectorProtocolTest do use ExUnit.Case alias NewRelic.Harvest.Collector test "handles invalid license key" do previous_logger = GenServer.call(NewRelic.Logger, {:logger, :memory}) reset_config = TestHelper.update(:nr_config, license_key: "invalid_key", harvest_enabled: true) asser...
31
92
0.682224
4a9728397bdfa0bce1b14ed17b50fa0bfd5418ec
872
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/tpu/lib/google_api/tpu/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tpu/lib/google_api/tpu/v1/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...
32.296296
74
0.755734
4a9737532ac9079c6a65783920203315763015ef
3,603
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/enum_property_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/enum_property_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/enum_property_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.356164
176
0.751596
4a9740eefefb689afb521887f0e4d977a01dc840
188
ex
Elixir
lib/farmbot/celery_script/ast/arg/channel_name.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/celery_script/ast/arg/channel_name.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/celery_script/ast/arg/channel_name.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.CeleryScript.AST.Arg.ChannelName do @moduledoc false @behaviour Farmbot.CeleryScript.AST.Arg def decode(val), do: {:ok, val} def encode(val), do: {:ok, val} end
23.5
53
0.723404
4a976b71042f1e380d5949548d074dc6c4ab12cc
101
ex
Elixir
lib/ex_21/repo.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
lib/ex_21/repo.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
lib/ex_21/repo.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
defmodule Ex21.Repo do use Ecto.Repo, otp_app: :ex_21, adapter: Ecto.Adapters.Postgres end
16.833333
35
0.712871
4a977dd7aea47001e08cc0732af9981946612ab9
345
ex
Elixir
lib/meeseeks/selector/xpath/expr/negative.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
lib/meeseeks/selector/xpath/expr/negative.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
lib/meeseeks/selector/xpath/expr/negative.ex
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.Negative do use Meeseeks.Selector.XPath.Expr @moduledoc false alias Meeseeks.Selector.XPath.Expr defstruct e: nil @impl true def eval(expr, node, document, context) do Expr.eval(expr.e, node, document, context) |> Expr.Helpers.number(document) |> Expr.He...
21.5625
50
0.721739
4a978efd38928966beaedd376ab355f1ba876221
836
ex
Elixir
lib/dwolla/client_token.ex
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
5
2022-01-20T11:33:40.000Z
2022-01-21T14:41:20.000Z
lib/dwolla/client_token.ex
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
null
null
null
lib/dwolla/client_token.ex
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
null
null
null
defmodule Dwolla.ClientToken do @moduledoc """ Functions for "client-tokens" endpoint. """ alias Dwolla.Utils defstruct token: nil @type t :: %__MODULE__{token: String.t} @type token :: String.t @type params :: %{required(atom) => String.t | integer} @type error :: HTTPoison.Error.t | Dwolla.Errors...
21.435897
78
0.626794
4a979c2d58c585ca60bc2cb5d2539b03b52937dc
19,724
exs
Elixir
test/migration_generator_test.exs
ash-project/ash_postgres
ff261d75bb89a2640de042c5c7af45de8a3a32d8
[ "MIT" ]
13
2020-09-04T22:31:23.000Z
2022-02-06T13:24:23.000Z
test/migration_generator_test.exs
ash-project/ash_postgres
ff261d75bb89a2640de042c5c7af45de8a3a32d8
[ "MIT" ]
57
2019-12-04T15:23:41.000Z
2022-02-14T22:55:16.000Z
test/migration_generator_test.exs
ash-project/ash_postgres
ff261d75bb89a2640de042c5c7af45de8a3a32d8
[ "MIT" ]
15
2020-10-22T13:26:25.000Z
2021-07-26T23:49:42.000Z
defmodule AshPostgres.MigrationGeneratorTest do use AshPostgres.RepoCase, async: false @moduletag :migration defmacrop defposts(mod \\ Post, do: body) do quote do Code.compiler_options(ignore_module_conflict: true) defmodule unquote(mod) do use Ash.Resource, data_layer: AshPost...
25.986825
138
0.586696
4a97a8178e81c3d4b77bb4bfc7af58962a9b4225
104
ex
Elixir
test/support/bypass.ex
couchemar/elixir-janus
50dd60ff056ea93dd282fb8ea050d1addf4bfc5d
[ "MIT" ]
41
2016-12-21T13:28:14.000Z
2021-09-11T14:48:05.000Z
test/support/bypass.ex
meetupcall/elixir-janus
af24ac04ef61d40ea0a582c0d182826d2075eb72
[ "MIT" ]
11
2017-01-04T20:22:16.000Z
2020-09-07T06:29:22.000Z
test/support/bypass.ex
meetupcall/elixir-janus
af24ac04ef61d40ea0a582c0d182826d2075eb72
[ "MIT" ]
13
2016-12-21T13:28:16.000Z
2021-05-15T07:48:50.000Z
defmodule Janus.Bypass do def endpoint_url(bypass), do: "http://localhost:#{bypass.port}/janus" end
17.333333
71
0.730769
4a97c186e1ee9a6e663121b5060570b512902b14
2,472
exs
Elixir
mix.exs
aselder/swoosh
c900f4b079114499fad5fa5aed320ba7231d263e
[ "MIT" ]
null
null
null
mix.exs
aselder/swoosh
c900f4b079114499fad5fa5aed320ba7231d263e
[ "MIT" ]
null
null
null
mix.exs
aselder/swoosh
c900f4b079114499fad5fa5aed320ba7231d263e
[ "MIT" ]
1
2019-11-05T19:06:55.000Z
2019-11-05T19:06:55.000Z
defmodule Swoosh.Mixfile do use Mix.Project @version "0.21.0" def project do [ app: :swoosh, version: @version, elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), al...
24.72
131
0.546117
4a97e9430da0228d897f3b1108ec7c4b4a43fcac
3,401
ex
Elixir
lib/cubdb/reader.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
318
2019-06-17T16:54:25.000Z
2022-03-09T07:37:23.000Z
lib/cubdb/reader.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
29
2019-07-03T13:46:28.000Z
2022-02-15T10:44:58.000Z
lib/cubdb/reader.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
18
2019-06-29T04:40:22.000Z
2022-01-18T16:30:15.000Z
defmodule CubDB.Reader do @moduledoc false # The `CubDB.Reader` module performs all read operations that involve access # to the store. Each read operation is ran in its own process, as a `Task`, so # that read operations can run concurrently. Read operations are performed on # the Btree representing a snaps...
30.63964
90
0.620406
4a97f6b135e4b6ab3dcd60f23321d6e0768c9a3d
2,059
exs
Elixir
firmware/mix.exs
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
34
2017-08-30T02:29:41.000Z
2021-05-29T20:21:43.000Z
firmware/mix.exs
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
7
2017-09-12T05:27:23.000Z
2020-01-06T22:07:52.000Z
firmware/mix.exs
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
9
2017-09-11T22:17:55.000Z
2022-01-31T03:07:58.000Z
defmodule Squitter.Firmware.Mixfile do use Mix.Project @target System.get_env("MIX_TARGET") || "host" Mix.shell.info([:green, """ Mix environment MIX_TARGET: #{@target} MIX_ENV: #{Mix.env} """, :reset]) def project do [app: :squitter_firmware, version: "0.1.0", elixir: "~> 1....
29
95
0.623604
4a97fa9040bb471c6a7619194c65b7d305ffbb0b
146
ex
Elixir
test/support/test_config_mod.ex
DinaWork/google-auth
bd9bf156c9f2efeed874fc7af9f6b78e2be31be4
[ "MIT" ]
null
null
null
test/support/test_config_mod.ex
DinaWork/google-auth
bd9bf156c9f2efeed874fc7af9f6b78e2be31be4
[ "MIT" ]
null
null
null
test/support/test_config_mod.ex
DinaWork/google-auth
bd9bf156c9f2efeed874fc7af9f6b78e2be31be4
[ "MIT" ]
null
null
null
defmodule GoogleAuth.TestConfigMod do use GoogleAuth.Config def init(config) do {:ok, Keyword.put(config, :actor_email, :val)} end end
18.25
50
0.726027
4a980024610f4626315f236fc059119876e5ccfd
205
exs
Elixir
priv/repo/migrations/20180601170007_create_boards.exs
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
9
2019-04-10T12:30:20.000Z
2020-09-07T15:07:02.000Z
priv/repo/migrations/20180601170007_create_boards.exs
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
3
2019-10-28T10:39:06.000Z
2020-09-30T21:56:31.000Z
priv/repo/migrations/20180601170007_create_boards.exs
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
null
null
null
defmodule Vuetaba.Repo.Migrations.CreateBoards do use Ecto.Migration def change do create table(:boards) do add :name, :string add :tag, :string timestamps() end end end
14.642857
49
0.653659
4a9804673b7ebf8ef622186b00b8820b221e00cd
612
ex
Elixir
apps/commuter_rail_boarding/lib/trip_updates/producer_consumer.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/commuter_rail_boarding/lib/trip_updates/producer_consumer.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/commuter_rail_boarding/lib/trip_updates/producer_consumer.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TripUpdates.ProducerConsumer do @moduledoc """ GenStage ProducerConsumer which turns a list of BoardingStatus structs into an enhanced TripUpdates JSON file. """ use GenStage import StageHelpers def start_link(args) do GenStage.start_link(__MODULE__, args, start_link_opts(args)) end def ...
23.538462
112
0.694444
4a981c769f7d1941da17dc653dd9c2b36149479d
783
exs
Elixir
test/models/ticket_test.exs
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
4
2017-01-03T16:34:07.000Z
2017-07-12T09:24:03.000Z
test/models/ticket_test.exs
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
null
null
null
test/models/ticket_test.exs
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
null
null
null
defmodule TicketPoker.TicketTest do use TicketPoker.ModelCase alias TicketPoker.Ticket @valid_attrs %{estimates: %{}, point_options: [], url: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Ticket.changeset(%Ticket{}, @valid_attrs) assert changeset.valid? ...
23.727273
72
0.587484
4a984355937bfd769f7485f14c23cdc22d3a7e73
2,306
exs
Elixir
mix.exs
ash-project/ash_csv
5cfe071e4aeb4c0d93a4a296288d4ed355e74d21
[ "MIT" ]
1
2021-05-22T06:47:35.000Z
2021-05-22T06:47:35.000Z
mix.exs
ash-project/ash_csv
5cfe071e4aeb4c0d93a4a296288d4ed355e74d21
[ "MIT" ]
3
2020-08-25T19:20:06.000Z
2020-12-19T00:06:59.000Z
mix.exs
ash-project/ash_csv
5cfe071e4aeb4c0d93a4a296288d4ed355e74d21
[ "MIT" ]
4
2021-01-13T17:36:18.000Z
2022-03-25T10:02:36.000Z
defmodule AshCsv.MixProject do use Mix.Project @version "0.8.3" @description "A CSV data layer for Ash" def project do [ app: :ash_csv, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, package: package(), deps: deps(), test_coverage: [to...
25.065217
87
0.555507
4a9845f767d2339d94bb21ae3eb133716ff11a0c
21,076
exs
Elixir
test/fi_fo_test.exs
hrzndhrn/fi_fo
5237170ae7af08066f628da5273f36af7de6c803
[ "MIT" ]
null
null
null
test/fi_fo_test.exs
hrzndhrn/fi_fo
5237170ae7af08066f628da5273f36af7de6c803
[ "MIT" ]
null
null
null
test/fi_fo_test.exs
hrzndhrn/fi_fo
5237170ae7af08066f628da5273f36af7de6c803
[ "MIT" ]
null
null
null
defmodule FiFoTest do use ExUnit.Case doctest FiFo test "new/0" do assert FiFo.new() == %FiFo{} end describe "concat/1" do test "with an empty list" do assert FiFo.concat([]) == %FiFo{} end test "with one queue" do assert FiFo.concat([%FiFo{rear: [1], front: []}]) == %FiFo{rear:...
34.494272
94
0.494164
4a984ef2759c3ebe682783c5d999126bb40dfbc1
2,259
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/campaign_manager_ids.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/campaign_manager_ids.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/campaign_manager_ids.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...
36.435484
154
0.68703
4a9958f6de8906408aaf9f1abda588c9cda9f859
1,218
ex
Elixir
lib/still/compiler/incremental/registry.ex
mrmicahcooper/still
ba785b0b068d998d0343f73a1fd1795edbe9831c
[ "0BSD" ]
2
2021-02-15T07:55:38.000Z
2021-03-05T18:04:53.000Z
lib/still/compiler/incremental/registry.ex
mrmicahcooper/still
ba785b0b068d998d0343f73a1fd1795edbe9831c
[ "0BSD" ]
null
null
null
lib/still/compiler/incremental/registry.ex
mrmicahcooper/still
ba785b0b068d998d0343f73a1fd1795edbe9831c
[ "0BSD" ]
null
null
null
defmodule Still.Compiler.Incremental.Registry do @moduledoc """ Supervisor that maps files (based on their name) to PIDs of `Still.Compiler.Incremental.Node`. """ use DynamicSupervisor alias Still.Compiler.Incremental def start_link(_) do DynamicSupervisor.start_link(__MODULE__, %{}, name: __MODULE__)...
25.375
96
0.682266
4a99612da860aeb4eca4022c708ae1a6502cbadb
2,000
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/set_iam_policy_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/set_iam_policy_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/set_iam_policy_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40
296
0.7525
4a997478bfebaa9b062a011680a2a0f173b12257
94
exs
Elixir
config/config.exs
firevale/kaffy
329c0cbd1bf3589d26140543a4f574273a74b600
[ "MIT" ]
12
2020-01-05T14:47:36.000Z
2021-07-23T14:59:19.000Z
config/config.exs
firevale/kaffy
329c0cbd1bf3589d26140543a4f574273a74b600
[ "MIT" ]
4
2020-01-16T04:55:36.000Z
2021-07-05T14:13:37.000Z
config/config.exs
firevale/kaffy
329c0cbd1bf3589d26140543a4f574273a74b600
[ "MIT" ]
7
2020-01-22T07:48:51.000Z
2021-07-23T14:59:25.000Z
use Mix.Config # Use Jason for JSON parsing in Phoenix config :phoenix, :json_library, Jason
18.8
39
0.776596
4a998bfd39e91cc2f462b6fb069c93ffa85c5ba8
1,023
exs
Elixir
mix.exs
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
4
2019-03-17T15:27:31.000Z
2020-05-19T17:35:21.000Z
mix.exs
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
null
null
null
mix.exs
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
3
2019-02-15T21:48:51.000Z
2019-04-08T06:43:38.000Z
defmodule Paperwork.Users.MixProject do use Mix.Project def project do [ app: :paperwork_service_users, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ ...
26.230769
79
0.41349
4a99a7446970f83ff1f41f96a3bed5accf42c4be
1,115
exs
Elixir
config/config.exs
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
5
2017-06-18T14:19:47.000Z
2021-08-18T17:08:51.000Z
config/config.exs
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
1
2017-11-02T21:44:24.000Z
2017-11-03T12:19:54.000Z
config/config.exs
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
1
2017-11-28T23:10:39.000Z
2017-11-28T23:10:39.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
4a99ac4b50c7635ca38672dd6a29cc7071b0f871
748
ex
Elixir
lib/codes/codes_i11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_I11 do alias IcdCode.ICDCode def _I110 do %ICDCode{full_code: "I110", category_code: "I11", short_code: "0", full_name: "Hypertensive heart disease with heart failure", short_name: "Hypertensive heart disease with heart failure", c...
29.92
75
0.653743
4a99dfdd2d990b7f354e3fb7651e7f9790eea9a0
76
exs
Elixir
config/config.exs
ericmj/file_system
adc9aad3ea3002f26eabebae1ead5351a43926be
[ "WTFPL" ]
819
2016-11-25T07:12:04.000Z
2022-03-16T06:59:36.000Z
config/config.exs
ericmj/file_system
adc9aad3ea3002f26eabebae1ead5351a43926be
[ "WTFPL" ]
71
2016-11-24T20:19:09.000Z
2021-06-09T10:12:23.000Z
config/config.exs
ericmj/file_system
adc9aad3ea3002f26eabebae1ead5351a43926be
[ "WTFPL" ]
56
2015-01-10T23:34:12.000Z
2016-11-17T00:13:56.000Z
use Mix.Config if :test == Mix.env() do config :logger, backends: [] end
12.666667
30
0.644737
4a99e2460ad57fdc428343ad3b0cdbcf29061353
926
ex
Elixir
lib/phxcrd_web/plugs/set_current_user.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
18
2019-06-21T09:55:46.000Z
2022-02-16T18:44:17.000Z
lib/phxcrd_web/plugs/set_current_user.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
16
2019-05-21T20:19:44.000Z
2020-05-12T08:30:42.000Z
lib/phxcrd_web/plugs/set_current_user.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
2
2019-09-05T00:35:27.000Z
2020-10-17T16:36:35.000Z
defmodule Phxcrd.Plugs.SetCurrentUser do import Plug.Conn def init(_params) do end def call(conn, _params) do user_id = get_session(conn, :user_id) username = get_session(conn, :username) perms = get_session(conn, :permissions) authority_id = get_session(conn, :authority_id) authority_name...
26.457143
55
0.607991
4a99fb9ab660a233fe8ccc51d7d83e3689aae1c4
18,165
exs
Elixir
lib/iex/test/iex/helpers_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers test "clear helper" do Application.put_env(:elixir, :ansi_enabled, true) assert capture_iex("clear()") == "\e[H\e[2J" Application.put_env(:elixir, :ansi_enabled, false) assert capture_i...
30.945486
151
0.622571
4a9a0dfbd22695c891883eae3829106a0edacbb0
1,881
exs
Elixir
test/cforum_web/views/helpers/path_test.exs
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
test/cforum_web/views/helpers/path_test.exs
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
test/cforum_web/views/helpers/path_test.exs
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.Views.Helpers.PathTest do use CforumWeb.ConnCase, async: true test "Path.thread_path/2 generates thread path from slug", %{conn: conn} do t = build(:thread) assert Path.thread_path(conn, :show, t) == "/#{t.forum.slug}#{t.slug}" end test "Path.thread_path/3 generates thread path wit...
36.882353
117
0.597023
4a9a2001513f0f01e9548f61846332a7b10d1c64
2,027
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.54
527
0.744943
4a9a25408494a5219f31823d124ff63a9d7e1365
2,265
ex
Elixir
lib/sparql/query/result/formats/json_decoder.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
lib/sparql/query/result/formats/json_decoder.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
lib/sparql/query/result/formats/json_decoder.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
defmodule SPARQL.Query.Result.JSON.Decoder do @moduledoc false use SPARQL.Query.Result.Format.Decoder def decode(content, _opts \\ []) do try do with {:ok, object} <- Jason.decode(content) do {:ok, decode_results(object)} end rescue error -> {:error, error.message} ...
31.458333
111
0.63532
4a9a61101b066b1eb51374611244c7df6095e56c
690
ex
Elixir
lib/nostrum/cache/cache_supervisor.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
null
null
null
lib/nostrum/cache/cache_supervisor.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
null
null
null
lib/nostrum/cache/cache_supervisor.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
null
null
null
defmodule Nostrum.Cache.CacheSupervisor do @moduledoc """ Supervises caches for nostrum structures. See the documentation for the relevant submodules for details: - `Nostrum.Cache.ChannelCache` - `Nostrum.Cache.GuildCache` - `Nostrum.Cache.Me` - `Nostrum.Cache.PresenceCache` - `Nostrum.Cache.UserCache...
22.258065
64
0.701449
4a9ab9d367e73f3df802008a14b12bfd2a68e546
1,781
ex
Elixir
lib/protobuf/builder.ex
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
null
null
null
lib/protobuf/builder.ex
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
3
2019-09-19T14:52:12.000Z
2019-09-24T15:45:07.000Z
lib/protobuf/builder.ex
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
null
null
null
defmodule Protobuf.Builder do def new(mod) do mod.__default_struct__() end def new(mod, attrs) do case attrs do %{__struct__: _} -> attrs _ -> msg = struct(mod.__default_struct__(), attrs) props = mod.__message_props__() Enum.reduce(props.embedded_fields, msg...
27.828125
81
0.558113
4a9abd1bf88231acc3847194ebcb5f33114c9eee
466
exs
Elixir
Programming_elixir/closures.exs
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
4
2016-09-22T03:47:56.000Z
2017-02-02T17:42:57.000Z
Programming_elixir/closures.exs
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
Programming_elixir/closures.exs
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
# You can store an anonymous function in a variable # but when oyu call it you should add a dot before # parentheses. greet = fn name -> fn -> IO.puts "Hello #{name}" end end greet_hector = greet.("Hector") greet_hector.() # Closures can also be declared because they # stores their context multiplicator...
14.121212
52
0.684549
4a9b142f6230af0b370cbc31c07402e7ebbe9957
65,137
ex
Elixir
lib/elixir/lib/module.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/elixir/lib/module.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
32.071393
113
0.663617
4a9b2f73e09709281de75759dcf357b9cf99bd4b
2,088
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.76
281
0.747126
4a9b8d7c57f1a3ecaecba04abc5c2ffef5d5f4c0
826
exs
Elixir
test/plug/server_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
406
2015-01-01T14:59:37.000Z
2022-02-19T08:08:47.000Z
test/plug/server_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
38
2015-01-19T11:58:30.000Z
2019-01-18T14:06:24.000Z
test/plug/server_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
64
2015-01-19T09:59:55.000Z
2021-02-06T01:14:59.000Z
defmodule Obelisk.Plug.ServerTest do use ExUnit.Case, async: true use Plug.Test @opts Obelisk.Plug.Server.init([]) test "sends 404 for unknown response" do message = "Resource not found. If you're looking for the index page, try http://localhost:4000/" conn = conn(:get, "/unknown/response") conn ...
24.294118
100
0.657385
4a9b9337368515e75497ef54347051eb89f1e95e
3,786
ex
Elixir
lib/ecto_cursor/expr.ex
youroff/ecto_cursor
bac16acd5df8e7a54c3bc3347082f5fc31e1e3ad
[ "Apache-2.0" ]
25
2020-05-01T07:15:13.000Z
2021-02-19T07:28:52.000Z
lib/ecto_cursor/expr.ex
youroff/ecto_cursor
bac16acd5df8e7a54c3bc3347082f5fc31e1e3ad
[ "Apache-2.0" ]
null
null
null
lib/ecto_cursor/expr.ex
youroff/ecto_cursor
bac16acd5df8e7a54c3bc3347082f5fc31e1e3ad
[ "Apache-2.0" ]
null
null
null
defmodule EctoCursor.Expr do @moduledoc false defstruct [:term, :dir, :type, :params] @type ast :: {atom | ast, [any], [ast]} @type dir :: :desc | :desc_nulls_last | :desc_nulls_first | :asc | :asc_nulls_last | :asc_nulls_first @type t :: %__MODULE__{ term: ast, dir: dir, type: any, params:...
26.475524
103
0.596408
4a9bad08e27db509caf758c614162ee759c8faed
20,704
ex
Elixir
data/web/deps/ecto/lib/ecto/date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/ecto/lib/ecto/date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/ecto/lib/ecto/date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
# TODO: Remove Ecto.Date|Time types on Ecto v2.2 import Kernel, except: [to_string: 1] defmodule Ecto.DateTime.Utils do @moduledoc false @doc "Pads with zero" def zero_pad(val, count) do num = Integer.to_string(val) pad_length = max(count - byte_size(num), 0) :binary.copy("0", pad_length) <> num e...
30.093023
115
0.594474
4a9bb2b852611861f197ebab518266e1b75f6289
5,264
ex
Elixir
apps/potterhat_node/test/support/mock_ethereum_node/web_socket.ex
omisego/potterhat
47635e5d061c76900bd0e42a19e5dfc2ae8c0253
[ "Apache-2.0" ]
6
2019-03-28T14:47:41.000Z
2019-06-25T02:38:06.000Z
apps/potterhat_node/test/support/mock_ethereum_node/web_socket.ex
omisego/potterhat
47635e5d061c76900bd0e42a19e5dfc2ae8c0253
[ "Apache-2.0" ]
30
2019-05-22T10:08:09.000Z
2019-08-02T06:37:56.000Z
apps/potterhat_node/test/support/mock_ethereum_node/web_socket.ex
omisego/potterhat
47635e5d061c76900bd0e42a19e5dfc2ae8c0253
[ "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...
27.416667
96
0.641527
4a9bce65fa70c06feaaf490c8b3c0fbc988649a0
267
ex
Elixir
elixir/plug-cowboy/lib/plug_cowboy_app/controllers/crypt_controller.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
5
2021-05-14T13:59:13.000Z
2022-02-06T19:28:50.000Z
elixir/plug-cowboy/lib/plug_cowboy_app/controllers/crypt_controller.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
null
null
null
elixir/plug-cowboy/lib/plug_cowboy_app/controllers/crypt_controller.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
4
2021-04-28T20:34:37.000Z
2021-10-06T20:29:47.000Z
defmodule Controllers.CryptController do import Services.Crypt import Utils.DelayedTask alias Models.LoopStatus @moduledoc false def hash(percentage, delay) do times = start(&process/0, percentage, delay) LoopStatus.ok(times > 0, times) end end
20.538462
48
0.745318
4a9bfa314bdf94d3e8c6b0958183d410fab12f61
268
ex
Elixir
lib/donatebox/repo.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox/repo.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox/repo.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
defmodule Donatebox.Repo do use Ecto.Repo, otp_app: :donatebox @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.333333
66
0.701493
4a9c481d852cbb0f5cd2a97772b502d23f5f51a4
17,887
ex
Elixir
lib/dataloader/ecto.ex
alex-knowles/dataloader
4c4d53610aeca7561636ba6c97f1c5f633462ed4
[ "MIT" ]
null
null
null
lib/dataloader/ecto.ex
alex-knowles/dataloader
4c4d53610aeca7561636ba6c97f1c5f633462ed4
[ "MIT" ]
null
null
null
lib/dataloader/ecto.ex
alex-knowles/dataloader
4c4d53610aeca7561636ba6c97f1c5f633462ed4
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Ecto) do defmodule Dataloader.Ecto do @moduledoc """ Ecto source for Dataloader This defines a schema and an implementation of the `Dataloader.Source` protocol for handling Ecto related batching. A simple Ecto source only needs to know about your application's Repo. #...
29.614238
95
0.595908
4a9c4a9675f406d5619ee1859620424b390d459a
6,540
exs
Elixir
apps/state/test/state/trip/added_test.exs
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
apps/state/test/state/trip/added_test.exs
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
apps/state/test/state/trip/added_test.exs
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
defmodule State.Trip.AddedTest do @moduledoc false use ExUnit.Case import State.Trip.Added @trip_id "added_trip" @route_id "route" @route_pattern_id "pattern" @route_type 3 @direction_id 0 @prediction %Model.Prediction{ trip_id: @trip_id, route_id: @route_id, route_pattern_id: @route_patte...
27.711864
99
0.60948
4a9c4fcb20c28ca68c2cd64feee77a88a5bcb39d
3,002
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/usage.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/usage.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/usage.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.80597
175
0.734177
4a9ca4ca9cc15385dc9288eacddd4c07bb01dcdf
258
exs
Elixir
config/test.exs
titouancreach/bus-rennes
9d85a1c13a161b4f48e6efaf7ed52dbd7991f9d8
[ "MIT" ]
3
2018-06-16T22:34:46.000Z
2018-06-20T07:15:27.000Z
config/test.exs
titouancreach/bus-rennes
9d85a1c13a161b4f48e6efaf7ed52dbd7991f9d8
[ "MIT" ]
null
null
null
config/test.exs
titouancreach/bus-rennes
9d85a1c13a161b4f48e6efaf7ed52dbd7991f9d8
[ "MIT" ]
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 :bus, BusWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
23.454545
56
0.728682
4a9ca53ac45546c82451f64a1ae30ae7042e3095
1,083
exs
Elixir
test/xor_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
1
2020-10-23T13:41:07.000Z
2020-10-23T13:41:07.000Z
test/xor_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
test/xor_test.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
defmodule Annex.SequenceXorTest do use ExUnit.Case, async: true alias Annex.Layer.Sequence test "xor test" do dataset = [ {[0.0, 0.0], [0.0]}, {[0.0, 1.0], [1.0]}, {[1.0, 0.0], [1.0]}, {[1.0, 1.0], [0.0]} ] assert {%Sequence{} = seq, _training_output} = [ ...
27.075
50
0.499538
4a9cb2d857a62113cb453912ed7ce3920e82c959
144
exs
Elixir
test/live_ui_kit_test.exs
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
2
2022-03-01T23:32:08.000Z
2022-03-08T10:32:14.000Z
test/live_ui_kit_test.exs
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
test/live_ui_kit_test.exs
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
defmodule LiveUiKitTest do use ExUnit.Case doctest LiveUiKit test "greets the world" do assert LiveUiKit.hello() == :world end end
16
38
0.722222
4a9cdefd98b1aab4fb357cbec88bd719f33c18d8
1,860
ex
Elixir
lib/shipstation/carrier.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
4
2017-03-28T19:21:48.000Z
2022-02-11T05:12:07.000Z
lib/shipstation/carrier.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
1
2018-10-05T14:55:55.000Z
2018-10-05T14:55:55.000Z
lib/shipstation/carrier.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
3
2018-10-05T14:04:02.000Z
2021-11-11T10:22:46.000Z
defmodule Shipstation.Carrier do @moduledoc ~s""" Manage carriers and the accounts you have with them. """ @doc ~s""" Lists all shipping providers connected to this account. """ @spec list() :: Shipstation.Client.response_type def list() do uri = %{Shipstation.Client.base_uri | path: "/carriers"} ...
34.444444
91
0.70914
4a9cfa62a33fcbfcd3aefed6a1dcd352f20b1f43
19,708
ex
Elixir
lib/redix/pubsub.ex
wojtekmach/redix
5b925d894ddfd329339ab1ed3e9335fd7df718aa
[ "MIT" ]
null
null
null
lib/redix/pubsub.ex
wojtekmach/redix
5b925d894ddfd329339ab1ed3e9335fd7df718aa
[ "MIT" ]
null
null
null
lib/redix/pubsub.ex
wojtekmach/redix
5b925d894ddfd329339ab1ed3e9335fd7df718aa
[ "MIT" ]
null
null
null
defmodule Redix.PubSub do @moduledoc """ Interface for the Redis pub/sub functionality. The rest of this documentation will assume the reader knows how pub/sub works in Redis and knows the meaning of the following Redis commands: * `SUBSCRIBE` and `UNSUBSCRIBE` * `PSUBSCRIBE` and `PUNSUBSCRIBE` * ...
40.385246
98
0.69591
4a9d20d2671df6713277b5d3d6b3c755828c6d6c
108
exs
Elixir
config/config.exs
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
config/config.exs
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
config/config.exs
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
import Config config :cartex, indentation_step: 2 config :cartex, :blazegraph, host: "172.16.55.163"
12
28
0.712963
4a9d3a31335a0cfc9d56f292fe3fa5ee11bd8584
894
ex
Elixir
lib/lotus/props/margin.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
lib/lotus/props/margin.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
lib/lotus/props/margin.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.Props.Margin do @moduledoc """ <docs> https://getuikit.com/docs/margin """ defmacro __using__(_) do quote do @doc """ Margin_size """ prop margin_size, :string, values: ~w/small medium large xlarge/ @doc """ Margin """ prop margin, :string, va...
28.83871
98
0.595078
4a9d42e4d1b0abe91fc8590ad148e35912fb5837
813
ex
Elixir
apps/train_loc/lib/train_loc/supervisor.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/train_loc/lib/train_loc/supervisor.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/train_loc/lib/train_loc/supervisor.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TrainLoc.Supervisor do @moduledoc """ Supervises processes which track our knowledge of: 1. Assignment conflicts (TrainLoc.Conflicts.State). 2. Latest vehicle data (TrainLoc.Vehicles.State). 3. Vehicle data received in previously processed batch (TrainLoc.Vehicles.PreviousBatch). """ use...
26.225806
80
0.713407
4a9d4a77e408e5c45cd3f30a6d9ddad49f710a58
1,523
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180618131008_rename_id_prefix_from_tfr_to_txn_in_transaction.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180618131008_rename_id_prefix_from_tfr_to_txn_in_transaction.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180618131008_rename_id_prefix_from_tfr_to_txn_in_transaction.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
27.196429
78
0.669074
4a9d6624a0d544c5e6e07f671b205fa50fc272b9
3,073
ex
Elixir
test/support/docker.ex
willfore/bootleg_phoenix
ec49516ff9b3d3e2c3ad13fa6026fb614e8c527e
[ "MIT" ]
null
null
null
test/support/docker.ex
willfore/bootleg_phoenix
ec49516ff9b3d3e2c3ad13fa6026fb614e8c527e
[ "MIT" ]
null
null
null
test/support/docker.ex
willfore/bootleg_phoenix
ec49516ff9b3d3e2c3ad13fa6026fb614e8c527e
[ "MIT" ]
null
null
null
defmodule Docker do @moduledoc false defmodule Error do @moduledoc false defexception [:command, :args, :status, :output] def message(%{command: command, args: args, status: status, output: output}) do "Failed on docker #{Enum.join([command | args], " ")} (#{status}):\n#{output}" end end ...
25.608333
84
0.642369
4a9d7c43c70e8979bb89f2393cb67763715c571e
4,308
exs
Elixir
src/dynamic_workers/test/todo_cache_test.exs
alvinau0427/COMPS363F-Assignment
c0ea329f948d98aab62a3288240d8d0820bb3e62
[ "MIT" ]
null
null
null
src/dynamic_workers/test/todo_cache_test.exs
alvinau0427/COMPS363F-Assignment
c0ea329f948d98aab62a3288240d8d0820bb3e62
[ "MIT" ]
null
null
null
src/dynamic_workers/test/todo_cache_test.exs
alvinau0427/COMPS363F-Assignment
c0ea329f948d98aab62a3288240d8d0820bb3e62
[ "MIT" ]
null
null
null
#--- # Course Name: Distributed Systems and Parallel Computing Course ID: COMP S363F # Student Name: Au Chi Chung Student ID: 12017765 # Remark: Exam Assignment #--- defmodule TodoCacheTest do use ExUnit.Case setup_all do {:ok, todo_system_pid} = Todo.System.start_link() {:ok, todo_system_pid: todo_system_pi...
50.093023
248
0.665738
4a9de74fa13085d7d7b3f718ec63893db79b9d9e
1,984
ex
Elixir
lib/cforum_web/controllers/blog/index_controller.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/controllers/blog/index_controller.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/controllers/blog/index_controller.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Blog.IndexController do use CforumWeb, :controller alias Cforum.Threads alias Cforum.ConfigManager alias Cforum.Abilities alias CforumWeb.Router.Helpers, as: Routes def index(conn, _params) do threads = conn |> thread_list() |> Threads.sort_threads("descending") ...
33.627119
93
0.722278
4a9deda5eb8984c6d315e9b1f689bfb71f67b59d
2,432
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/date.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/date.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/date.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...
45.886792
590
0.712582
4a9e13fa6db4aa80a1430f30db34cafa7d9b00e9
1,224
ex
Elixir
deps/credo/lib/credo/check/design/tag_todo.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/check/design/tag_todo.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/check/design/tag_todo.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Check.Design.TagTODO do @moduledoc """ TODO comments are used to remind yourself of source code related things. Example: # TODO: move this to a Helper module defp fun do # ... end The premise here is that TODO should be dealt with in the near future and are therefo...
24.48
77
0.677288
4a9e28af1a2970c78667c11e893178efb12bbbad
2,280
ex
Elixir
apps/faqcheck/lib/faqcheck/sources.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck/lib/faqcheck/sources.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck/lib/faqcheck/sources.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Sources do alias Faqcheck.Repo alias Faqcheck.Sources.Upload alias Faqcheck.Sources.DataSource defmodule Feed do defstruct [:name, :params, :session, :pages] end def create_file(source_path, entry, referral_type, mk_url) do config = Application.fetch_env!(:faqcheck, Faqcheck.Sou...
25.333333
72
0.648246
4a9e38dbacffa4e0608c35a89da25191b8f99a8b
4,657
ex
Elixir
clients/content/lib/google_api/content/v21/model/service.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/service.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/service.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...
60.480519
335
0.718703
4a9e3e31870e17084acf7ba3577f6df013f8a231
771
ex
Elixir
lib/mail_slurp_api/model/template_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/template_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/template_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.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 MailSlurpAPI.Model.TemplateDto do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"content", :"createdAt", :"id", ...
21.416667
91
0.653696
4a9e475cec764b263ca18fde4596a8fbf31056f1
529
exs
Elixir
config/test.exs
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
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 :space_adventure, SpaceAdventure.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :space_a...
26.45
56
0.752363
4a9e4821c519a065c1ecd5f3562bc92617d1c7c7
129
ex
Elixir
apps/speedrun_blogengine/lib/speedrun_blogengine/repo.ex
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
11
2021-04-12T18:32:30.000Z
2021-04-23T04:29:48.000Z
apps/speedrun_blogengine/lib/speedrun_blogengine/repo.ex
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
1
2021-09-18T01:14:50.000Z
2021-09-18T01:14:50.000Z
apps/speedrun_blogengine/lib/speedrun_blogengine/repo.ex
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
11
2021-04-13T15:01:36.000Z
2021-04-19T19:04:47.000Z
defmodule SpeedrunBlogengine.Repo do use Ecto.Repo, otp_app: :speedrun_blogengine, adapter: Ecto.Adapters.Postgres end
21.5
36
0.775194
4a9e5839d179ec51e94a42c61a0f346e3c20a20c
65
exs
Elixir
hangman/test/hangman_test.exs
paunik/excoding
43f3255ff51ea1fa6e4a4d9cb584a5bd397d888c
[ "Unlicense" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
hangman/test/hangman_test.exs
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
hangman/test/hangman_test.exs
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
null
null
null
defmodule HangmanTest do use ExUnit.Case doctest Hangman end
13
24
0.8
4a9e99e2a847d4ca2a4d87efcf6b70a2565892d6
555
ex
Elixir
lib/who/member.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
lib/who/member.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
lib/who/member.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule Who.Member do use Ecto.Schema schema "member" do field :member_id, :string field :short_title, :string field :first_name, :string field :middle_name, :string field :last_name, :string field :state, :string field :party, :string field :votes_with_party, :float field :...
20.555556
36
0.672072
4a9ea1a8cb727db0f7a96ea81d4a2f820b085354
1,659
ex
Elixir
apps/api/lib/api_web.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/api/lib/api_web.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/api/lib/api_web.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule ApiWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ApiWeb, :controller use ApiWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.726027
83
0.682942
4a9f0ddbe67af7928730fe4d1116d2ad659a0f71
3,445
ex
Elixir
apps/omg_status/lib/omg_status/application.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_status/lib/omg_status/application.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_status/lib/omg_status/application.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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 ...
34.79798
114
0.69521
4a9f4205b5e7fe9975a5704ba3d6fd28e1400fcc
10,970
ex
Elixir
lib/clickhouse_ecto/query_string.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
4
2021-04-11T15:48:22.000Z
2021-11-26T16:35:19.000Z
lib/clickhouse_ecto/query_string.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
1
2022-01-04T13:43:19.000Z
2022-01-04T13:43:19.000Z
lib/clickhouse_ecto/query_string.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
5
2021-06-27T02:49:15.000Z
2022-01-24T19:00:59.000Z
defmodule ClickhouseEcto.QueryString do alias Ecto.Query alias Ecto.Query.{BooleanExpr, JoinExpr, QueryExpr} alias ClickhouseEcto.Connection alias ClickhouseEcto.Helpers binary_ops = [ ==: " = ", !=: " != ", <=: " <= ", >=: " >= ", <: " < ", >: " > ", and: " AND ", or: " OR ",...
29.021164
127
0.600091
4a9f4333a20a052bf652c80506591becaf17cc09
8
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_type_operation_parsing_test_case/AtNumericOperation.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_type_operation_parsing_test_case/AtNumericOperation.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_type_operation_parsing_test_case/AtNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@1 :: @2
8
8
0.25
4a9f45cea739665c3826b557b193b502070df44a
1,359
ex
Elixir
fade/lib/broker/data_mappers/server_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/broker/data_mappers/server_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/broker/data_mappers/server_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
defmodule Fade.Broker.ServerDataMapper do alias Fade.Broker.BindingDataMapper alias Fade.Broker.DataMapper alias Fade.Broker.ExchangeDataMapper alias Fade.Broker.GlobalParameterDataMapper alias Fade.Broker.PolicyDataMapper alias Fade.Broker.QueueDataMapper alias Fade.Broker.ScopedParameterDataMapper ali...
39.970588
87
0.781457
4a9f9a1361976ee615ba84910bf6222a4db4f55d
684
ex
Elixir
lib/sobelow/vuln/header_inject.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
lib/sobelow/vuln/header_inject.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
lib/sobelow/vuln/header_inject.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.Vuln.HeaderInject do alias Sobelow.Config alias Sobelow.Vuln use Sobelow.Finding @vuln_vsn ["<=1.3.4 and >=1.3.0", "<=1.2.4 and >=1.2.0", "<=1.1.8 and >=1.1.0", "<=1.0.5"] def run(root) do plug_conf = root <> "/deps/plug/mix.exs" if File.exists?(plug_conf) do vsn = Config.ge...
22.8
92
0.574561
4a9f9ebba7acb5c30c7370f496450328ea24dbf0
246
ex
Elixir
lib/phone/nanp/us/nm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/nanp/us/nm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/nanp/us/nm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.NANP.US.NM do @moduledoc false use Helper.Area def regex, do: ~r/^(1)(5[0|7]5)([2-9].{6})$/ def area_name, do: "New Mexico" def area_type, do: "state" def area_abbreviation, do: "NM" matcher(["1505", "1575"]) end
18.923077
46
0.626016
4a9fa830dc23f3617ccbd624b90faab7f2cdaa0a
67
ex
Elixir
web/lib/squitter_web/views/layout_view.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
34
2017-08-30T02:29:41.000Z
2021-05-29T20:21:43.000Z
web/lib/squitter_web/views/layout_view.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
7
2017-09-12T05:27:23.000Z
2020-01-06T22:07:52.000Z
web/lib/squitter_web/views/layout_view.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
9
2017-09-11T22:17:55.000Z
2022-01-31T03:07:58.000Z
defmodule Squitter.Web.LayoutView do use Squitter.Web, :view end
16.75
36
0.791045
4a9fafdc7fce0115430cfaced364168f5af92322
82
exs
Elixir
test/lib/poker_hands/card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
4
2016-09-29T05:14:55.000Z
2021-05-06T08:42:03.000Z
test/lib/poker_hands/card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
null
null
null
test/lib/poker_hands/card_test.exs
fredwu/kata-poker-hands-elixir
b818ebcf73392f48280c3c1ececf60cfb0c0f016
[ "MIT" ]
null
null
null
defmodule PokerHands.CardTest do use ExUnit.Case doctest PokerHands.Card end
13.666667
32
0.804878
4a9fc52264fb1e8f2587f6ba1a2c02402d228e6f
891
ex
Elixir
apps/neoscan_sync/lib/neoscan_sync/application.ex
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
1
2019-12-16T17:21:21.000Z
2019-12-16T17:21:21.000Z
apps/neoscan_sync/lib/neoscan_sync/application.ex
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neoscan_sync/lib/neoscan_sync/application.ex
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
defmodule NeoscanSync.Application do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias NeoscanSync.Syncer alias NeoscanSync.TokenSyncer alias NeoscanSync.DbFlusher @should_start Application.get_env(:neosca...
29.7
90
0.719416
4aa026859b0cb905a55a258c4957d8f4c80c055b
5,086
exs
Elixir
test/batch_get_row_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
test/batch_get_row_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
test/batch_get_row_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
defmodule ExAliyunOtsTest.BatchGetRow do use ExUnit.Case require Logger @instance_key EDCEXTestInstance alias ExAliyunOts.{Var, Client} alias ExAliyunOts.Const.{PKType, ReturnType, RowExistence} require PKType require ReturnType require RowExistence test "batch get row" do cur_timestamp = Timex...
29.917647
91
0.552694
4aa02f8c1413dcf26dd54fae1391ebd9c481fdbe
74
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/PositionalPipeOperation.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/no_parentheses_many_arguments_call_parsing_test_case/PositionalPipeOperation.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/no_parentheses_many_arguments_call_parsing_test_case/PositionalPipeOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
identifier first_argument | update, first_keyword_key: first_keyword_value
74
74
0.891892
4aa0841d399d211a4e852f78d1bfebf06a4067d1
406
ex
Elixir
lib/working_hours/models.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
lib/working_hours/models.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
lib/working_hours/models.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
defmodule WorkingHours.Hours do use Ecto.Schema import Ecto.Changeset schema "entry" do field :date field :company field :hours, :float, default: 0.0 field :comment timestamps end @required_fields ~w(date company hours) @optional_fields ~w(comment) def changeset(guhema, params \\ :e...
19.333333
55
0.692118
4aa09de60128f018ce720013177c18e21d6adbfc
257
ex
Elixir
lib/elixir_jobs.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
defmodule ElixirJobs do @moduledoc """ ElixirJobs keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
4aa12e120e4924f4fdb9b262eed946d050d393f3
572
ex
Elixir
lib/wechat/access.ex
zhuoyue95/wechat-elixir-sdk
64d087967c1e9210c8a2dbb12a6ed9364934b166
[ "MIT" ]
null
null
null
lib/wechat/access.ex
zhuoyue95/wechat-elixir-sdk
64d087967c1e9210c8a2dbb12a6ed9364934b166
[ "MIT" ]
null
null
null
lib/wechat/access.ex
zhuoyue95/wechat-elixir-sdk
64d087967c1e9210c8a2dbb12a6ed9364934b166
[ "MIT" ]
null
null
null
defmodule Wechat.Access do use Tesla plug Tesla.Middleware.BaseUrl, "https://api.weixin.qq.com/cgi-bin" plug Tesla.Middleware.JSON @app_id Application.get_env(:wechat, :app_id) @app_secret Application.get_env(:wechat, :app_secret) def get_token() do query_params = [ grant_type: "client_credenti...
22
70
0.641608
4aa15665ffa74ba1e79814c36b14504be6926eeb
3,489
ex
Elixir
lib/core/manager.ex
enter-haken/rasmus
aa4d474ef6c0c018409de82dad62435b74b7aac1
[ "Apache-2.0" ]
8
2018-03-01T11:58:50.000Z
2018-11-30T02:50:57.000Z
lib/core/manager.ex
enter-haken/rasmus
aa4d474ef6c0c018409de82dad62435b74b7aac1
[ "Apache-2.0" ]
null
null
null
lib/core/manager.ex
enter-haken/rasmus
aa4d474ef6c0c018409de82dad62435b74b7aac1
[ "Apache-2.0" ]
null
null
null
defmodule Core.Manager do use GenServer require Logger # # gen_server functions # @doc false def start_link(args) do GenServer.start_link(__MODULE__, args, name: :manager) end @doc false def init(pg_config) do {:ok, pid} = Postgrex.start_link(pg_config) Logger.info("#{__MODULE__} sta...
33.873786
150
0.64861
4aa163c47b6d12a244c893d033b9d45b90e1c2ad
400
exs
Elixir
mix.exs
fhunleth/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
20
2018-04-05T17:53:48.000Z
2022-02-23T04:15:16.000Z
mix.exs
MarceloMPJ/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
2
2018-04-16T17:06:42.000Z
2019-07-30T13:27:27.000Z
mix.exs
MarceloMPJ/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
3
2018-04-05T19:46:55.000Z
2020-12-08T20:00:33.000Z
defmodule Snake.MixProject do use Mix.Project def project do [ app: :snake, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:e...
14.814815
42
0.5175
4aa175c462cc33bdb1f91246984485bd109cb062
1,553
exs
Elixir
test/integration/types_of_test.exs
dvjoness/construct
e07ec8e776b0ef1a8fea94691d912cef03d76573
[ "MIT" ]
32
2017-12-26T18:08:41.000Z
2022-03-24T21:18:11.000Z
test/integration/types_of_test.exs
ExpressApp/struct
301df7388b9283f39ee43bb209c06f3aa055c8e7
[ "MIT" ]
4
2018-01-17T11:56:08.000Z
2022-03-24T21:16:27.000Z
test/integration/types_of_test.exs
dvjoness/construct
e07ec8e776b0ef1a8fea94691d912cef03d76573
[ "MIT" ]
7
2017-12-29T13:06:31.000Z
2022-03-24T05:56:56.000Z
defmodule Construct.Integration.TypesOfTest do use Construct.TestCase defmodule CustomType do @behaviour Construct.Type def cast("test"), do: {:ok, :test} def cast(_), do: :error end defmodule Structure do use Construct do field :a do field :b do field :c, CustomType ...
25.459016
83
0.593046
4aa17978a68cda52cef2758d91e4f424ce7f7c2a
872
ex
Elixir
apps/tai/lib/tai/events/sub_free_asset_balance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/events/sub_free_asset_balance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/events/sub_free_asset_balance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
defmodule Tai.Events.SubFreeAssetBalance do @type t :: %Tai.Events.SubFreeAssetBalance{ venue_id: atom, account_id: atom, asset: atom, val: Decimal.t(), free: Decimal.t(), locked: Decimal.t() } @enforce_keys [ :venue_id, :account_id, :...
20.27907
67
0.56422
4aa17cda75436e64a38c360b6141c8e7b29061d6
546
exs
Elixir
config/prod.secret.exs
juanpabloaj/grafana-webhook-monitor
5ee5048d572bf0e42d6464c3096c0842c23b69d4
[ "MIT" ]
2
2019-10-31T16:22:36.000Z
2020-04-29T19:31:42.000Z
config/prod.secret.exs
juanpabloaj/grafana-webhook-monitor
5ee5048d572bf0e42d6464c3096c0842c23b69d4
[ "MIT" ]
4
2019-10-16T20:13:41.000Z
2021-05-10T16:54:26.000Z
config/prod.secret.exs
juanpabloaj/grafana-webhook-monitor
5ee5048d572bf0e42d6464c3096c0842c23b69d4
[ "MIT" ]
null
null
null
use Mix.Config # In this file, we keep production configuration that # you'll likely want to automate and keep away from # your version control system. # # You should document the content of this # file or create a script for recreating it, since it's # kept out of version control and might be hard to recover # or rec...
42
124
0.772894
4aa18443f4623544f60b25a529b740a58f248a68
738
ex
Elixir
lib/arkenston_web/schema/types/input/author.ex
dolfinus/omicron-backend
dd3544a421ce8b05447fe72640f73f180549270f
[ "MIT" ]
1
2019-04-29T18:07:08.000Z
2019-04-29T18:07:08.000Z
lib/arkenston_web/schema/types/input/author.ex
dolfinus/omicron-backend
dd3544a421ce8b05447fe72640f73f180549270f
[ "MIT" ]
126
2020-12-03T15:39:31.000Z
2022-03-30T22:02:23.000Z
lib/arkenston_web/schema/types/input/author.ex
dolfinus/arkenston-backend
258880936dce673eb15db0c4b52e68d3d40c58ff
[ "MIT" ]
null
null
null
defmodule ArkenstonWeb.Schema.Types.Input.Author do use Absinthe.Schema.Notation input_object :create_author_input do field :name, non_null(:string) field :email, :string field :first_name, :string field :middle_name, :string field :last_name, :string field :translations, list_of(non_null(:...
26.357143
69
0.723577
4aa188595e61125e4d0a21a10c3c2cb5097402c9
483
exs
Elixir
config/test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
config/test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
config/test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
use Mix.Config config :bypass, adapter: Plug.Adapters.Cowboy2 config :kaufmann_ex, consumer_group: "kaufmann-consumer", default_topic: "kaufmann-chat", event_handler_mod: nil, producer_mod: KaufmannEx.Publisher, schema_path: "priv/schemas", schema_registry_uri: "http://schema_registry:8081", service_nam...
26.833333
57
0.759834
4aa1ca800ad12c6cb733b44cf2aa683453b1fdb4
2,524
exs
Elixir
apps/opentelemetry_api/mix.exs
robashton/opentelemetry-erlang
b473a3d46727ea5a9463b410d9c50bfad314d64f
[ "Apache-2.0" ]
null
null
null
apps/opentelemetry_api/mix.exs
robashton/opentelemetry-erlang
b473a3d46727ea5a9463b410d9c50bfad314d64f
[ "Apache-2.0" ]
1
2020-09-25T10:16:53.000Z
2020-09-25T10:16:53.000Z
apps/opentelemetry_api/mix.exs
robashton/opentelemetry-erlang
b473a3d46727ea5a9463b410d9c50bfad314d64f
[ "Apache-2.0" ]
null
null
null
defmodule OpenTelemetry.MixProject do use Mix.Project def project do {app, desc} = load_app() config = load_config() [ app: app, version: version(Keyword.fetch!(desc, :vsn)), description: to_string(Keyword.fetch!(desc, :description)), elixir: "~> 1.8", start_permanent: Mi...
26.020619
97
0.577655
4aa1fafcc7b4bd52fb311433167c17616f5ba6cc
632
ex
Elixir
test/support/fixtures.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
defmodule Cotoami.Fixtures do alias Cotoami.Coto alias Cotoami.EmailUser alias Cotoami.AmishiService alias Cotoami.CotoService alias Cotoami.CotonomaService def create_amishi_with_email!(email) do AmishiService.insert_or_update!(%EmailUser{email: email}) end def create_coto!(content, amishi) do ...
25.28
77
0.753165