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
ab07be69507088704b6ac4d1013f3c64c388e27d
306
ex
Elixir
lib/extras/file_extra.ex
somlor/extras
22e0e2c47f5a9480ca61eb5887152e53663fc339
[ "MIT" ]
null
null
null
lib/extras/file_extra.ex
somlor/extras
22e0e2c47f5a9480ca61eb5887152e53663fc339
[ "MIT" ]
null
null
null
lib/extras/file_extra.ex
somlor/extras
22e0e2c47f5a9480ca61eb5887152e53663fc339
[ "MIT" ]
null
null
null
defmodule File.Extra do @doc """ Extract extname from URI ## Examples: iex> File.Extra.extname_from_uri("http://example.com/my/file.jpg") ".jpg" """ def extname_from_uri(uri) do case URI.parse(uri) do %{path: path} -> Path.extname(path) _ -> nil end end end
16.105263
72
0.598039
ab07d9d04d6f1dc6f2fe38ebc464ad69e6447297
1,853
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/routine_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/model/routine_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/routine_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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.962264
210
0.710739
ab08328714f3479726e5af935126c32df5364e54
293
exs
Elixir
robotica_common/config/test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_common/config/test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_common/config/test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :robotica_common, hostname: "test-host", config_common_file: "../test/common.yaml", compile_config_files: false config :logger, level: :warn
26.636364
61
0.767918
ab08351bf655ac00ddb9957a29516ca264f6444a
1,737
exs
Elixir
apps/ewallet/test/ewallet/permissions/bouncer/targets/configuration_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/configuration_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/configuration_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-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 ...
34.74
83
0.748993
ab084ab203b661a476fbdde35e7ad45fbe8962b3
3,894
ex
Elixir
lib/ast/vorm/error.ex
ianrumford/plymio_ast_vorm
4ebe9ae6e43889e51066ee7257f3e351797de535
[ "MIT" ]
null
null
null
lib/ast/vorm/error.ex
ianrumford/plymio_ast_vorm
4ebe9ae6e43889e51066ee7257f3e351797de535
[ "MIT" ]
null
null
null
lib/ast/vorm/error.ex
ianrumford/plymio_ast_vorm
4ebe9ae6e43889e51066ee7257f3e351797de535
[ "MIT" ]
null
null
null
defmodule Plymio.Ast.Vorm.Error do @moduledoc false require Plymio.Option.Utility, as: POU use Plymio.Ast.Vorm.Attribute @pav_struct_kvs_aliases [ {@pav_key_message, [:m, :msg]}, {@pav_key_value, [:v]}, {@pav_key_error, [:e]} ] @pav_struct_dict_aliases @pav_struct_kvs_aliases |> POU.op...
18.995122
96
0.549307
ab084fe67a6057229f717c643048c83c3a13c3bb
4,628
exs
Elixir
integration_test/test/code_generation/app_with_mssql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
integration_test/test/code_generation/app_with_mssql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
integration_test/test/code_generation/app_with_mssql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule Phoenix.Integration.CodeGeneration.AppWithMSSQLAdapterTest do use Phoenix.Integration.CodeGeneratorCase, async: true describe "phx.gen.html" do @tag database: :mssql test "has a passing test suite" do with_installer_tmp("app_with_defaults", fn tmp_dir -> {app_root_path, _} = ...
33.536232
125
0.628997
ab0870260de4f345feac288d3b1cfe69543940c6
386
exs
Elixir
config/config.exs
ananthakumaran/exq_batch
6771480229161fcbb544a33bead619020fe27fd1
[ "MIT" ]
2
2020-12-14T00:37:55.000Z
2022-01-03T01:37:29.000Z
config/config.exs
ananthakumaran/exq_batch
6771480229161fcbb544a33bead619020fe27fd1
[ "MIT" ]
null
null
null
config/config.exs
ananthakumaran/exq_batch
6771480229161fcbb544a33bead619020fe27fd1
[ "MIT" ]
null
null
null
use Mix.Config config :exq, middleware: [ Exq.Middleware.Stats, ExqBatch.Middleware, Exq.Middleware.Job, Exq.Middleware.Manager, Exq.Middleware.Logger ], max_retries: 1, backoff: ExqBatchTest.Backoff, poll_timeout: 10, scheduler_pool_timeout: 10, queues: ["default", "low"] config :ex...
17.545455
32
0.69171
ab088851556e288143e549001070f16df8609019
2,320
exs
Elixir
test/tune/duration_test.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
1
2021-07-09T11:57:41.000Z
2021-07-09T11:57:41.000Z
test/tune/duration_test.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
null
null
null
test/tune/duration_test.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
2
2021-07-09T11:57:45.000Z
2022-01-06T23:37:19.000Z
defmodule Tune.DurationTest do use ExUnit.Case, async: true use ExUnitProperties alias Tune.{Duration, Generators} doctest Duration @thirty_seconds :timer.seconds(30) @thirty_seconds_and_a_half :timer.seconds(30) + 500 @one_minute :timer.minutes(1) @one_hour :timer.hours(1) describe "human duratio...
31.351351
90
0.582328
ab08bdb998a52de186494f9bb08bb0644d23da97
71
exs
Elixir
apps/elixir_ls_debugger/.formatter.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/elixir_ls_debugger/.formatter.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/elixir_ls_debugger/.formatter.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
[ inputs: [ "*.exs", "{lib,test,config}/**/*.{ex,exs}" ] ]
10.142857
37
0.380282
ab08e48a73cc2b27e8117d0ca7fc5fc3cf67a85f
1,862
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/google_cloud_functions_v2alpha_state_message.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/google_cloud_functions_v2alpha_state_message.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/google_cloud_functions_v2alpha_state_message.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...
32.103448
99
0.716434
ab08f06ddd113ebfa20d81de9da4bbda31ece7d7
1,040
ex
Elixir
test/support/channel_case.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/support/channel_case.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/support/channel_case.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.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 and query models. Finally, if the test case interacts with the database, it cannot...
23.111111
71
0.710577
ab08ffbadd08f246624b4d413ea84ea3e1d42234
1,678
ex
Elixir
lib/srp/server.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
15
2018-11-03T18:39:21.000Z
2022-02-21T22:17:50.000Z
lib/srp/server.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
7
2018-10-21T16:36:58.000Z
2018-10-25T00:56:05.000Z
lib/srp/server.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
3
2019-05-14T16:24:04.000Z
2019-07-06T21:47:40.000Z
defmodule SRP.Server do @moduledoc """ Defines a SRP server. ```elixir defmodule MyApp.SRP.Server do use SRP.Server end ``` It accepts a `prime_size` and a `hash_algorithm` as options. ```elixir defmodule MyApp.SRP.ClientWithOptions do use SRP.Server, prime_size: 8192, hash_algorithm: :sha5...
22.078947
96
0.588796
ab090af5c83e96ae1f6383f50e984f79c798e135
14,774
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_operations.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_operations.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_operations.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.31348
414
0.642209
ab096eb6a786faef80e0efc51087b8d29f98d1dc
4,205
ex
Elixir
lib/grizzly/security.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/security.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/security.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.Security do @moduledoc """ Helpers for security """ import Bitwise @type key :: :s2_unauthenticated | :s2_authenticated | :s2_access_control | :s0 @type key_byte :: 0x01 | 0x02 | 0x04 | 0x80 @typedoc """ Possible key exchange failures - `:none` - Bootstrapping was successful - ...
34.467213
121
0.684423
ab098373388d04e7726fafc3dbc115adb4522b55
87
exs
Elixir
.formatter.exs
beardedeagle/mnesiaex
00d1a5a026ac6be76524af0ff52d7a53fb81317e
[ "MIT" ]
5
2020-08-06T04:12:22.000Z
2021-07-28T21:21:31.000Z
.formatter.exs
beardedeagle/mnesiaex
00d1a5a026ac6be76524af0ff52d7a53fb81317e
[ "MIT" ]
null
null
null
.formatter.exs
beardedeagle/mnesiaex
00d1a5a026ac6be76524af0ff52d7a53fb81317e
[ "MIT" ]
null
null
null
[ inputs: ["{mix,.formatter}.exs", "{lib,test}/**/*.{ex,exs}"], line_length: 120 ]
17.4
63
0.54023
ab099201aeb6439a347dac4e5b31b8e10c0af226
1,589
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_device_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_device_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/claim_device_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 "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...
33.104167
133
0.759597
ab09979e4331073bc65bacea3978544d3b572585
1,376
exs
Elixir
mix.exs
ejscunha/absinthe_plug
5e8fdb9a0b6ad85f2fe4e2dab0c0ace7f4d6ab94
[ "MIT" ]
null
null
null
mix.exs
ejscunha/absinthe_plug
5e8fdb9a0b6ad85f2fe4e2dab0c0ace7f4d6ab94
[ "MIT" ]
null
null
null
mix.exs
ejscunha/absinthe_plug
5e8fdb9a0b6ad85f2fe4e2dab0c0ace7f4d6ab94
[ "MIT" ]
null
null
null
defmodule Absinthe.Plug.Mixfile do use Mix.Project @version "1.5.4" def project do [ app: :absinthe_plug, version: @version, elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), package: ...
26.461538
96
0.588663
ab09982c2e2ca7a7bbba5217960966bea7d7f63e
1,740
ex
Elixir
lib/ecto/uuid.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
lib/ecto/uuid.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
lib/ecto/uuid.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.UUID do @moduledoc """ An Ecto type for UUIDs strings. In contrast to the `:uuid` type, `Ecto.UUID` works with UUID as strings instead of binary data. """ @behaviour Ecto.Type @doc """ The Ecto primitive type. """ def type, do: :uuid @doc """ Casts to UUID. """ def cast(<<...
24.857143
85
0.523563
ab09b09c094d15e545ddb9f23a0b49921bea94ea
1,522
ex
Elixir
clients/surveys/lib/google_api/surveys/v2/model/surveys_start_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/model/surveys_start_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/model/surveys_start_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.708333
163
0.750986
ab09b169cec4241a5457c28e01628f822feb574a
752
exs
Elixir
mix.exs
ConnorRigby/elixir-ace
db2cf403203211b9899c8dcbb6f78a8fc07c74d0
[ "MIT" ]
null
null
null
mix.exs
ConnorRigby/elixir-ace
db2cf403203211b9899c8dcbb6f78a8fc07c74d0
[ "MIT" ]
null
null
null
mix.exs
ConnorRigby/elixir-ace
db2cf403203211b9899c8dcbb6f78a8fc07c74d0
[ "MIT" ]
null
null
null
defmodule Ace.Mixfile do use Mix.Project @moduledoc false def project do [ app: :ace, version: "0.2.0", elixir: "~> 1.5", compilers: [:elixir_make] ++ Mix.compilers, make_clean: ["clean"], make_env: make_env(), start_permanent: Mix.env == :prod, deps: deps() ...
18.8
68
0.531915
ab09d1b4abbe231679d967af7cc95eaa24f472f8
2,147
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/list_secret_versions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/list_secret_versions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/list_secret_versions_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...
40.509434
191
0.744294
ab0a0e1d3ef17027bb10b4073003abb61bad5372
274
exs
Elixir
test/live_beats_web/views/layout_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
547
2022-02-02T14:11:31.000Z
2022-03-31T12:34:03.000Z
test/live_beats_web/views/layout_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
24
2022-02-02T14:11:36.000Z
2022-02-23T20:14:43.000Z
test/live_beats_web/views/layout_view_test.exs
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
63
2022-02-02T15:59:36.000Z
2022-03-23T05:30:43.000Z
defmodule LiveBeatsWeb.LayoutViewTest do use LiveBeatsWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.444444
65
0.770073
ab0a187972de8fdcdd344517f577fee4fe31d775
4,327
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/status.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/status.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/status.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
80.12963
2,339
0.776982
ab0a48a15c2576adf5012f02f81cdac2a944facd
692
ex
Elixir
lib/pygments/worker.ex
nipinium/expygments
62e9aa0276c59e03a48a2600c9c7a67ed254563a
[ "Unlicense" ]
1
2019-02-06T13:08:48.000Z
2019-02-06T13:08:48.000Z
lib/pygments/worker.ex
nipinium/expygments
62e9aa0276c59e03a48a2600c9c7a67ed254563a
[ "Unlicense" ]
null
null
null
lib/pygments/worker.ex
nipinium/expygments
62e9aa0276c59e03a48a2600c9c7a67ed254563a
[ "Unlicense" ]
null
null
null
defmodule Pygments.Worker do use GenServer def init(opts), do: {:ok, opts} def start_link(_default) do GenServer.start_link(__MODULE__, nil, name: __MODULE__) end @python_path String.to_charlist(__DIR__) @python String.to_charlist(case :os.type() do {:unix, :linux} -> "python3" {:win32, :nt} ...
25.62963
76
0.660405
ab0a722623728e73eae9c367614875eae00e0fb6
571
ex
Elixir
lib/jalka2021/football/team.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021/football/team.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021/football/team.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
defmodule Jalka2021.Football.Team do use Ecto.Schema import Ecto.Changeset alias Jalka2021.Repo alias Jalka2021.Football.PlayoffPrediction schema "teams" do field(:name, :string) field(:code, :string) field(:flag, :string) field(:group, :string) many_to_many :playoff_predictions, Playof...
20.392857
57
0.683012
ab0aae4cb7afccd6217ecb534e504bee7ecd9722
1,008
ex
Elixir
elixir_advent/lib/day2.ex
bwbeach/advent-of-code-2020
572810c3adae5815543efde17a4bca9596d05a5b
[ "CC0-1.0" ]
null
null
null
elixir_advent/lib/day2.ex
bwbeach/advent-of-code-2020
572810c3adae5815543efde17a4bca9596d05a5b
[ "CC0-1.0" ]
null
null
null
elixir_advent/lib/day2.ex
bwbeach/advent-of-code-2020
572810c3adae5815543efde17a4bca9596d05a5b
[ "CC0-1.0" ]
null
null
null
defmodule Day2 do @input_pattern ~r{([0-9]+)-([0-9]+) ([a-z]): (.*)} def run(lines) do with part1 = run_part(lines, &part1_allows/1), part2 = run_part(lines, &part2_allows/1) do "part1: #{part1} part2: #{part2}" end end def run_part(lines, filter) do lines |> Enum.map(&parse_l...
23.44186
72
0.579365
ab0ad3ffed7ea7584cec0afbee2350fd5a8b8584
558
ex
Elixir
lib/ex_okex/spot/instrument.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
lib/ex_okex/spot/instrument.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
lib/ex_okex/spot/instrument.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
3
2019-10-19T19:33:34.000Z
2019-10-19T19:35:18.000Z
defmodule ExOkex.Spot.Instrument do @moduledoc """ Spot instrument struct holding currency information https://www.okex.com/docs/en/#spot-currency """ alias __MODULE__ @type t :: %Instrument{ base_currency: String.t(), instrument_id: String.t(), min_size: String.t(), ...
19.928571
53
0.621864
ab0b0b0ab57d7a5a31799efeaa1f014ad815cdaf
572
ex
Elixir
lib/web/plugs/fetch_user.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
1
2021-07-12T14:27:11.000Z
2021-07-12T14:27:11.000Z
lib/web/plugs/fetch_user.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
20
2020-07-01T14:54:13.000Z
2021-08-02T15:35:31.000Z
lib/web/plugs/fetch_user.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
2
2020-06-20T00:48:34.000Z
2021-01-22T02:04:38.000Z
defmodule Web.Plugs.FetchUser do @moduledoc """ Fetch a user from the session """ import Plug.Conn alias SmartNote.Users def init(default), do: default def call(conn, _opts) do case conn |> get_session(:user_token) do nil -> conn token -> load_user(conn, Users.from_tok...
17.875
60
0.629371
ab0b0cf1e88ac8d5c417b36eeef55a7d0a1fffea
702
ex
Elixir
test/support/data_case.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
15
2021-03-24T07:46:34.000Z
2022-02-16T19:09:58.000Z
test/support/data_case.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
30
2021-03-22T23:31:56.000Z
2022-03-01T00:17:50.000Z
test/support/data_case.ex
fremantle-industries/slurpee
e4c36130f96d266ca7ec115577b366f4531c6f29
[ "MIT" ]
1
2021-09-18T23:00:57.000Z
2021-09-18T23:00:57.000Z
defmodule Slurpee.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 t...
24.206897
60
0.733618
ab0b2fe4486eb85d22e893a23823695a657633c8
1,356
ex
Elixir
lib/dogma/rule/predicate_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
558
2015-06-21T18:20:59.000Z
2021-12-30T16:25:47.000Z
lib/dogma/rule/predicate_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
252
2015-06-19T13:00:47.000Z
2021-04-21T08:04:16.000Z
lib/dogma/rule/predicate_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
79
2015-06-21T14:18:30.000Z
2021-12-30T16:26:09.000Z
use Dogma.RuleBuilder defrule Dogma.Rule.PredicateName do @moduledoc """ A rule that disallows tautological predicate names, meaning those that start with the prefix `has_` or the prefix `is_`. Favour these: def valid?(x) do end def picture?(x) do end Over these: def is_val...
21.1875
78
0.605457
ab0b3e9c250151d0bb16632cff144c9d17df2321
2,291
exs
Elixir
config/dev.exs
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
1
2019-10-07T09:30:16.000Z
2019-10-07T09:30:16.000Z
config/dev.exs
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
2
2021-03-09T19:17:39.000Z
2021-05-10T16:30:30.000Z
config/dev.exs
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
null
null
null
use Mix.Config # Configure your database config :rustler_live_view_toy, RustlerLiveViewToy.Repo, username: "postgres", password: "postgres", database: "rustler_live_view_toy_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache an...
29.371795
68
0.703186
ab0b42b616eacc7753ddf03305f89a45e7c94877
1,149
ex
Elixir
lib/allais_paradox/participant.ex
kazuwo/xee_borda
1d6ac9151d7f87d45ba3e66a87c993436666c597
[ "MIT" ]
null
null
null
lib/allais_paradox/participant.ex
kazuwo/xee_borda
1d6ac9151d7f87d45ba3e66a87c993436666c597
[ "MIT" ]
null
null
null
lib/allais_paradox/participant.ex
kazuwo/xee_borda
1d6ac9151d7f87d45ba3e66a87c993436666c597
[ "MIT" ]
null
null
null
defmodule AllaisParadox.Participant do alias AllaisParadox.Actions # Actions def fetch_contents(data, id) do Actions.update_participant_contents(data, id) end def next_question_2(data, id, selected) do IO.puts(selected["next"]) data = data |> put_in([:participants, id, :sequence], selected["next...
26.72093
80
0.682332
ab0b43340d61f0333ff9830901addd3674eec606
2,321
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.84127
131
0.721241
ab0b507757520f6c3b181b547c7bd1a25f4c38b8
63
ex
Elixir
lib/wooper/repo.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
1
2017-05-11T08:06:52.000Z
2017-05-11T08:06:52.000Z
lib/wooper/repo.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
null
null
null
lib/wooper/repo.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
null
null
null
defmodule Wooper.Repo do use Ecto.Repo, otp_app: :wooper end
15.75
33
0.761905
ab0b5ac476605172212a4febb512f4fb78842217
24,890
ex
Elixir
apps/blockchain/lib/blockchain/account.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/blockchain/lib/blockchain/account.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/blockchain/lib/blockchain/account.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
defmodule Blockchain.Account do @moduledoc """ Represents the account state, as defined in Section 4.1 of the Yellow Paper """ alias ExthCrypto.Hash.Keccak alias MerklePatriciaTree.Trie alias Blockchain.Account.{Address, Storage} @empty_keccak Keccak.kec(<<>>) @empty_trie Trie.empty_trie_root_hash()...
38.410494
355
0.646203
ab0b5b9af71576d73bebf0766d1e07633672a0ed
2,775
exs
Elixir
mix.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
mix.exs
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
mix.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2019-07-12T11:16:42.000Z
2020-06-08T15:03:36.000Z
defmodule Mithril.Mixfile do use Mix.Project @name :mithril @version "0.1.0" @maintainers ["Daniel Berkompas <daniel@infinite.red>"] @github "https://github.com/infinitered/#{@name}" @description "An architecture in a box for a back-end webserver." def project do in_production = Mix.env() == :prod...
34.259259
96
0.625225
ab0b689987366896c6193b4db141ce0d2a2d1cbf
2,547
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.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...
43.913793
343
0.741657
ab0b73cc2ca54bbc0cc0ff5f94db96e5a17795e0
2,943
ex
Elixir
lib/x_util/bitstring.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
2
2021-01-14T22:20:18.000Z
2021-04-21T14:52:13.000Z
lib/x_util/bitstring.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
null
null
null
lib/x_util/bitstring.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
2
2021-07-25T12:17:33.000Z
2021-12-21T11:33:03.000Z
defmodule XUtil.Bitstring do @moduledoc """ Simple utilities for working with bitstrings. Elixir has amazing support for working with binaries (bitstrings whose size is divisible by 8) """ @doc """ Joins the enumerable bitstrings into a single bitstring. Examples: iex(1)> XUtil.Bitstring.join([<<...
33.443182
106
0.61298
ab0bb21c507c36312ce14a9d23b496d64ea66427
709
ex
Elixir
apps/discovery_api/lib/discovery_api_web/controllers/user_controller.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/discovery_api/lib/discovery_api_web/controllers/user_controller.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/discovery_api/lib/discovery_api_web/controllers/user_controller.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApiWeb.UserController do require Logger use DiscoveryApiWeb, :controller alias DiscoveryApi.Services.AuthService alias DiscoveryApi.Schemas.Users def logged_in(conn, _params) do with {:ok, user_info} <- AuthService.get_user_info(Guardian.Plug.current_token(conn)), {:ok, email...
33.761905
90
0.679831
ab0bcd8c535e14e0f95ac97e2e5ff76234433e7a
194
exs
Elixir
priv/repo/migrations/20171120115252_add_gitlab_ci_yml_to_dashboard.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
priv/repo/migrations/20171120115252_add_gitlab_ci_yml_to_dashboard.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
priv/repo/migrations/20171120115252_add_gitlab_ci_yml_to_dashboard.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
defmodule CncfDashboardApi.Repo.Migrations.AddGitlabCiYmlToDashboard do use Ecto.Migration def change do alter table(:dashboard) do add :gitlab_ci_yml, :string end end end
17.636364
71
0.747423
ab0bd2383ad595a9cb9d09f9e3586a962c14cefe
280
exs
Elixir
backend/voxel_handler/test/voxel_handler_web/views/layout_view_test.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-06T15:31:54.000Z
2022-03-27T12:10:13.000Z
backend/voxel_handler/test/voxel_handler_web/views/layout_view_test.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
9
2022-03-01T05:17:43.000Z
2022-03-11T01:04:24.000Z
backend/voxel_handler/test/voxel_handler_web/views/layout_view_test.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-04T15:52:44.000Z
2022-03-27T12:16:27.000Z
defmodule VoxelHandlerWeb.LayoutViewTest do use VoxelHandlerWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
31.111111
65
0.775
ab0be2f29e2629b01316197b413d08e660ef64d4
16,375
ex
Elixir
lib/mix/lib/mix/tasks/format.ex
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/format.ex
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/format.ex
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Format do use Mix.Task @shortdoc "Formats the given files/patterns" @moduledoc """ Formats the given files and patterns. mix format mix.exs "lib/**/*.{ex,exs}" "test/**/*.{ex,exs}" If any of the files is `-`, then the output is read from stdin and written to stdout. ## Forma...
33.973029
110
0.676947
ab0bee5ce915acbae82f033db83dc966b9b5f24a
641
exs
Elixir
apps/re/test/shortlists/shortlist_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/test/shortlists/shortlist_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/test/shortlists/shortlist_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.ShortlistTest do use Re.ModelCase alias Re.Shortlist describe "changeset/2" do test "changeset with valid attributes" do attrs = %{ opportunity_id: "0x01", account_name: "Antônio", owner_name: "Nunes" } changeset = Shortlist.changeset(%Shortlist{}, att...
22.103448
62
0.633385
ab0bf997c1e831bde8d73493d95588dc1362b8d7
1,139
ex
Elixir
lib/ua_inspector/short_code_map/os_families.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
57
2015-04-07T03:10:45.000Z
2019-03-11T01:01:40.000Z
lib/ua_inspector/short_code_map/os_families.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
16
2015-03-09T19:56:17.000Z
2019-03-16T14:24:02.000Z
lib/ua_inspector/short_code_map/os_families.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
15
2015-02-02T23:14:00.000Z
2019-03-16T13:15:05.000Z
defmodule UAInspector.ShortCodeMap.OSFamilies do @moduledoc false use UAInspector.Storage.Server require Logger alias UAInspector.Config alias UAInspector.Util.YAML @behaviour UAInspector.ShortCodeMap @doc false def start_link(init_arg) do GenServer.start_link(__MODULE__, init_arg, name: __MODU...
21.903846
78
0.700615
ab0c2d5a0327feaa77f7798ab458e7176f156c55
320
ex
Elixir
test/support/page.ex
StephaneRob/ancestry-ecto
28b6b30dc63cb4085026973a6917f1eb7b0fe0bd
[ "MIT" ]
2
2020-08-02T19:14:46.000Z
2020-08-07T11:02:38.000Z
test/support/page.ex
StephaneRob/ancestry
28b6b30dc63cb4085026973a6917f1eb7b0fe0bd
[ "MIT" ]
null
null
null
test/support/page.ex
StephaneRob/ancestry
28b6b30dc63cb4085026973a6917f1eb7b0fe0bd
[ "MIT" ]
1
2020-07-27T05:52:29.000Z
2020-07-27T05:52:29.000Z
defmodule AncestryEcto.Page do @moduledoc false use Ecto.Schema use AncestryEcto, repo: AncestryEcto.TestRepo schema "pages" do field(:ancestry, :string) field(:reference, Ecto.UUID) field(:custom_ancestry, :string) field(:custom_ancestry_custom_attribute, :string) timestamps() end end
20
53
0.725
ab0c337916d3bbf321c7995e3d1ae3fd874eca2e
1,909
exs
Elixir
mix.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
mix.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
1
2021-05-11T19:13:08.000Z
2021-05-11T19:13:08.000Z
mix.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
defmodule Featex.MixProject do use Mix.Project def project do [ app: :featex, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
28.073529
84
0.573599
ab0c34a7061d102d9f9531672c1822012bfcb1d5
5,812
exs
Elixir
test/romeo/stanza_test.exs
LaudateCorpus1/romeo
22a7280d0908107ebffefd25d7e051fdb9fab0b2
[ "MIT" ]
7
2018-08-21T15:58:40.000Z
2020-02-29T20:39:42.000Z
test/romeo/stanza_test.exs
LaudateCorpus1/romeo
22a7280d0908107ebffefd25d7e051fdb9fab0b2
[ "MIT" ]
null
null
null
test/romeo/stanza_test.exs
LaudateCorpus1/romeo
22a7280d0908107ebffefd25d7e051fdb9fab0b2
[ "MIT" ]
5
2020-04-18T15:43:13.000Z
2022-03-17T18:17:38.000Z
defmodule Romeo.StanzaTest do use ExUnit.Case, async: true use Romeo.XML alias Romeo.Stanza doctest Romeo.Stanza test "to_xml for IQ struct" do assert %IQ{to: "test@localhost", type: "get", id: "123"} |> Stanza.to_xml() == "<iq to='test@localhost' type='get' id='123'/>" end test "to_x...
39.006711
185
0.609257
ab0c553ffea0903388ab4ff9f947118ccf0077f1
1,343
ex
Elixir
lib/codes/codes_i85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_I85 do alias IcdCode.ICDCode def _I8500 do %ICDCode{full_code: "I8500", category_code: "I85", short_code: "00", full_name: "Esophageal varices without bleeding", short_name: "Esophageal varices without bleeding", category_name: "Es...
31.232558
72
0.637379
ab0c74aa73f84f551a875b8a431cec83fc5e150e
3,686
exs
Elixir
test/issuing_holder_test.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
1
2022-03-15T18:58:21.000Z
2022-03-15T18:58:21.000Z
test/issuing_holder_test.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
test/issuing_holder_test.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
defmodule StarkInfraTest.IssuingHolder do use ExUnit.Case @tag :issuing_holder test "create issuing holder test" do {:ok, issuing_holder} = StarkInfra.IssuingHolder.create( [StarkInfraTest.Utils.IssuingHolder.example_issuing_holder()], expand: ["rules"] ) issuing_holder = issuing_holder |...
32.052174
138
0.721107
ab0c87714a58ff51c82a01fab6ce4099501e0835
11,379
ex
Elixir
lib/generated/list_groups.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/generated/list_groups.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/generated/list_groups.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule(Kayrock.ListGroups) do @api :list_groups @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 1 ) defmodule(V0.Request) do @vsn 0 @api :list_groups @schema [] @moduledoc "Kayrock-generated request str...
31.175342
130
0.61842
ab0c99a969dcaeda52a96d4ccdefa2b680c1b802
957
ex
Elixir
summer/lib/summer.ex
danielspofford/otpv_2021
8961c34a06e65af8724f10b115cbc1d437fe586d
[ "MIT" ]
null
null
null
summer/lib/summer.ex
danielspofford/otpv_2021
8961c34a06e65af8724f10b115cbc1d437fe586d
[ "MIT" ]
null
null
null
summer/lib/summer.ex
danielspofford/otpv_2021
8961c34a06e65af8724f10b115cbc1d437fe586d
[ "MIT" ]
null
null
null
defmodule Summer do @moduledoc """ Keep Summer safe. """ use GenServer alias Summer.Core.Counter def child_spec({name, _initial_string} = args) do %{id: name, start: {Summer, :start_link, [args]}} end def start_link({name, initial_string}) do IO.inspect("starting #{name}") GenServer.star...
18.764706
64
0.666667
ab0ca50d1247ce1b503183d0cfef4f0dac5962d6
23,656
exs
Elixir
lib/elixir/test/elixir/kernel/errors_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/errors_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/errors_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.ErrorsTest do use ExUnit.Case, async: true import CompileAssertion defmodule UnproperMacro do defmacro unproper(args), do: args defmacro exit(args), do: args end test :invalid_token do assert_compile_fail SyntaxError, "nofil...
27.190805
126
0.635399
ab0cab79bb7aa83f3bffa9d64d38a3d80250e352
342
ex
Elixir
lib/draft_web/controllers/health_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/controllers/health_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/controllers/health_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
defmodule DraftWeb.HealthController do @moduledoc """ Simple controller to return 200 OK when website is running. This is used by the AWS ALB to determine the health of the target. """ use DraftWeb, :controller @spec index(Plug.Conn.t(), any) :: Plug.Conn.t() def index(conn, _params) do send_resp(con...
26.307692
66
0.69883
ab0d0a80e6420ab2e659d71d98f3103d8564ecc4
3,968
ex
Elixir
lib/blacksmith.ex
nemski/blacksmith
779cfab391c28083536476c23789e3706b925d1b
[ "Apache-2.0" ]
null
null
null
lib/blacksmith.ex
nemski/blacksmith
779cfab391c28083536476c23789e3706b925d1b
[ "Apache-2.0" ]
null
null
null
lib/blacksmith.ex
nemski/blacksmith
779cfab391c28083536476c23789e3706b925d1b
[ "Apache-2.0" ]
null
null
null
defmodule Blacksmith do defmacro __using__(_) do quote do import Blacksmith alias Blacksmith.Sequence @default_type :struct @new_function &Blacksmith.new/4 @save_one_function &Blacksmith.saved/1 @save_all_function &Blacksmith.new_saved_list/1 # Allow a common set of arg...
28.753623
105
0.582157
ab0d18c64c77db85284d14706331f962c4bdd214
1,753
ex
Elixir
clients/content/lib/google_api/content/v2/model/pos_store.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_store.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_store.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.462963
139
0.72162
ab0d2340a675adf2dc10c90ec457dde3e4bbfd71
3,362
ex
Elixir
lib/glimesh/chat/effects.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/chat/effects.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/chat/effects.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.Chat.Effects do @moduledoc """ Chat effects for rendering badges, usernames, etc. """ import GlimeshWeb.Gettext alias Glimesh.Payments alias GlimeshWeb.Router.Helpers, as: Routes alias Phoenix.HTML.Tag def render_global_badge(_user) do # if user.is_admin do # Tag.content_t...
24.720588
81
0.591612
ab0d3c57010a9021334bd9634cbd0dd8ed06f00b
1,437
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/timestamp.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/timestamp.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/timestamp.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...
28.74
77
0.712596
ab0d41a7ac663deb0c7f495761ac89c18b6463b1
420
ex
Elixir
lib/cadet/auth/providers/google_claim_extractor.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
lib/cadet/auth/providers/google_claim_extractor.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
lib/cadet/auth/providers/google_claim_extractor.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Auth.Providers.GoogleClaimExtractor do @moduledoc """ Extracts fields from Google JWTs. """ @behaviour Cadet.Auth.Providers.OpenID.ClaimExtractor def get_username(claims) do if claims["email_verified"] do claims["email"] else nil end end def get_name(claims) do ...
17.5
55
0.688095
ab0d710dad436341dd6ce61c2b7d6273837346cf
1,620
ex
Elixir
lib/augur/viewer_plug.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
28
2021-08-28T00:24:14.000Z
2022-03-26T02:16:16.000Z
lib/augur/viewer_plug.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
null
null
null
lib/augur/viewer_plug.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
null
null
null
defmodule Augur.ViewerPlug do @moduledoc """ View cached messages in a familiar interface Forward requests to this plug from your router: ``` if Mix.env() == :dev do forward("/sms/sent", Augur.ViewerPlug) end ``` """ use Plug.Router require EEx alias Augur.Config alias Augur.Cache ind...
23.142857
88
0.648148
ab0db2713b3c79635e46b24f5063a202acf8b571
1,511
ex
Elixir
lib/materia_file_transfer_web/views/error_helpers.ex
karabiner-inc/materia_file_transfer
d72f11d97a4ac87362225558aaf88909c9a10c64
[ "Apache-2.0" ]
null
null
null
lib/materia_file_transfer_web/views/error_helpers.ex
karabiner-inc/materia_file_transfer
d72f11d97a4ac87362225558aaf88909c9a10c64
[ "Apache-2.0" ]
null
null
null
lib/materia_file_transfer_web/views/error_helpers.ex
karabiner-inc/materia_file_transfer
d72f11d97a4ac87362225558aaf88909c9a10c64
[ "Apache-2.0" ]
null
null
null
defmodule MateriaFileTransferWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> ...
33.577778
88
0.679021
ab0db68656832878ff8c9e1b2607f1475cead03f
2,593
ex
Elixir
lib/myxql/protocol/types.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol/types.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol/types.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
defmodule MyXQL.Protocol.Types do @moduledoc false # https://dev.mysql.com/doc/internals/en/basic-types.html # https://dev.mysql.com/doc/internals/en/integer.html#fixed-length-integer defmacro uint(size) do quote do size(unquote(size)) - unit(8) - little end end defmacro int1(), do: quote(do...
34.118421
93
0.676051
ab0dc99cec88220c3b9c8f92549e76a1e1106698
743
ex
Elixir
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-3-phoenix/test/support/channel_case.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-3-phoenix/test/support/channel_case.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-3-phoenix/test/support/channel_case.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule HelloWorld.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 and query models. Finally, if the test case interacts with the database, it cannot b...
21.852941
56
0.720054
ab0dd1300aaa2b4918697f2bef67e857b6948810
1,805
ex
Elixir
lib/hippocrene/html_renderer.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
null
null
null
lib/hippocrene/html_renderer.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
6
2017-10-09T15:18:15.000Z
2017-10-09T15:18:16.000Z
lib/hippocrene/html_renderer.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
null
null
null
defmodule Hippocrene.HtmlRenderer do alias Hippocrene.Article alias Hippocrene.Config def render(article) do title = Dict.get(article, :title, "") date = Dict.get(article, :date) author = Dict.get(article, :author, Config.get(:default_author)) body = Dict.get(article, :body, []) "<h2>#{t...
31.12069
89
0.578947
ab0e027f90361eb6be1f233089b8f110896e9f3f
1,616
exs
Elixir
apps/cli/config/config.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/cli/config/config.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/cli/config/config.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config defer = fn fun -> apply(fun, []) end app_root = fn -> if String.contains?(File.cwd!(), "apps") do Path.join([File.cwd!(), "/../../"]) else File.cwd!() end end cooki...
25.25
73
0.671411
ab0e0b7ad183e6a7a5aeb6f2b7a89d160f39587b
1,017
exs
Elixir
test/changelog_web/controllers/admin/podcast_subscription_controller_test.exs
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
test/changelog_web/controllers/admin/podcast_subscription_controller_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
test/changelog_web/controllers/admin/podcast_subscription_controller_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.Admin.PodcastSubscriptionControllerTest do use ChangelogWeb.ConnCase @tag :as_admin test "lists all subs on index", %{conn: conn} do podcast = insert(:podcast) p1 = insert(:person) p2 = insert(:person) insert(:subscription_on_podcast, podcast: podcast, person: p1) inser...
29.911765
88
0.689282
ab0e117d050cdd28753009f235149d7846e87229
6,292
exs
Elixir
test/lib/deli/host_filter/default_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
4
2019-01-30T11:51:44.000Z
2019-10-14T02:38:26.000Z
test/lib/deli/host_filter/default_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
test/lib/deli/host_filter/default_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
defmodule Deli.HostFilter.DefaultTest do use DeliCase, async: false alias Deli.HostFilter.Default, as: HostFilter test "behaviour" do assert behaves?(HostFilter, Deli.HostFilter) end def a_z, do: nonempty_string(?a..?z) def a_k, do: nonempty_string(?a..?k) def l_z, do: nonempty_string(?l..?z) def ...
29.12963
100
0.511761
ab0e4b15bab15a395c573dbc118be8aedc61a3fe
1,691
exs
Elixir
test/membrane/core/element/lifecycle_controller_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
test/membrane/core/element/lifecycle_controller_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
test/membrane/core/element/lifecycle_controller_test.exs
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.LifecycleControllerTest do use ExUnit.Case alias Membrane.Core.Element.{InputQueue, LifecycleController, State} alias Membrane.Core.Message require Membrane.Core.Message defmodule DummyElement do use Membrane.Filter def_output_pad :output, caps: :any end setup d...
25.621212
94
0.54524
ab0e5a4600b61e837d00bbb5cdf59c2f70a263e4
315
ex
Elixir
lib/level_web/controllers/main_controller.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level_web/controllers/main_controller.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level_web/controllers/main_controller.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.MainController do @moduledoc false use LevelWeb, :controller alias LevelWeb.Auth def index(conn, _params) do user = conn.assigns[:current_user] conn |> assign(:api_token, Auth.generate_signed_jwt(user)) |> assign(:module, "main") |> render("index.html") end end
18.529412
57
0.685714
ab0eb40348a0151b0395341b45b293700de683f3
16,953
ex
Elixir
lib/scenic_sensor.ex
boydm/scenic_sensor
35a7b3610db9fd1ce1d9119b994cf471a93e6b07
[ "Apache-2.0" ]
12
2018-09-07T21:54:56.000Z
2021-10-23T00:34:41.000Z
lib/scenic_sensor.ex
boydm/scenic_sensor
35a7b3610db9fd1ce1d9119b994cf471a93e6b07
[ "Apache-2.0" ]
1
2019-11-27T05:04:22.000Z
2019-11-27T05:04:22.000Z
lib/scenic_sensor.ex
boydm/scenic_sensor
35a7b3610db9fd1ce1d9119b994cf471a93e6b07
[ "Apache-2.0" ]
2
2019-03-24T15:00:03.000Z
2019-11-27T04:46:39.000Z
# # Created by Boyd Multerer on August 20, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # # Centralized sensor data pub-sub with cache defmodule Scenic.Sensor do use GenServer @moduledoc """ A combination pub/sub server and data cache for sensors. It is intended to be the interface between...
30.879781
308
0.576712
ab0eb4dc315b09314a4a559f314c7055fecc7695
96
exs
Elixir
complete/test/e2e_with_cypress_web/views/layout_view_test.exs
PJUllrich/e2e-testing-with-cypress
19806edb347d829eef1fd13079ceb905fc2e4a39
[ "MIT" ]
2
2019-11-03T20:42:36.000Z
2019-12-03T14:12:52.000Z
complete/test/e2e_with_cypress_web/views/layout_view_test.exs
PJUllrich/e2e-testing-with-cypress
19806edb347d829eef1fd13079ceb905fc2e4a39
[ "MIT" ]
1
2021-03-09T20:17:35.000Z
2021-03-09T20:17:35.000Z
incomplete/test/e2e_with_cypress_web/views/layout_view_test.exs
PJUllrich/e2e-testing-with-cypress
19806edb347d829eef1fd13079ceb905fc2e4a39
[ "MIT" ]
null
null
null
defmodule E2eWithCypressWeb.LayoutViewTest do use E2eWithCypressWeb.ConnCase, async: true end
24
45
0.854167
ab0ebbbc76825e2a34bc871890d92b98225717f4
1,001
ex
Elixir
test/utils.ex
ulfurinn/riemannx
433290573726924c9b14a4777e4fc3ea80139bf4
[ "MIT" ]
27
2017-09-29T17:00:06.000Z
2021-02-05T17:43:53.000Z
test/utils.ex
ulfurinn/riemannx
433290573726924c9b14a4777e4fc3ea80139bf4
[ "MIT" ]
18
2017-10-18T13:18:34.000Z
2020-04-02T11:27:46.000Z
test/utils.ex
ulfurinn/riemannx
433290573726924c9b14a4777e4fc3ea80139bf4
[ "MIT" ]
3
2019-03-18T10:28:54.000Z
2019-10-21T11:13:36.000Z
defmodule RiemannxTest.Utils do @moduledoc false def term_to_port(<<"#Port<0.", id::binary>>) do n = id |> String.trim_trailing(">") |> String.to_integer() term_to_port(n) end def term_to_port(n) when is_integer(n) do name = Node.self() |> Atom.to_charlist() |> :erlang.iolist_to_binary() lengt...
29.441176
94
0.661339
ab0eda3bcd68babedf5a94667571583c8794a07d
660
ex
Elixir
lib/ory/hydra/response.ex
sitch/ory-hydra-elixir
529b5d120e0e857f9fadecf0e05f023f56394826
[ "MIT" ]
12
2020-01-13T22:36:57.000Z
2021-09-01T04:11:22.000Z
lib/ory/hydra/response.ex
sitch/ory-hydra-elixir
529b5d120e0e857f9fadecf0e05f023f56394826
[ "MIT" ]
8
2020-06-09T17:52:27.000Z
2022-02-21T22:01:29.000Z
lib/ory/hydra/response.ex
sitch/ory-hydra-elixir
529b5d120e0e857f9fadecf0e05f023f56394826
[ "MIT" ]
4
2020-07-17T01:56:47.000Z
2020-10-26T10:38:26.000Z
defmodule ORY.Hydra.Response do alias ORY.Hydra.{ Helpers } @type t :: %__MODULE__{ body: map, headers: ORY.Hydra.http_headers_t(), status_code: pos_integer } defstruct [:body, :headers, :status_code] @spec new(ORY.Hydra.Client.response_t(), ORY.Hydra.C...
24.444444
69
0.616667
ab0ef02ff4e13ff32a14ec5e386abdac19ce6c8a
117
ex
Elixir
apps/diet/lib/diet/repo.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
1
2020-06-01T21:25:54.000Z
2020-06-01T21:25:54.000Z
apps/diet/lib/diet/repo.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
221
2019-07-20T17:20:49.000Z
2021-08-02T06:21:10.000Z
apps/diet/lib/diet/repo.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
null
null
null
defmodule Diet.Repo do use Ecto.Repo, otp_app: :diet, adapter: Ecto.Adapters.Postgres use Paginator end
14.625
35
0.709402
ab0efdef9304a8ce4e0997f7647c2bfa3d310ce2
6,411
ex
Elixir
lib/gql_case.ex
andrelip/wormwood
4a8c41cfc5d26764acbe42bf396dc271fc38a3b8
[ "MIT" ]
null
null
null
lib/gql_case.ex
andrelip/wormwood
4a8c41cfc5d26764acbe42bf396dc271fc38a3b8
[ "MIT" ]
null
null
null
lib/gql_case.ex
andrelip/wormwood
4a8c41cfc5d26764acbe42bf396dc271fc38a3b8
[ "MIT" ]
null
null
null
defmodule Wormwood.GQLCase do @moduledoc """ This module defines a few helpful macros when testing against an Absinthe GraphQL schema. It essentially registers an Absinthe schema and a GQL document to the module they're called in. """ alias Wormwood.GQLLoader defmacro __using__(_opts) do quote do ...
34.101064
159
0.704726
ab0f065ebec57ac1fe8426c3117fe8331f44e63b
2,132
ex
Elixir
lib/simplex_noise/skew.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
7
2016-09-06T23:15:19.000Z
2020-11-12T13:59:00.000Z
lib/simplex_noise/skew.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
null
null
null
lib/simplex_noise/skew.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
1
2019-10-28T18:53:34.000Z
2019-10-28T18:53:34.000Z
defmodule SimplexNoise.Skew do # skew point to another grid # Wikipedia description only uses a single additive skewing function # for skewing and unskewing with a negative unskewing factor # skewing_factor = skewing_factor_to_simplical_grid(length(original_point)) # skewed_point = skew(original_point, sk...
46.347826
85
0.766886
ab0f35646e7d9a9c0d332f56a811ba6c8a5cdc31
3,163
exs
Elixir
test/xdr/float_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
test/xdr/float_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
test/xdr/float_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
defmodule XDR.FloatTest do @moduledoc """ Tests for the `XDR.Float` module. """ use ExUnit.Case alias XDR.Float alias XDR.Error.Float, as: FloatError describe "defguard tests" do test "valid_float? guard" do require XDR.Float assert XDR.Float.valid_float?(3.43) == true assert XDR...
23.087591
74
0.577932
ab0f57fff7b6587740767dbbe5bb3cfc2a68f306
3,840
exs
Elixir
test/cadet/jobs/autograder/utilities_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
test/cadet/jobs/autograder/utilities_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
test/cadet/jobs/autograder/utilities_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule Cadet.Autograder.UtilitiesTest do use Cadet.DataCase alias Cadet.Assessments.Assessment alias Cadet.Autograder.Utilities describe "fetch_assessments_due_yesterday" do test "it only returns yesterday's assessments" do yesterday = insert_list(2, :assessment, %{ is_published...
30.967742
91
0.616406
ab0f5e7ffb0e5304a47ff42596c7709fa7cf7601
353
exs
Elixir
priv/repo/migrations/20211230141206_add_processed_flag_to_matches.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
priv/repo/migrations/20211230141206_add_processed_flag_to_matches.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
priv/repo/migrations/20211230141206_add_processed_flag_to_matches.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Repo.Migrations.AddProcessedFlagToMatches do use Ecto.Migration def change do alter table(:teiserver_battle_matches) do add :processed, :boolean end execute "UPDATE teiserver_battle_matches SET processed = true;" execute "UPDATE teiserver_battle_matches SET processed = fals...
27.153846
87
0.764873
ab0fa3003cb23430a955fa55bc17809c1a61c058
883
exs
Elixir
test/shopify/graphql/limiter_test.exs
aalfson/shopify-graphql-elixir
ef197c0463834d4f76ec1a11d57b1af3cfb1890b
[ "MIT" ]
15
2020-01-13T22:36:52.000Z
2022-01-26T10:45:25.000Z
test/shopify/graphql/limiter_test.exs
aalfson/shopify-graphql-elixir
ef197c0463834d4f76ec1a11d57b1af3cfb1890b
[ "MIT" ]
14
2019-11-26T17:28:38.000Z
2021-10-11T16:06:49.000Z
test/shopify/graphql/limiter_test.exs
aalfson/shopify-graphql-elixir
ef197c0463834d4f76ec1a11d57b1af3cfb1890b
[ "MIT" ]
4
2020-08-01T02:25:05.000Z
2021-02-24T16:11:38.000Z
defmodule Shopify.GraphQL.LimiterTest do use ExUnit.Case, async: true describe "start_link/1" do test "without name" do { :ok, pid } = Shopify.GraphQL.Limiter.start_link([]) assert pid == Process.whereis(Shopify.GraphQL.Limiter) end test "with name" do { :ok, pid } = Shopify.GraphQL...
27.59375
108
0.645527
ab0fac5a206a3016091ac20f63a50ccb4f4179c2
1,244
ex
Elixir
lib/ua_inspector/database/vendor_fragments.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
44
2019-03-17T10:44:04.000Z
2022-01-30T10:09:28.000Z
lib/ua_inspector/database/vendor_fragments.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
12
2019-06-06T15:26:26.000Z
2022-03-09T17:21:21.000Z
lib/ua_inspector/database/vendor_fragments.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
8
2020-04-21T07:49:37.000Z
2021-12-07T00:18:33.000Z
defmodule UAInspector.Database.VendorFragments do @moduledoc false use UAInspector.Storage.Server require Logger alias UAInspector.Config alias UAInspector.Util alias UAInspector.Util.YAML @behaviour UAInspector.Database def start_link(init_arg) do GenServer.start_link(__MODULE__, init_arg, nam...
21.824561
77
0.655949
ab0fc6a5329d73c41ed6731691ea828b29daebc1
261
ex
Elixir
lib/contracts_api.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
lib/contracts_api.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
2
2021-03-16T06:43:04.000Z
2021-03-16T06:54:55.000Z
lib/contracts_api.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
defmodule ContractsApi do @moduledoc """ ContractsApi 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
26.1
66
0.762452
ab0fc9c71ce9dd3b03aa576e84ba82ad7aec2aec
1,905
ex
Elixir
deps/credo/lib/credo/check/consistency/multi_alias_import_require_use/reuse_op_helper.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/credo/lib/credo/check/consistency/multi_alias_import_require_use/reuse_op_helper.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/credo/lib/credo/check/consistency/multi_alias_import_require_use/reuse_op_helper.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.MultiAliasImportRequireUse.ReuseOpHelper do alias Credo.Code.Name @reuse_ops [:alias, :import, :require, :use] @name_delimiter "." def multi_names({:defmodule, _, _arguments} = ast) do ast |> Credo.Code.postwalk(&multi_names_only/2) |> Enum.uniq end def multi_...
28.432836
147
0.631496
ab101cca647cfb1c9c7f0812b95fd312a725d89e
912
ex
Elixir
lib/pop3mail/base64_decoder.ex
nico-amsterdam/pop3mail
f4050f1c401e98b0a9c6934c524ab14cb5e8c1f3
[ "MIT" ]
19
2016-06-28T21:54:57.000Z
2020-11-02T08:52:21.000Z
lib/pop3mail/base64_decoder.ex
nico-amsterdam/pop3mail
f4050f1c401e98b0a9c6934c524ab14cb5e8c1f3
[ "MIT" ]
4
2017-01-31T07:02:40.000Z
2019-05-24T12:07:31.000Z
lib/pop3mail/base64_decoder.ex
nico-amsterdam/pop3mail
f4050f1c401e98b0a9c6934c524ab14cb5e8c1f3
[ "MIT" ]
9
2017-02-15T15:19:11.000Z
2020-10-06T02:35:00.000Z
defmodule Pop3mail.Base64Decoder do @moduledoc """ Replaceable base64 decoder. Replace with your own implementation via the application config :pop3mail, base64_decoder: &lt;replacement&gt; After changing the config/config.exs run: * mix deps.compile --force pop3mail """ @base64_decoder Application...
31.448276
141
0.733553
ab10349029c384d75c5c0a1830f2f177f2ce5fc0
2,332
ex
Elixir
lib/sanbase_web/graphql/schema/queries/github_queries.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/schema/queries/github_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/schema/queries/github_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Schema.GithubQueries do use Absinthe.Schema.Notation import SanbaseWeb.Graphql.Cache, only: [cache_resolve: 1, cache_resolve: 2] alias SanbaseWeb.Graphql.Resolvers.GithubResolver alias SanbaseWeb.Graphql.Complexity alias SanbaseWeb.Graphql.Middlewares.AccessControl object :gi...
35.876923
90
0.689966
ab103cbc4127eb7eadc928d02e3b4b7e7932c61b
1,731
ex
Elixir
server/apps/boardr/lib/boardr/rules/domain.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr/lib/boardr/rules/domain.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr/lib/boardr/rules/domain.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule Boardr.Rules.Domain do require Record @max_board_dimension_size 256 @type d2 :: record(:d2, col: non_neg_integer, row: non_neg_integer) Record.defrecord(:d2, col: nil, row: nil) @type game_state :: :waiting_for_players | :playing | :win | :draw @type game :: record(:game, players: [player], ru...
29.844828
103
0.688619
ab104ea9ad125963956c4229ce76a02a8b2ad328
1,086
ex
Elixir
test/support/conn_case.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.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 ...
28.578947
63
0.736648
ab106cea76d85a4712f5fb99c903d238ade84c6b
1,027
ex
Elixir
lib/saturn/application.ex
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
9
2021-11-02T11:11:41.000Z
2022-03-04T07:39:22.000Z
lib/saturn/application.ex
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
null
null
null
lib/saturn/application.ex
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
5
2021-11-27T00:14:13.000Z
2022-03-04T07:17:49.000Z
defmodule Saturn.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Ecto repository Saturn.Repo, # Start the Telemetry supervisor ...
27.756757
64
0.697176
ab1085dd9494100097bb35742e1dec3fc34a4698
80
exs
Elixir
config/config.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
24
2020-04-22T18:39:53.000Z
2022-01-07T22:11:36.000Z
config/config.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
10
2020-05-11T12:37:15.000Z
2021-11-11T01:47:13.000Z
config/config.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
5
2020-05-15T20:14:44.000Z
2021-06-04T13:17:11.000Z
use Mix.Config config :logger, level: :debug import_config "#{Mix.env()}.exs"
13.333333
32
0.7
ab10b6c69ea5a041bcd3fe9d8552e46bd0bd6ad9
5,886
exs
Elixir
test/spec/utils_test.exs
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
null
null
null
test/spec/utils_test.exs
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
null
null
null
test/spec/utils_test.exs
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
null
null
null
defmodule Oasis.Spec.UtilsTest do use ExUnit.Case test "expand $ref" do yaml_str = """ components: schemas: Content: type: object required: - name - tags properties: name: type: string ...
25.929515
92
0.497621
ab10da9bdd10be3af1b1fbc5900bc06248a5ba3f
1,712
exs
Elixir
test/elixir_bench_web/views/job_view_test.exs
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
9
2018-01-05T18:59:29.000Z
2019-01-20T22:18:41.000Z
test/elixir_bench_web/views/job_view_test.exs
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
52
2018-02-19T20:04:23.000Z
2019-09-23T14:36:58.000Z
test/elixir_bench_web/views/job_view_test.exs
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
3
2018-03-07T21:56:46.000Z
2018-10-09T12:29:27.000Z
defmodule ElixirBenchWeb.JobViewTest do use ElixirBenchWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "render index.json given job without docker dependencies and environment variables" do repo = build(:repo, %{owner: "owner", name: "nam...
32.301887
99
0.593458
ab10e782e36000d77d1223c1cf923132950aee9c
362
ex
Elixir
lib/app/projects/project_type.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app/projects/project_type.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app/projects/project_type.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
defmodule App.Projects.ProjectType do use Ecto.Schema import Ecto.Changeset alias App.Projects.Project schema "project_types" do field :name, :string has_many :projects, Project timestamps() end @doc false def changeset(project_type, attrs) do project_type |> cast(attrs, [:name]) ...
18.1
39
0.69337
ab10e8398c588977670e431f23181078b00cf171
8,332
exs
Elixir
alchemist-server/lib/helpers/introspection.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
221
2016-05-03T09:46:04.000Z
2021-02-20T05:08:18.000Z
alchemist-server/lib/helpers/introspection.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
104
2017-02-28T16:26:12.000Z
2021-02-19T22:31:03.000Z
alchemist-server/lib/helpers/introspection.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
59
2017-03-12T07:07:35.000Z
2021-02-26T19:41:15.000Z
defmodule Introspection do # Based on : # https://github.com/elixir-lang/elixir/blob/c983b3db6936ce869f2668b9465a50007ffb9896/lib/iex/lib/iex/introspection.ex # https://github.com/elixir-lang/ex_doc/blob/82463a56053b29a406fd271e9e2e2f05e87d6248/lib/ex_doc/retriever.ex alias Kernel.Typespec def get_docs_md(...
29.031359
120
0.592775
ab111b7d247b86ed27a907b443d0dcee868971ae
2,509
ex
Elixir
lib/farmbot/regimen/name_provider.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/regimen/name_provider.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/regimen/name_provider.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.Regimen.NameProvider do @moduledoc """ Provides global names for running regimens as started by the RegimenSupervisor. # Example ``` %Regimen{} = reg = Farmbot.Asset.get_regimen_by_id(123, 100) via = Farmbot.Regimen.NameProvider.via(reg) pid = GenServer.whereis(via) ``` """ ...
27.877778
98
0.654444
ab1138d0cdde8d085319ce41b4764446fdff554f
1,999
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/routers_scoped_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/routers_scoped_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/routers_scoped_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...
39.98
527
0.741371
ab1152e4ffa451554f54736ae13665321e85edec
2,324
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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.888889
204
0.724182
ab115423b87973eb09f133c72d6d6838ccfff1f2
15,531
ex
Elixir
lib/codes/codes_f11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f11.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F11 do alias IcdCode.ICDCode def _F1110 do %ICDCode{full_code: "F1110", category_code: "F11", short_code: "10", full_name: "Opioid abuse, uncomplicated", short_name: "Opioid abuse, uncomplicated", category_name: "Opioid abuse, unco...
40.34026
109
0.655141
ab1161d18a1db0cc262103f9c6740b6ba897cfe4
1,329
ex
Elixir
deps/credo/lib/credo/check/warning/unused_file_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/check/warning/unused_file_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/check/warning/unused_file_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Check.Warning.UnusedFileOperation do @moduledoc """ The result of a call to the File module's functions has to be used. # TODO: write example File operations never work on the variable you pass in, but return a new variable which has to be used somehow. """ @explanation [check: @moduled...
28.276596
89
0.668172
ab116450cbb55f9b6989258d36ca86b0c622f3c8
33,443
ex
Elixir
lib/scenic/graph.ex
mobileoverlord/scenic
5a011d1d66efa4e61ca265de50b80cc7c9393887
[ "Apache-2.0" ]
null
null
null
lib/scenic/graph.ex
mobileoverlord/scenic
5a011d1d66efa4e61ca265de50b80cc7c9393887
[ "Apache-2.0" ]
null
null
null
lib/scenic/graph.ex
mobileoverlord/scenic
5a011d1d66efa4e61ca265de50b80cc7c9393887
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2017-05-06. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Graph do @moduledoc """ Please see [`Graph Overview`](overview_graph.html) for a high-level description. ## What is a Graph There are many types of graphs in the field of Computer Scienc...
34.056008
104
0.601172
ab1165462e447e38f8d820cb94ffa91da00bd1c9
4,247
ex
Elixir
lib/export/transform_map_export.ex
phishx-docs/transform_map
7dfb9787eb41bbeebcedffb7ede434a414538a1b
[ "MIT" ]
3
2018-07-10T11:01:28.000Z
2020-02-27T21:32:47.000Z
lib/export/transform_map_export.ex
phishx-docs/transform_map
7dfb9787eb41bbeebcedffb7ede434a414538a1b
[ "MIT" ]
null
null
null
lib/export/transform_map_export.ex
phishx-docs/transform_map
7dfb9787eb41bbeebcedffb7ede434a414538a1b
[ "MIT" ]
1
2020-09-23T03:28:00.000Z
2020-09-23T03:28:00.000Z
defmodule TransformMap.Export do @moduledoc """ Documentation for TransformMap Export. """ alias Elixlsx.Workbook alias Elixlsx.Sheet @base_dir "temp/" defp base_dir(base) do dir = base |> Path.expand() |> Kernel.<>("/") File.mkdir_p(dir) dir end defp stream_file(stre...
24.408046
216
0.56275
ab1169abe73603e37a28e1d8a1e94c9182eb8aa8
6,808
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_calculation_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_calculation_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_calculation_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.ProviderAuth.TransactionCalculationControllerTest do use AdminAPI.ConnCase, async: true # credo:disable-for-next-line setup do eth = insert(:token) omg = insert(:token) pair = insert(:exchange_pair, from_token: eth, to_token: omg, rate: 10) %{ eth: eth, omg: omg...
37.406593
98
0.608402