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
65e5e953212c3c2113b15d818444fb38c96cf20e
721
ex
Elixir
lib/mqttsn.ex
knyl/mqtt-sn
fd8a44918180830b8e6f00246503336945368fb6
[ "MIT" ]
1
2018-07-26T18:55:49.000Z
2018-07-26T18:55:49.000Z
lib/mqttsn.ex
knyl/mqtt-sn
fd8a44918180830b8e6f00246503336945368fb6
[ "MIT" ]
null
null
null
lib/mqttsn.ex
knyl/mqtt-sn
fd8a44918180830b8e6f00246503336945368fb6
[ "MIT" ]
null
null
null
defmodule Mqttsn do use Application def start(_type, _args) do client_id = Application.get_env(:mqttsn, :client_id) ip = Application.get_env(:mqttsn, :ip) port = Application.get_env(:mqttsn, :port) Mqttsn.Supervisor.start_link([client_id, ip, port]) end def subscribe(topic) do Mqttsn.Proto...
23.258065
61
0.737864
65e5eaeb015d7643fbaafb8ae39a6f41552dd31c
1,789
ex
Elixir
lib/cforum/invisible_threads.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum/invisible_threads.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum/invisible_threads.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
defmodule Cforum.InvisibleThreads do import Ecto.Query, warn: false alias Cforum.Repo alias Cforum.Threads.Thread alias Cforum.InvisibleThreads.InvisibleThread alias Cforum.Threads.ThreadHelpers alias Cforum.Messages.Message def list_invisible_threads(user, visible_forums, opts \\ []) do opts = Ke...
27.953125
116
0.633315
65e60d8e564955b77714695c49a16d9ac12cb0b6
2,030
exs
Elixir
mix.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "MIT" ]
null
null
null
mix.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "MIT" ]
null
null
null
mix.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "MIT" ]
null
null
null
defmodule Chewie.MixProject do use Mix.Project def project do [ app: :chewie, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.432432
79
0.561084
65e6239cd0c27857971e7979419a40ca4be218c0
1,546
ex
Elixir
apps/led_status/lib/led_status/sets_led_status.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/led_status/lib/led_status/sets_led_status.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/led_status/lib/led_status/sets_led_status.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule LedStatus.SetsLedStatus do @moduledoc """ Checks to see if there's an IP address assigned to wlan0 every 5 seconds and: * if it is not set flashes the onboard LED rapdily * if it is set to 192.168.0.1 then assume that this is an access point as part of the configuration process, and flash slowly ...
28.62963
101
0.705692
65e699b7f73ed58c7c0391a2883d7c635f332b61
331
exs
Elixir
test/list_filter_test.exs
msvalandro/list_filter
3b39034093e13423e0f45f46404a2964f8987c05
[ "MIT" ]
null
null
null
test/list_filter_test.exs
msvalandro/list_filter
3b39034093e13423e0f45f46404a2964f8987c05
[ "MIT" ]
null
null
null
test/list_filter_test.exs
msvalandro/list_filter
3b39034093e13423e0f45f46404a2964f8987c05
[ "MIT" ]
null
null
null
defmodule ListFilterTest do use ExUnit.Case describe "call/1" do test "returns the odd numbers of a list" do list = ["1", "3", "43", "batata", "true", ":arroz", "7.5", "8", "13", "10"] response = ListFilter.call(list) expected_response = 5 assert response == expected_response end...
20.6875
81
0.60423
65e6e34bd3ba08c4aae5d6564bda515a9266323d
2,368
ex
Elixir
lib/mix/tasks/cafex.topic.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/cafex.topic.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/cafex.topic.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Cafex.Topic do use Mix.Task import Mix.Cafex alias Cafex.Kafka.Metadata @shortdoc "Print topic metadata from Kafka." @recursive true @moduledoc """ This is a tool that reads topic metadata from Kafka and outputs it to standard output. ## Examples mix cafex.topic topic_name ...
24.412371
131
0.598395
65e71035c7c60b2742582aa9db03ab40dadc492c
361
ex
Elixir
apps/train_loc/lib/train_loc/manager/event.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/train_loc/lib/train_loc/manager/event.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/train_loc/lib/train_loc/manager/event.ex
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TrainLoc.Manager.Event do @moduledoc """ Defines a struct that holds parsed and validated `:vehicles_json` list and a `:date` as a string or nil. """ alias TrainLoc.Manager.EventJsonParser defstruct date: nil, vehicles_json: [] def from_string(string) when is_binary(string) do ...
22.5625
57
0.711911
65e7274d54d5f7b8e423774b76e604eb151a2499
11,152
ex
Elixir
lib/nerves/artifact.ex
se-apc/nerves
68c145968b5b8dc868d6bb85abe4a0145cd5dea6
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact.ex
se-apc/nerves
68c145968b5b8dc868d6bb85abe4a0145cd5dea6
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact.ex
se-apc/nerves
68c145968b5b8dc868d6bb85abe4a0145cd5dea6
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Artifact do @moduledoc """ Package artifacts are the product of compiling a package with a specific toolchain. """ alias Nerves.Artifact.{Cache, BuildRunners, Resolvers} @base_dir Path.expand("~/.nerves/artifacts") @checksum_short 7 @doc """ Builds the package and produces an See ...
26.679426
129
0.617109
65e7661fbdd029e249aedefaabd209ae4627c402
648
ex
Elixir
Microsoft.Azure.Management.EventGrid/lib/microsoft/azure/management/event_grid/model/web_hook_event_subscription_destination.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.EventGrid/lib/microsoft/azure/management/event_grid/model/web_hook_event_subscription_destination.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.EventGrid/lib/microsoft/azure/management/event_grid/model/web_hook_event_subscription_destination.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.EventGrid.Model.WebHookEventSubscriptionDestination do @moduledoc """ Information about the webhook destination for...
24.923077
110
0.753086
65e76f84bc89471eb41b795c883328d7ed64156c
1,651
exs
Elixir
config/dev.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
config/dev.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
config/dev.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "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_stock_history, ExStockHistoryWeb.Endpoint, ...
33.693878
170
0.72017
65e7b18d03d96810713aa63d1af6a4d8f43fba78
21,686
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/interconnect_attachments.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnect_attachments.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnect_attachments.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
53.022005
1,213
0.699391
65e7c5bb79769c1628f3654ce8c04f29c8b9108e
1,416
exs
Elixir
test/ex_config/resource/ecto_postgres_test.exs
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
test/ex_config/resource/ecto_postgres_test.exs
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
test/ex_config/resource/ecto_postgres_test.exs
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
defmodule ExConfig.Resource.EctoPostgresTest do use ExUnit.Case, async: false @otp_app ExConfigTestApp @mod_name ExConfig.EctoPostgresTestModule defp mod_create(content), do: Module.create(@mod_name, content, Macro.Env.location(__ENV__)) test "ecto_postgres" do repo_mod = @mod_name.Repo content ...
28.32
70
0.629237
65e7de79a7dd1c374cbefc70affc134ae01e26b7
1,162
exs
Elixir
mix.exs
mat-hek/stream_split
a6c1c4bb22724dbd19f1e5a13637cddc4655b4c3
[ "MIT" ]
null
null
null
mix.exs
mat-hek/stream_split
a6c1c4bb22724dbd19f1e5a13637cddc4655b4c3
[ "MIT" ]
null
null
null
mix.exs
mat-hek/stream_split
a6c1c4bb22724dbd19f1e5a13637cddc4655b4c3
[ "MIT" ]
null
null
null
defmodule StreamSplit.Mixfile do use Mix.Project def project do [app: :stream_split, description: "Split a stream into a head and tail, without iterating the tail", version: "0.1.2", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(...
23.24
84
0.592083
65e7ef0e6079daf0468d79f08f0e1764f3bfc8ce
2,509
ex
Elixir
test/support/test/site.ex
maartenvanvliet/absinthe_graphql_ws
96cc925269a6519ffbe43ee7843d90615b25cb5e
[ "MIT" ]
null
null
null
test/support/test/site.ex
maartenvanvliet/absinthe_graphql_ws
96cc925269a6519ffbe43ee7843d90615b25cb5e
[ "MIT" ]
null
null
null
test/support/test/site.ex
maartenvanvliet/absinthe_graphql_ws
96cc925269a6519ffbe43ee7843d90615b25cb5e
[ "MIT" ]
null
null
null
defmodule Test.Site do @moduledoc false @host "localhost" @port 29_876 def host, do: @host def port, do: @port defmodule GraphSocket do use Absinthe.GraphqlWS.Socket, schema: Test.Site.Schema end defmodule Application do @moduledoc false use Elixir.Application def start(_type, _args)...
21.817391
89
0.615783
65e7fa2787d8a47729bc14c5dbb37c242dfeefc6
128
ex
Elixir
lib/user_points_manager/repo.ex
Geekfish/random-user-points-service
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
null
null
null
lib/user_points_manager/repo.ex
Geekfish/random-user-points-service
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
4
2021-08-16T11:44:58.000Z
2021-08-19T15:45:10.000Z
lib/user_points_manager/repo.ex
Geekfish/user-points-manager
d0416ef8fc1f2591023763c0078d15c62f5fba3c
[ "MIT" ]
null
null
null
defmodule UserPointsManager.Repo do use Ecto.Repo, otp_app: :user_points_manager, adapter: Ecto.Adapters.Postgres end
21.333333
35
0.773438
65e80c6870be636509d766ae4ed200204da66fe1
3,210
ex
Elixir
lib/temple/elements.ex
zimt28/temple
07858739b06cd9f0fa6d76e185514b9a60d922b5
[ "MIT" ]
null
null
null
lib/temple/elements.ex
zimt28/temple
07858739b06cd9f0fa6d76e185514b9a60d922b5
[ "MIT" ]
null
null
null
lib/temple/elements.ex
zimt28/temple
07858739b06cd9f0fa6d76e185514b9a60d922b5
[ "MIT" ]
null
null
null
defmodule Temple.Elements do @moduledoc """ This module contains the primitives used to generate the macros in the `Temple.Html` and `Temple.Svg` modules. """ @doc """ Defines an element. *Note*: Underscores are converted to dashes. ```elixir defmodule MyElements do import Temple.Elements d...
28.40708
113
0.675701
65e820693a0a4f79e39b67361b8b81cf587793e3
1,874
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/comment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/comment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/comment.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...
37.48
139
0.748666
65e86110202c72d03dda8529651c74fa3512ddf1
4,012
ex
Elixir
lib/jsonrpc2/clients/http.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
lib/jsonrpc2/clients/http.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
lib/jsonrpc2/clients/http.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
defmodule JSONRPC2.Clients.HTTP do @moduledoc """ A client for JSON-RPC 2.0 using an HTTP transport with JSON in the body. """ @default_headers [{"content-type", "application/json"}] @type batch_result :: {:ok, JSONRPC2.Response.id_and_response()} | {:error, any} @doc """ Make a call to `url` for JSON-...
34
107
0.648305
65e8820583a34e9c44585e9ca898a4fb466acfef
1,878
exs
Elixir
clients/site_verification/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/site_verification/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/site_verification/mix.exs
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...
28.029851
108
0.662939
65e88aeb7cedfd7b0f459781229fc8d620926dc3
450
ex
Elixir
apps/kv/lib/kv/bucket/supervisor.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/lib/kv/bucket/supervisor.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/lib/kv/bucket/supervisor.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
defmodule KV.Bucket.Supervisor do use Supervisor # A simple module attribute that stores the supervisor name @name KV.Bucket.Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok, name: @name) end def start_bucket do Supervisor.start_child(@name, []) end def init(:ok) do chi...
20.454545
61
0.697778
65e88fabcdb33463b1b019bd53169d0d6ad1f487
900
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.333333
74
0.763333
65e89fa314ecfe59534fc9eb10a29719471b0eb6
64,079
ex
Elixir
lib/ex_aliyun_ots/search.ex
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
lib/ex_aliyun_ots/search.ex
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
lib/ex_aliyun_ots/search.ex
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
defmodule ExAliyunOts.Search do @moduledoc """ Use the multiple efficient index schemas of search index to solve complex query problems. Here are links to the search section of Alibaba official document: [Chinese](https://help.aliyun.com/document_detail/91974.html){:target="_blank"} | [English](https://www.aliba...
33.601993
234
0.663072
65e8a9dfac1c2e0502330d3b07f3a4720d1f3431
1,220
ex
Elixir
lib/absinthe/blueprint/schema/directive_definition.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
lib/absinthe/blueprint/schema/directive_definition.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-09-23T21:26:01.000Z
2019-09-23T21:26:01.000Z
lib/absinthe/blueprint/schema/directive_definition.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.Schema.DirectiveDefinition do @moduledoc false alias Absinthe.Blueprint @enforce_keys [:name] defstruct [ :name, :module, :identifier, description: nil, directives: [], arguments: [], locations: [], source_location: nil, expand: nil, errors:...
23.921569
79
0.638525
65e8aca9fb1ff3fc237c15a40521b3c577a00e81
1,246
ex
Elixir
lib/freshbooks_api_client.ex
annkissam/freshbooks_api_client
016edcf9e126d711048c6321ffd7f45b4727fd3d
[ "MIT" ]
2
2018-09-18T21:26:55.000Z
2020-04-24T15:29:05.000Z
lib/freshbooks_api_client.ex
annkissam/freshbooks_api_client
016edcf9e126d711048c6321ffd7f45b4727fd3d
[ "MIT" ]
1
2018-03-02T14:33:21.000Z
2018-03-02T14:33:21.000Z
lib/freshbooks_api_client.ex
annkissam/freshbooks_api_client
016edcf9e126d711048c6321ffd7f45b4727fd3d
[ "MIT" ]
null
null
null
defmodule FreshbooksApiClient do @moduledoc """ A Wrapper around [Freshbooks API](https://www.freshbooks.com/developers) This package is an extendable wrapper, so it will only let you see resources that correspond to permissions associated with the API token This package can be configured with default `toke...
31.15
83
0.756822
65e8b44738fc31078d9fe234d4f90680d7fd7638
1,912
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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.680851
479
0.762029
65e8c2702ad1e802fa1151748085133199161497
784
exs
Elixir
test/unit/xsd/datatypes/unsigned_short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/xsd/datatypes/unsigned_short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/xsd/datatypes/unsigned_short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.UnsignedShortTest do use RDF.XSD.Datatype.Test.Case, datatype: RDF.XSD.UnsignedShort, name: "unsignedShort", base: RDF.XSD.UnsignedInt, base_primitive: RDF.XSD.Integer, comparable_datatypes: [RDF.XSD.Decimal, RDF.XSD.Double], applicable_facets: [ RDF.XSD.Facets.MinInclu...
29.037037
60
0.679847
65e8e0691513937009ddc14c6e6e451a63bc0815
1,876
ex
Elixir
lib/credo/check/consistency/multi_alias_import_require_use.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
lib/credo/check/consistency/multi_alias_import_require_use.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/consistency/multi_alias_import_require_use.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.MultiAliasImportRequireUse do @moduledoc """ When using alias, import, require or use for multiple names from the same namespace, you have two options: Use single instructions per name: alias Ecto.Query alias Ecto.Schema alias Ecto.Multi or use one multi instru...
34.740741
162
0.75533
65e8e2c9672065d5eafb845dd18b175730662ce2
1,167
ex
Elixir
lib/day_07.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
1
2020-12-19T18:40:00.000Z
2020-12-19T18:40:00.000Z
lib/day_07.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
null
null
null
lib/day_07.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
null
null
null
defmodule Day07 do def part1(path) do path |> to_graph() |> count_reachable("shiny gold") end def part2(path) do g = to_graph(path) dfs(g, :digraph.out_edges(g, "shiny gold")) end def dfs(_g, []), do: 0 def dfs(g, edges) do edges |> Enum.map(fn edge -> {^edge, _current,...
22.882353
89
0.581834
65e9094da4b987e242e7bb9029cf3d9de1ddbd80
298
ex
Elixir
lib/iex_line_bot/memory.ex
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
1
2019-06-24T23:55:26.000Z
2019-06-24T23:55:26.000Z
lib/iex_line_bot/memory.ex
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
lib/iex_line_bot/memory.ex
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
defmodule IexLineBot.Memory do use Agent def start_link(_) do Agent.start_link(fn -> %{} end, name: __MODULE__) end def get(key) do Agent.get(__MODULE__, &Map.get(&1, key, [])) end def set(key, bindings) do Agent.update(__MODULE__, &Map.put(&1, key, bindings)) end end
18.625
57
0.651007
65e91724392cd6aac97f38b800067e0ccddbd680
9,138
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/firewall.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
88.718447
807
0.751368
65e922582b5434df0b82b7a4c8120088fe0462f1
2,703
exs
Elixir
lib/elixir/test/elixir/kernel/sigils_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/test/elixir/kernel/sigils_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/sigils_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.SigilsTest do use ExUnit.Case, async: true test :sigil_s do assert ~s(foo) == "foo" assert ~s(f#{:o}o) == "foo" assert ~s(f\no) == "f\no" end test :sigil_s_with_heredoc do assert " foo\n\n" == ~s""" f#{:o}o\n """ en...
24.351351
72
0.506844
65e93807e42c0776f4e8a3d8bd60a98f4dfea6fb
881
ex
Elixir
lib/hologram/compiler/js_encoders/function_call.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/js_encoders/function_call.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/js_encoders/function_call.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
alias Hologram.Compiler.{Context, Helpers, JSEncoder, Opts} alias Hologram.Compiler.IR.FunctionCall alias Hologram.Template.{Parser, Transformer} alias Hologram.Template.Encoder, as: TemplateEncoder defimpl JSEncoder, for: FunctionCall do use Hologram.Commons.Encoder def encode(%{function: :sigil_H} = ir, %Contex...
25.911765
68
0.646992
65e93dba466421fd5b69ec8c653fd07bbf5eef59
9,166
ex
Elixir
lib/ecto/repo/preloader.ex
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/ecto/repo/preloader.ex
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/preloader.ex
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.Preloader do # The module invoked by user defined repos # for preload related functionality. @moduledoc false require Ecto.Query @doc """ Transforms a result set based on query preloads, loading the associations onto their parent model. """ @spec query([list], Ecto.Repo.t, list, ...
31.716263
105
0.609099
65e949cc111447f77c3989005169c0fd2efa22b2
3,536
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/api/circles.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/api/circles.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/api/circles.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# 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...
45.333333
225
0.707296
65e94b3d0b914b953cf098ea3191e7fa20073eb6
1,276
ex
Elixir
web/controllers/api/vote_controller.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
342
2017-01-10T16:13:45.000Z
2022-02-26T13:55:38.000Z
web/controllers/api/vote_controller.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
6
2017-01-14T17:59:48.000Z
2018-03-25T21:35:50.000Z
web/controllers/api/vote_controller.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
38
2017-01-11T00:18:21.000Z
2021-07-11T11:28:12.000Z
defmodule Microscope.VoteController do use Microscope.Web, :controller plug Guardian.Plug.EnsureAuthenticated, [handler: Microscope.SessionController] when action in [:create, :delete] alias Microscope.{Repo, Post, Vote, PostChannel} def create(conn, %{"vote" => vote_params,"post_id" => post_id}) do ...
24.538462
77
0.608934
65e95101cb38cf7ab2a5ebe0865fc3874053e025
131
ex
Elixir
web/controllers/topic_controller.ex
codeOfRobin/Discuss-elixir
b7284924ffea3330d3ec97654509a58d920dd0d4
[ "MIT" ]
null
null
null
web/controllers/topic_controller.ex
codeOfRobin/Discuss-elixir
b7284924ffea3330d3ec97654509a58d920dd0d4
[ "MIT" ]
null
null
null
web/controllers/topic_controller.ex
codeOfRobin/Discuss-elixir
b7284924ffea3330d3ec97654509a58d920dd0d4
[ "MIT" ]
null
null
null
defmodule Discuss.TopicController do use Discuss.Web, :controller def new(conn, params) do return conn end end
18.714286
36
0.687023
65e976e6f438343c8a438eb35cb0cc0dc9565f13
4,044
ex
Elixir
lib/logger_json/formatters/google_cloud_logger.ex
williamgelhar-validere/logger_json
69ee58731de0ddd464d41b531a30914cb7cddeed
[ "MIT" ]
null
null
null
lib/logger_json/formatters/google_cloud_logger.ex
williamgelhar-validere/logger_json
69ee58731de0ddd464d41b531a30914cb7cddeed
[ "MIT" ]
null
null
null
lib/logger_json/formatters/google_cloud_logger.ex
williamgelhar-validere/logger_json
69ee58731de0ddd464d41b531a30914cb7cddeed
[ "MIT" ]
null
null
null
defmodule LoggerJSON.Formatters.GoogleCloudLogger do @moduledoc """ Google Cloud Logger formatter. """ import Jason.Helpers, only: [json_map: 1] @behaviour LoggerJSON.Formatter @processed_metadata_keys ~w[pid file line function module application]a # Severity levels can be found in Google Cloud Logger ...
31.348837
102
0.678042
65e97c526fb1a49fdd6c071886a955498305b7c6
22,999
ex
Elixir
lib/mix/lib/mix/project.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/mix/lib/mix/project.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Project do @moduledoc """ Defines and manipulates Mix projects. A Mix project is defined by calling `use Mix.Project` in a module, usually placed in `mix.exs`: defmodule MyApp.MixProject do use Mix.Project def project do [ app: :my_app, ve...
29.039141
105
0.654289
65e9a42aa1f5a668fb949f12b1feb69099132578
423
exs
Elixir
spec/models/user_spec.exs
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
spec/models/user_spec.exs
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
spec/models/user_spec.exs
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
defmodule Lunatube.UserSpec do use ESpec.Phoenix, model: User, async: true alias Lunatube.User let :user do build :user end it "has a valid factory" do changeset = user |> User.changeset expect(changeset.valid?).to be_true end it "is invalid without a name" do changeset = user |> User.c...
22.263158
69
0.666667
65e9bc552ed16c6be6bbfdc63a4000980df11e26
866
ex
Elixir
test/support/test_schema.ex
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
2
2022-01-11T08:03:49.000Z
2022-02-11T10:25:30.000Z
test/support/test_schema.ex
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
3
2022-02-03T21:28:14.000Z
2022-03-25T09:03:15.000Z
test/support/test_schema.ex
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
null
null
null
# SPDX-License-Identifier: Apache-2.0 defmodule BitcrowdEcto.TestSchema do @moduledoc false use BitcrowdEcto.Schema import Ecto.Changeset @attrs [ :some_string, :some_integer, :some_boolean, :datetime, :from, :until, :from_dt, :until_dt, :from_number, :to_number ] ...
21.65
71
0.669746
65e9c11cf3e3811a948a2adff58d7f9e0b9f0f28
257
ex
Elixir
lib/game_of_life.ex
JPYamamoto/PhoenixLiveView-GameOfLife
20e671c178c91ad1ccf6d7572ff6c51421f878bd
[ "MIT" ]
7
2021-02-25T09:51:25.000Z
2022-03-09T02:01:04.000Z
lib/game_of_life.ex
JPYamamoto/PhoenixLiveView-GameOfLife
20e671c178c91ad1ccf6d7572ff6c51421f878bd
[ "MIT" ]
1
2022-01-23T07:27:09.000Z
2022-01-23T07:27:09.000Z
lib/game_of_life.ex
JPYamamoto/PhoenixLiveView-GameOfLife
20e671c178c91ad1ccf6d7572ff6c51421f878bd
[ "MIT" ]
2
2021-10-04T16:58:50.000Z
2022-03-28T20:47:11.000Z
defmodule GameOfLife do @moduledoc """ GameOfLife 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
65e9dcae32503ded8d06432ec481f7054a98f1b3
3,178
ex
Elixir
apps/ewallet/lib/mix/tasks/omg.migrate.encryption.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/mix/tasks/omg.migrate.encryption.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/mix/tasks/omg.migrate.encryption.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
22.7
82
0.632159
65e9e61d734d0e26a1bb312b50d0413d64e1b868
59
ex
Elixir
apps/odd_job_web/lib/odd_job_web/views/page_view.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
2
2019-09-15T22:55:28.000Z
2020-01-12T17:39:27.000Z
apps/odd_job_web/lib/odd_job_web/views/page_view.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
2
2021-03-09T16:37:48.000Z
2021-05-10T12:02:31.000Z
apps/odd_job_web/lib/odd_job_web/views/page_view.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
null
null
null
defmodule OddJobWeb.PageView do use OddJobWeb, :view end
14.75
31
0.79661
65e9fc8c2843abdd84ac46236b564a44ddd6580b
4,939
ex
Elixir
lib/etherscan/constants.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
14
2017-10-20T03:10:44.000Z
2021-10-04T03:00:07.000Z
lib/etherscan/constants.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
5
2017-10-20T03:36:37.000Z
2018-03-25T00:58:01.000Z
lib/etherscan/constants.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
4
2018-03-25T00:49:18.000Z
2019-11-28T00:33:06.000Z
defmodule Etherscan.Constants do @moduledoc """ A module of compile-time constants that don't have to be repeatedly defined """ defmacro __using__(_) do quote do # API @api_request_opts [ timeout: 20_000, recv_timeout: 20_000 ] @api_network_urls [ default: "h...
49.888889
132
0.782952
65ea5427406e079826efb9791da4a415f391e676
6,514
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_tunnel_connect_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_tunnel_connect_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_tunnel_connect_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStoreTunnel.ConnectResponse) do @moduledoc false ( defstruct(client_id: nil) ( ( @spec encode(struct) :: {:ok, iodata} | {:error, any} def(encode(msg)) do try do {:ok, encode!(msg)} rescue ...
26.696721
98
0.490636
65ea921d3571e6d9cb78a6593663e97a341f74cb
94
ex
Elixir
apps/streamer/lib/streamer/schema/streaming_status_enum.ex
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
65
2020-07-07T01:51:27.000Z
2021-09-27T00:13:59.000Z
apps/streamer/lib/streamer/schema/streaming_status_enum.ex
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
5
2021-02-12T08:21:15.000Z
2021-09-01T21:17:27.000Z
apps/streamer/lib/streamer/schema/streaming_status_enum.ex
itsemilano/orbex
301dfaad1369acfd68055f1868d9a1dcd7e51e16
[ "Apache-2.0" ]
10
2020-08-13T13:39:31.000Z
2021-09-14T12:46:51.000Z
import EctoEnum defenum(Streamer.Schema.StreamingStatusEnum, :streaming_status, [:on, :off])
23.5
76
0.797872
65ea9fcfebe681efe438c348934697ea7f0b6852
1,743
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_redirect.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_redirect.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_redirect.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...
34.86
188
0.736661
65eace8d7e194ba1cc2800c102e988a66573eca8
70
ex
Elixir
web/views/html_delivery_service_type_view.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/views/html_delivery_service_type_view.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/views/html_delivery_service_type_view.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.HtmlDeliveryServiceTypeView do use Tox.Web, :view end
17.5
44
0.814286
65eb18246bf66275457539bc1a42c12e79d1a288
509
ex
Elixir
lib/app_store/token/config.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
5
2021-08-19T16:12:40.000Z
2022-02-22T04:17:33.000Z
lib/app_store/token/config.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
2
2021-08-19T13:40:57.000Z
2021-08-19T13:41:31.000Z
lib/app_store/token/config.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
null
null
null
defmodule AppStore.Token.Config do defstruct [ :json_coder ] @type t :: %__MODULE__{ json_coder: module() } @doc """ Build the AppStore client, used by functions in module `AppStore.API` ## Options - `json_coder`: Optional, the module used as JSON encoder & decoder, default to `A...
20.36
110
0.640472
65eb2f34e442cdf9c67e58e1031a621978b6e8b6
651
ex
Elixir
lib/erlef_web/views/admin/dashboard_view.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
lib/erlef_web/views/admin/dashboard_view.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
lib/erlef_web/views/admin/dashboard_view.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule ErlefWeb.Admin.DashboardView do use ErlefWeb, :view def title(_), do: "Dashboard" def small_info_box(title, about, icon, link, box_type \\ "info") do ~E""" <div class="col-lg-3 col-6"> <!-- small card --> <div class="small-box bg-<%= box_type %>"> <div class="inner"> ...
24.111111
69
0.480799
65eb90ae94a02959002aed3ebf13665131b9d2cc
343
exs
Elixir
priv/repo/seeds.exs
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
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: # # Opt.Repo.insert!(%Opt.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if...
28.583333
61
0.699708
65eb968c7bf20ea7e308293f16c97e6089b568a8
1,213
exs
Elixir
mix.exs
icaroponce/appstore
9829b254374f99be16edd8640d520cc8dff9669f
[ "MIT" ]
null
null
null
mix.exs
icaroponce/appstore
9829b254374f99be16edd8640d520cc8dff9669f
[ "MIT" ]
null
null
null
mix.exs
icaroponce/appstore
9829b254374f99be16edd8640d520cc8dff9669f
[ "MIT" ]
null
null
null
defmodule AppStore.Mixfile do use Mix.Project def project do [ app: :appstore, version: "0.2.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), name: "AppStore", description: "Itune App Store crawler and scra...
22.886792
79
0.576257
65eb99013a77f5788e5138296cfd5d5d363dabf0
807
ex
Elixir
lib/game_of_life/runner.ex
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
lib/game_of_life/runner.ex
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
lib/game_of_life/runner.ex
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
defmodule GameOfLife.Runner do alias GameOfLife.{GridManager, Grid, Ticker, BoardServer} def run do {:ok, %Ticker{interval: interval, ticker_state: ticker_state}} = Ticker.get_state case ticker_state do :started -> run_next_turn() :timer.sleep(interval) :stopped -> :time...
26.032258
85
0.640644
65ebb24ecbb04a027292605490143cef9a7a8ba3
1,002
ex
Elixir
lib/andy/actuation/speaker.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/actuation/speaker.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/actuation/speaker.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.Speaker do @moduledoc "Agent that says one thing at a time" import Andy.Utils, only: [platform_dispatch: 1] require Logger use Agent @name __MODULE__ def start_link(_) do {:ok, pid} = Agent.start_link( fn -> %{} end, name: @name ) Logg...
21.319149
92
0.543912
65ebbb12e3813cb7544a365435d8472460bcc619
1,104
exs
Elixir
mix.exs
easco/elixir_configparser
77c5b59cd61bad6e43b4e4d4fc48e1af382a81e9
[ "BSD-3-Clause" ]
23
2015-03-02T14:28:51.000Z
2022-02-09T16:02:23.000Z
mix.exs
easco/elixir_configparser
77c5b59cd61bad6e43b4e4d4fc48e1af382a81e9
[ "BSD-3-Clause" ]
7
2016-03-28T21:26:30.000Z
2022-03-03T20:40:54.000Z
mix.exs
easco/elixir_configparser
77c5b59cd61bad6e43b4e4d4fc48e1af382a81e9
[ "BSD-3-Clause" ]
7
2017-01-06T20:35:20.000Z
2021-12-06T10:22:15.000Z
defmodule ConfigParser.Mixfile do use Mix.Project @source_url "https://github.com/easco/configparser_ex" def project do [ app: :configparser_ex, version: "4.0.0", name: "ConfigParser for Elixir", source_url: @source_url, elixir: ">= 1.7.0", package: package(), deps:...
20.830189
77
0.557065
65ec230fa74524f24ec8aa06c3ce578c50104df6
2,669
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_debug_session.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_debug_session.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_debug_session.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...
38.681159
134
0.687149
65ec23fe08b1ab0f9c0f5025aa9a927ce4ad2f6d
1,148
ex
Elixir
lib/ex_twilio/resources/incoming_phone_number.ex
polymetis/ex_twilio
5dff96bd67cfdf8f7f6dc1ddd3e48ea910de0eef
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/incoming_phone_number.ex
polymetis/ex_twilio
5dff96bd67cfdf8f7f6dc1ddd3e48ea910de0eef
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/incoming_phone_number.ex
polymetis/ex_twilio
5dff96bd67cfdf8f7f6dc1ddd3e48ea910de0eef
[ "MIT" ]
null
null
null
defmodule ExTwilio.IncomingPhoneNumber do @moduledoc """ Represents an IncomingPhoneNumber resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) """ defstruct sid: nil, account_sid: nil, identity_sid: nil, date_created: n...
25.511111
78
0.553136
65ec25eca9529dd5b2d6bc346abe31a99fc09701
1,260
ex
Elixir
test/support/conn_case.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/support/conn_case.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/support/conn_case.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
defmodule MyPersonalWeb.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
64
0.727778
65ec2ab4c7f90287b6c8385cdd7e40553d139474
213
ex
Elixir
exercises/practice/house/lib/house.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/house/lib/house.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/house/lib/house.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule House do @doc """ Return verses of the nursery rhyme 'This is the House that Jack Built'. """ @spec recite(start :: integer, stop :: integer) :: String.t() def recite(start, stop) do end end
23.666667
73
0.661972
65ec2acfea88c4e98097bbfc64818e0a589a65c2
1,034
exs
Elixir
config/config.exs
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
config/config.exs
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
config/config.exs
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :codebeat_test, ecto_repos: [CodebeatTe...
33.354839
86
0.775629
65ec4f7205baf401b5a9c4741047bdf8c5524236
4,667
ex
Elixir
vivaldi/lib/peer/experiment_coordinator.ex
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
13
2017-02-06T11:37:22.000Z
2022-01-31T20:09:27.000Z
vivaldi/lib/peer/experiment_coordinator.ex
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
null
null
null
vivaldi/lib/peer/experiment_coordinator.ex
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
1
2020-02-26T13:44:12.000Z
2020-02-26T13:44:12.000Z
defmodule Vivaldi.Peer.ExperimentCoordinator do @moduledoc """ * Runs at each peer. * Passes commands from controller to peer processes * Answers status requests to controller The variable `status` used everywhere refers to the status of the experiment, and is part of the GenServer `state` """ use Gen...
31.322148
100
0.653739
65ec635c65f62a751b238e4d17267bc120256f3f
634
ex
Elixir
lib/perseus/boxes/stsz.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
4
2020-03-22T06:34:46.000Z
2022-03-04T00:56:11.000Z
lib/perseus/boxes/stsz.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
null
null
null
lib/perseus/boxes/stsz.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
1
2020-03-26T02:41:21.000Z
2020-03-26T02:41:21.000Z
require Logger defmodule Perseus.Boxes.Stsz do defstruct( name: :stts, sample_size: 0, sample_count: 0, entry_size: [] ) end alias Perseus.Boxes.Stsz defimpl Perseus.Box, for: Stsz do def parse(_, file, size) do << _version::integer-32, sample_size::integer-32, sample_coun...
17.135135
44
0.596215
65ec89a9790b756082c09bb5c75cea662246f364
1,117
exs
Elixir
clients/logging/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/logging/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/logging/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Logging.V2.Mixfile do use Mix.Project @version "0.10.0" def project() do [ app: :google_api_logging, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: pa...
22.795918
107
0.589078
65ec913a4461e4ad322bff9dd7eaac7304db3ced
127
exs
Elixir
apps/dockup/config/prod.exs
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
1
2019-08-20T07:45:10.000Z
2019-08-20T07:45:10.000Z
apps/dockup/config/prod.exs
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup/config/prod.exs
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
2
2019-03-08T10:51:34.000Z
2019-08-20T07:45:13.000Z
use Mix.Config config :dockup, workdir: "/dockup/workdir", htpasswd_dir: "/dockup/htpasswd", domain: "127.0.0.1.xip.io"
18.142857
35
0.685039
65ed0c6d540ef732284e215bdeef1bd50288b7f2
1,354
ex
Elixir
lib/telemetry.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
1
2021-07-31T11:55:43.000Z
2021-07-31T11:55:43.000Z
lib/telemetry.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
null
null
null
lib/telemetry.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
null
null
null
defmodule Pizza.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn more ...
27.08
88
0.654357
65ed1486b53f54e64e3d435fa3772197b9ca5062
63
ex
Elixir
imdb_data/lib/imdb_data_web/views/page_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
imdb_data/lib/imdb_data_web/views/page_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
2
2016-03-10T03:04:11.000Z
2017-02-11T17:43:44.000Z
imdb_data/lib/imdb_data_web/views/page_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
defmodule IMDbDataWeb.PageView do use IMDbDataWeb, :view end
15.75
33
0.809524
65ed149084b6e76b9a127d242ce53aba1737c104
7,863
exs
Elixir
test/struct_search_bang_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
test/struct_search_bang_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
test/struct_search_bang_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
defmodule HuiStructSearchBangTest do use ExUnit.Case, async: true import TestHelpers doctest Hui setup do resp = File.read!("./test/data/simple_search_response.json") resp_xml = File.read!("./test/data/simple_search_response.xml") bypass = Bypass.open {:ok, bypass: bypass, simple_search_respon...
44.931429
192
0.673661
65ed17192b2f1ed2870afa751bbe2434ed7e0422
990
exs
Elixir
test/supervisor_telemetry_poller_test.exs
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
1,026
2018-05-15T13:46:58.000Z
2022-03-24T02:59:54.000Z
test/supervisor_telemetry_poller_test.exs
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
191
2018-06-04T09:39:37.000Z
2022-03-30T07:04:31.000Z
test/supervisor_telemetry_poller_test.exs
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
109
2018-06-07T07:18:26.000Z
2022-03-21T21:37:21.000Z
defmodule SupervisorTelemetryPollerTest do @moduledoc false use ExUnit.Case, async: true import ExUnit.CaptureLog alias Horde.DynamicSupervisorTelemetryPoller, as: Poller # Just a dummy GenServer to mock Supervisor. defmodule SupervisorMock do use GenServer def init(_), do: {:ok, %{}} def ...
26.052632
96
0.69899
65ed373dad6acc0e31fcd96882dec457b1131e2a
557
ex
Elixir
bryan_hunter+elixir/lib/advent/day1.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
1
2020-11-25T01:54:02.000Z
2020-11-25T01:54:02.000Z
bryan_hunter+elixir/lib/advent/day1.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
null
null
null
bryan_hunter+elixir/lib/advent/day1.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
2
2020-11-25T01:54:42.000Z
2021-02-24T00:12:59.000Z
defmodule Advent.Day1 do def run(input_string) when is_binary(input_string) do input_string |> String.trim() |> String.split("\n") |> Enum.map(fn x -> String.to_integer(x) end) |> run() end def run(input) when is_list(input) do input |> get_pairs() |> Enum.find(fn pair -> pair |> ...
19.892857
59
0.570916
65ed443d2d28c31bd001f823ce93b72781a0150e
115
exs
Elixir
.formatter.exs
OffgridElectric/coap_ex
7d83f8a7fbf26e6e7f2baa8aa10d0f7c457365b6
[ "MIT" ]
null
null
null
.formatter.exs
OffgridElectric/coap_ex
7d83f8a7fbf26e6e7f2baa8aa10d0f7c457365b6
[ "MIT" ]
1
2021-12-10T15:12:30.000Z
2021-12-10T15:12:30.000Z
.formatter.exs
OffgridElectric/coap_ex
7d83f8a7fbf26e6e7f2baa8aa10d0f7c457365b6
[ "MIT" ]
null
null
null
# Used by "mix format" [ import_deps: [:stream_data], inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
19.166667
56
0.582609
65ed63ad62e2a57d8faa0a21ebca20b1487627e1
538
ex
Elixir
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/controllers/privacy_agreement__controller.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/controllers/privacy_agreement__controller.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/controllers/privacy_agreement__controller.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2Web.PrivacyAgreementController do use StudentsCrmV2Web, :controller action_fallback(StudentsCrmV2Web.FallbackController) alias StudentsCrmV2Web.Auth.Guardian.Plug, as: AuthPlug alias StudentsCrmV2Web.CurrentUserView def post(conn, %{"user_id" => user_id}) do with author <- AuthPl...
29.888889
81
0.737918
65ed95a497056d2d8b41d790971f832593b1071d
669
ex
Elixir
solomon/web/models/role.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
solomon/web/models/role.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
solomon/web/models/role.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Solomon.Role do use Solomon.Web, :model schema "roles" do field :name, :string belongs_to :scope, Solomon.Scope has_many :role_permissions, Solomon.RolePermission has_many :permissions, through: [:role_permissions, :permission] end @required_fields ~w(name scope_id)a @optional_fi...
23.068966
68
0.704036
65ed9f50deae206dd4b50abe9807815f9c88f92f
989
ex
Elixir
elixir-guide/mix-and-otp/kv_umbrella/apps/kv/lib/kv/router.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
elixir-guide/mix-and-otp/kv_umbrella/apps/kv/lib/kv/router.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
8
2020-05-18T14:43:21.000Z
2020-06-03T16:07:37.000Z
elixir-guide/mix-and-otp/kv_umbrella/apps/kv/lib/kv/router.ex
lowlandresearch/cate-lukner-internship
71fff3bcd2d44905357c99dbff1b1f572f5bcc6f
[ "MIT" ]
1
2020-05-18T14:44:13.000Z
2020-05-18T14:44:13.000Z
defmodule KV.Router do @doc """ Dispatch the given `mod`, `fun`, `args` request to the appropriate node based on the `bucket`. """ def route(bucket, mod, fun, args) do # Get the first byte of the binary first = :binary.first(bucket) # Try to find an entry in the table() or raise...
27.472222
84
0.575329
65edb668ed8548be688e2935a595177043f5357b
929
ex
Elixir
lib/harald/hci/controller_and_baseband.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/hci/controller_and_baseband.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/hci/controller_and_baseband.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
defmodule Harald.HCI.ControllerAndBaseband do alias Harald.HCI @moduledoc """ HCI commands for working with the controller and baseband. > The Controller & Baseband Commands provide access and control to various capabilities of the > Bluetooth hardware. These parameters provide control of BR/EDR Controllers...
34.407407
97
0.728741
65edbcd82a922fa8e4bb25a56c3e03b2bddd49f3
732
ex
Elixir
lib/source_academy/assessments/mcq_question.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy/assessments/mcq_question.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy/assessments/mcq_question.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
defmodule SourceAcademy.Assessments.MCQQuestion do @moduledoc false use SourceAcademy, :model alias SourceAcademy.Assessments.Question alias SourceAcademy.Assessments.MCQChoice @default_content """ Type the description of the question here, using markdown. """ schema "assessment_mcq_questions" do f...
24.4
57
0.748634
65edc54bd2211b89f279a75869ff2d634b40ec37
1,719
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/test_iam_permissions_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...
34.38
135
0.741129
65eddc8700b050d324e5f97002b2895d77851d8b
1,129
ex
Elixir
test/support/channel_case.ex
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
test/support/channel_case.ex
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
test/support/channel_case.ex
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
defmodule PrintReactWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
27.536585
72
0.731621
65ee03701d0be2a16688f72630200b0b45accf7d
24,330
exs
Elixir
test/avrora/encoder_test.exs
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
test/avrora/encoder_test.exs
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
test/avrora/encoder_test.exs
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
defmodule Avrora.EncoderTest do use ExUnit.Case, async: true doctest Avrora.Encoder import Mox import Support.Config import ExUnit.CaptureLog alias Avrora.{Encoder, Schema} setup :verify_on_exit! setup :support_config describe "extract_schema/1" do test "when payload was encoded with magic byte...
28.929845
283
0.589725
65ee24b3aa1c1725fa3708ed4f2be367e10d5e31
1,828
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/metadata_filter_label_match.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/metadata_filter_label_match.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/metadata_filter_label_match.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...
35.153846
130
0.729759
65ee29c1fa62109a6467d8e0d185cfbaed1c5083
17,287
ex
Elixir
lib/elixir/lib/task/supervisor.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/elixir/lib/task/supervisor.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervisor.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervisor do @moduledoc """ A task supervisor. This module defines a supervisor which can be used to dynamically supervise tasks. A task supervisor is started with no children, often under a supervisor and a name: children = [ {Task.Supervisor, name: MyApp.TaskSupervisor} ...
36.014583
97
0.677098
65ee5f06534392ca80cebcab0f805824086f2901
2,869
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/import_variants_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/import_variants_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/import_variants_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
51.232143
609
0.752876
65ee629cde9b9bbdae58bdfde57da3e58979815d
432
ex
Elixir
lib/geonames/endpoints/oceans.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/oceans.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/oceans.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
defmodule Geonames.Endpoints.Ocean do @moduledoc false @behaviour Geonames.Endpoint @default_arguments %{ lat: nil, lng: nil, radius: nil } def endpoint, do: "oceanJSON" def available_url_parameters, do: [:lat, :lng] def required_url_parameters, do: [:lat, :lng] def function_name, do: :oce...
20.571429
53
0.715278
65ee710273dd7bd9ae1b931faedd897aa1900c58
249
exs
Elixir
priv/config_storage/migrations/20180104020301_add_special_fw_migration_config.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
priv/config_storage/migrations/20180104020301_add_special_fw_migration_config.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
priv/config_storage/migrations/20180104020301_add_special_fw_migration_config.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.System.ConfigStorage.Migrations.AddSpecialFwMigrationConfig do use Ecto.Migration import Farmbot.System.ConfigStorage.MigrationHelpers def change do create_settings_config("fw_upgrade_migration", :bool, true) end end
24.9
80
0.823293
65ee7fded07ee2df54814161bb1947d84c6e9a9b
1,009
exs
Elixir
config/config.exs
bernardoamc/codenamex
6e3219569e4d9b8f4fe9273145b372ba182ab945
[ "MIT" ]
null
null
null
config/config.exs
bernardoamc/codenamex
6e3219569e4d9b8f4fe9273145b372ba182ab945
[ "MIT" ]
2
2020-07-20T14:23:21.000Z
2020-08-01T21:18:45.000Z
config/config.exs
bernardoamc/codenamex
6e3219569e4d9b8f4fe9273145b372ba182ab945
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :codenamex, Cod...
34.793103
86
0.770069
65eea112cee0f9309ae96ce1f45e8eba2b5939a0
7,614
exs
Elixir
test/exvault/kv2_test.exs
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
null
null
null
test/exvault/kv2_test.exs
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
61
2019-02-12T10:05:29.000Z
2020-07-27T09:50:15.000Z
test/exvault/kv2_test.exs
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
1
2019-10-27T10:01:43.000Z
2019-10-27T10:01:43.000Z
defmodule ExVault.KV2Test do use ExUnit.Case alias ExVault.KV2 alias ExVault.Response.{Error, Logical, Success} import TestHelpers.Setup, [:client_apps, :devserver, :client] setup_all [:client_apps, :devserver] setup [:client, :kvv2_backend] defp assert_timestamp_since(ts, before) do now = DateTim...
29.626459
97
0.544392
65eebd667aa7ec1e89a6a9d94ad536994c92a9b6
5,899
exs
Elixir
test/sanbase_web/graphql/user/apikey_resolver_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase_web/graphql/user/apikey_resolver_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase_web/graphql/user/apikey_resolver_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.ApikeyResolverTest do use SanbaseWeb.ConnCase, async: false import SanbaseWeb.Graphql.TestHelpers import Sanbase.Factory alias Sanbase.Repo alias Sanbase.Auth.{ UserApikeyToken, Hmac } setup do user = insert(:user) conn = setup_jwt_auth(build_conn(), user) ...
23.78629
95
0.627394
65eec5a2f4732a6e86c1f299e9037243b89b404a
343
exs
Elixir
priv/repo/seeds.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
9
2017-08-16T14:55:48.000Z
2019-03-06T15:06:49.000Z
priv/repo/seeds.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
1
2022-03-17T18:32:59.000Z
2022-03-17T18:32:59.000Z
# 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: # # Noa.Repo.insert!(%Noa.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if...
28.583333
61
0.699708
65eecefc62ff88d02cb130f26b4efc9fb0487277
354
ex
Elixir
lib/deckhub_api/views/card_view.ex
lee-dohm/deckhub
f9b0e6a4515ed0ab44959f1a04f6d3c0db29c186
[ "MIT" ]
3
2018-08-26T04:48:02.000Z
2020-02-19T12:32:48.000Z
lib/deckhub_api/views/card_view.ex
lee-dohm/deckhub
f9b0e6a4515ed0ab44959f1a04f6d3c0db29c186
[ "MIT" ]
225
2018-08-26T21:32:42.000Z
2021-08-02T09:14:51.000Z
lib/deckhub_api/views/card_view.ex
lee-dohm/deckhub
f9b0e6a4515ed0ab44959f1a04f6d3c0db29c186
[ "MIT" ]
null
null
null
defmodule DeckhubApi.CardView do use DeckhubApi, :view alias Deckhub.MarkdownEngine alias Deckhub.Text def render("show.json", %{card: card}) do card |> Map.from_struct() |> Map.drop([:__meta__, :inserted_at, :updated_at]) |> Map.update!(:text, &Text.to_markdown/1) |> Map.update!(:text, &M...
23.6
55
0.672316
65eed0b7876aeb9370f2224cc9e9eb1e15fbf8ba
3,815
exs
Elixir
apps/ewallet/test/ewallet/fetchers/blockchain_balance_fetcher_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/fetchers/blockchain_balance_fetcher_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/fetchers/blockchain_balance_fetcher_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 ...
37.772277
103
0.713761
65eed4a954fe6ce6a444f38f16ef2c5d824e78b3
613
exs
Elixir
prototypes/old_server/apps/dbclient/mix.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
prototypes/old_server/apps/dbclient/mix.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
prototypes/old_server/apps/dbclient/mix.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule Dbclient.MixProject do use Mix.Project def project do [ app: :dbclient, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_...
20.433333
87
0.577488
65ef1dfb7eaf37d48f0f4fe99bd0f3d7fb3f42a5
58
ex
Elixir
lib/tilex_web/views/stats_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
lib/tilex_web/views/stats_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
lib/tilex_web/views/stats_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule TilexWeb.StatsView do use TilexWeb, :view end
14.5
31
0.793103
65ef347982148db9c1a207f8197559b5a44be2b1
981
ex
Elixir
lib/phoenix_gon/utils.ex
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
lib/phoenix_gon/utils.ex
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
lib/phoenix_gon/utils.ex
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
defmodule PhoenixGon.Utils do @moduledoc """ Usefull methods for elixir modules """ @doc """ Return elixir gon struct. """ @spec variables(Plug.Conn.t()) :: %PhoenixGon.Storage{} def variables(conn), do: conn.private[:phoenix_gon] @doc """ Retusn elixir assets. """ @spec assets(Plug.Conn.t())...
21.8
84
0.616718
65ef3cf8bee188e07088d53cf6466c37ff25c610
930
ex
Elixir
test/support/channel_case.ex
TraceyOnim/TwinklyHaHa
4dc66c6701bc351847f6ec1677da8cd752c27a86
[ "MIT" ]
null
null
null
test/support/channel_case.ex
TraceyOnim/TwinklyHaHa
4dc66c6701bc351847f6ec1677da8cd752c27a86
[ "MIT" ]
22
2021-12-02T09:16:30.000Z
2022-03-21T06:33:29.000Z
test/support/channel_case.ex
TraceyOnim/TwinklyHaHa
4dc66c6701bc351847f6ec1677da8cd752c27a86
[ "MIT" ]
null
null
null
defmodule TwinklyhahaWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interac...
30
68
0.750538
65ef3e78efb23b2fd49e29ae20a85cd608cb2424
1,159
ex
Elixir
lib/soap/request.ex
BlinkerGit/soap
e370f1b46421b1c49009a31e9c19555317c7fbf1
[ "MIT" ]
32
2018-01-09T15:33:50.000Z
2019-02-12T21:29:21.000Z
lib/soap/request.ex
potok-digital/soap
82d88545918838d31fb7b0ae88db662399b0a4df
[ "MIT" ]
28
2018-01-09T10:08:13.000Z
2019-02-14T07:43:56.000Z
lib/soap/request.ex
BlinkerGit/soap
e370f1b46421b1c49009a31e9c19555317c7fbf1
[ "MIT" ]
14
2018-03-03T08:24:54.000Z
2019-02-06T14:56:35.000Z
defmodule Soap.Request do @moduledoc """ Documentation for Soap.Request. """ alias Soap.Request.{Headers, Params} @doc """ Executing with parsed wsdl and headers with body map. Calling HTTPoison request by Map with method, url, body, headers, options keys. """ @spec call(wsdl :: map(), operation :: ...
32.194444
111
0.689387
65ef5830e31364ecefd21eeb9878ab2002bf3b20
11,696
exs
Elixir
test/ecto/query/inspect_test.exs
AndrewDryga/ecto
9460e610928240800571c4e364fc8041f63e88f1
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
AndrewDryga/ecto
9460e610928240800571c4e364fc8041f63e88f1
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
AndrewDryga/ecto
9460e610928240800571c4e364fc8041f63e88f1
[ "Apache-2.0" ]
1
2018-09-21T16:05:29.000Z
2018-09-21T16:05:29.000Z
defmodule Inspect.Post do use Ecto.Schema schema "posts" do field :visits, :integer has_many :comments, Inspect.Comment has_one :post, Inspect.Post end end defmodule Inspect.Comment do use Ecto.Schema schema "comments" do end end defmodule Ecto.Query.InspectTest do use ExUnit.Case, async: ...
37.607717
120
0.564552
65ef64eda2698504949ea536af5fec5aa7f04415
8,577
exs
Elixir
test/ex_oauth2_provider/applications/applications_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/applications/applications_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/applications/applications_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.ApplicationsTest do use ExOauth2Provider.TestCase alias ExOauth2Provider.Test.Fixtures alias ExOauth2Provider.{AccessTokens, Applications} alias Dummy.{OauthApplications.OauthApplication, OauthAccessTokens.OauthAccessToken, Repo} @valid_attrs %{name: "Application", redirect_uri: "...
32.862069
99
0.663752
65efb08ea68d8320f5bdedaf18a8d6b1332caaac
70,667
exs
Elixir
apps/ehealth/test/integration/v2/creating_declaration_request_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/test/integration/v2/creating_declaration_request_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/test/integration/v2/creating_declaration_request_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Integration.V2.DeclarationRequestCreateTest do @moduledoc false use EHealth.Web.ConnCase, async: false import Mox import Core.Expectations.Man import Core.Expectations.OtpVerification alias Core.DeclarationRequests alias Core.DeclarationRequests.DeclarationRequest alias Core.GlobalP...
35.227817
152
0.563375
65efbb8bb3802d93f876e381d466e314dbe80cd7
5,026
ex
Elixir
lib/extensions/reset_password/plug.ex
skylerwshaw/pow
60811e1752c1cb4ea0a699661903294764aeb890
[ "MIT" ]
null
null
null
lib/extensions/reset_password/plug.ex
skylerwshaw/pow
60811e1752c1cb4ea0a699661903294764aeb890
[ "MIT" ]
null
null
null
lib/extensions/reset_password/plug.ex
skylerwshaw/pow
60811e1752c1cb4ea0a699661903294764aeb890
[ "MIT" ]
null
null
null
defmodule PowResetPassword.Plug do @moduledoc """ Plug helper methods. """ alias Plug.Conn alias Pow.{Config, Plug, Store.Backend.EtsCache, UUID} alias PowResetPassword.Ecto.Context, as: ResetPasswordContext alias PowResetPassword.{Ecto.Schema, Store.ResetTokenCache} @doc """ Creates a changeset from...
28.72
101
0.666932
65efde0f06bef0de376308182338544f40a32c4e
593
ex
Elixir
apps/bus_detective/lib/bus_detective/gtfs/projected_stop_time.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/bus_detective/lib/bus_detective/gtfs/projected_stop_time.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/bus_detective/lib/bus_detective/gtfs/projected_stop_time.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule BusDetective.GTFS.ProjectedStopTime do @moduledoc false use Ecto.Schema import Ecto.Changeset alias BusDetective.GTFS.StopTime schema "projected_stop_times" do belongs_to(:stop_time, StopTime) field(:scheduled_arrival_time, :utc_datetime) field(:scheduled_departure_time, :utc_datetime...
24.708333
78
0.768971
65f015e6ea5f4b97e3f4e7252d92324c956841bf
1,654
ex
Elixir
lib/blockquote_web/views/parent_source_view.ex
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/blockquote/lib/blockquote_web/views/parent_source_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/blockquote/lib/blockquote_web/views/parent_source_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule BlockquoteWeb.ParentSourceView do use BlockquoteWeb, :view def render("new.html", assigns) do assigns = Map.merge(assigns, shared_form_assigns(assigns)) render BlockquoteWeb.SharedView, "new.html", assigns end def render("edit.html", assigns) do assigns = Map.merge(assigns, %{ ...
25.84375
152
0.66445