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
9e09e49e44c5313520557c45d6f3e2030039bbf8
1,019
ex
Elixir
installer/templates/phx_web/views/error_view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
installer/templates/phx_web/views/error_view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
installer/templates/phx_web/views/error_view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule <%= @web_namespace %>.ErrorView do use <%= @web_namespace %>, :view <%= if @html do %># 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 s...
36.392857
83
0.703631
9e09ea559786b670945cb86f6639b2086fcdcfbd
1,229
ex
Elixir
lib/game/command/mistake.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/mistake.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/mistake.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Mistake do @moduledoc """ Module to capture common mistakes. """ use Game.Command commands(["kill", "attack"], parse: false) @impl Game.Command def help(:topic), do: "Mistakes" def help(:short), do: "Common command mistakes" def help(:full) do """ #{help(:short)}. Th...
22.759259
99
0.63629
9e0a1148181f43428ce0fc5be42009425994fe6f
583
exs
Elixir
test/kindler_web/views/error_view_test.exs
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
test/kindler_web/views/error_view_test.exs
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
test/kindler_web/views/error_view_test.exs
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
defmodule KindlerWeb.ErrorViewTest do use KindlerWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(KindlerWeb.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
9e0a297a05ba00beab81363301cc2ce73a8ce652
2,190
ex
Elixir
lib/mix/lib/mix/tasks/compile.leex.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/mix/lib/mix/tasks/compile.leex.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/mix/lib/mix/tasks/compile.leex.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Mix.Tasks.Compile.Leex do use Mix.Task.Compiler alias Mix.Compilers.Erlang @recursive true @manifest "compile.leex" @switches [force: :boolean, verbose: :boolean, all_warnings: :boolean] # These options can't be controlled with :leex_options. @forced_opts [report: true, return: true] @modul...
29.594595
86
0.696347
9e0a2cf3f7431e1ce28d475ba2b9e9e3b97c7e31
255
exs
Elixir
config/test.exs
knathan2/dot
2e73d1339592e8d317d1b7c5acf777f86aeebe9d
[ "Apache-2.0" ]
null
null
null
config/test.exs
knathan2/dot
2e73d1339592e8d317d1b7c5acf777f86aeebe9d
[ "Apache-2.0" ]
null
null
null
config/test.exs
knathan2/dot
2e73d1339592e8d317d1b7c5acf777f86aeebe9d
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :dot, Dot.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
23.181818
56
0.72549
9e0a7e527ec64b34874ec4fc9760416e5160d68d
3,516
exs
Elixir
apps/ewallet/test/ewallet/web/config_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/config_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/config_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# 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 ...
35.16
76
0.692548
9e0ae124c95577d3f51c2ba230440da2aea26743
2,040
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v2/model/alert.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/alert.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/alert.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...
36.428571
235
0.695588
9e0ae1b5764f4e250967850076858c26a8e616b1
9,913
exs
Elixir
lib/elixir/test/elixir/kernel/raise_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/test/elixir/kernel/raise_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/raise_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.RaiseTest do use ExUnit.Case, async: true # Silence warnings defp atom, do: RuntimeError defp binary, do: "message" defp opts, do: [message: "message"] defp struct, do: %RuntimeError{message: "message"} @trace [{:foo, :bar, 0, []}] te...
20.52381
97
0.537173
9e0b130fe9742080eb8e4e03f7d6b30c09583310
1,178
ex
Elixir
lib/litelist_web/channels/user_socket.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
lib/litelist_web/channels/user_socket.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
lib/litelist_web/channels/user_socket.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", LitelistWeb.RoomChannel ## Transports # transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify a...
31
83
0.702886
9e0b36fc51adea2b2534dbcc9c49587bd7c07b18
1,774
exs
Elixir
test/bsv/crypto/ecies_test.exs
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
test/bsv/crypto/ecies_test.exs
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
test/bsv/crypto/ecies_test.exs
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
defmodule BSV.Crypto.ECIESTest do use ExUnit.Case doctest BSV.Crypto.ECIES setup_all do keys = BSV.KeyPair.generate %{ pub_key: keys.public_key, priv_key: keys.private_key } end describe "BSV.Crypto.ECIES.encrypt/3 and BSV.Crypto.ECIES.decrypt/3" do test "encryption with publi...
34.115385
151
0.708005
9e0b3f65fd88de4f92f75329b86d071cd1789990
54
ex
Elixir
lib/tnd/characters/gear.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
lib/tnd/characters/gear.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
1
2021-05-11T14:31:58.000Z
2021-05-11T14:31:58.000Z
lib/tnd/characters/gear.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
defmodule Tnd.Characters.Gear do use Tnd.Schema end
13.5
32
0.796296
9e0b4706bacc125ed42ecc0d3c73044a214d3f7f
1,966
ex
Elixir
lib/people_sorter/cli.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
lib/people_sorter/cli.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
lib/people_sorter/cli.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
defmodule PeopleSorter.CLI do @moduledoc """ This is the command line interface to People Sorter """ @doc """ Main entry point for the cli process """ def main(args \\ []) do IO.puts("Welcome to the People Sorter Program") with {sort_by, filenames} <- parse_args(args), :ok <- validate_so...
23.129412
83
0.65412
9e0b7ad74afbba8e327e0f5a6a44f2a4e9c776c0
66,346
ex
Elixir
lib/elixir/lib/module.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
32.238095
113
0.663898
9e0b84a5240ec353caeb5e44e61eecf705cfb381
1,571
ex
Elixir
farmbot_os/platform/target/configurator/vintage_network_layer.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_os/platform/target/configurator/vintage_network_layer.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_os/platform/target/configurator/vintage_network_layer.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Target.Configurator.VintageNetworkLayer do @behaviour FarmbotOS.Configurator.NetworkLayer @impl FarmbotOS.Configurator.NetworkLayer def list_interfaces() do VintageNet.all_interfaces() |> Kernel.--(["usb0", "lo"]) |> Enum.map(fn ifname -> [{["interface", ^ifname, "m...
34.152174
99
0.651178
9e0b99f4ce05dc5df0a614985b0e35727675bf54
4,207
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
63.742424
719
0.745424
9e0baa87b8c074aafd637c3fdde76af6171190f4
1,500
ex
Elixir
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_deploy_issue_model_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_deploy_issue_model_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_deploy_issue_model_response.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...
30.612245
112
0.779333
9e0bf4836b410ee044d756fd46653b1af28c55b9
8,619
ex
Elixir
lib/format/datetime/formatters/relative.ex
aforward-oss/timex
1dc6d355c12f06b0250466b62ca001dd1dad8de0
[ "MIT" ]
null
null
null
lib/format/datetime/formatters/relative.ex
aforward-oss/timex
1dc6d355c12f06b0250466b62ca001dd1dad8de0
[ "MIT" ]
null
null
null
lib/format/datetime/formatters/relative.ex
aforward-oss/timex
1dc6d355c12f06b0250466b62ca001dd1dad8de0
[ "MIT" ]
null
null
null
defmodule Timex.Format.DateTime.Formatters.Relative do @moduledoc """ Relative time, based on Moment.js Uses localized strings. The format string should contain {relative}, which is where the phrase will be injected. | Range | Sample Output -------------------------------------------...
48.971591
132
0.603202
9e0c1f092ab16d264a0844a2053ed4b3ea5a7f3a
1,766
exs
Elixir
kv_umbrella/apps/kv/test/registry_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
kv_umbrella/apps/kv/test/registry_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
kv_umbrella/apps/kv/test/registry_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
defmodule KV.RegistryTest do use ExUnit.Case, async: true setup context do _ = start_supervised!({KV.Registry, name: context.test}) %{registry: registry} end test "spawns buckets", %{registry: registry} do assert KV.Registry.lookup(registry, "shopping") == :error KV.Registry.create(registry, ...
32.109091
78
0.68573
9e0c262fa659b2d66f69c11810da59765beb88e0
507
ex
Elixir
lib/events/users/user.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/users/user.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/users/user.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule Events.Users.User do use Ecto.Schema import Ecto.Changeset schema "users" do field :name, :string field :email, :string field :photo_hash, :string has_many :posts, Events.Posts.Post has_many :comments, Events.Comments.Comment has_many :responses, Events.Responses.Response t...
22.043478
54
0.682446
9e0c357d7bbcb08716d8f1d5d93082fff3db918d
29,159
ex
Elixir
lib/pulsar_ex/connection.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
3
2021-04-16T01:54:20.000Z
2022-01-09T23:26:56.000Z
lib/pulsar_ex/connection.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
lib/pulsar_ex/connection.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
defmodule PulsarEx.Connection do defmodule State do @enforce_keys [ :broker, :broker_name, :last_request_id, :last_producer_id, :last_consumer_id, :requests, :producers, :consumers, :buffer, :metadata ] defstruct [ :broker, :broker_n...
27.744053
113
0.60417
9e0c372e0110fa2781caa0501a233d0f85300db1
414
ex
Elixir
unix_bridge/lib/unix_bridge/checker.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
unix_bridge/lib/unix_bridge/checker.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
unix_bridge/lib/unix_bridge/checker.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
# defmodule UnixBridge.Checker do # @spec config(UnixBridge.Config.t) :: {:ok, UnixBridge.Config.t} | {:error, String.t} # def config(config) do # end # # @spec tcp(String.t) :: {:ok, String.t} | {:error, String.t} # def tcp(binded_to) do # end # # @spec http(String.t, String.t, boolean) :: {:ok, String.t...
29.571429
88
0.603865
9e0c608b844ba7f7adcf196a00ab0e453b974ac0
266
exs
Elixir
.formatter.exs
maartenvanvliet/codex
4026a5bc64f5aafd94ce21ee4ec922ea79af49c9
[ "MIT" ]
3
2021-05-16T14:13:18.000Z
2021-05-18T18:51:06.000Z
.formatter.exs
maartenvanvliet/codex
4026a5bc64f5aafd94ce21ee4ec922ea79af49c9
[ "MIT" ]
11
2021-09-22T04:15:16.000Z
2022-03-24T04:14:17.000Z
.formatter.exs
maartenvanvliet/codex
4026a5bc64f5aafd94ce21ee4ec922ea79af49c9
[ "MIT" ]
null
null
null
# Used by "mix format" locals_without_parens = [step: 1, step: 2, params: 1] [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], locals_without_parens: locals_without_parens, export: [ locals_without_parens: locals_without_parens ] ]
24.181818
70
0.684211
9e0c68b268c91ccd24b5dd5ff25fffa6df9f1661
26
exs
Elixir
example/main.exs
tobegit3hub/lambda-docker
352701b338735af9fa8a516900896e884febe99b
[ "MIT" ]
343
2015-12-19T09:48:37.000Z
2022-03-30T03:20:52.000Z
example/main.exs
tobegit3hub/lambda-docker
352701b338735af9fa8a516900896e884febe99b
[ "MIT" ]
5
2015-12-26T07:25:11.000Z
2017-01-05T02:35:57.000Z
example/main.exs
tobegit3hub/lambda-docker
352701b338735af9fa8a516900896e884febe99b
[ "MIT" ]
47
2016-01-03T06:28:00.000Z
2021-01-12T07:44:38.000Z
IO.puts "Run Elixir code"
13
25
0.730769
9e0c814f002534b7db8ee0660ab33515718591db
2,369
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/model/date.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_mob/lib/google_api/ad_mob/v1/model/date.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_mob/lib/google_api/ad_mob/v1/model/date.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...
44.698113
567
0.710426
9e0c8e079b8770af15c9b11ca251ccad986ce04a
1,274
ex
Elixir
lib/blue_heron/att/responses/find_by_type_value_response.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/att/responses/find_by_type_value_response.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/att/responses/find_by_type_value_response.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.ATT.FindByTypeValueResponse do defstruct [:opcode, :handles_information_list] defmodule HandlesInformation do defstruct [:found_attribute_handle, :group_end_handle] def serialize(%{ found_attribute_handle: found_attribute_handle, group_end_handle: group_end_handle ...
31.85
90
0.736264
9e0c977d14c1e5f3e19708af05106908c535b6e7
811
exs
Elixir
test/validation/polygon_complex_a_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
null
null
null
test/validation/polygon_complex_a_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
null
null
null
test/validation/polygon_complex_a_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
null
null
null
defmodule Intersect.Validation.PolygonComplexATest do use ExUnit.Case @tag :validation test "08-001 - AC A-shells overlapping B-shell at A-vertex" do a = "POLYGON ((100 60, 140 100, 100 140, 60 100, 100 60))" |> Geo.WKT.decode() b = "MULTIPOLYGON (((80 40, 120 40, 120 80, 80 80, 80 40)),((120 80, ...
36.863636
192
0.607891
9e0c9f05aa6509a19ad57adc7026a220d258e61a
563
ex
Elixir
lib/appsignal/error.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
234
2016-08-18T20:43:15.000Z
2022-02-27T11:31:48.000Z
lib/appsignal/error.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
563
2016-07-25T17:45:14.000Z
2022-03-21T11:39:29.000Z
lib/appsignal/error.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
86
2016-09-13T22:53:46.000Z
2022-02-16T11:03:51.000Z
defmodule Appsignal.Error do @moduledoc false def metadata(%_{__exception__: true} = exception, stack) do { inspect(exception.__struct__), Exception.format_banner(:error, exception, stack), Appsignal.Stacktrace.format(stack) } end def metadata(:error, reason, stack) do :error ...
22.52
61
0.666075
9e0caf52e3fbc478f38afa36703da04a873eb945
343
exs
Elixir
leap/leap.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
leap/leap.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
leap/leap.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
defmodule Year do @doc """ Returns whether 'year' is a leap year. A leap year occurs: on every year that is evenly divisible by 4 except every year that is evenly divisible by 100 except every year that is evenly divisible by 400. """ @spec leap_year?(non_neg_integer) :: boolean def leap_year?...
21.4375
56
0.693878
9e0cdc385267c83143f5cfd4835178cc9b58b0e0
647
ex
Elixir
lib/tarjeta.ex
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
lib/tarjeta.ex
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
lib/tarjeta.ex
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
defmodule Tarjeta do @moduledoc false @enforce_keys [:id] defstruct id: nil, saldo: 0 def nueva_tarjeta(id) do %Tarjeta{id: id} end def cargar(tarjeta, dinero) do put_in(tarjeta.saldo, tarjeta.saldo + dinero) end def descontar(tarjeta, dinero) do if puede_descontar(tarjeta, dinero) do ...
21.566667
69
0.703246
9e0d078085654facd5564ddcd20500a87b549e24
356
exs
Elixir
priv/repo/migrations/20180724180328_create_steps.exs
kenkeiras/MonTree
7ec724634c123ee085921c4cac07800c9a15e4ec
[ "WTFPL" ]
2
2018-10-26T06:06:42.000Z
2020-02-16T15:01:42.000Z
priv/repo/migrations/20180724180328_create_steps.exs
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
108
2018-10-25T10:30:33.000Z
2021-07-28T04:18:03.000Z
priv/repo/migrations/20180724180328_create_steps.exs
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
null
null
null
defmodule Techtree.Repo.Migrations.CreateSteps do use Ecto.Migration def change do create table(:steps) do add :title, :string add :description, :text add :project_id, references(:projects, on_delete: :delete_all), null: false timestamps() end create ind...
20.941176
69
0.632022
9e0d137ffd86865976e73c888b538a2c30185d54
704
ex
Elixir
day_7/day_7.ex
cococov/advent-of-code-2021
2d398259730b5f9cbe71d35b8f0caecaf6c6e4f6
[ "MIT" ]
null
null
null
day_7/day_7.ex
cococov/advent-of-code-2021
2d398259730b5f9cbe71d35b8f0caecaf6c6e4f6
[ "MIT" ]
null
null
null
day_7/day_7.ex
cococov/advent-of-code-2021
2d398259730b5f9cbe71d35b8f0caecaf6c6e4f6
[ "MIT" ]
null
null
null
defmodule Day7 do def calculate_fuel_consumption(input, callback) do {min, max} = Enum.min_max(input) min..max |> Enum.to_list() |> Enum.map(fn x -> Enum.map(input, callback.(x)) end) |> Enum.map(&Enum.sum/1) |> Enum.min() end def result_1(input) do calculate_fuel_consumption(input, ...
21.333333
63
0.590909
9e0d140985d31b998fc059b4ddbd75020b37f214
1,548
ex
Elixir
clients/container/lib/google_api/container/v1/model/client_certificate_config.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/client_certificate_config.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/client_certificate_config.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.25
88
0.757752
9e0d2c3740b876dba766267d68a12d5df34940d8
3,853
ex
Elixir
lib/plausible_web/controllers/invitation_controller.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible_web/controllers/invitation_controller.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible_web/controllers/invitation_controller.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.InvitationController do use PlausibleWeb, :controller use Plausible.Repo alias Ecto.Multi alias Plausible.Auth.Invitation alias Plausible.Site.Membership plug PlausibleWeb.RequireAccountPlug def accept_invitation(conn, %{"invitation_id" => invitation_id}) do invitation = ...
30.579365
96
0.694005
9e0d46f2b3417b06ad041c063211f675b2c0e111
741
ex
Elixir
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/gettext.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
null
null
null
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/gettext.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
2
2019-09-09T08:26:44.000Z
2019-11-05T04:31:37.000Z
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/gettext.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
1
2019-09-06T09:27:27.000Z
2019-09-06T09:27:27.000Z
defmodule NewRelicSandboxWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import NewRelicSandboxWeb.Gettext # Simple translation ge...
29.64
72
0.690958
9e0d4c806353caa48b1d843928e315f1efe6bfd5
376
ex
Elixir
lib/cineplex_web.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex_web.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex_web.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
defmodule CineplexWeb do use Plug.Router plug( Plug.Parsers, parsers: [:urlencoded, :json], pass: ["application/json"], json_decoder: Jason ) plug(CineplexWeb.Plugs.Health) plug(Timber.Integrations.EventPlug) plug(:match) plug(:dispatch) forward("/jobs", to: CineplexWeb.Jobs) mat...
15.666667
40
0.667553
9e0d4c93f8520805a9f4af9c054400f01948f246
257
ex
Elixir
lib/easiest.ex
GleisonAndrade/easiest_api
d30298974fbd0d2538ba25ab1a43e125ea4cf6bf
[ "Apache-2.0" ]
null
null
null
lib/easiest.ex
GleisonAndrade/easiest_api
d30298974fbd0d2538ba25ab1a43e125ea4cf6bf
[ "Apache-2.0" ]
null
null
null
lib/easiest.ex
GleisonAndrade/easiest_api
d30298974fbd0d2538ba25ab1a43e125ea4cf6bf
[ "Apache-2.0" ]
null
null
null
defmodule EasiestApp do @moduledoc """ EasiestApp keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
9e0d81d56b6048a1091a6936d729d9d81b06a52f
1,946
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_constraint.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_constraint.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_constraint.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...
36.716981
118
0.741521
9e0d9a00968d9806b0e18eac1bb052ed3aac6f67
749
exs
Elixir
apps/idp/priv/repo/migrations/20191031215056_create_migration_history_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/priv/repo/migrations/20191031215056_create_migration_history_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/priv/repo/migrations/20191031215056_create_migration_history_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
defmodule Idp.Repo.Migrations.CreateMigrationHistoryTable do use Ecto.Migration def change do create table(:migration_history, primary_key: false) do add :id, :uuid, primary_key: true add :notes, :string add :migration_date, :utc_datetime add :displaced_person_id, references(:displace...
32.565217
104
0.723632
9e0dd0d36fbf56dad9ab846b8ca1ad1d5ade1831
102
ex
Elixir
lib/grpow/repo.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
lib/grpow/repo.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
2
2021-03-11T05:11:12.000Z
2021-05-11T22:29:52.000Z
lib/grpow/repo.ex
g2t3s/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
defmodule Grpow.Repo do use Ecto.Repo, otp_app: :grpow, adapter: Ecto.Adapters.Postgres end
17
35
0.715686
9e0e02357d3de126e8411a447b89258d77480d00
960
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/request_builder.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/request_builder.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/request_builder.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...
36.923077
77
0.763542
9e0e1cfdd901b81dc7430311293988571d6db1bd
2,993
ex
Elixir
test/support/adapters/bypass/config/config.ex
stephenmoloney/openstex
e62f548d67e9c71317be670ed80c49e97d9b2dd2
[ "MIT" ]
6
2016-07-08T05:29:23.000Z
2019-09-17T14:17:06.000Z
test/support/adapters/bypass/config/config.ex
stephenmoloney/openstex
e62f548d67e9c71317be670ed80c49e97d9b2dd2
[ "MIT" ]
16
2016-05-21T08:21:45.000Z
2018-03-04T22:11:49.000Z
test/support/adapters/bypass/config/config.ex
stephenmoloney/openstex
e62f548d67e9c71317be670ed80c49e97d9b2dd2
[ "MIT" ]
2
2017-08-28T22:24:51.000Z
2019-06-16T14:47:38.000Z
defmodule Openstex.Adapters.Bypass.Config do @moduledoc :false # @default_headers [{"Content-Type", "application/json; charset=utf-8"}] |> Enum.into(%{}) # @default_options [timeout: 10000, recv_timeout: 30000] # @default_adapter HTTPipe.Adapters.Hackney use Openstex.Adapter.Config alias Openstex.Adapters.Bypa...
28.504762
122
0.683261
9e0e27d7c1ab246dba2f97ed669b7bb21cb4ec63
3,164
ex
Elixir
programming/elixir/conduit/lib/conduit/blog/aggregates/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit/blog/aggregates/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit/blog/aggregates/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule Conduit.Blog.Aggregates.Article do defstruct [ uuid: nil, slug: nil, title: nil, description: nil, body: nil, tag_list: nil, author_uuid: nil, favorited_by_authors: MapSet.new(), favorite_count: 0, ] alias Conduit.Blog.Aggregates.Article alias Conduit.Blog.Command...
25.934426
95
0.678887
9e0e4469e450b0aac381aa7abb0661dc2fd7b81e
1,304
exs
Elixir
config/dev.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
config/dev.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
1
2017-04-21T17:02:56.000Z
2017-04-21T17:02:56.000Z
config/dev.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :ex_gnarl, ExGnarl.Endpoint, http: [port: 4000...
29.636364
73
0.694785
9e0ecfebea7f86caff0c278225197e918e7562e5
1,635
exs
Elixir
config/prod.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
config/prod.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
config/prod.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
import Config config :sanbase, SanbaseWeb.Endpoint, http: [ port: {:system, "PORT"}, protocol_options: [ max_header_name_length: 64, max_header_value_length: 8192, max_request_line_length: 16_384, max_headers: 100 ] ], url: [host: "localhost", port: {:system, "PORT"}], serve...
29.196429
74
0.724159
9e0ed811b391240f50a666191d5322694b68d072
821
ex
Elixir
testData/org/elixir_lang/parser_definition/bit_string_parsing_test_case/OneWithTrailingComma.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/bit_string_parsing_test_case/OneWithTrailingComma.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/bit_string_parsing_test_case/OneWithTrailingComma.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
<< &one, >> << one \\ two, >> << one :: two, >> << one | two, >> << one = two, >> << one or two, >> << one || two, >> << one and two, >> << one && two, >> << one != two, >> << one < two, >> << one |> two, >> << one in two, >> << one ++ two, >> << one..two, >> << one + two, >> << one / two, >> << one * two, >> << one ^^...
14.155172
27
0.309379
9e0ee03060a9e5276d5cf0d1dddd584f314fe616
2,136
exs
Elixir
example/mix.exs
fazibear/kiosk_system_amdgpu_x86_64
ab083e14d13d1caa3a050960cdccdb43b47dfe1e
[ "Apache-2.0" ]
null
null
null
example/mix.exs
fazibear/kiosk_system_amdgpu_x86_64
ab083e14d13d1caa3a050960cdccdb43b47dfe1e
[ "Apache-2.0" ]
null
null
null
example/mix.exs
fazibear/kiosk_system_amdgpu_x86_64
ab083e14d13d1caa3a050960cdccdb43b47dfe1e
[ "Apache-2.0" ]
null
null
null
defmodule Example.MixProject do use Mix.Project System.put_env("MIX_TARGET", "x86_64") @target System.get_env("MIX_TARGET") || "host" def project do [ app: :example, version: "0.1.0", elixir: "~> 1.4", target: @target, archives: [nerves_bootstrap: "~> 1.0-rc"], deps_pat...
28.864865
89
0.628745
9e0ee39e9b3bb4bd6c52bd4abdafb3f8fe907bfc
2,315
ex
Elixir
DL-DWS/DL-DWS (f02=232263168,s=0.000302459,m0=1370).ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
13
2020-01-18T22:08:44.000Z
2022-02-06T14:19:57.000Z
DL-DWS/DL-DWS (f02=232263168,s=0.000302459,m0=1370).ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
4
2019-05-10T07:17:41.000Z
2021-10-20T16:24:04.000Z
DL-DWS/DL-DWS (f02=232263168,s=0.000302459,m0=1370).ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
15
2019-06-04T06:13:32.000Z
2022-02-15T07:28:52.000Z
# https://www.decentlab.com/products/weighing-scale-for-lorawan defmodule DecentlabDecoder do @protocol_version 2 # device-specific parameters @f02 232263168 @s 0.000302459 @m0 1370 defp sensor_defs do [ %{ length: 3, values: [ %{ :name => "Frequency", ...
25.163043
108
0.544708
9e0f01f4d6d429e52a1523eba3aeffcf623dd140
2,412
ex
Elixir
lib/aws/iot/thing_shadow/supervisor.ex
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
27
2016-07-09T01:22:17.000Z
2022-02-22T02:44:16.000Z
lib/aws/iot/thing_shadow/supervisor.ex
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
1
2016-08-04T02:56:34.000Z
2016-08-08T17:18:48.000Z
lib/aws/iot/thing_shadow/supervisor.ex
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
6
2016-08-03T15:49:17.000Z
2018-04-15T12:15:56.000Z
defmodule Aws.Iot.ThingShadow.Supervisor do @moduledoc ~S""" Module-based supervisor for `ThingShadow.Client`. Ensures that event handling and dispatch can survive the lifetime of `ThingShadow.Client`. You may want to use a module-based supervisor if: - You need to perform some particular action on superv...
41.586207
280
0.723466
9e0f6cc6cc2f75c83788f19e12c43ebfebf73b46
1,414
exs
Elixir
test/models/collector_log_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/models/collector_log_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/models/collector_log_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
defmodule Betazoids.CollectorLogTest do use Betazoids.ModelCase alias Betazoids.CollectorLog alias Betazoids.Repo @valid_attrs %{done: true, fetch_count: 42, message_count: 42, next_url: nil} @invalid_attrs %{} test "changeset with valid attributes" do changeset = CollectorLog.changeset(%CollectorLog...
32.883721
80
0.718529
9e0f886ba9f9aad7f100649d4f563a73b0b595d7
1,063
exs
Elixir
mix.exs
nitkagoshima-sysken/Eagle
11597dafff00e82153f9fafe25be756e1361358e
[ "MIT" ]
1
2015-11-15T08:07:48.000Z
2015-11-15T08:07:48.000Z
mix.exs
nitkagoshima-sysken/Eagle
11597dafff00e82153f9fafe25be756e1361358e
[ "MIT" ]
null
null
null
mix.exs
nitkagoshima-sysken/Eagle
11597dafff00e82153f9fafe25be756e1361358e
[ "MIT" ]
null
null
null
defmodule Eagle.Mixfile do use Mix.Project def project do [app: :eagle, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end ...
26.575
63
0.595484
9e0f9088b4fff4a32198313e7cf2ac1826e40482
231
ex
Elixir
test/support/web/coherence/redirects.ex
danschultzer/coherence_assent
538e7e4aba3146c9bf4ac7798fea4b8a0ff099d5
[ "Unlicense", "MIT" ]
22
2017-09-15T17:52:31.000Z
2018-10-07T02:36:27.000Z
test/support/web/coherence/redirects.ex
danschultzer/coherence_oauth2
538e7e4aba3146c9bf4ac7798fea4b8a0ff099d5
[ "Unlicense", "MIT" ]
15
2017-11-01T15:39:37.000Z
2019-03-11T18:02:04.000Z
test/support/web/coherence/redirects.ex
danschultzer/coherence_oauth2
538e7e4aba3146c9bf4ac7798fea4b8a0ff099d5
[ "Unlicense", "MIT" ]
9
2017-09-18T20:48:06.000Z
2018-12-05T15:24:24.000Z
defmodule Coherence.Redirects do @moduledoc false use Redirects def session_create(conn, _), do: redirect(conn, to: "/session_created") def registration_create(conn, _), do: redirect(conn, to: "/registration_created") end
28.875
83
0.753247
9e0f9ffddd3fd1577417f67fa30c7f4f531e58fb
6,996
ex
Elixir
lib/hpack/string.ex
kiennt/hpack
6047e69204796c69b789bb9a96689430c92577d4
[ "MIT" ]
1
2016-03-13T00:03:17.000Z
2016-03-13T00:03:17.000Z
lib/hpack/string.ex
kiennt/hpack
6047e69204796c69b789bb9a96689430c92577d4
[ "MIT" ]
null
null
null
lib/hpack/string.ex
kiennt/hpack
6047e69204796c69b789bb9a96689430c92577d4
[ "MIT" ]
null
null
null
defmodule HPACK.String do @huffman_table [ {0x1ff8, 13}, {0x7fffd8, 23}, {0xfffffe2, 28}, {0xfffffe3, 28}, {0xfffffe4, 28}, {0xfffffe5, 28}, {0xfffffe6, 28}, {0xfffffe7, 28}, {0xfffffe8, 28}, {0xffffea, 24}, {0x3ffffffc, 30}, {0xfffffe9, 28}, {0xfffffea, 28}, {0...
21.460123
105
0.513579
9e0fa21c170b703732f9f06dfbcb507ea6595b9b
1,097
ex
Elixir
lib/scenic/primitive/style/stroke.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/stroke.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/stroke.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 5/6/17. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.Stroke do use Scenic.Primitive.Style alias Scenic.Primitive.Style.Paint # ============================================================================ # data verification and ...
24.377778
80
0.474932
9e1015b8d56dd02c8341d9f92f414b75bfd794d4
6,548
ex
Elixir
lib/erlef/academic_papers.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef/academic_papers.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef/academic_papers.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
defmodule Erlef.AcademicPapers do @moduledoc """ Context responsible for managing Academic Papers """ @doc """ Using this stub for now. If we ever want to replace the datastore, we can. Date convention: If you are only given a year, make the date Jan 1st for that year. """ def all() do [ %...
38.745562
227
0.60843
9e10464000bc7f8fdba71fb0752be2dc141bd617
2,092
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_specification.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_specification.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_specification.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.019608
186
0.756692
9e105361f5264e0786210ca2fcd842615dab519c
150
exs
Elixir
test/at_sample_app_test.exs
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
3
2020-06-29T19:49:48.000Z
2020-11-26T14:37:11.000Z
test/at_sample_app_test.exs
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
5
2020-06-16T20:37:47.000Z
2021-03-03T20:33:43.000Z
test/at_sample_app_test.exs
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
null
null
null
defmodule AtSampleAppTest do use ExUnit.Case doctest AtSampleApp test "greets the world" do assert AtSampleApp.hello() == :world end end
16.666667
40
0.733333
9e10568cb890316128cf08b870ec05fc0d7556b7
83
ex
Elixir
lib/chartjs_phoenix_demo_web/views/page_view.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
lib/chartjs_phoenix_demo_web/views/page_view.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
lib/chartjs_phoenix_demo_web/views/page_view.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
defmodule ChartjsPhoenixDemoWeb.PageView do use ChartjsPhoenixDemoWeb, :view end
20.75
43
0.855422
9e107c83b33c03217ec1178799ccfde26f6edca2
2,394
exs
Elixir
test/memcache_client_transcoder_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
15
2015-06-01T12:47:33.000Z
2017-12-15T13:46:42.000Z
test/memcache_client_transcoder_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
6
2016-03-19T05:57:26.000Z
2017-05-08T06:33:21.000Z
test/memcache_client_transcoder_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
14
2015-11-14T14:44:35.000Z
2017-10-14T19:21:04.000Z
defmodule Memcache.ClientTest.Transcoder do use ExUnit.Case test "raw transcoder encode_value" do assert {:error, {:invalid_value, %{}}} == Memcache.Client.Transcoder.encode_value(%{}) {encoded, data_type} = Memcache.Client.Transcoder.encode_value("test") assert encoded == "test" assert data_type ...
35.731343
103
0.722222
9e10b3d5e68ddf2047a432ae88f62797b575ecc3
317
ex
Elixir
brighterx/lib/brighterx/resources/facility.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
brighterx/lib/brighterx/resources/facility.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
brighterx/lib/brighterx/resources/facility.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
defmodule Brighterx.Resources.Facility do @moduledoc """ A facility resource """ @derive [Poison.Encoder] defstruct id: nil, company_id: nil, name: nil, address: nil, udf: nil, schedule: nil, devices: [], enabled: nil end
19.8125
41
0.514196
9e10dd385401d504d9d0b372bcb32221e659e4e5
781
ex
Elixir
lib/plausible/billing/plans.ex
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
lib/plausible/billing/plans.ex
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
lib/plausible/billing/plans.ex
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
defmodule Plausible.Billing.Plans do @plans %{ monthly: %{ "10k": %{product_id: "558018", due_now: "$6"}, "100k": %{product_id: "558745", due_now: "$12"}, "1m": %{product_id: "558746", due_now: "$36"}, }, yearly: %{ "10k": %{product_id: "572810", due_now: "$48"}, "100k": %{pr...
23.666667
54
0.53265
9e110e44ea581ad23448f413175309e847772f87
367
ex
Elixir
lib/hl7/2.4/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.MSA do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, acknowledgement_code: nil, message_control_id: nil, text_message: nil, expected_sequence_number: nil, delayed_acknowledgment_type: nil,...
20.388889
39
0.683924
9e1129e668ee87075a8e74bc3168971b7782a8b2
583
exs
Elixir
test/views/error_view_test.exs
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
6
2016-10-13T02:29:54.000Z
2017-09-13T18:17:56.000Z
test/views/error_view_test.exs
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
null
null
null
defmodule Superlific.ErrorViewTest do use Superlific.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Superlific.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
9e114e2d7e55b1f5b0f21300bc2d4f7c803e38af
202
exs
Elixir
test/chit_chat_web/controllers/page_controller_test.exs
GalPin-Ark/chit_chat
8cb492b7c6daca82fdbd536f6dbc185c02991730
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
test/chit_chat_web/controllers/page_controller_test.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
test/chit_chat_web/controllers/page_controller_test.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChatWeb.PageControllerTest do use ChitChatWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.444444
60
0.683168
9e115bcaefd6ace3aca2741b9161e3ae4652ead3
913
exs
Elixir
mix.exs
thatemilio/robotxt
36b358be7640c94d82d666e453b9d6574f0d4872
[ "Apache-2.0" ]
null
null
null
mix.exs
thatemilio/robotxt
36b358be7640c94d82d666e453b9d6574f0d4872
[ "Apache-2.0" ]
null
null
null
mix.exs
thatemilio/robotxt
36b358be7640c94d82d666e453b9d6574f0d4872
[ "Apache-2.0" ]
null
null
null
defmodule Robotxt.MixProject do use Mix.Project @version "0.1.3" def project do [ app: :robotxt, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "Robotxt", sou...
19.425532
67
0.584885
9e11746f4dffa10f9509b9f9c0e2aaddc6e048b2
678
exs
Elixir
test/clickhousex/storage_test.exs
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
43
2018-04-02T07:00:44.000Z
2020-08-14T18:47:26.000Z
test/clickhousex/storage_test.exs
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
21
2020-09-07T08:19:59.000Z
2021-08-25T03:46:38.000Z
test/clickhousex/storage_test.exs
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
22
2018-08-08T07:45:44.000Z
2020-09-01T07:58:54.000Z
defmodule Clickhousex.StorageTest do use ClickhouseCase, async: true alias Clickhousex.Result test "can create and drop database", ctx do assert {:ok, _, %Result{}} = schema(ctx, "CREATE DATABASE other_db") assert {:ok, _, %Result{}} = schema(ctx, "DROP DATABASE other_db") end test "returns correct...
35.684211
100
0.712389
9e11a9a024cc17feb505f0a84c0077f32e89e969
1,804
ex
Elixir
lib/elixir_jobs_web/views/view_helpers.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs_web/views/view_helpers.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs_web/views/view_helpers.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
defmodule ElixirJobsWeb.ViewHelpers do use PhoenixHtmlSanitizer, :markdown_html def class_with_error(form, field, base_class) do if error_on_field?(form, field) do "#{base_class} error" else base_class end end def error_on_field?(form, field) do form.errors |> Enum.map(fn({attr...
21.223529
75
0.622506
9e11b137100ee3da716469fcbd78e3d4ae2dc337
789
exs
Elixir
2021/day3/test/day3_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day3/test/day3_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day3/test/day3_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Day3Test do use ExUnit.Case doctest Task1 test "dinary diagnostic (test case)" do assert Task1.solution([ "00100", "11110", "10110", "10111", "10101", "01111", "00111", "11100", "100...
20.230769
48
0.357414
9e11c67c5a88a70ab2899815a303e1ed56325841
4,305
exs
Elixir
test/oli/delivery/sections/enrollments_browse_test.exs
AnkitKadamATS/oli-torus
3f9d5e8d568684b28d2ed65e17f796ae4c27c072
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/delivery/sections/enrollments_browse_test.exs
AnkitKadamATS/oli-torus
3f9d5e8d568684b28d2ed65e17f796ae4c27c072
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/delivery/sections/enrollments_browse_test.exs
Simon-Initiative/oli-torus
7f3eaeaa18ca8837e5afbff3e8899ae13b49de8b
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Sections.EnrollmentsBrowseTest do use Oli.DataCase alias Oli.Delivery.Sections alias Oli.Repo.{Paging, Sorting} alias Oli.Delivery.Sections.{EnrollmentBrowseOptions} alias Lti_1p3.Tool.ContextRoles import Ecto.Query, warn: false def make_sections(project, institution, prefix, n, a...
30.531915
97
0.609524
9e11d049b8fe9a5116c7e4d246a3af6bdb1c93e1
4,746
ex
Elixir
lib/elixir/lib/task/supervised.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervised.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervised.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervised do @moduledoc false @ref_timeout 5_000 def start(info, fun) do {:ok, :proc_lib.spawn(__MODULE__, :noreply, [info, fun])} end def start_link(info, fun) do {:ok, :proc_lib.spawn_link(__MODULE__, :noreply, [info, fun])} end def start_link(caller, link, info, fun) do ...
31.223684
95
0.617151
9e11dee58b6677659cb0a7f3bbbd7f372be01975
8,231
exs
Elixir
lib/ex_unit/test/ex_unit_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule ExUnitTest do use ExUnit.Case import ExUnit.CaptureIO test "it supports many runs" do defmodule SampleTest do use ExUnit.Case test "true" do assert false end test "false" do assert false end end ...
24.208824
93
0.595553
9e11fcf929e7b062e435a562e6356dc9dba8f46a
2,392
ex
Elixir
lib/isbn.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
6
2020-04-16T03:16:32.000Z
2020-04-21T15:23:04.000Z
lib/isbn.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
1
2020-12-19T18:54:29.000Z
2020-12-19T18:54:29.000Z
lib/isbn.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
null
null
null
defmodule ISBN do @moduledoc """ Documentation for ISBN. """ @isbn13_multipliers [1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3] @isbn10_multipliers [1, 2, 3, 4, 5, 6, 7, 8, 9] @doc """ Checks if the given string is a valid ISBN. Works with both ISBN-10 and ISBN-13. Allows hyphens and spaces in the string. #...
20.982456
79
0.585702
9e120a7e8d11a3e7d72812ba9c3fd17b2fa36d22
671
ex
Elixir
lib/web/views/access_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/views/access_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/views/access_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.AccessView do use Web, :view def recertification_heading_by_status(user) do case user.status == "decertified" do true -> [ content_tag(:h4, "Your account must be recertified.", class: "mt-5"), content_tag(:p, "Request recertification by submitting the following:"...
23.137931
96
0.602086
9e120d287da5b3387056f6f234672f4341e88296
66
exs
Elixir
test/test_helper.exs
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
2
2020-08-28T19:17:33.000Z
2020-09-13T18:49:20.000Z
test/test_helper.exs
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
5
2018-10-28T14:39:26.000Z
2019-01-31T17:23:36.000Z
test/test_helper.exs
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Mars.Repo, :manual)
22
50
0.772727
9e1214c19e5d1764018ffc4fe4e3250272b821fa
138
exs
Elixir
test/estuary_test.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
test/estuary_test.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
test/estuary_test.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
defmodule EstuaryTest do use ExUnit.Case doctest Estuary test "greets the world" do assert Estuary.hello() == :world end end
15.333333
36
0.710145
9e122c2b8c5cfd273bc66d1cf90bdd8a7c683ab3
2,501
ex
Elixir
web/models/post.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
web/models/post.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
web/models/post.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
defmodule Changelog.Post do use Changelog.Web, :model alias Changelog.Regexp schema "posts" do field :title, :string field :slug, :string field :guid, :string field :tldr, :string field :body, :string field :published, :boolean, default: false field :published_at, Timex.Ecto.DateT...
25.01
85
0.681327
9e1233c946a38aa05eae7bd2c243bcf201043e4e
948
exs
Elixir
test/bucket_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
193
2015-01-04T15:36:15.000Z
2022-03-17T21:31:57.000Z
test/bucket_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
51
2015-02-12T02:32:23.000Z
2020-09-22T11:10:56.000Z
test/bucket_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
54
2015-03-05T01:10:33.000Z
2021-09-27T10:40:26.000Z
defmodule Riak.BucketTest do use Riak.Case @moduletag :riak1 @tag timeout: 10000 test "list bucket", context do {:ok, buckets} = Riak.Bucket.list context[:pid] assert is_list(buckets) end test "list! bucket", context do buckets = Riak.Bucket.list! context[:pid] assert is_list(buckets) e...
23.121951
70
0.644515
9e12390738539437e9fd56c0a3911f8950ee0307
2,798
ex
Elixir
lib/triton/validate.ex
gjaldon/triton
0a9bf3490816898c3a5012351b4e2830e71a14b6
[ "MIT" ]
1
2020-05-16T07:34:47.000Z
2020-05-16T07:34:47.000Z
lib/triton/validate.ex
gjaldon/triton
0a9bf3490816898c3a5012351b4e2830e71a14b6
[ "MIT" ]
null
null
null
lib/triton/validate.ex
gjaldon/triton
0a9bf3490816898c3a5012351b4e2830e71a14b6
[ "MIT" ]
1
2019-12-20T16:56:19.000Z
2019-12-20T16:56:19.000Z
defmodule Triton.Validate do def coerce(query) do with {:ok, query} <- validate(query) do fields = query[:__schema__].__fields__ {:ok, Enum.map(query, fn x -> coerce(x, fields) end)} end end def validate(query) do case Triton.Helper.query_type(query) do {:error, err} -> {:error, err...
49.964286
202
0.648678
9e125c29881fd674bd4e708ab5053734c7ce12c1
17,567
ex
Elixir
lib/chart/pointplot.ex
zdenal/contex
6dfa0507ffd79573e5308a83bc6c9d025b6c23ad
[ "MIT" ]
455
2020-01-15T22:21:40.000Z
2022-03-29T23:20:45.000Z
lib/chart/pointplot.ex
zdenal/contex
6dfa0507ffd79573e5308a83bc6c9d025b6c23ad
[ "MIT" ]
48
2020-02-10T06:19:17.000Z
2022-03-29T03:02:52.000Z
lib/chart/pointplot.ex
zdenal/contex
6dfa0507ffd79573e5308a83bc6c9d025b6c23ad
[ "MIT" ]
30
2020-01-15T22:21:35.000Z
2022-03-10T18:11:51.000Z
defmodule Contex.PointPlot do @moduledoc """ A simple point plot, plotting points showing y values against x values. It is possible to specify multiple y columns with the same x column. It is not yet possible to specify multiple independent series. The x column can either be numeric or date time data. If nu...
34.717391
122
0.694541
9e12a032272898f7fa6d96a0a27aa29f3027ed51
361
exs
Elixir
priv/repo/seeds.exs
LuizFerK/ElixirGitHub
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
1
2021-11-23T16:51:04.000Z
2021-11-23T16:51:04.000Z
priv/repo/seeds.exs
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "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: # # Elixirgithub.Repo.insert!(%Elixirgithub.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as...
30.083333
61
0.714681
9e12b65fe39ef2f82052ffa48caecf7ac12736b0
43,094
ex
Elixir
lib/ecto/repo.ex
carakan/ecto
b09ac0c93d45a421b379ed4671c805b28a70cec9
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
carakan/ecto
b09ac0c93d45a421b379ed4671c805b28a70cec9
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
carakan/ecto
b09ac0c93d45a421b379ed4671c805b28a70cec9
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
35.762656
98
0.666288
9e13051018af197ec54323b8764e9798ad7254dc
2,451
ex
Elixir
apps/omg_api/test/support/state/prop_test/deposits.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/state/prop_test/deposits.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/state/prop_test/deposits.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
# 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...
34.041667
119
0.647899
9e13468390ad6f16535c99cab9512ca2e8c0eea7
2,792
exs
Elixir
apps/writer_kafka/test/writer/kafka/topic_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/writer_kafka/test/writer/kafka/topic_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/writer_kafka/test/writer/kafka/topic_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Writer.Kafka.TopicTest do use ExUnit.Case use Divo use Placebo import AssertAsync @moduletag integration: true, divo: true alias Writer.Kafka.Topic @server [localhost: 9092] setup do test = self() handler_function = fn event_name, event_measurements, event_metadata, handler_config...
28.783505
98
0.614255
9e13476f84c7aa26a2e76f98c1de00d169fb4e54
1,262
ex
Elixir
src/Elixir Practice/Keyword lists and Maps.ex
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
1
2020-03-15T04:09:11.000Z
2020-03-15T04:09:11.000Z
src/Elixir Practice/Keyword lists and Maps.ex
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
src/Elixir Practice/Keyword lists and Maps.ex
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
# https://elixir-lang.org/getting-started/keywords-and-maps.html # Keywword lists kw = [{:a, 0}, {:b, 1}, {:c, 2}, {:d, 3}] IO.write "kw = "; IO.inspect kw IO.write "kw ++ [e: 4] = "; IO.inspect kw ++ [e: 4] IO.write "kw -- [b: 1] = "; IO.inspect kw -- [b: 1] IO.write "[a: 39] ++ kw = "; IO.inspect [a: 39] ++ kw IO.p...
38.242424
92
0.553883
9e13522f80e7d64c158c6167678505cc142ba391
1,049
exs
Elixir
mix.exs
guibbv2011/ritcoinex
82fe1a31fcf3dde7facbacd04c5dcb46ba53430b
[ "MIT" ]
null
null
null
mix.exs
guibbv2011/ritcoinex
82fe1a31fcf3dde7facbacd04c5dcb46ba53430b
[ "MIT" ]
10
2021-06-09T23:24:29.000Z
2022-02-26T15:06:58.000Z
mix.exs
guibbv2011/ritcoinex
82fe1a31fcf3dde7facbacd04c5dcb46ba53430b
[ "MIT" ]
null
null
null
defmodule Ritcoinex.MixProject do use Mix.Project def project do [ app: :ritcoinex, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), # Docs name: "Ritcoinex", source_url: "https://github.com/guibbv2011/ritcoinex", #homepage_u...
23.840909
87
0.559581
9e135fe036adfb96523a375e3d46ea1d2ef7f4dc
465
exs
Elixir
config/dev.exs
elcritch/pjon-elixir
3b80995826778dc86ea124c376bd01a42d0c305d
[ "Apache-2.0" ]
3
2018-11-29T14:23:27.000Z
2018-11-29T20:11:58.000Z
config/dev.exs
elcritch/pjon-elixir-serial
3b80995826778dc86ea124c376bd01a42d0c305d
[ "Apache-2.0" ]
null
null
null
config/dev.exs
elcritch/pjon-elixir-serial
3b80995826778dc86ea124c376bd01a42d0c305d
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :pjon_elixir_serial, :device, System.get_env("MIX_UART") || "ttyACM0" config :pjon_elixir_serial, :compile_options, packet_size: 128, include_packet_id: true, max_packets: 100, packet_max_length: 64, receive_while_sending_blocking: false, max_recent_ids: 4096, ts_resp...
24.473684
76
0.726882
9e136a1e20dec022b0a02605b1475935282ea6c5
1,675
ex
Elixir
lib/x509/date_time.ex
r-icarus/x509
50bfc29d79a22d29903323c016cfd726a5fe2d78
[ "BSD-3-Clause" ]
75
2018-07-02T12:00:57.000Z
2022-02-07T14:47:56.000Z
lib/x509/date_time.ex
r-icarus/x509
50bfc29d79a22d29903323c016cfd726a5fe2d78
[ "BSD-3-Clause" ]
30
2018-07-04T12:33:01.000Z
2022-01-14T18:29:00.000Z
lib/x509/date_time.ex
r-icarus/x509
50bfc29d79a22d29903323c016cfd726a5fe2d78
[ "BSD-3-Clause" ]
12
2018-09-21T04:34:02.000Z
2022-02-28T20:11:13.000Z
defmodule X509.DateTime do @moduledoc false # Builds an ASN.1 UTCTime (for years prior to 2050) or GeneralizedTime (for # years starting with 2050) def new() do DateTime.utc_now() |> new() end def new(seconds) when is_integer(seconds) do DateTime.utc_now() |> shift(seconds) |> new() end def n...
27.916667
97
0.61194
9e136ce5d9ee934a0d01cbecafa3d7f7199e0330
2,101
exs
Elixir
test/k8s/client/runner/wait_integration_test.exs
linkdd/k8s
a697818a7adf62abcf0f06a13ea283eb626b534d
[ "MIT" ]
226
2019-02-03T00:49:32.000Z
2022-03-30T15:02:22.000Z
test/k8s/client/runner/wait_integration_test.exs
linkdd/k8s
a697818a7adf62abcf0f06a13ea283eb626b534d
[ "MIT" ]
109
2019-01-20T20:39:33.000Z
2022-03-31T20:21:34.000Z
test/k8s/client/runner/wait_integration_test.exs
linkdd/k8s
a697818a7adf62abcf0f06a13ea283eb626b534d
[ "MIT" ]
43
2019-02-07T01:18:31.000Z
2022-03-08T04:15:33.000Z
defmodule K8s.Client.Runner.WaitIntegrationTest do use ExUnit.Case, async: true import K8s.Test.IntegrationHelper setup do timeout = "TEST_WAIT_TIMEOUT" |> System.get_env("5") |> String.to_integer() test_id = :rand.uniform(10_000) {:ok, %{conn: conn(), test_id: test_id, timeout: ti...
27.644737
92
0.556878
9e137ae5b4052b83e914e3da516f3319bc214c26
4,021
exs
Elixir
test/kdf/pbkdf2_test.exs
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
2
2016-05-02T18:19:13.000Z
2016-05-03T16:11:58.000Z
test/kdf/pbkdf2_test.exs
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
null
null
null
test/kdf/pbkdf2_test.exs
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
null
null
null
defmodule Cryptex.Kdf.Pbkdf2Test do use ExUnit.Case alias Cryptex.Kdf.Pbkdf2 alias Cryptex.Kdf.Pbkdf2.Mcf alias Cryptex.Kdf.Pbkdf2.Result alias Cryptex.Mac.Hmac @golden_comeonin [ {"passDATAb00AB7YxDTT", "saltKEYbcTcXHCBxtjD", 100_000, Result.new( Hmac.new(:sha512), 100_000, "c2F...
46.218391
125
0.691122
9e1395c52951a93a2cac7d112fae4155094fd1bf
182
exs
Elixir
config/config.exs
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
1
2021-08-12T20:37:44.000Z
2021-08-12T20:37:44.000Z
config/config.exs
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
null
null
null
config/config.exs
clone1018/excerpt
eef37f7c144bd4c477444b809da73c821b754c2b
[ "MIT" ]
null
null
null
use Mix.Config config :logger, :console, format: "$time $metadata[$level] $levelpad$message\n" if File.exists?("config/#{Mix.env()}.exs") do import_config "#{Mix.env()}.exs" end
22.75
79
0.681319
9e13977b78484ae6f9d869b350f6c3fd0770c197
1,162
exs
Elixir
config/test.exs
DasThink/console
54cde903e3f4e2ca93b14c1d3a7bf3b8a2c7372b
[ "Apache-2.0" ]
1
2021-08-20T17:48:47.000Z
2021-08-20T17:48:47.000Z
config/test.exs
mfalkvidd/console
6427c82bc4f8619b5bb3a5940099a8bdd6167a9e
[ "Apache-2.0" ]
null
null
null
config/test.exs
mfalkvidd/console
6427c82bc4f8619b5bb3a5940099a8bdd6167a9e
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :console, ConsoleWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :console, Console.Re...
25.822222
101
0.740103
9e13a1618dfce233ac31a56130d560b08821d513
802
exs
Elixir
discuss/test/discuss_web/channels/comment_channel_test.exs
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
discuss/test/discuss_web/channels/comment_channel_test.exs
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
discuss/test/discuss_web/channels/comment_channel_test.exs
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
defmodule DiscussWeb.CommentChannelTest do use DiscussWeb.ChannelCase alias DiscussWeb.CommentChannel setup do {:ok, _, socket} = socket("user_id", %{some: :assign}) |> subscribe_and_join(CommentChannel, "comment:lobby") {:ok, socket: socket} end test "ping replies with status ok", %{s...
27.655172
66
0.637157
9e13c7e092f0047584daf9e9a1995a04273e29e5
3,133
ex
Elixir
lib/openmaize/config.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
130
2016-06-21T07:58:46.000Z
2022-01-01T21:45:23.000Z
lib/openmaize/config.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
50
2016-06-29T16:01:42.000Z
2019-08-07T21:33:49.000Z
lib/openmaize/config.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
20
2016-07-02T11:37:33.000Z
2018-10-26T19:12:41.000Z
defmodule Openmaize.Config do @moduledoc """ This module provides an abstraction layer for configuration. The following are valid configuration items. | name | type | default | | :----------------- | :----------- | ---------------: | | crypto_mod | module |...
29.556604
76
0.654325
9e1404f9b56d4e2fc04f3cd2a5e3092ef92558d9
921
exs
Elixir
template/config/config.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
template/config/config.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
template/config/config.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application use Mix.Config # Note this file is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the parent project. config :phoenix, <%= application_module %>.Router, p...
31.758621
77
0.741585
9e14328cccc1dfe4a3d5c3c900fa7d75d7310e25
605
exs
Elixir
priv/repo/migrations/20160917022654_create_op.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
priv/repo/migrations/20160917022654_create_op.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20160917022654_create_op.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.Repo.Migrations.CreateOp do use Ecto.Migration def change do create table(:ops, primary_key: false) do add :components, :jsonb, null: false add :meta, :jsonb, null: false add :seq, :integer, null: false add :source, :text, null: false add :version, :integer, nu...
28.809524
93
0.66281
9e14554e98c8bc7f87ed80ca1799adc29e8ad695
491
ex
Elixir
lib/forage/query_builder/sort_field.ex
tmbb/forage
dcda0403e13faeadc83b64961e4073bede25bc00
[ "MIT" ]
14
2018-11-28T11:33:47.000Z
2021-09-12T08:30:40.000Z
lib/forage/query_builder/sort_field.ex
tmbb/forage
dcda0403e13faeadc83b64961e4073bede25bc00
[ "MIT" ]
1
2019-07-01T22:57:18.000Z
2019-07-01T22:57:18.000Z
lib/forage/query_builder/sort_field.ex
tmbb/forage
dcda0403e13faeadc83b64961e4073bede25bc00
[ "MIT" ]
3
2019-08-07T06:41:34.000Z
2022-03-22T16:02:06.000Z
defmodule Forage.QueryBuilder.SortField do @moduledoc false def build_order_by_clause(sort_data) do # Return a keyword list for row <- sort_data do # May not exist if the user hasn't specified it. # By default, sort results in ascending order direction = row[:direction] || :asc ...
30.6875
74
0.655804
9e145ee1d565dff0df001d7d55526f1c873c0d7f
1,125
ex
Elixir
lib/dnsierge_web/router.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
lib/dnsierge_web/router.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
lib/dnsierge_web/router.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
defmodule DnsiergeWeb.Router do use DnsiergeWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", DnsiergeWeb do pi...
25.568182
70
0.699556
9e1462e6d79a57495ced4bc145aa67acf3e701e3
863
exs
Elixir
test/web/controllers/session_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
610
2017-08-09T15:20:25.000Z
2022-03-27T15:49:07.000Z
test/web/controllers/session_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
69
2017-09-23T04:02:30.000Z
2022-03-19T21:08:21.000Z
test/web/controllers/session_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
85
2017-09-23T04:07:11.000Z
2021-11-20T06:44:56.000Z
defmodule Web.SessionControllerTest do use Web.ConnCase describe "signing in" do test "valid", %{conn: conn} do {:ok, user} = TestHelpers.create_user(%{ email: "user@example.com", password: "password" }) conn = post(conn, Routes.session_path(conn, :creat...
23.972222
67
0.565469
9e14646097805250cd58df6f1290059fef81239b
583
ex
Elixir
lib/books_web/live/passive_ability_live/show.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books_web/live/passive_ability_live/show.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books_web/live/passive_ability_live/show.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
defmodule BooksWeb.PassiveAbilityLive.Show do @moduledoc """ Show passive ability """ use BooksWeb, :live_view alias Books.PassiveAbilities @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do {:noreply, socket...
23.32
76
0.692967
9e147564dd06baf897041d7b45eae6840e9539dc
4,024
ex
Elixir
apps/extended_api/lib/extended_api/worker/get_trytes/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/extended_api/lib/extended_api/worker/get_trytes/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/extended_api/lib/extended_api/worker/get_trytes/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule ExtendedApi.Worker.GetTrytes.Helper do @moduledoc """ This module hold all the required helper functions Which is gonna be used by GetTrytes worker and its row compute modules(bundle_fn.ex, edge_fn.ex) """ alias ExtendedApi.Worker.{GetTrytes, GetTrytes.BundleFn, GetTrytes.EdgeFn} alias Ex...
43.73913
129
0.6583
9e1510fda1500c302ce58942763d7bb89b3e4dca
7,155
ex
Elixir
lib/teiserver_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule TeiserverWeb.Router do defmacro __using__(_opts \\ []) do quote do import unquote(__MODULE__) end end defmacro teiserver_routes() do quote do scope "/", TeiserverWeb.General, as: :ts_general do pipe_through([:browser, :blank_layout]) get("/code_of_conduct", Gene...
38.88587
101
0.659119