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
088781e4033f8f33446667ffcbc4ac26a4efa0af
3,780
exs
Elixir
test/cocktail/reversibility_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
117
2017-09-09T00:02:32.000Z
2022-02-10T15:36:28.000Z
test/cocktail/reversibility_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
193
2017-09-09T22:49:18.000Z
2022-03-30T13:05:25.000Z
test/cocktail/reversibility_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
20
2018-01-04T14:58:42.000Z
2021-11-25T13:59:10.000Z
defmodule Cocktail.ReversibilityTest do use ExUnit.Case alias Cocktail.Schedule defp assert_reversible(schedule) do i_calendar_string = Schedule.to_i_calendar(schedule) {:ok, parsed_schedule} = Schedule.from_i_calendar(i_calendar_string) assert parsed_schedule == schedule end for frequency <- ...
29.302326
119
0.633862
088786fe880abfe6163dbbcc312f84bd48069344
11,913
ex
Elixir
lib/commanded/process_managers/process_manager_instance.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
lib/commanded/process_managers/process_manager_instance.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager_instance.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:24.000Z
2018-12-28T20:48:24.000Z
defmodule Commanded.ProcessManagers.ProcessManagerInstance do @moduledoc false use GenServer require Logger alias Commanded.ProcessManagers.{ProcessRouter, ProcessManagerInstance, FailureContext} alias Commanded.EventStore alias Commanded.EventStore.{RecordedEvent, SnapshotData} defstruct [ :comma...
30.942857
97
0.676992
0887ad95e09cda4b72d478191827b7817a3018d7
1,214
exs
Elixir
test/couchdb_connector/reader_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
64
2016-01-20T17:48:05.000Z
2017-05-24T18:00:14.000Z
test/couchdb_connector/reader_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
40
2016-01-16T18:39:46.000Z
2017-06-03T10:02:54.000Z
test/couchdb_connector/reader_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
22
2015-12-28T00:23:20.000Z
2017-05-28T21:58:21.000Z
defmodule Couchdb.Connector.ReaderTest do use ExUnit.Case use Couchdb.Connector.TestSupport.Macros alias Couchdb.Connector.Reader alias Couchdb.Connector.TestConfig alias Couchdb.Connector.TestPrep setup context do TestPrep.ensure_database TestPrep.ensure_document "{\"test_key\": \"test_value\"}",...
30.35
72
0.696046
0887df14b4dcb13fa6e568dd0f281158270020fb
569
exs
Elixir
Primer/7_enumerables.exs
joelbandi/elixir-start-here
65722377d455a4b4678658eee56713681c6f16ce
[ "MIT" ]
null
null
null
Primer/7_enumerables.exs
joelbandi/elixir-start-here
65722377d455a4b4678658eee56713681c6f16ce
[ "MIT" ]
null
null
null
Primer/7_enumerables.exs
joelbandi/elixir-start-here
65722377d455a4b4678658eee56713681c6f16ce
[ "MIT" ]
null
null
null
# Lets use the default Enum function to use firstclass function defmodule Sample.Utils do def square(n) do n*n end def sum(a,b) do a+b end # anonymous function test def anon_test(a,f) do f.(a) end end # '&' is the reference to squaring function and pass in the arity too IO.puts Enum.map([...
21.074074
72
0.676626
088818b39c52e793317261a5d5749c2963fb1f99
219
exs
Elixir
apps/gitgud/config/dev.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/config/dev.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/config/dev.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :gitgud, GitGud.DB, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "gitgud_dev", hostname: "localhost", pool_size: 10
19.909091
34
0.721461
08881f24a255d02d3a17887e99a6352370ed8405
2,468
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.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...
46.566038
312
0.752836
0888201f28cd4f8bf8575819bd5a613154423e9a
3,213
ex
Elixir
lib/reactive_commons/runtime/message_context.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
4
2021-06-01T20:39:34.000Z
2021-08-06T14:51:57.000Z
lib/reactive_commons/runtime/message_context.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
5
2022-03-04T19:15:47.000Z
2022-03-04T21:57:23.000Z
lib/reactive_commons/runtime/message_context.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
null
null
null
defmodule MessageContext do @moduledoc """ This module maintain the required settings to achieve communication with the message broker, it also provides default semantic settings """ use GenServer require Logger @table_name :msg_ctx @default_values %{ reply_exchange: "globalReply", direct_excha...
28.433628
139
0.688142
088831939118a95ea23ddcd8b3a77d4d66590ec9
4,064
ex
Elixir
apps/definition_presto/lib/presto/table/destination.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/definition_presto/lib/presto/table/destination.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/definition_presto/lib/presto/table/destination.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Presto.Table.Destination do @moduledoc false use GenServer use Properties, otp_app: :definition_presto require Logger alias Presto.Table.{DataFile, DataStorage, Manager} getter(:catalog, required: true) getter(:user, required: true) getter(:write_timeout, default: 25_000) getter(:no_activi...
27.275168
96
0.639518
088841e215ffa129f20241d5a3ec72829a9e9043
1,682
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/list_service_rollouts_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/list_service_rollouts_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/list_service_rollouts_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.64
96
0.763971
088854fd43f47d3e141d41e07dd9f383de273d6f
929
ex
Elixir
test/support/channel_case.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
defmodule CorexWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts with...
24.447368
67
0.713671
08886fc1bf9b62ff6b9a830fbdce7797fe01334a
7,883
exs
Elixir
test/mix/tasks/phoenix.gen.model_test.exs
seejee/phoenix
3f7bed87d74be9e3100492545e3750e80765c271
[ "MIT" ]
1
2019-06-11T20:22:21.000Z
2019-06-11T20:22:21.000Z
test/mix/tasks/phoenix.gen.model_test.exs
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
test/mix/tasks/phoenix.gen.model_test.exs
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Phoenix.Dup do end defmodule Phoenix.Article do def __schema__(:source), do: "articles" end defmodule Mix.Tasks.Phoenix.Gen.ModelTest do use ExUnit.Case import MixHelper setup do Mix.Task.clear :ok end test "generates...
36.16055
129
0.629583
08887a03e416665faf68ed3c229e8644eb13bde0
686
exs
Elixir
exercises/bowling/bowling.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/bowling/bowling.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/bowling/bowling.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Bowling do @doc """ Creates a new game of bowling that can be used to store the results of the game """ @spec start() :: any def start do end @doc """ Records the number of pins knocked down on a single roll. Returns `:ok` unless there is something wrong with the given number of...
22.129032
75
0.655977
0888c743a38b5d5d816a175d02758eb4397c4559
1,984
ex
Elixir
clients/genomics/lib/google_api/genomics/v2alpha1/model/existing_disk.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/genomics/lib/google_api/genomics/v2alpha1/model/existing_disk.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/genomics/lib/google_api/genomics/v2alpha1/model/existing_disk.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.212766
642
0.74496
0888dccc8283b7982b2bd3afe15fb6ffd30903cb
2,462
exs
Elixir
server/config/dev.exs
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
1
2020-03-18T17:29:32.000Z
2020-03-18T17:29:32.000Z
server/config/dev.exs
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
26
2019-06-09T18:35:45.000Z
2020-07-30T17:05:58.000Z
server/config/dev.exs
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
null
null
null
use Mix.Config config :ex_aws, region: "local", access_key_id: "minio", secret_access_key: "minio123" config :ex_aws, :s3, host: "minio", region: "local", scheme: "http://", port: 9000 config :buff_server, s3_bucket_name: "buff-packages-development" # Configure your database config :buff_server, Buf...
26.76087
68
0.694557
0888eaab8c20ae7d4ed3f1491825a492907519c0
797
ex
Elixir
lib/verk_web.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
lib/verk_web.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
lib/verk_web.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
defmodule VerkWeb do use Application @doc false def start(_type, _args) do import Supervisor.Spec, warn: false children = [ {VerkWeb.Endpoint, [type: :supervisor]}, # pub sub {Phoenix.PubSub, [name: VerkWeb.PubSub, adapter: Phoenix.PubSub.PG2]} ] children = if Applicati...
24.151515
80
0.666248
0889021b06e4ebd89c2ad91f848a6c947a2a6168
4,901
exs
Elixir
test/epicenter/accounts/admin_test.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/epicenter/accounts/admin_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/epicenter/accounts/admin_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Accounts.AdminTest do use Epicenter.DataCase, async: true alias Epicenter.Accounts alias Epicenter.Accounts.Admin alias Epicenter.Accounts.User alias Epicenter.Cases alias Epicenter.Cases.Person alias Epicenter.Repo alias Epicenter.Test setup do {:ok, persisted_admin} = Test....
42.991228
128
0.719241
08890429972d51de76cb28f0a42647115b2b20c1
1,750
exs
Elixir
test/mix/tasks/gen_test.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
34
2019-04-14T22:57:21.000Z
2022-01-06T01:26:25.000Z
test/mix/tasks/gen_test.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
4
2019-06-09T15:48:53.000Z
2022-01-29T13:13:57.000Z
test/mix/tasks/gen_test.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
10
2019-04-16T04:26:56.000Z
2020-10-08T18:00:47.000Z
defmodule Mix.Tasks.Cpf.GenTest do use CPF.MixCase, async: false describe "run/1" do import Mix.Tasks.Cpf.Gen, only: [run: 1] test "generates valid random CPFs" do run([]) assert_received {:mix_shell, :info, [cpf]} assert CPF.valid?(cpf) end test "accepts the count option" do ...
27.34375
75
0.589143
088931ada10e3d9d72f4e704248938971e722f75
1,493
exs
Elixir
lib/mix/test/mix/tasks/clean_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/test/mix/tasks/clean_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/clean_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.CleanTest do use MixTest.Case defmodule Sample do def project do [ app: :sample, version: "0.1.0", deps: [ { :ok, "0.1.0", path: "deps/ok" }, { :unknown, "0.1.0", git: "deps/unknown" } ...
24.883333
67
0.593436
08895d2678f2328ee619450ae76ce9fe3269353d
11,499
ex
Elixir
lib/onnx.pb.ex
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
4
2018-05-19T17:00:14.000Z
2021-04-12T05:29:20.000Z
lib/onnx.pb.ex
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
null
null
null
lib/onnx.pb.ex
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
1
2021-04-12T05:29:35.000Z
2021-04-12T05:29:35.000Z
defmodule Onnx.AttributeProto do @moduledoc """ A named attribute containing either singular float, integer, string and tensor values, or repeated float, integer, string and tensor values. An AttributeProto MUST contain the name field, and *only one* of the following content fields, effectively enforcing a C/...
29.484615
87
0.649274
088963d612613d85245c672eae7ccf924cae4467
882
ex
Elixir
broker/test/support/conn_case.ex
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
1
2019-02-04T21:09:16.000Z
2019-02-04T21:09:16.000Z
broker/test/support/conn_case.ex
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
null
null
null
broker/test/support/conn_case.ex
mikehelmick/broker-prototype
68082f753d3a7ea29399706504419e495287b35f
[ "Apache-2.0" ]
null
null
null
defmodule BrokerWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the...
26.727273
59
0.727891
08896b34c64d8a9fd55b6fa241b84f21263ea5ac
1,024
exs
Elixir
kousa/test/broth/user/unfollow_test.exs
AhmetEsad/dogehouse
ba8c757bc0419ac07bd9bf062c67a39ab74cdfa6
[ "MIT" ]
1
2021-04-22T08:37:55.000Z
2021-04-22T08:37:55.000Z
kousa/test/broth/user/unfollow_test.exs
mateuszklysz/dogehouse
ba8c757bc0419ac07bd9bf062c67a39ab74cdfa6
[ "MIT" ]
null
null
null
kousa/test/broth/user/unfollow_test.exs
mateuszklysz/dogehouse
ba8c757bc0419ac07bd9bf062c67a39ab74cdfa6
[ "MIT" ]
null
null
null
defmodule BrothTest.User.UnfollowTest do use ExUnit.Case, async: true use KousaTest.Support.EctoSandbox alias Beef.Schemas.User alias BrothTest.WsClient alias BrothTest.WsClientFactory alias KousaTest.Support.Factory require WsClient setup do user = Factory.create(User) client_ws = WsClientFa...
23.272727
71
0.678711
088973d37bcf46e8c5c7e87827856acfc4139fe0
6,816
exs
Elixir
test/atom_tweaks_web/controllers/admin/release_note_controller_test.exs
lee-dohm/atom-style-tweaks
c1f5afa76fd2c3363dfa760bd44637397b0f3fd6
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
test/atom_tweaks_web/controllers/admin/release_note_controller_test.exs
lee-dohm/atom-style-tweaks
c1f5afa76fd2c3363dfa760bd44637397b0f3fd6
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
test/atom_tweaks_web/controllers/admin/release_note_controller_test.exs
lee-dohm/atom-style-tweaks
c1f5afa76fd2c3363dfa760bd44637397b0f3fd6
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaksWeb.Admin.ReleaseNoteControllerTest do use AtomTweaksWeb.ConnCase alias AtomTweaksWeb.ForbiddenUserError alias AtomTweaksWeb.NotLoggedInError describe "index when not logged in" do test "returns unauthorized", context do assert_raise NotLoggedInError, fn -> request_admin_...
26.940711
96
0.639818
088981d2fc9af8b351aa17d9d19dc35ee47ff95b
1,565
ex
Elixir
lib/hhex_web.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
1
2017-10-25T09:56:17.000Z
2017-10-25T09:56:17.000Z
lib/hhex_web.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
null
null
null
lib/hhex_web.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
null
null
null
defmodule HhexWeb 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 HhexWeb, :controller use HhexWeb, :view The definitions below will be executed for every view, controller, etc, so k...
23.014706
69
0.679233
0889a31f3b51020d2dab0ddbbd85fedef0850233
2,118
ex
Elixir
elixir/lib/homework_web/schemas/transactions_schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/transactions_schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/transactions_schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schemas.TransactionsSchema do @moduledoc """ Defines the graphql schema for transactions. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.TransactionsResolver alias HomeworkWeb.Resolvers.TransactionsResolver alias HomeworkWeb.Resolvers.TransactionsResolver object :t...
28.24
57
0.680831
0889aa9dd3e7741222c784b41322579d3014ac98
2,108
exs
Elixir
test/pow/extension/phoenix/router_test.exs
matthewford/pow
82c3359ec757a139fe38f4a745c3da176425f901
[ "MIT" ]
null
null
null
test/pow/extension/phoenix/router_test.exs
matthewford/pow
82c3359ec757a139fe38f4a745c3da176425f901
[ "MIT" ]
null
null
null
test/pow/extension/phoenix/router_test.exs
matthewford/pow
82c3359ec757a139fe38f4a745c3da176425f901
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Pow.Test.Extension.Phoenix.Router.Phoenix.Router do use Pow.Extension.Phoenix.Router.Base alias Pow.Phoenix.Router defmacro routes(_config) do quote location: :keep do Router.pow_resources "/test", TestController, only: [:new, :create, :edit, :update] end end end defmodule Pow.Test.Ex...
28.106667
133
0.71537
0889d8ae4a935ea9820e9bea9b36c11a0dafc21d
223
exs
Elixir
config/config.exs
mfb2/logger_stackdriver_backend
8e5481e0dc679c0f81f11b3f9b1985d787927ec7
[ "Apache-2.0" ]
null
null
null
config/config.exs
mfb2/logger_stackdriver_backend
8e5481e0dc679c0f81f11b3f9b1985d787927ec7
[ "Apache-2.0" ]
null
null
null
config/config.exs
mfb2/logger_stackdriver_backend
8e5481e0dc679c0f81f11b3f9b1985d787927ec7
[ "Apache-2.0" ]
1
2019-07-02T14:07:11.000Z
2019-07-02T14:07:11.000Z
use Mix.Config config :goth, json: System.get_env() |> Map.get( "GOOGLE_APPLICATION_CREDENTIALS", "#{System.user_home()}/.config/gcloud/application_default_credentials.json" ) |> File.read!()
20.272727
81
0.650224
0889f3a6c30393f3dd0a3b49fe074e59caf5ba1d
7,619
ex
Elixir
lib/ex_admin/table.ex
jaxyeh/ex_admin
7b269fd90f2314e27633dd75e4570e53656f3625
[ "MIT" ]
null
null
null
lib/ex_admin/table.ex
jaxyeh/ex_admin
7b269fd90f2314e27633dd75e4570e53656f3625
[ "MIT" ]
null
null
null
lib/ex_admin/table.ex
jaxyeh/ex_admin
7b269fd90f2314e27633dd75e4570e53656f3625
[ "MIT" ]
null
null
null
Code.ensure_compiled(ExAdmin.Utils) defmodule ExAdmin.Table do @moduledoc false require Integer use Xain import ExAdmin.Helpers import ExAdmin.Utils import ExAdmin.Render import ExAdmin.Theme.Helpers import Kernel, except: [to_string: 1] alias ExAdmin.Schema def attributes_table(conn, resource, sch...
34.949541
125
0.617666
0889f686f98afa7c8189d4ce80d966d4bef46494
1,954
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/accounts_list_response.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/accounts_list_response.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/accounts_list_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...
36.867925
156
0.725691
0889fa4a76dc84392312cb282d9768f893f5fc5a
1,232
ex
Elixir
lib/hl7/2.4/segments/om7.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/om7.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/om7.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.OM7 do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, sequence_number_test_observation_master_file: nil, universal_service_identifier: DataTypes.Ce, category_identifier: DataTypes.Ce, category_de...
34.222222
59
0.749188
088a1748a7d45851d0d998d720bdd8d18bab8018
114
ex
Elixir
lib/ex_dns/message/additional.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
3
2019-08-09T05:24:23.000Z
2021-11-16T18:44:00.000Z
lib/ex_dns/message/additional.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
null
null
null
lib/ex_dns/message/additional.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
null
null
null
defmodule ExDns.Message.Additional do def decode(header, section, message) do {:ok, nil, message} end end
19
41
0.719298
088a25333372e5f57eae2348c6b8906f5226e75e
972
ex
Elixir
apps/banking_account_manager_web/lib/banking_account_manager_web/application.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
apps/banking_account_manager_web/lib/banking_account_manager_web/application.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
apps/banking_account_manager_web/lib/banking_account_manager_web/application.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
defmodule BankingAccountManagerWeb.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 appli...
32.4
83
0.747942
088a2c2a31247fcb27e46ca4ccde7abdbff4ed20
2,031
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/device.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/device.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/device.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Devices.Device do use Ecto.Schema import Ecto.Changeset import Ecto.Query alias NervesHubWebCore.Repo alias NervesHubWebCore.Accounts alias NervesHubWebCore.Accounts.Org alias NervesHubWebCore.Products.Product alias NervesHubWebCore.Firmwares.FirmwareMetadata alias NervesH...
26.038462
81
0.708026
088a2eef37f50075bd0225b4015a9d59f18375e2
872
ex
Elixir
clients/iam/lib/google_api/iam/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/iam/lib/google_api/iam/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/iam/lib/google_api/iam/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
088a3550d8a34ee4367d21563bdc7a8ee673a963
600
ex
Elixir
lib/excerpt/connection_manager.ex
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
1
2021-08-12T20:37:44.000Z
2021-08-12T20:37:44.000Z
lib/excerpt/connection_manager.ex
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
null
null
null
lib/excerpt/connection_manager.ex
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
null
null
null
defmodule Excerpt.ConnectionManager do alias Excerpt.Connection require Logger def accept(port) do {:ok, socket} = :gen_tcp.listen(port, [:binary, packet: :line, reuseaddr: true, active: false]) Logger.info("Listening for IRC connections on #{port}") loop_acceptor(socket) end def loop_ac...
25
85
0.703333
088a6f75d14f8664bb2f4a0c10de7ac5a1bf6e21
810
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.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...
33.75
85
0.77037
088a9d16711967f064b52c2b571dc3bd47fd858c
24,992
ex
Elixir
clients/content/lib/google_api/content/v2/api/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accounts.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...
45.689214
234
0.631962
088aacf493912c1a9a270400142d5071f5b37a47
67
ex
Elixir
apps/admin_app/lib/admin_app_web/views/property_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app_web/views/property_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app_web/views/property_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminAppWeb.PropertyView do use AdminAppWeb, :view end
16.75
37
0.820896
088aaffb7efbc462788d19e4629047aee381ab83
377
exs
Elixir
priv/repo/seeds.exs
CTMoney/phoenix-postgres-react
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
CTMoney/phoenix-postgres-react
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
1
2021-03-09T11:33:04.000Z
2021-03-09T11:33:04.000Z
priv/repo/seeds.exs
CTMoney/phoenix_
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # PhoenixPostgresReact.Repo.insert!(%PhoenixPostgresReact.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!`...
31.416667
75
0.72679
088acd4b8731f7d109a2c6c282733a2c4ea1c838
374
ex
Elixir
server/lib/server_web/views/error_view.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
null
null
null
server/lib/server_web/views/error_view.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
null
null
null
server/lib/server_web/views/error_view.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
null
null
null
defmodule ServerWeb.ErrorView do use ServerWeb, :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 template_not_found(_template,...
20.777778
47
0.700535
088adf0c6a978ecdf31ca9f63b07ce2c32028eec
54
ex
Elixir
RAEM/raem/lib/raem_web/views/igc_view.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem_web/views/igc_view.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem_web/views/igc_view.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
2
2018-02-24T19:56:21.000Z
2018-02-26T00:16:41.000Z
defmodule RaemWeb.IgcView do use RaemWeb, :view end
13.5
28
0.777778
088aee7a16ddb6304b5d3392b911e21b37d7f7b1
19,674
ex
Elixir
lib/mint/core/transport/ssl.ex
liamwhite/mint
9b19e09994d85b9c3af05279340cefc6c440ea67
[ "Apache-2.0" ]
null
null
null
lib/mint/core/transport/ssl.ex
liamwhite/mint
9b19e09994d85b9c3af05279340cefc6c440ea67
[ "Apache-2.0" ]
null
null
null
lib/mint/core/transport/ssl.ex
liamwhite/mint
9b19e09994d85b9c3af05279340cefc6c440ea67
[ "Apache-2.0" ]
null
null
null
defmodule Mint.Core.Transport.SSL do @moduledoc false require Logger require Record @behaviour Mint.Core.Transport # From RFC7540 appendix A @blacklisted_ciphers [ {:null, :null, :null}, {:rsa, :null, :md5}, {:rsa, :null, :sha}, {:rsa_export, :rc4_40, :md5}, {:rsa, :rc4_128, :md5}, ...
32.252459
117
0.631341
088b2de9002a3422f2367c9d729b1c0d5678e926
564
exs
Elixir
test/protocols/count_test.exs
lowks/atlas
e01cefa088fe1174d9162f5834156611f1caa594
[ "MIT" ]
94
2015-01-01T16:17:40.000Z
2021-12-16T02:53:01.000Z
test/protocols/count_test.exs
IdoBn/atlas
e01cefa088fe1174d9162f5834156611f1caa594
[ "MIT" ]
2
2015-09-22T14:45:26.000Z
2017-08-29T18:16:04.000Z
test/protocols/count_test.exs
IdoBn/atlas
e01cefa088fe1174d9162f5834156611f1caa594
[ "MIT" ]
11
2015-01-06T02:25:00.000Z
2021-12-16T03:10:11.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Atlas.CountTest do use ExUnit.Case, async: true import Atlas.Count test "it implements count for List" do assert count([1, 2, 3]) == 3 assert count([]) == 0 end test "it implements count for BitString" do assert count("") == 0 assert...
20.888889
47
0.629433
088b547e3a6d3103480763a00676795ab4ceb118
61
ex
Elixir
lib/ketbin_web/views/layout_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
4
2020-08-05T20:05:34.000Z
2020-10-01T10:01:56.000Z
lib/ketbin_web/views/layout_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-07-08T05:02:12.000Z
2020-09-25T10:05:11.000Z
lib/ketbin_web/views/layout_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-08-30T12:59:49.000Z
2020-08-30T12:59:49.000Z
defmodule KetbinWeb.LayoutView do use KetbinWeb, :view end
15.25
33
0.803279
088b842eb8cdc156435689b0b1082397602f65f9
906
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.555556
74
0.764901
088b98129b743bccc9611058c3f147e330bac228
474
exs
Elixir
web/api/test/app/auth/router_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
web/api/test/app/auth/router_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
web/api/test/app/auth/router_test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
defmodule Api.AppTest.Auth.RouterTest do use ExUnit.Case, async: true use Plug.Test alias Api.AppTest.Support.AppTestHelper @auth_info_path AppTestHelper.auth_path <> "/info" @user5 {"user-5", "pass-5"} setup context do AppTestHelper.perform_query context end @tag path: @auth_i...
24.947368
57
0.683544
088bcd08bf214dd787bbab229d10dabac47d5594
78
ex
Elixir
lib/squarestore_web/views/product_view.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
lib/squarestore_web/views/product_view.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
lib/squarestore_web/views/product_view.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
defmodule SquarestoreWeb.ProductView do use SquarestoreWeb, :view end
19.5
39
0.769231
088c0af55d4e58a67d260c12d8d769c743d3ece6
778
exs
Elixir
2021/ERI-MT/language_list/test/language_list_test.exs
adolfont/pensandoemelixir
10a639c6451b8ec181116a0531a77815fde04f3f
[ "CC0-1.0" ]
5
2021-09-02T20:07:04.000Z
2021-12-14T21:24:38.000Z
2021/ERI-MT/language_list/test/language_list_test.exs
adolfont/pensandoemelixir
10a639c6451b8ec181116a0531a77815fde04f3f
[ "CC0-1.0" ]
null
null
null
2021/ERI-MT/language_list/test/language_list_test.exs
adolfont/pensandoemelixir
10a639c6451b8ec181116a0531a77815fde04f3f
[ "CC0-1.0" ]
null
null
null
defmodule LanguageListTest do use ExUnit.Case import LanguageList test "Adiciona Elixir à lista de linguagens" do assert LanguageList.adiciona([], "Elixir") == ["Elixir"] end test "Adiciona C e Elixir à lista de linguagens" do lista = adiciona([], "C") |> adiciona("Elixir") assert ...
21.611111
72
0.606684
088c20d9b76e656f770afd1ceae7ec2939a07544
401
exs
Elixir
priv/repo/migrations/20190206161902_create_ip_pools.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
priv/repo/migrations/20190206161902_create_ip_pools.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
priv/repo/migrations/20190206161902_create_ip_pools.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule Webapp.Repo.Migrations.CreateIpPools do use Ecto.Migration def change do create table(:ip_pools) do add(:name, :string) add(:ip_range, :string) add(:netmask, :inet) add(:gateway, :inet) add(:network_id, references(:networks, on_delete: :delete_all)) timestamps(typ...
22.277778
69
0.658354
088c2aac64319fac6680c999f58b4b47abe9999a
651
ex
Elixir
lib/embed_chat_web/controllers/page_controller.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
lib/embed_chat_web/controllers/page_controller.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
lib/embed_chat_web/controllers/page_controller.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChatWeb.PageController do use EmbedChatWeb, :controller alias EmbedChat.Attempt plug Guardian.Plug.EnsureAuthenticated, [handler: EmbedChatWeb.AuthErrorHandler] when action in [:welcome] def index(conn, _params) do user = Guardian.Plug.current_resource(conn) if user do room = Repo...
25.038462
108
0.705069
088c44f348e6a2ed6024c26accfd0d412a4b787e
143
exs
Elixir
test/parsers/binary_test.exs
kianmeng/combine
f3a16b56efab388abe2608188d519291549b7eb5
[ "MIT" ]
199
2015-07-27T11:42:38.000Z
2022-01-16T13:42:32.000Z
test/parsers/binary_test.exs
kianmeng/combine
f3a16b56efab388abe2608188d519291549b7eb5
[ "MIT" ]
45
2015-07-27T00:16:26.000Z
2018-03-02T23:27:04.000Z
test/parsers/binary_test.exs
kianmeng/combine
f3a16b56efab388abe2608188d519291549b7eb5
[ "MIT" ]
24
2015-07-26T23:52:14.000Z
2021-09-12T01:35:14.000Z
defmodule Combine.Parsers.Binary.Test do use ExUnit.Case, async: true doctest Combine.Parsers.Binary import Combine.Parsers.Binary end
17.875
40
0.79021
088caa2f643c6721046788eedd122f3c0e05a4f7
1,010
ex
Elixir
test/support/conn_case.ex
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
test/support/conn_case.ex
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
test/support/conn_case.ex
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
defmodule HandimanApi.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with th...
24.047619
70
0.711881
088cef7cf7214dd54f1f2c6925b21d062b9166a1
304
ex
Elixir
lib/mangopay_ex/resources/users/natural.ex
StephaneRob/mangopay_ex
d05dab35f431c2f18f6ae95aedf68dede6731402
[ "MIT" ]
1
2018-02-01T11:10:09.000Z
2018-02-01T11:10:09.000Z
lib/mangopay_ex/resources/users/natural.ex
StephaneRob/mangopay_ex
d05dab35f431c2f18f6ae95aedf68dede6731402
[ "MIT" ]
null
null
null
lib/mangopay_ex/resources/users/natural.ex
StephaneRob/mangopay_ex
d05dab35f431c2f18f6ae95aedf68dede6731402
[ "MIT" ]
null
null
null
defmodule MangopayEx.Users.Natural do @moduledoc """ A Natural User is a person whereas a legal user represents a business or an organisation. This natural user is able to: """ @endpoint "users/natural" @resource_name "natural user" use MangopayEx.Resource, import: [:create, :update] end
25.333333
121
0.736842
088d24ddedaffa1dce58ff1f0273963c13c8655e
11,295
ex
Elixir
lib/eden/lexer.ex
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
lib/eden/lexer.ex
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
lib/eden/lexer.ex
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
defmodule Eden.Lexer do alias Eden.Exception, as: Ex @moduledoc """ A module that implements a lexer for the edn format through its only function `tokenize/1`. """ defmodule Token do defstruct type: nil, value: nil end ##############################################################################...
28.740458
88
0.572377
088d3df122437d55c3d0a5eaf125dfe987419916
598
exs
Elixir
test/koans/functions_koans_test.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
1
2017-10-12T15:57:40.000Z
2017-10-12T15:57:40.000Z
test/koans/functions_koans_test.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
null
null
null
test/koans/functions_koans_test.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
null
null
null
defmodule FunctionsTests do use ExUnit.Case import TestHarness test "Functions" do answers = [ "Hello, World!", 3, {:multiple, ["One and Two", "Only One"]}, {:multiple, ["Hello Hello Hello Hello Hello ","Hello Hello "]}, {:multiple, [:entire_list, :single_thing]}, {:multip...
23
70
0.543478
088d7b6f01ec3d326a80bfbfab2eac23b04386d7
820
ex
Elixir
lib/kitchen_sink/schema/changeset.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/kitchen_sink/schema/changeset.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/kitchen_sink/schema/changeset.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.KitchenSink.ChangeSet do #alias Noizu.MnesiaVersioning.Ch...
34.166667
89
0.453659
088d92acc75831ca71de3f0a8c1a9ddddf456a26
1,523
ex
Elixir
server/test/support/data_case.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
server/test/support/data_case.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
server/test/support/data_case.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
defmodule Server.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to th...
27.196429
77
0.686802
088d97f3aa1aad5e8f99317c4e70d7a3ad306126
501
ex
Elixir
day11/dumbo_octopus/lib/dumbo_octopus_web/views/error_view.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
day11/dumbo_octopus/lib/dumbo_octopus_web/views/error_view.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
day11/dumbo_octopus/lib/dumbo_octopus_web/views/error_view.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
defmodule DumboOctopusWeb.ErrorView do use DumboOctopusWeb, :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 tem...
29.470588
61
0.740519
088dae1071f9bb1505ad7bbdb540beb9e49eea05
2,242
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__text_frame.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__text_frame.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__text_frame.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...
36.16129
212
0.76628
088dd12706bac25420ac87b25639a0c8e12c7432
2,543
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/type.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/type.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_management/lib/google_api/service_management/v1/model/type.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...
41.016129
128
0.70468
088dfa7acca461758aeb64b05646bc7fbf21a101
1,725
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/list_peered_dns_domains_response.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/list_peered_dns_domains_response.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/list_peered_dns_domains_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...
35.9375
149
0.75942
088e341c3e88a16425497799ea295fb6f03ff395
3,018
exs
Elixir
test/surface/components/form/color_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/color_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/color_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.ColorInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.ColorInput test "empty input" do html = render_surface do ~F""" <ColorInput form="user" field="color" /> """ end assert html =~ """ <input i...
22.191176
118
0.543406
088e36fd782deb9f9ab3e7e342dc0082cde37992
3,517
ex
Elixir
deps/plug/lib/plug/session.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/plug/session.ex
DavidAlphaFox/Plug
3a98e7667d76ba8d2eb629e518bcb7ac83a1a188
[ "Apache-2.0" ]
null
null
null
lib/plug/session.ex
DavidAlphaFox/Plug
3a98e7667d76ba8d2eb629e518bcb7ac83a1a188
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Session do @moduledoc """ A plug to handle session cookies and session stores. The session is accessed via functions on `Plug.Conn`. Cookies and session have to be fetched with `Plug.Conn.fetch_session/1` before the session can be accessed. Consider using `Plug.CSRFProtection` when using `P...
28.827869
79
0.640034
088e3b38f7e21995cb6968a75274183dab109a12
3,590
exs
Elixir
mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
null
null
null
mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
null
null
null
mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3a.MixProject do use Mix.Project @github_organization "nerves-project" @app :nerves_system_rpi3a @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
25.104895
146
0.58663
088e4df75885bfc3d145d709efec0bb3cf445e41
82
exs
Elixir
test/bit_helper_test.exs
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
test/bit_helper_test.exs
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
test/bit_helper_test.exs
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
defmodule BitHelperTest do use ExUnit.Case, async: true doctest BitHelper end
16.4
30
0.792683
088e572afcd71d58a3095496999bf863fdf50b39
1,993
exs
Elixir
test/mix/tasks/phx.gen.embedded_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
test/mix/tasks/phx.gen.embedded_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
test/mix/tasks/phx.gen.embedded_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.Gen.EmbeddedTest do use ExUnit.Case import MixHelper alias Mix.Tasks.Phx.Gen alias Mix.Phoenix.Schema setup do Mix.Task.clear() :ok end test "build" do in_tmp_project "embedded build", fn -> sc...
28.884058
124
0.639237
088e5b5b96edae8386ca761ab919c72aff4be72c
1,291
ex
Elixir
installer/templates/phx_web/views/error_helpers.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/templates/phx_web/views/error_helpers.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/templates/phx_web/views/error_helpers.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
1
2020-02-08T16:23:00.000Z
2020-02-08T16:23:00.000Z
defmodule <%= web_namespace %>.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ <%= if html do %> use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :...
31.487805
86
0.656081
088e68b0cc78031ecccd8e88b977feee4d0e11d1
4,426
ex
Elixir
lib/asciinema_web/router.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/router.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/router.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.Router do use AsciinemaWeb, :router use Plug.ErrorHandler defp handle_errors(_conn, %{reason: %Ecto.NoResultsError{}}), do: nil defp handle_errors(_conn, %{reason: %Phoenix.NotAcceptableError{}}), do: nil use Sentry.Plug pipeline :browser do plug :accepts, ["html"] plug :fetc...
27.153374
92
0.67962
088e9c019d4e19e076853a01e32308bc12b57d65
607
ex
Elixir
lib/mix/tasks/vnu.validate.css.ex
angelikatyborska/vnu-elixir
c12676e41b7fba3b8acf98812f0e3a054c298458
[ "MIT" ]
51
2020-04-11T22:30:43.000Z
2022-01-14T13:24:56.000Z
lib/mix/tasks/vnu.validate.css.ex
angelikatyborska/vnu-elixir
c12676e41b7fba3b8acf98812f0e3a054c298458
[ "MIT" ]
20
2020-04-13T12:20:49.000Z
2022-03-29T18:32:41.000Z
lib/mix/tasks/vnu.validate.css.ex
angelikatyborska/vnu-elixir
c12676e41b7fba3b8acf98812f0e3a054c298458
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Vnu.Validate.Css do use Mix.Task alias Vnu.CLI @shortdoc "Validates CSS files" @moduledoc """ Validates CSS files. It expects a file or a list of files as an argument. ```bash mix vnu.validate.css [OPTIONS] FILE [FILE2 FILE3...] ``` See `mix vnu.validate.html` for the list ...
20.233333
72
0.665568
088ec95f16fd6379c0c00082e89e7f9b0a6d636a
564
exs
Elixir
unsilo/test/unsilo/accounts/accounts_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/test/unsilo/accounts/accounts_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/test/unsilo/accounts/accounts_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
defmodule Unsilo.AccountsTest do use Unsilo.DataCase alias Unsilo.Accounts describe "users" do alias Unsilo.Accounts.User @valid_attrs %{password: "some encrypted_password", email: "some email"} def user_fixture(attrs \\ %{}) do {:ok, user} = attrs |> Enum.into(@valid_attrs) ...
21.692308
76
0.634752
088ee7c848443c17d854d3b1a6a2a6daa6ed8308
16,124
exs
Elixir
test/teslamate/vehicles/vehicle/driving_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
null
null
null
test/teslamate/vehicles/vehicle/driving_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
null
null
null
test/teslamate/vehicles/vehicle/driving_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
1
2019-10-24T13:17:57.000Z
2019-10-24T13:17:57.000Z
defmodule TeslaMate.Vehicles.Vehicle.DrivingTest do use TeslaMate.VehicleCase, async: true alias TeslaMate.Log.{Drive, Car} test "logs a full drive", %{test: name} do now = DateTime.utc_now() now_ts = DateTime.to_unix(now, :millisecond) events = [ {:ok, online_event()}, {:ok, drive_even...
38.390476
98
0.625961
088f08e11ff84cb2cc4b5976898fd269aa5c0119
713
exs
Elixir
spec/parallel_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
422
2017-01-20T13:38:13.000Z
2022-02-08T14:07:11.000Z
spec/parallel_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
11
2017-01-26T15:40:36.000Z
2020-07-02T21:02:18.000Z
spec/parallel_spec.exs
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
20
2017-01-25T07:56:00.000Z
2021-11-29T16:19:34.000Z
defmodule PerallelSpec do use ESpec, async: true let :pipeline, do: ParallelPipeline.start def result(p) do ParallelPipeline.call(p, %ParallelPipeline{n: 1}) end it "takes ~0.5 sec for 1 call" do func = fn -> result(pipeline()) end time = :timer.tc(func) |> elem(0) expect(time) |> to(be :>,...
22.28125
66
0.580645
088f376dc9b863c8ebefb1ec1febcf0bd24e6e67
201
ex
Elixir
lib/sanbase_web/admin/comments/notification.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/admin/comments/notification.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/admin/comments/notification.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.ExAdmin.Comments.Notification do use ExAdmin.Register register_resource Sanbase.Comments.Notification do show notif do attributes_table(all: true) end end end
20.1
53
0.771144
088f7c54aacfa48188fc07f4789c90fe4af75ee4
1,186
exs
Elixir
apps/gobstopper_service/config/test.exs
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
null
null
null
apps/gobstopper_service/config/test.exs
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
12
2017-07-24T12:29:51.000Z
2018-04-05T03:58:10.000Z
apps/gobstopper_service/config/test.exs
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
4
2017-07-24T12:19:23.000Z
2019-02-19T06:34:46.000Z
use Mix.Config # Print only warnings and errors during test config :logger, level: :warn # Configure database config :gobstopper_service, Gobstopper.Service.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "gobstopper_service_test", hostname: "localhost"...
30.410256
145
0.747049
088f818fd8f1cd1172dada18e34922e2acf47e70
324
ex
Elixir
lib/day02/part01.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
lib/day02/part01.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
lib/day02/part01.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
Code.require_file "../intcode.ex", __DIR__ { :ok, contents } = File.read("#{__DIR__}/input.txt") intcode = contents |>IntCode.parse_program() |>Map.put(1, 12) |>Map.put(2, 2) {:ok, first_op} = Map.fetch(intcode, 0) {value, _, _, _} = IntCode.execute(intcode, first_op, 0) IO.puts value...
21.6
56
0.595679
088fad6a72fc0c404b79199b515f2b4f544694e9
1,058
ex
Elixir
lib/student_list/directory/formatter.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
1
2021-06-27T20:02:11.000Z
2021-06-27T20:02:11.000Z
lib/student_list/directory/formatter.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
lib/student_list/directory/formatter.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
defmodule StudentList.Directory.Formatter do @moduledoc """ Output the directory in an RTF format """ require EEx alias StudentList.Directory EEx.function_from_file(:def, :directory, Path.expand("templates/directory.rtf.eex", :code.priv_dir(:student_list)), ...
27.842105
99
0.597353
088fc28dadfe73968171158cf3fba32e2d785fa5
595
ex
Elixir
lib/contracts_api_web/views/changeset_view.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
lib/contracts_api_web/views/changeset_view.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
2
2021-03-16T06:43:04.000Z
2021-03-16T06:54:55.000Z
lib/contracts_api_web/views/changeset_view.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
defmodule ContractsApiWeb.ChangesetView do use ContractsApiWeb, :view @doc """ Está função percorre e traduz os erros do changeset. Veja `Ecto.Changeset.traverse_errors/2` e `EventsApiWeb.ErrorHelpers.translate_error/1` para mais detalhes. """ def translate_errors(changeset) do Ecto.Changeset.traver...
29.75
67
0.747899
088fcb634187d2c30dead715abf335aae9558acd
738
ex
Elixir
lib/ja_spex/plug.ex
ReelCoaches/ja_spex
9ad3bdb8525f7eee005724305fb579d9d7a1bb8a
[ "Apache-2.0" ]
1
2021-05-10T22:38:00.000Z
2021-05-10T22:38:00.000Z
lib/ja_spex/plug.ex
ReelCoaches/ja_spex
9ad3bdb8525f7eee005724305fb579d9d7a1bb8a
[ "Apache-2.0" ]
null
null
null
lib/ja_spex/plug.ex
ReelCoaches/ja_spex
9ad3bdb8525f7eee005724305fb579d9d7a1bb8a
[ "Apache-2.0" ]
null
null
null
defmodule JaSpex.Plug do @moduledoc """ A Plug to validate and deserialize OpenAPI requests in JSON-API format. """ alias OpenApiSpex.Plug.CastAndValidate alias JaSpex.{Deserializer, RenderError} @behaviour Plug @spec init(Plug.opts()) :: Plug.opts() def init(opts) do render_error = Keyword.get(op...
28.384615
73
0.719512
088fd476d9dcb173aa20361e6ea81bc688749101
598
exs
Elixir
apps/definition_load_broadcast/mix.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/definition_load_broadcast/mix.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/definition_load_broadcast/mix.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule DefinitionLoadBroadcast.MixProject do use Mix.Project def project do [ app: :definition_load_broadcast, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9"...
19.290323
47
0.543478
088fd4c2e2561d94065188546f67e58737401a43
916
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.925926
74
0.767467
088fd758cd63ce865dd40c83d0ea6b1d732e0de6
1,749
ex
Elixir
test/support/data_case.ex
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
215
2019-01-28T23:31:14.000Z
2022-03-31T16:03:30.000Z
test/support/data_case.ex
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
56
2018-01-02T17:52:54.000Z
2019-01-19T16:05:47.000Z
test/support/data_case.ex
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
39
2019-03-12T20:35:03.000Z
2022-03-11T16:49:45.000Z
defmodule Elasticsearch.DataCase do @moduledoc false # This module defines the setup for tests requiring # access to the application's data layer. # # You may define functions here to be used as helpers in # your tests. # # Finally, if the test case interacts with the database, # it cannot be async. ...
22.714286
80
0.626072
08900786f84917c09af83a5b9d9d09a1df73d4fd
7,249
ex
Elixir
lib/super_issuer/account.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
2
2021-02-12T09:21:56.000Z
2021-02-22T08:52:20.000Z
lib/super_issuer/account.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
4
2021-02-22T08:53:43.000Z
2021-06-09T09:24:46.000Z
lib/super_issuer/account.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
null
null
null
defmodule SuperIssuer.Account do use Ecto.Schema import Ecto.{Changeset, Query} alias SuperIssuer.{Contract, WeIdentity} alias SuperIssuer.Contracts.{Erc20Handler, Erc721Handler} alias SuperIssuer.Repo alias SuperIssuer.Account, as: Ele require Logger schema "account" do field :addr, :string f...
29.831276
131
0.6743
08901b09505153a10f250c48778fbc423f84caab
884
exs
Elixir
test/mix/tasks/brando/brando.gen.blueprint_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
test/mix/tasks/brando/brando.gen.blueprint_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
test/mix/tasks/brando/brando.gen.blueprint_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
Code.require_file("../../../support/mix_helper.exs", __DIR__) defmodule Mix.Tasks.Brando.Gen.BlueprintTest do use ExUnit.Case import MixHelper setup do Mix.Task.clear() :ok end test "generates html resource" do in_tmp("brando.gen.blueprint", fn -> send(self(), {:mix_shell_input, :prompt, ...
34
304
0.634615
089031d4f5583a12db71207f6ec54fe8638059b1
320
ex
Elixir
lib/codes/codes_g35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_g35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_g35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_G35 do alias IcdCode.ICDCode def _G35 do %ICDCode{full_code: "G35", category_code: "G35", short_code: "", full_name: "Multiple sclerosis", short_name: "Multiple sclerosis", category_name: "Multiple sclerosis" } end end
20
45
0.6125
089059e612e54d5aaf45237da83bfae2b7747610
540
ex
Elixir
lib/colorify_web/controllers/dashboard_controller.ex
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:44:10.000Z
2020-03-12T18:44:10.000Z
lib/colorify_web/controllers/dashboard_controller.ex
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2021-03-10T10:22:38.000Z
2021-03-10T10:22:38.000Z
lib/colorify_web/controllers/dashboard_controller.ex
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:41:42.000Z
2020-03-12T18:41:42.000Z
defmodule ColorifyWeb.DashboardController do use ColorifyWeb, :controller def index(conn, _) do user_id = get_session(conn, :user_id) conn |> get_session(:access_token) |> Spotify.client() |> Spotify.user_playlists(user_id) |> case do {:ok, response} -> case response.status d...
23.478261
96
0.601852
0890a91c80e07886b54b5f86933e0ce09efb1409
71
exs
Elixir
test/input_event_test.exs
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
20
2018-09-23T18:12:14.000Z
2020-04-18T12:37:34.000Z
test/input_event_test.exs
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
7
2018-09-17T05:40:23.000Z
2020-06-06T20:17:53.000Z
test/input_event_test.exs
hez/input_event
e831a1053d7d837ccadfb75d9e70c70b56895eab
[ "Apache-2.0" ]
6
2020-12-04T21:20:39.000Z
2022-03-16T19:26:24.000Z
defmodule InputEventTest do use ExUnit.Case doctest InputEvent end
14.2
27
0.816901
0891067d5c94e5ed61f877155b7e278d0d68587c
1,542
ex
Elixir
lib/flamelex/gui/components/layout/layoutable.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
1
2020-02-09T23:04:33.000Z
2020-02-09T23:04:33.000Z
lib/flamelex/gui/components/layout/layoutable.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
null
null
null
lib/flamelex/gui/components/layout/layoutable.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
null
null
null
defmodule Flamelex.GUI.Component.Layoutable do @defmodule """ A high-order component which wraps around a list of other components, allows them to be dynamically sized, and re-arranges it's child-components based on some pre-defined rules. One example is how we use the Layout to handle the placemen...
35.860465
118
0.656291
08911b8ae9cfa12f8c31c503b2722a0cc53f49ea
1,631
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/get_customer_index_stats_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/get_customer_index_stats_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/get_customer_index_stats_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...
34.702128
176
0.755365
08913d7fde0a621ec368e4ade71061a1177481ea
6,252
exs
Elixir
test/membrane/integration/child_crash_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
test/membrane/integration/child_crash_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
test/membrane/integration/child_crash_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Integration.ChildCrashTest do use ExUnit.Case, async: false import Membrane.Testing.Assertions alias Membrane.Testing alias Membrane.Support.ChildCrashTest alias Membrane.Pipeline test "Element that is not member of any crash group crashed when pipeline is in playing state" do Proc...
26.948276
99
0.68762
0891681ba09fef827b061e39f2fe166ec276bf65
1,758
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
31.392857
92
0.742321
0891a754b5d932f7c7817496f297a80eaf851a72
92
ex
Elixir
lib/delugex/message_store/mnesia/expected_version_error.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
lib/delugex/message_store/mnesia/expected_version_error.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
lib/delugex/message_store/mnesia/expected_version_error.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
defmodule Delugex.MessageStore.Mnesia.ExpectedVersionError do defexception [:message] end
23
61
0.847826
0891ceae89688852440d7ec9770a4271cdf5f484
7,250
exs
Elixir
test/epi_contacts/commcare/client_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
test/epi_contacts/commcare/client_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
test/epi_contacts/commcare/client_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContacts.Commcare.ClientTest do use EpiContacts.DataCase, async: true alias EpiContacts.Commcare.Client, as: CommcareClient alias EpiContacts.Parsers alias EpiContacts.Test import Mox setup :verify_on_exit! @test_domain "test domain" @test_case_id "test case id" test "update_propertie...
38.56383
161
0.596966
0891d270576670e723d1f8a079fd0c816e7cd9e2
739
ex
Elixir
lib/auth0_ex/application.ex
nazarsh/auth0_ex
21f5b2cb88679368c938d2bbd193eca0ee54620d
[ "Apache-2.0" ]
38
2016-08-31T12:44:19.000Z
2021-06-17T18:23:21.000Z
lib/auth0_ex/application.ex
nazarsh/auth0_ex
21f5b2cb88679368c938d2bbd193eca0ee54620d
[ "Apache-2.0" ]
24
2017-01-12T17:53:10.000Z
2022-03-14T13:43:12.000Z
lib/auth0_ex/application.ex
nazarsh/auth0_ex
21f5b2cb88679368c938d2bbd193eca0ee54620d
[ "Apache-2.0" ]
24
2017-01-27T20:51:57.000Z
2022-03-11T19:58:40.000Z
defmodule Auth0Ex.Application do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false # Define workers and child supervisors to be supervised ch...
29.56
79
0.711773
08921ad5549560f3a7108ca47028ce5a1e065cae
9,688
ex
Elixir
lib/akd/dsl/form_hook.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
lib/akd/dsl/form_hook.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
lib/akd/dsl/form_hook.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
defmodule Akd.Dsl.FormHook do @moduledoc """ Defines a Hook. This modules provides a DSL to define hooks (`Akd.Hook.t` structs) in a readable and organized manner. This module provides a set of macros for generating hooks using operations specified by `main`, `ensure` and `rollback` macros. ## Form Hoo...
29.901235
85
0.629129
08923552c3d8c9ec54e6072fdcaee145f9f7db0e
9,883
ex
Elixir
lib/text_delta/operation.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
48
2017-05-29T19:39:42.000Z
2022-03-28T15:53:29.000Z
lib/text_delta/operation.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
1
2017-05-26T15:03:30.000Z
2017-05-26T15:37:16.000Z
lib/text_delta/operation.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
6
2017-11-30T16:54:27.000Z
2021-05-19T10:27:12.000Z
defmodule TextDelta.Operation do @moduledoc """ Operations represent a smallest possible change applicable to a text. In case of text, there are exactly 3 possible operations we might want to perform: - `t:TextDelta.Operation.insert/0`: insert a new piece of text or an embedded element - `t:TextDelta....
29.501493
80
0.66407
08924b34f81b3de356228da2c57097820e4a0de9
143
ex
Elixir
debian/adapterbase.cron.d.ex
isis-project/AdapterBase
5b8e6086950f6e3938691e6fe0d591fb5e675575
[ "Apache-2.0" ]
1
2015-07-19T20:11:07.000Z
2015-07-19T20:11:07.000Z
debian/adapterbase.cron.d.ex
isis-project/AdapterBase
5b8e6086950f6e3938691e6fe0d591fb5e675575
[ "Apache-2.0" ]
null
null
null
debian/adapterbase.cron.d.ex
isis-project/AdapterBase
5b8e6086950f6e3938691e6fe0d591fb5e675575
[ "Apache-2.0" ]
null
null
null
# # Regular cron jobs for the adapterbase package # 0 4 * * * root [ -x /usr/bin/adapterbase_maintenance ] && /usr/bin/adapterbase_maintenance
28.6
90
0.727273
08926210a5e96d003ad5f9dac29c8571093bfdac
1,014
exs
Elixir
test/test_helper.exs
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
test/test_helper.exs
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
test/test_helper.exs
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
ExUnit.start() defmodule XmlTestContainer do def get_books_xml do """ <?xml version="1.0" encoding="UTF-8"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <pric...
26
54
0.511834
0892aa0b1b16548a4ffc774a882998f1d225fe29
2,074
ex
Elixir
lib/web/controllers/bulletin_controller.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/controllers/bulletin_controller.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/controllers/bulletin_controller.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.BulletinController do use Web, :controller alias ChallengeGov.Challenges alias ChallengeGov.Challenges.Bulletin alias ChallengeGov.GovDelivery def new(conn, %{"challenge_id" => id}) do %{current_user: user} = conn.assigns with {:ok, challenge} <- Challenges.get(id), {:ok, cha...
34.566667
98
0.631148
0892b44c96c3d991142f05d71bf8eb8453e729bc
5,609
exs
Elixir
test/composers/ota_hotel_booking_rule_notif/request_test.exs
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
test/composers/ota_hotel_booking_rule_notif/request_test.exs
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
test/composers/ota_hotel_booking_rule_notif/request_test.exs
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Composers.OtaHotelBookingRuleNotif.RequestTest do use ExUnit.Case doctest ExOpenTravel.Composers.OtaHotelBookingRuleNotif.Request @moduletag :ex_open_travel_ota_hotel_booking_rule_notif_request alias ExOpenTravel.Composers.OtaHotelBookingRuleNotif.Request @hotel_code "00000" @meta ...
29.994652
97
0.459975
0892b85bb66a662deefd36f18496b29d18015c0f
716
ex
Elixir
lib/dns/server.ex
jveiga/elixir-dns
59d00bcad3f1c84217b28822657b203584cddd38
[ "BSD-3-Clause" ]
null
null
null
lib/dns/server.ex
jveiga/elixir-dns
59d00bcad3f1c84217b28822657b203584cddd38
[ "BSD-3-Clause" ]
null
null
null
lib/dns/server.ex
jveiga/elixir-dns
59d00bcad3f1c84217b28822657b203584cddd38
[ "BSD-3-Clause" ]
null
null
null
defmodule DNS.Server do @moduledoc """ TODO: docs TODO: convert this to a `GenServer` and do proper cleanup """ @callback handle(DNS.Record.t, {:inet.ip, :inet.port}) :: DNS.Record.t @doc """ TODO: docs """ @spec accept(:inet.port, DNS.Server) :: no_return def accept(port, handler) do socket =...
23.866667
72
0.671788
0892c198b2595d6d43ede2cb543b7338156d41cb
5,212
ex
Elixir
lib/essence/document.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
68
2016-09-10T20:04:37.000Z
2022-03-16T14:53:27.000Z
lib/essence/document.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
1
2018-02-14T20:22:45.000Z
2018-02-14T20:22:45.000Z
lib/essence/document.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
8
2017-02-11T19:28:56.000Z
2021-04-13T08:07:55.000Z
defmodule Essence.Document do defstruct type: "", uri: "", text: "", nested_tokens: [], meta: %{} @moduledoc """ This module defines the struct type `Essence.Document`, as well as a variety of convenience methods for access the document's text, paragraphs, sentences and tokens. """ @doc """ Read the `...
31.780488
122
0.639678