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
ab118262b1c9f857a85baa914297f86e1cc09cb1
513
ex
Elixir
test/support/event_handler_case.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
test/support/event_handler_case.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
test/support/event_handler_case.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.EventHandlerCase do use ExUnit.CaseTemplate using do quote do alias LaFamiglia.Repo import Ecto import Ecto.Changeset import Ecto.Query alias LaFamiglia.Villa import LaFamiglia.Factory end end setup tags do LaFamiglia.DateTime.clock!() ...
17.1
72
0.666667
ab1185cf0cd3c3b06e10ac8fafc51d1652382256
862
exs
Elixir
2018/01.exs
indyone/adventofcode
2c3d16522a00f36e6d33a3b5ee107c27735aa609
[ "Unlicense" ]
2
2017-10-24T08:28:57.000Z
2019-05-14T04:41:06.000Z
2018/01.exs
indyone/adventofcode
2c3d16522a00f36e6d33a3b5ee107c27735aa609
[ "Unlicense" ]
null
null
null
2018/01.exs
indyone/adventofcode
2c3d16522a00f36e6d33a3b5ee107c27735aa609
[ "Unlicense" ]
null
null
null
defmodule Day01 do @input "01.input" |> File.read!() |> String.split() |> Enum.map(&Integer.parse(&1)) |> Enum.map(&elem(&1, 0)) @start 0 # @input [+7, +7, -2, -7, -4] def find(), do: Enum.reduce(@input, @start, fn n, acc -> n + acc end) def find_twice(), do: do_find_tw...
28.733333
87
0.607889
ab11874bd9e8136ff6f2e5af7f78184dbc65c9d1
1,654
ex
Elixir
lib/poison.ex
aforward-oss/poison
a1d218c012872c2a2a947bc9d5215a346d563abd
[ "0BSD", "Unlicense" ]
null
null
null
lib/poison.ex
aforward-oss/poison
a1d218c012872c2a2a947bc9d5215a346d563abd
[ "0BSD", "Unlicense" ]
null
null
null
lib/poison.ex
aforward-oss/poison
a1d218c012872c2a2a947bc9d5215a346d563abd
[ "0BSD", "Unlicense" ]
null
null
null
defmodule Poison do alias Poison.Encoder alias Poison.Decode alias Poison.Parser @doc """ Encode a value to JSON. iex> Poison.encode([1, 2, 3]) {:ok, [91, "1", [44, "2", 44, "3"], 93]} iex> Poison.encode([1, 2, 3], string: true) {:ok, "[1,2,3]"} """ @spec encode(Encoder.t, Keyword.t) :: {:ok, io...
24.686567
71
0.578597
ab11981d4eb44c94a81d13eaeb3f2feab1d9a070
1,282
ex
Elixir
lib/web/controllers/auth_controller.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/web/controllers/auth_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/web/controllers/auth_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.AuthController do use Web, :controller plug(Ueberauth) alias Web.User def request(conn, _params) do conn |> put_flash(:error, "There was an error authenticating.") |> redirect(to: public_page_path(conn, :index)) end def callback(conn = %{assigns: %{ueberauth_failure: failure}},...
27.869565
96
0.625585
ab119dc99db11d464b5d8de3e7447b2e2824cabc
111
exs
Elixir
config/runtime.exs
queer/p
95ff2957fdf8104ca1be584c5a9cdfa99b2d9131
[ "BSD-3-Clause" ]
3
2021-01-31T17:43:05.000Z
2021-03-27T23:13:16.000Z
config/runtime.exs
queer/pig
95ff2957fdf8104ca1be584c5a9cdfa99b2d9131
[ "BSD-3-Clause" ]
null
null
null
config/runtime.exs
queer/pig
95ff2957fdf8104ca1be584c5a9cdfa99b2d9131
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config if Mix.env() == :prod do config :pig, singyeong_dsn: System.get_env("SINGYEONG_DSN") end
15.857143
50
0.693694
ab11c3fbcf074ec37955b519e6ca111e4e6ff088
5,585
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/consumer_worker.ex
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/consumer_worker.ex
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/consumer_worker.ex
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Examples.Stream.ConsumerWorker do @moduledoc false use Ockam.Worker use Ockam.MessageProtocol alias Ockam.Message alias Ockam.Protocol.Stream, as: StreamProtocol require Logger defstruct address: nil, stream_name: nil, stream_route: nil, index_route: ...
28.641026
98
0.664816
ab11d6bca4e1c1df76369c72273ba5dd677cae04
2,232
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/embedded_object_border_suggestion_state.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/embedded_object_border_suggestion_state.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/embedded_object_border_suggestion_state.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...
39.157895
133
0.732527
ab11ee7349a66a6f0137409e7e082633d49a18be
1,531
ex
Elixir
clients/manufacturers/lib/google_api/manufacturers/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/manufacturers/lib/google_api/manufacturers/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/manufacturers/lib/google_api/manufacturers/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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.452381
345
0.758328
ab11eea76cff57a7c22ea8f2925a39a4c50080d5
5,668
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/outlier_detection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/outlier_detection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/outlier_detection.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...
73.61039
508
0.747001
ab121984af0886a3cd54d633677899a5c21106e3
970
ex
Elixir
apps/opentelemetry_api_experimental/lib/opentelemetry_api_experimental/updown_counter.ex
marpo60/opentelemetry-erlang
28b383da8ee595606c20c2e5b867349a3d525b4e
[ "Apache-2.0" ]
209
2019-05-14T00:46:18.000Z
2022-03-29T21:14:21.000Z
apps/opentelemetry_api_experimental/lib/opentelemetry_api_experimental/updown_counter.ex
marpo60/opentelemetry-erlang
28b383da8ee595606c20c2e5b867349a3d525b4e
[ "Apache-2.0" ]
327
2019-07-13T15:36:31.000Z
2022-03-31T23:39:02.000Z
apps/opentelemetry_api_experimental/lib/opentelemetry_api_experimental/updown_counter.ex
marpo60/opentelemetry-erlang
28b383da8ee595606c20c2e5b867349a3d525b4e
[ "Apache-2.0" ]
53
2019-06-19T20:17:44.000Z
2022-03-04T19:07:27.000Z
defmodule OpenTelemetry.UpdownCounter do @moduledoc """ require OpenTelemetry.UpdownCounter OpenTelemetry.UpdownCounter.new("some.counter") OpenTelemetry.UpdownCounter.add("some.counter", -3) """ defmacro new(name, opts \\ %{}) do quote do :otel_updown_counter.new(:opentelemetry.ge...
23.658537
98
0.675258
ab124c98c8a9a0c0c261203c78fd56089489f6c0
797
exs
Elixir
test/crius_chat_web/channels/user_channel_test.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
test/crius_chat_web/channels/user_channel_test.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
3
2021-03-09T17:37:23.000Z
2021-09-01T22:28:38.000Z
test/crius_chat_web/channels/user_channel_test.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
defmodule CriusChatWeb.UserChannelTest do use CriusChatWeb.ChannelCase setup do {:ok, _, socket} = socket(CriusChatWeb.UserSocket, "user_id", %{some: :assign}) |> subscribe_and_join(CriusChatWeb.UserChannel, "user:lobby") {:ok, socket: socket} end test "ping replies with status ok", %{soc...
29.518519
67
0.63739
ab12722a7a2b1941b56370d0ef68b7a9148a6e17
4,388
exs
Elixir
test/nosedrum/message_cache/ets_test.exs
Bentheburrito/nosedrum
944fd69a640473c4fb8fe3b3bdefc3522c5757a0
[ "0BSD" ]
25
2019-02-10T01:22:02.000Z
2022-03-16T08:34:04.000Z
test/nosedrum/message_cache/ets_test.exs
Bentheburrito/nosedrum
944fd69a640473c4fb8fe3b3bdefc3522c5757a0
[ "0BSD" ]
19
2019-04-11T19:02:18.000Z
2022-02-18T18:32:13.000Z
test/nosedrum/message_cache/ets_test.exs
Bentheburrito/nosedrum
944fd69a640473c4fb8fe3b3bdefc3522c5757a0
[ "0BSD" ]
6
2020-09-22T09:06:24.000Z
2022-02-05T03:26:42.000Z
defmodule Nosedrum.MessageCache.ETSTest do alias Nosedrum.MessageCache.ETS, as: MessageCache use ExUnit.Case, async: true describe "get/2-3" do setup do pid = start_supervised!(MessageCache) tid = GenServer.call(pid, :tid) message = %{ author: %{ id: 12_319_031 },...
26.756098
97
0.610985
ab128a057ef1b73cdf614b02ccedd22ec1d02009
994
ex
Elixir
lib/rocketpay_web/views/error_view.ex
henrique-tavares/rocketpay
0c37071cd3e63dd51cae16d773522eb6a5de84d4
[ "MIT" ]
null
null
null
lib/rocketpay_web/views/error_view.ex
henrique-tavares/rocketpay
0c37071cd3e63dd51cae16d773522eb6a5de84d4
[ "MIT" ]
null
null
null
lib/rocketpay_web/views/error_view.ex
henrique-tavares/rocketpay
0c37071cd3e63dd51cae16d773522eb6a5de84d4
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.ErrorView do use RocketpayWeb, :view alias Ecto.Changeset # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix ret...
28.4
83
0.681087
ab1292386b8c74ab484a76fd2e06a1882fdc7cab
517
exs
Elixir
test/client_test.exs
outkit/elixir-client
1e1ae8cddab544bab9c1d805b52a88bffbbf3633
[ "MIT" ]
1
2019-10-03T07:20:45.000Z
2019-10-03T07:20:45.000Z
test/client_test.exs
outkit/elixir-client
1e1ae8cddab544bab9c1d805b52a88bffbbf3633
[ "MIT" ]
null
null
null
test/client_test.exs
outkit/elixir-client
1e1ae8cddab544bab9c1d805b52a88bffbbf3633
[ "MIT" ]
null
null
null
defmodule Outkit.ClientTest do use ExUnit.Case alias Outkit.Client doctest Outkit.Client test "default endpoint" do client = Client.new() assert client.endpoint == "https://api.outkit.io/v1" end test "custom endpoint" do expected = "http://localhost:4990/v1/" client = Client.new(endpoint...
22.478261
61
0.686654
ab129ddec7466e16fc6aad34b598cb22b6b0a4d5
721
ex
Elixir
lib/instant_poll_web/gettext.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
1
2018-11-30T09:08:09.000Z
2018-11-30T09:08:09.000Z
lib/instant_poll_web/gettext.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
5
2021-01-28T19:08:56.000Z
2021-05-07T22:43:54.000Z
lib/instant_poll_web/gettext.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
null
null
null
defmodule InstantPollWeb.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 InstantPollWeb.Gettext # Simple translation gettext "H...
28.84
72
0.686546
ab12a28e40b5a2cd44cd7bfc0514a773d82ed2d2
11,688
ex
Elixir
lib/plausible/stats/query.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible/stats/query.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible/stats/query.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Stats.Query do defstruct date_range: nil, interval: nil, period: nil, filters: %{}, sample_threshold: 20_000_000, include_imported: false @default_sample_threshold 20_000_000 def shift_back(%__MODULE__{period: "year"} = query, site)...
30.4375
98
0.619695
ab12a9ebafb9d0d3645190b811681a3e10cb662f
1,798
ex
Elixir
lib/conduit_amqp/util.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
9
2017-02-01T14:12:28.000Z
2021-07-06T23:22:29.000Z
lib/conduit_amqp/util.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
77
2018-02-02T19:17:08.000Z
2021-08-03T05:20:21.000Z
lib/conduit_amqp/util.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
10
2018-02-02T19:07:44.000Z
2021-05-05T03:34:41.000Z
defmodule ConduitAMQP.Util do @moduledoc """ Provides utilities to wait for something to happen """ @spec wait_until((() -> true | false)) :: :ok def wait_until(fun) when is_function(fun) do 10 |> Stream.interval() |> Enum.reduce_while(:wait, fn _, _ -> if(fun.(), do: {:halt, :ok}, else: {:...
21.662651
73
0.593437
ab12d8edfc48ce46439df2518d546f98732532f7
1,266
ex
Elixir
lib/koans/18_protocols.ex
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
lib/koans/18_protocols.ex
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
lib/koans/18_protocols.ex
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
defmodule Protocols do use Koans @intro "Want to follow the rules? Adhere to the protocol!" defprotocol School, do: def enrol(person) defimpl School, for: Any do def enrol(_) do "Pupil enrolled at school" end end defmodule Student do @derive School defstruct name: "" end defmo...
24.346154
78
0.663507
ab12e275159557eac4a9b4912c8c1fc014c09a13
1,944
ex
Elixir
apps/writer_presto/lib/writer/presto.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/writer_presto/lib/writer/presto.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/writer_presto/lib/writer/presto.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule Writer.Presto do @behaviour Writer use GenServer defmodule State do defstruct [:session, :table, :table_schema] end @impl Writer def start_link(args) do server_opts = [name: Keyword.get(args, :name, nil)] GenServer.start_link(__MODULE__, args, server_opts) end @impl Writer def...
25.246753
75
0.611111
ab12e33154fb2a2354c0634b39c0392c0f41970f
858
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_list_skus_result.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.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_list_skus_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_list_skus_result.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.Compute.Model.VirtualMachineScaleSetListSkusResult do @moduledoc """ The Virtual Machine Scale Set List Skus operat...
28.6
112
0.745921
ab1307e62f49e325795df968228ba7094f2316b0
1,473
ex
Elixir
.clext/terraform.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
.clext/terraform.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
.clext/terraform.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
#!/usr/bin/env sh set -eu [ "${DEBUG:-0}" = "1" ] && set -x ### Extension-specific variables CLINST_E_NAME="${CLINST_E_NAME:-terraform}" CLINST_E_REV="0.2.0" CLINST_E_BIN_NAME="${CLINST_E_BIN_NAME:-$CLINST_E_NAME}" CLINST_E_DLFILE="${CLINST_E_DLFILE:-$CLINST_E_NAME.zip}" CLINST_E_INSTDIR="${CLINST_E_INSTDIR:-$(pwd)}" ...
46.03125
150
0.665988
ab1311b7e2496bd6fd6223aaf56c7972c4934062
2,418
ex
Elixir
lib/level_web/schema/connections.ex
cas27/level
70f4c7ab696e426c4be5cdc0b71bca1dcc0fe21a
[ "Apache-2.0" ]
null
null
null
lib/level_web/schema/connections.ex
cas27/level
70f4c7ab696e426c4be5cdc0b71bca1dcc0fe21a
[ "Apache-2.0" ]
null
null
null
lib/level_web/schema/connections.ex
cas27/level
70f4c7ab696e426c4be5cdc0b71bca1dcc0fe21a
[ "Apache-2.0" ]
null
null
null
defmodule LevelWeb.Schema.Connections do @moduledoc false use Absinthe.Schema.Notation @desc "Data for pagination in a connection." object :page_info do @desc "The cursor correspodning to the first node." field :start_cursor, :cursor @desc "The cursor corresponding to the last node." field :e...
28.785714
77
0.704715
ab13127c6e0368de3187922e17f018b3fd3be50a
711
ex
Elixir
lib/phoenix/live_dashboard/components/card_usage_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
2
2020-05-07T23:49:26.000Z
2020-05-10T13:56:03.000Z
lib/phoenix/live_dashboard/components/card_usage_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
1
2020-06-11T01:43:00.000Z
2020-06-16T04:48:00.000Z
lib/phoenix/live_dashboard/components/card_usage_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.CardUsageComponent do use Phoenix.LiveDashboard.Web, :live_component def render(assigns) do ~L""" <div class="card progress-section mb-4"> <%= live_component @socket, Phoenix.LiveDashboard.TitleBarComponent, class: "card-body", percent: percentage(@usage, @limit) do %>...
25.392857
136
0.531646
ab131dd80eebb3f9ed5a201d6d1bb04ad1b5015e
1,224
exs
Elixir
mix.exs
dolfinus/phoenix_pubsub
69333730a1fa771014821e279263dec049f33a4c
[ "MIT" ]
null
null
null
mix.exs
dolfinus/phoenix_pubsub
69333730a1fa771014821e279263dec049f33a4c
[ "MIT" ]
null
null
null
mix.exs
dolfinus/phoenix_pubsub
69333730a1fa771014821e279263dec049f33a4c
[ "MIT" ]
null
null
null
defmodule Phoenix.PubSub.Mixfile do use Mix.Project @version "2.1.0-dev" def project do [ app: :phoenix_pubsub, version: @version, elixir: "~> 1.6", name: "Phoenix.PubSub", description: "Distributed PubSub and Presence platform", homepage_url: "http://www.phoenixframework...
22.666667
84
0.601307
ab13327d814067ee5299c047aeeff409c62cd94a
677
exs
Elixir
config/config.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
config/config.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
config/config.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.631579
71
0.726736
ab1349d96fd0f6f6211ddcf6c70903961f3dd188
1,848
exs
Elixir
config/prod.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:44:10.000Z
2020-03-12T18:44:10.000Z
config/prod.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2021-03-10T10:22:38.000Z
2021-03-10T10:22:38.000Z
config/prod.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:41:42.000Z
2020-03-12T18:41:42.000Z
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.867925
66
0.710498
ab134e45c956df0f3c75bf2bc6e640276aeba45d
17,884
ex
Elixir
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.47981
187
0.636603
ab13b7c078b98d99aa0c1cd78c76c938496d8f72
1,199
exs
Elixir
mix.exs
Capchase/gocardless
5a3015c4614b8196aac627225691d4dc43dd661e
[ "MIT" ]
5
2017-06-23T16:09:20.000Z
2020-03-08T15:25:41.000Z
mix.exs
Capchase/gocardless
5a3015c4614b8196aac627225691d4dc43dd661e
[ "MIT" ]
9
2017-06-26T10:29:34.000Z
2018-10-18T11:05:57.000Z
mix.exs
Capchase/gocardless
5a3015c4614b8196aac627225691d4dc43dd661e
[ "MIT" ]
2
2017-06-23T19:09:07.000Z
2021-07-14T20:48:59.000Z
defmodule Gocardless.Mixfile do use Mix.Project def project do [app: :gocardless, version: "1.0.3", description: "Elixir wrapper for the GoCardless API", package: package(), elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] ...
24.979167
79
0.593828
ab13dba98d9fa0f96e5c86e758df755749c016d9
2,480
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/location.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/location.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/location.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 &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...
35.942029
155
0.692339
ab13dcc8d8109378df047bceea189f42f148f8bb
1,399
ex
Elixir
test/support/model_case.ex
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
test/support/model_case.ex
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
test/support/model_case.ex
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
defmodule Review.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. """ use ExUnit.CaseTemplate using do quote do alias Review.Repo ...
24.54386
84
0.671194
ab13ec662b9a15148019dc87c1f8e956458499be
2,171
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/jwt_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/jwt_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/jwt_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.183333
120
0.709351
ab13f0850470424a144aa65986376bb88549a907
1,529
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/conference_properties.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/conference_properties.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/conference_properties.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.75
273
0.759974
ab13fce0af6af09b956d5fedfaad2efbd493fcb5
1,561
exs
Elixir
live/sample/mix.exs
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
live/sample/mix.exs
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
live/sample/mix.exs
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
defmodule Sample.MixProject do use Mix.Project def project do [ app: :sample, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
25.590164
84
0.585522
ab14426d20e0107ed7a94bac8bf4ec6bf84f73f2
2,366
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &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 ...
38.16129
157
0.741758
ab146036f3bc1627833c9ae1d495ed670dda4aca
513
ex
Elixir
lib/badges/tests/test.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
lib/badges/tests/test.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
lib/badges/tests/test.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
defmodule Badges.Tests.Test do use Ecto.Schema import Ecto.Changeset schema "tests" do field :name, :string field :planned_date, :utc_datetime belongs_to :teacher, Badges.Teachers.Teacher has_many :topics, Badges.Tests.Topic many_to_many :students, Badges.Students.Student, join_through: Badg...
22.304348
97
0.709552
ab146e53a46af5324bf99033fd345217f40cba1f
1,700
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_move_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_move_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/analyze_move_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.170213
239
0.755882
ab149ead6e47c5c992434bb90e520e7b8d3bc9d5
1,540
exs
Elixir
elixir/word-count/word_count_test.exs
agorf/exercism
10bab8c9fa114eaebb1c7de791014bdf23c447d3
[ "MIT" ]
1
2016-02-25T16:43:39.000Z
2016-02-25T16:43:39.000Z
elixir/word-count/word_count_test.exs
agorf/exercism
10bab8c9fa114eaebb1c7de791014bdf23c447d3
[ "MIT" ]
null
null
null
elixir/word-count/word_count_test.exs
agorf/exercism
10bab8c9fa114eaebb1c7de791014bdf23c447d3
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("word_count.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule WordsTest do use ExUnit.Case test "count one word" do assert Words.count("word") == %{ "word" => 1 } end test ...
27.017544
88
0.600649
ab149f2f2edaa175a2abf5e00ee17fd29a3b86bb
1,522
exs
Elixir
apps/revision/mix.exs
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
1
2022-02-06T11:29:56.000Z
2022-02-06T11:29:56.000Z
apps/revision/mix.exs
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
apps/revision/mix.exs
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
defmodule Revision.MixProject do use Mix.Project def project do [ app: :revision, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_paths: elixirc_p...
25.79661
79
0.584757
ab14ab491ba2cc4a389a0b5f9ef7ea33880a372d
1,269
exs
Elixir
test/poker/best_hand_test.exs
Dogzhou/poker
614c4ecd4edc844f003ee3cb723191e159dbacde
[ "MIT" ]
null
null
null
test/poker/best_hand_test.exs
Dogzhou/poker
614c4ecd4edc844f003ee3cb723191e159dbacde
[ "MIT" ]
null
null
null
test/poker/best_hand_test.exs
Dogzhou/poker
614c4ecd4edc844f003ee3cb723191e159dbacde
[ "MIT" ]
null
null
null
defmodule Poker.BestHandTest do use ExUnit.Case, async: true alias Poker.{BestHand, Hand} @hand Hand.init(~w(2D 3D 4D 5D 6D)) @equal_hand Hand.init(~w(2S 3S 4S 5S 6S)) @smaller_hand Hand.init(~w(AC 2C 3C 4C 5C)) @bigger_hand Hand.init(~w(3H 4H 5H 6H 7H)) describe "winnerHands has multiple hands" do t...
25.38
70
0.643026
ab14b110c68ab10996c2f4b4ed3a62a98ea01f18
801
ex
Elixir
apps/tai/lib/tai/venue_adapters/bitmex/stream/funding.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/bitmex/stream/funding.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/venue_adapters/bitmex/stream/funding.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Bitmex.Stream.Funding do def broadcast( %{ "fundingInterval" => interval, "fundingRate" => rate, "fundingRateDaily" => rate_daily, "symbol" => venue_symbol, "timestamp" => timestamp }, venue_id, received_at ...
25.83871
92
0.612984
ab14d6c0920f858bcfb88f7a6b2b8faa35948731
200
ex
Elixir
lib/bonfire/tracks/events/reading_finished.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
71
2020-03-09T02:09:30.000Z
2022-03-09T06:10:23.000Z
lib/bonfire/tracks/events/reading_finished.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
null
null
null
lib/bonfire/tracks/events/reading_finished.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
4
2020-04-03T02:28:05.000Z
2021-11-24T20:07:25.000Z
defmodule Bonfire.Tracks.Events.ReadingFinished do @moduledoc """ Reading finished event struct. """ @type t :: %{track_id: TrackId.t()} @derive Jason.Encoder defstruct [:track_id] end
16.666667
50
0.695
ab14d72b4402ed850944ab59b1ac8d942762d48b
269
exs
Elixir
src/test/resources/samples/langs/Elixir/hello_world_test.exs
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
6,952
2017-07-10T20:52:50.000Z
2022-03-31T02:16:55.000Z
src/test/resources/samples/langs/Elixir/hello_world_test.exs
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
410
2017-07-17T23:58:45.000Z
2022-01-02T15:03:43.000Z
src/test/resources/samples/langs/Elixir/hello_world_test.exs
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
386
2017-08-22T10:45:16.000Z
2022-03-30T07:21:04.000Z
Code.load_file("hello_world.exs") ExUnit.start defmodule HelloWorldTest do use ExUnit.Case test "say hello" do assert HelloWorld.hi() == "hello, world" end test "say hello to michael" do assert HelloWorld.hi("michael") == "hello, michael" end end
16.8125
55
0.695167
ab1535bf34e519bf592881e6c554990f05553038
1,878
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/date_range.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/date_range.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/date_range.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.115385
164
0.724175
ab153d196afeb5fd1f5c8cae50dd4fa0e511005f
17,841
exs
Elixir
test/assertions/absinthe_test.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
121
2018-11-30T16:08:43.000Z
2022-03-10T04:10:04.000Z
test/assertions/absinthe_test.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
21
2019-02-14T08:31:06.000Z
2022-02-22T16:36:43.000Z
test/assertions/absinthe_test.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
17
2018-12-14T13:04:13.000Z
2021-12-10T22:44:59.000Z
defmodule Nested.PetsSchema do use Absinthe.Schema interface :pet do field(:name, :string) resolve_type(fn _, _ -> :dog end) end interface :doggo do field(:name, :string) resolve_type(fn _, _ -> :dog end) end union :animal do types([:dog, :cat]) resolve_type(fn _, _ -> :cat end) ...
27.532407
523
0.323861
ab153f12c607c8079297fcc8c563747c52097114
901
ex
Elixir
apps/artemis/lib/artemis/contexts/role/get_role.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/contexts/role/get_role.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/contexts/role/get_role.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.GetRole do use Artemis.Context import Ecto.Query alias Artemis.Repo alias Artemis.Role @default_preload [] def call!(value, _user, options \\ []) do get_record(value, options, &Repo.get_by!/2) end def call(value, _user, options \\ []) do get_record(value, options, &Repo.ge...
23.710526
86
0.664817
ab1596a41430acc5375d824a6a07a249c1c94e3e
7,071
exs
Elixir
test/sublocator_test.exs
bhdirect-ebooks/sublocator
e6e387a412ee05f7d27812b293e807323b068afa
[ "MIT" ]
null
null
null
test/sublocator_test.exs
bhdirect-ebooks/sublocator
e6e387a412ee05f7d27812b293e807323b068afa
[ "MIT" ]
1
2018-08-09T22:35:10.000Z
2018-08-30T18:30:52.000Z
test/sublocator_test.exs
westonlit/sublocator
e6e387a412ee05f7d27812b293e807323b068afa
[ "MIT" ]
null
null
null
defmodule SublocatorTest do use ExUnit.Case doctest Sublocator setup_all do %{test_file: File.read("test/PrideAndPrejudice.html")} end test "creates a new location map" do assert Sublocator.new_loc(2, 4) === %{line: 2, col: 4} end test "accepts only a string as primary parameter" do assert ...
32.736111
97
0.507708
ab15d67037060c1dfb9570fc8e1bce2e117f2060
3,074
ex
Elixir
lib/mix/tasks/x509.gen.selfsigned.ex
maartenvanvliet/x509
0252fddbc99d946b8a5b10328830bfebc834752b
[ "BSD-3-Clause" ]
75
2018-07-02T12:00:57.000Z
2022-02-07T14:47:56.000Z
lib/mix/tasks/x509.gen.selfsigned.ex
maartenvanvliet/x509
0252fddbc99d946b8a5b10328830bfebc834752b
[ "BSD-3-Clause" ]
30
2018-07-04T12:33:01.000Z
2022-01-14T18:29:00.000Z
lib/mix/tasks/x509.gen.selfsigned.ex
maartenvanvliet/x509
0252fddbc99d946b8a5b10328830bfebc834752b
[ "BSD-3-Clause" ]
12
2018-09-21T04:34:02.000Z
2022-02-28T20:11:13.000Z
defmodule Mix.Tasks.X509.Gen.Selfsigned do @shortdoc "Generates a self-signed certificate" @default_path "priv/cert/selfsigned" @default_name "Self-signed test certificate" @default_hostnames ["localhost"] @warning """ WARNING: only use the generated certificate for testing in a closed network environme...
27.945455
82
0.667209
ab15e7fb366bb15ae88c049b34e0b726e3aa7fed
2,107
ex
Elixir
lib/nerves_hub_user_api/org_user.ex
OffgridElectric/nerves_hub_user_api
dd77a47fd9bc51c9a76732056bc0b3fc0019f770
[ "Apache-2.0" ]
2
2019-06-18T19:59:13.000Z
2020-01-13T18:45:50.000Z
lib/nerves_hub_user_api/org_user.ex
OffgridElectric/nerves_hub_user_api
dd77a47fd9bc51c9a76732056bc0b3fc0019f770
[ "Apache-2.0" ]
9
2019-03-08T19:06:33.000Z
2022-03-16T21:35:04.000Z
lib/nerves_hub_user_api/org_user.ex
OffgridElectric/nerves_hub_user_api
dd77a47fd9bc51c9a76732056bc0b3fc0019f770
[ "Apache-2.0" ]
3
2019-11-25T12:15:30.000Z
2021-01-22T16:17:37.000Z
defmodule NervesHubUserAPI.OrgUser do @moduledoc """ Manage OrgUsers on NervesHub Path: /orgs/:org_name/users """ alias NervesHubUserAPI.{Auth, API, Org} @type role :: :admin | :delete | :write | :read @path "users" @roles [:admin, :delete, :write, :read] @doc """ List all users for an org. ...
26.012346
93
0.618415
ab15fdb8a73511dec78fa7288275b73369667056
253
ex
Elixir
tags/lib/tags/messages/get.ex
DanielVitorSM/nlw-heat
99cb3dfdd5917267dde851d3dc90e0882296c721
[ "MIT" ]
null
null
null
tags/lib/tags/messages/get.ex
DanielVitorSM/nlw-heat
99cb3dfdd5917267dde851d3dc90e0882296c721
[ "MIT" ]
null
null
null
tags/lib/tags/messages/get.ex
DanielVitorSM/nlw-heat
99cb3dfdd5917267dde851d3dc90e0882296c721
[ "MIT" ]
null
null
null
defmodule Tags.Messages.Get do import Ecto.Query alias Tags.{Message, Repo} def today_messages do today = Date.utc_today() query = from message in Message, where: type(message.inserted_at, :date) == ^today Repo.all(query) end end
19.461538
86
0.699605
ab160b9d847442773565fea6a80cca4d8103b214
5,345
exs
Elixir
test/club/brands/projectors/brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
test/club/brands/projectors/brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
test/club/brands/projectors/brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.Brands.Projectors.BrandTest do use Club.DataCase alias Club.ReadRepo, as: Repo alias Club.Brands alias Club.Brands.Projections.Brand, as: BrandProjection alias Club.Brands.Events.{ BrandAdded, BrandRenamed, BrandUrlUpdated, NewProductWithBrandLinked, ProductFromBrandUnli...
31.627219
94
0.684939
ab167bb3c2b553f9ec47164aa6320f2661706137
3,085
ex
Elixir
lib/hyperex/sparse_bitfield.ex
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
lib/hyperex/sparse_bitfield.ex
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
lib/hyperex/sparse_bitfield.ex
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
defmodule Hyperex.SparseBitfield do @moduledoc """ Space efficent structure to track pieces of information. Each piece of information added to a Dat feed relates to an incrementing `index`: ```text first append = 0 next = 1 next = 2 .... ``` Each index is marked in the SparseBitfield by setting th...
26.367521
90
0.616207
ab169f7502a530c192befa7bc0172a3ad48267e0
1,113
exs
Elixir
test/integration/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
test/integration/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
test/integration/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.Integration.StatusTest do use ExUnit.Case, async: false alias WebDriverClient.ConnectionError alias WebDriverClient.IntegrationTesting.Scenarios alias WebDriverClient.IntegrationTesting.TestGenerator alias WebDriverClient.ProtocolMismatchError alias WebDriverClient.ServerStatus ...
30.916667
92
0.719677
ab16a6fb4b015879c22ea2c9c107cba86dd47fc5
1,212
exs
Elixir
mix.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
5
2016-12-27T03:49:49.000Z
2019-09-20T12:05:33.000Z
mix.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
mix.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
defmodule Csvto.Mixfile do use Mix.Project @version "0.1.3" def project do [app: :csvto, version: @version, elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), description: description(), package: package(), build_embedded: Mix.env == :prod, start_permanent: Mix.env =...
22.867925
68
0.590759
ab16ad2f61acaf21db67fb6b310d8bfb49a2b4e1
1,784
ex
Elixir
mysite/test/support/model_case.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/test/support/model_case.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/test/support/model_case.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
defmodule Mysite.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For t...
27.030303
84
0.683857
ab16c9f0e8626e49d4872d5aec2badbc43b71e4a
446
ex
Elixir
lib/cforum_web/views/notification_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/views/notification_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/views/notification_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.NotificationView do use CforumWeb, :view alias CforumWeb.Paginator alias CforumWeb.Sortable alias Cforum.Helpers alias CforumWeb.Views.ViewHelpers alias CforumWeb.Views.ViewHelpers.Path def page_title(:index, _), do: gettext("Notifications") def page_heading(:index, _), do: page_...
26.235294
58
0.753363
ab16ce96e236c4ef3a40f7f5535a4347be692627
57
ex
Elixir
web/views/page_view.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
web/views/page_view.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
web/views/page_view.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
defmodule Mediax.PageView do use Mediax.Web, :view end
14.25
28
0.77193
ab16f8cd8fc7852da8ef0d597147e55d570fab92
102
ex
Elixir
lib/step_flow/metrics/prometheus_exporter.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/metrics/prometheus_exporter.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/metrics/prometheus_exporter.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.Metrics.PrometheusExporter do @moduledoc false use Prometheus.PlugExporter end
20.4
48
0.843137
ab171461c705049e94f4663ccdd0e736eff36e9a
227
exs
Elixir
priv/repo/migrations/20210921012541_relation_posts_comments.exs
brandaoplaster/blog_phx
354b6af8c5727e483884713d969d4452b9592774
[ "MIT" ]
2
2021-09-28T13:06:31.000Z
2021-10-03T14:41:14.000Z
priv/repo/migrations/20210921012541_relation_posts_comments.exs
brandaoplaster/blog_phx
354b6af8c5727e483884713d969d4452b9592774
[ "MIT" ]
8
2021-09-05T00:40:16.000Z
2021-12-04T22:41:00.000Z
priv/repo/migrations/20210921012541_relation_posts_comments.exs
brandaoplaster/blog_phx
354b6af8c5727e483884713d969d4452b9592774
[ "MIT" ]
null
null
null
defmodule BlogPhx.Repo.Migrations.RelationPostsComments do @moduledoc false use Ecto.Migration def change do alter table(:comments) do add :post_id, references(:posts, on_delete: :delete_all) end end end
20.636364
62
0.735683
ab171c88b52ee0f1780f9a97e3bdf3b586028d0b
9,754
exs
Elixir
test/toxiproxy_ex_test.exs
kianmeng/toxiproxy_ex
862e3257f02ac4a478780ae64c0130f88711e517
[ "MIT" ]
null
null
null
test/toxiproxy_ex_test.exs
kianmeng/toxiproxy_ex
862e3257f02ac4a478780ae64c0130f88711e517
[ "MIT" ]
null
null
null
test/toxiproxy_ex_test.exs
kianmeng/toxiproxy_ex
862e3257f02ac4a478780ae64c0130f88711e517
[ "MIT" ]
null
null
null
defmodule ToxiproxyExTest do use ExUnit.Case doctest ToxiproxyEx import ToxiproxyEx.TestHelpers import ToxiproxyEx.ProxyAssertions alias ToxiproxyEx.{Proxy, Toxic, ToxicCollection} setup do on_exit(fn -> Enum.map(ToxiproxyEx.all!().proxies, fn proxy -> :ok = ToxiproxyEx.Proxy.destroy(pr...
29.557576
166
0.630306
ab171efefeb7d9952eedecfa197495ab5eb00cdd
152
exs
Elixir
test/cmark_test.exs
wojtekmach/cmark_precompiled
dd633c2bac560e5be9680beecd4bbca4b3d72464
[ "Apache-2.0" ]
null
null
null
test/cmark_test.exs
wojtekmach/cmark_precompiled
dd633c2bac560e5be9680beecd4bbca4b3d72464
[ "Apache-2.0" ]
null
null
null
test/cmark_test.exs
wojtekmach/cmark_precompiled
dd633c2bac560e5be9680beecd4bbca4b3d72464
[ "Apache-2.0" ]
null
null
null
defmodule CmarkTest do use ExUnit.Case, async: true test "to_html/2" do assert Cmark.to_html("*Hello*") == "<p><em>Hello</em></p>\n" end end
19
64
0.638158
ab174815fe265eb30da4088a1dca85a2e63cce4a
63
exs
Elixir
test/sundog_test.exs
wisq/sundog
78ec18a07ad2a21bcb0ff9f069679497096ce916
[ "Apache-2.0" ]
null
null
null
test/sundog_test.exs
wisq/sundog
78ec18a07ad2a21bcb0ff9f069679497096ce916
[ "Apache-2.0" ]
null
null
null
test/sundog_test.exs
wisq/sundog
78ec18a07ad2a21bcb0ff9f069679497096ce916
[ "Apache-2.0" ]
null
null
null
defmodule SundogTest do use ExUnit.Case doctest Sundog end
12.6
23
0.793651
ab1760b65c3957a53a1af4bb7672d42073b2c340
1,374
ex
Elixir
lib/email_ex.ex
diasbruno/email_ex
f72aaa0e884d1157d5475428e95066373de0d744
[ "MIT" ]
null
null
null
lib/email_ex.ex
diasbruno/email_ex
f72aaa0e884d1157d5475428e95066373de0d744
[ "MIT" ]
3
2019-11-03T02:05:15.000Z
2019-11-03T17:06:28.000Z
lib/email_ex.ex
diasbruno/email_ex
f72aaa0e884d1157d5475428e95066373de0d744
[ "MIT" ]
null
null
null
defmodule EmailEx do @moduledoc """ E-mail parser and validation. """ use Combine alias EmailEx.RFC2822 @doc """ Parse an address string. """ @doc since: "0.1.0" @spec parse(String.t) :: {:ok, [String.t]} | {:error, String.t | term} def parse(str), do: parse(str, RFC2822) @doc """ Parse an a...
21.46875
82
0.571325
ab17ac09d7011645f27b459d55bac551b8baece2
2,110
ex
Elixir
clients/elixir/lib/fast_api/api/text_text_next_sentence_prediction.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
1
2022-03-30T11:33:28.000Z
2022-03-30T11:33:28.000Z
clients/elixir/lib/fast_api/api/text_text_next_sentence_prediction.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
null
null
null
clients/elixir/lib/fast_api/api/text_text_next_sentence_prediction.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule FastAPI.Api.TextTextNextSentencePrediction do @moduledoc """ API calls for all endpoints tagged `TextTextNextSentencePrediction`. """ alias F...
29.305556
128
0.664929
ab17cc1ed298c799c59ac67efe90c28549df07bd
324
ex
Elixir
apps/brain/lib/sensors/accelerometer.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
39
2016-11-01T07:21:51.000Z
2021-02-05T20:19:02.000Z
apps/brain/lib/sensors/accelerometer.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
apps/brain/lib/sensors/accelerometer.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
defmodule Brain.Sensors.Accelerometer do use GenServer use Sensors.Common require Logger def init([driver_pid]) do {:ok, %{driver_pid: driver_pid}} end def start_link(driver_pid) do Logger.debug "Starting #{__MODULE__}..." GenServer.start_link(__MODULE__, [driver_pid], name: __MODULE__) end ...
21.6
68
0.722222
ab17d0183aacb95365f68478d41981dde570adee
777
ex
Elixir
apps/graphql/lib/graphql/resolvers/shell.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/graphql/lib/graphql/resolvers/shell.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/graphql/lib/graphql/resolvers/shell.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
defmodule GraphQl.Resolvers.Shell do use GraphQl.Resolvers.Base, model: Core.Schema.CloudShell alias Core.Services.Shell alias Core.Shell.Scm def resolve_shell(_, %{context: %{current_user: user}}), do: {:ok, Shell.get_shell(user.id)} def create_shell(%{attributes: attrs}, %{context: %{current_user: use...
31.08
77
0.680824
ab17d28f77a54f9eb4e6430bcbc0698a2a5033fa
1,396
ex
Elixir
lib/bandwidth/resources/account.ex
dtolb/elixir-bandwidth
58dbc1ab8b04be737c08e894d36755d49eb95e87
[ "MIT" ]
4
2018-11-19T16:22:15.000Z
2021-01-23T08:44:25.000Z
lib/bandwidth/resources/account.ex
dtolb/elixir-bandwidth
58dbc1ab8b04be737c08e894d36755d49eb95e87
[ "MIT" ]
3
2017-11-07T14:39:10.000Z
2019-02-18T14:17:52.000Z
lib/bandwidth/resources/account.ex
wtcross/elixir-bandwidth
58dbc1ab8b04be737c08e894d36755d49eb95e87
[ "MIT" ]
5
2017-11-06T22:41:45.000Z
2019-08-09T03:17:37.000Z
defmodule Bandwidth.Resources.Account do @moduledoc """ The Account resource allows you to retrieve your current balance, transaction list, account type and all elements related to your platform account. [Bandwidth Docs](http://ap.bandwidth.com/docs/rest-api/account/) """ import Bandwidth.Client @doc ~...
31.022222
110
0.675501
ab17dd914552ddb1dbc1fb37e14aaa9ab464d491
243
exs
Elixir
test/test_helper.exs
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
28
2017-09-23T01:05:06.000Z
2022-03-05T09:59:12.000Z
test/test_helper.exs
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
66
2017-09-28T17:08:17.000Z
2022-03-04T21:04:30.000Z
test/test_helper.exs
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
18
2017-09-23T01:07:37.000Z
2022-02-21T04:12:26.000Z
ExUnit.start() [ "SALESFORCE_ENDPOINT", "SALESFORCE_CLIENT_ID", "SALESFORCE_CLIENT_SECRET", "SALESFORCE_USERNAME", "SALESFORCE_PASSWORD", "SALESFORCE_SECURITY_TOKEN", "SALESFORCE_API_VERSION" ] |> Enum.map(&System.delete_env/1)
18.692308
33
0.753086
ab17fdb47ee1310508916a2decb807c1a404c0a2
902
ex
Elixir
lib/cms/v2/behaviours/cms/repo/tag_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/cms/v2/behaviours/cms/repo/tag_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/cms/v2/behaviours/cms/repo/tag_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
defmodule Noizu.Cms.V2.Cms.TagRepoBehaviour do @callback new(options :: any) :: any @callback article_tags(entity :: any, context :: any, options :: any, caller :: any) :: any @callback article_tags!(entity :: any, context :: any, options :: any, caller :: any) :: any @callback update_article_tags(entity :: any...
56.375
114
0.675166
ab181b0bceddf965564dbc64a32f172f2e65f4fe
935
exs
Elixir
config/test_stubs.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
config/test_stubs.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
config/test_stubs.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
use Mix.Config # Put all stubs here with the translation from real # module to test module inside of test/support/stubs config :stub_alias, "SlackCoder.Github": SlackCoder.Stubs.Github, "SlackCoder.Slack": SlackCoder.Stubs.Slack, "SlackCoder.Users.Supervisor": Slack...
51.944444
84
0.729412
ab181b824e28ec8feb9218917bab3d2b8d3b3ec5
1,846
ex
Elixir
test/support/mocks.ex
victorolinasc/rihanna
560353c43e22bf81be14fbaaea066a144c0a55c9
[ "MIT" ]
null
null
null
test/support/mocks.ex
victorolinasc/rihanna
560353c43e22bf81be14fbaaea066a144c0a55c9
[ "MIT" ]
null
null
null
test/support/mocks.ex
victorolinasc/rihanna
560353c43e22bf81be14fbaaea066a144c0a55c9
[ "MIT" ]
null
null
null
defmodule Rihanna.Mocks do defmodule LongJob do @behaviour Rihanna.Job def perform(_) do LongJob.Counter.increment() :timer.sleep(500) :ok end end defmodule LongJob.Counter do use Agent def start_link(_) do Agent.start_link(fn -> 0 end, name: __MODULE__) end ...
18.46
53
0.600758
ab182a47491944716dd046f9645125247d213af7
3,058
exs
Elixir
kousa/test/beef/user_test.exs
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-03-15T22:53:51.000Z
2021-03-22T09:34:06.000Z
kousa/test/beef/user_test.exs
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-09-01T19:42:51.000Z
2021-12-09T03:56:38.000Z
kousa/test/beef/user_test.exs
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
1
2021-03-13T20:31:49.000Z
2021-03-13T20:31:49.000Z
defmodule Kousa.Beef.UserTest do # allow tests to run in parallel use ExUnit.Case, async: true use Kousa.Support.EctoSandbox alias Kousa.Support.Factory alias Beef.Follows alias Beef.Schemas.Room alias Beef.Schemas.User alias Beef.UserBlocks alias Beef.Users alias Beef.Repo describe "you can cre...
27.061947
98
0.604644
ab18370092b312be09e3da9e30f560fccddd5257
856
ex
Elixir
apps/jetlog_web/lib/jetlog_web/router.ex
jvdvleuten/jetlog
916ebaa4c163279c078ebe0a7c0e14f7d0a3c3f2
[ "Apache-2.0" ]
null
null
null
apps/jetlog_web/lib/jetlog_web/router.ex
jvdvleuten/jetlog
916ebaa4c163279c078ebe0a7c0e14f7d0a3c3f2
[ "Apache-2.0" ]
null
null
null
apps/jetlog_web/lib/jetlog_web/router.ex
jvdvleuten/jetlog
916ebaa4c163279c078ebe0a7c0e14f7d0a3c3f2
[ "Apache-2.0" ]
null
null
null
defmodule JetlogWeb.Router do use JetlogWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/api", JetlogWeb do pipe_through :api resources "/entries", EntriesController, only: [:index, :create] end # Enables LiveDashboard only for development # # If you want to use the LiveD...
29.517241
70
0.712617
ab185befa2c1c0c2f62958189dba690cfdf0c523
3,148
ex
Elixir
lib/furlex/oembed.ex
chrisalmeida/furlex
28a2f1eb68e829b98ad805a5113a2a942213c778
[ "Apache-2.0" ]
null
null
null
lib/furlex/oembed.ex
chrisalmeida/furlex
28a2f1eb68e829b98ad805a5113a2a942213c778
[ "Apache-2.0" ]
null
null
null
lib/furlex/oembed.ex
chrisalmeida/furlex
28a2f1eb68e829b98ad805a5113a2a942213c778
[ "Apache-2.0" ]
null
null
null
defmodule Furlex.Oembed do @moduledoc """ A module for managing oembed data """ use GenServer use HTTPoison.Base require Logger @json_library Application.get_env(:furlex, :json_library, Jason) @doc """ Fetches the list of Oembed providers Soft fetch will fetch cached providers. Hard fetch reque...
24.030534
84
0.628018
ab1860ac46f498f71900be7f1e8b53254e014f18
11,650
ex
Elixir
src/mbs/lib/cli/args.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
src/mbs/lib/cli/args.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
1
2021-12-15T07:22:59.000Z
2021-12-15T07:47:56.000Z
src/mbs/lib/cli/args.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
defmodule MBS.CLI.Args do @moduledoc false alias MBS.CLI.{Command, Reporter} alias MBS.{Const, Utils} @type t :: :ok | :error | %Command.CacheSize{} | %Command.Graph{} | %Command.Destroy{} | %Command.Ls{} | %Command.LsRelease{} | ...
24.630021
115
0.565064
ab189296521220317de9bfc51a4acd9bacb7cc67
1,650
ex
Elixir
clients/drive_activity/lib/google_api/drive_activity/v2/model/team_drive_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/lib/google_api/drive_activity/v2/model/team_drive_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/team_drive_reference.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...
33
123
0.727273
ab1896d8c207bc4b310fb78799c868e45ca6b36d
7,154
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.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...
95.386667
829
0.749231
ab18ab44618f78e6a72de22f9047c6beb25fc990
4,120
ex
Elixir
clients/testing/lib/google_api/testing/v1/api/test_environment_catalog.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/testing/lib/google_api/testing/v1/api/test_environment_catalog.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/api/test_environment_catalog.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # 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 ...
43.368421
196
0.664563
ab18ca03bdadd95138359bea2c092d0d158c14a1
14,425
ex
Elixir
apps/site/lib/site_web/controllers/stop_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/lib/site_web/controllers/stop_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/lib/site_web/controllers/stop_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.StopController do @moduledoc """ Page for display of information about in individual stop or station. """ use SiteWeb, :controller alias Alerts.Alert alias Alerts.Repo, as: AlertsRepo alias Alerts.Stop, as: AlertsStop alias Plug.Conn alias Fares.{RetailLocations, RetailLocations.Loca...
31.358696
96
0.63591
ab18cb347a9523dda63ae6535489cf0831a28f01
2,258
ex
Elixir
lib/blog.ex
joshnuss/blog
e05eef5f6a9f6c42cdfbbda7ee9d826b82391e37
[ "MIT" ]
null
null
null
lib/blog.ex
joshnuss/blog
e05eef5f6a9f6c42cdfbbda7ee9d826b82391e37
[ "MIT" ]
null
null
null
lib/blog.ex
joshnuss/blog
e05eef5f6a9f6c42cdfbbda7ee9d826b82391e37
[ "MIT" ]
null
null
null
defmodule Blog do @moduledoc """ Blog 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. """ alias Blog.{Repo, Post} import Ecto.Query, except: [update: 2] def cre...
22.808081
91
0.658547
ab18e31525993835533b6681e9d5235c73cd3c2c
1,533
ex
Elixir
clients/notebooks/lib/google_api/notebooks/v1/model/rollback_instance_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/notebooks/lib/google_api/notebooks/v1/model/rollback_instance_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/notebooks/lib/google_api/notebooks/v1/model/rollback_instance_request.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...
32.617021
164
0.749511
ab18f43d4bba8229e5984e25f85700315d580147
1,594
exs
Elixir
test/vector_test.exs
aishraj/boids
1e58b356be78e58f67c4deb6a2092a0442fe8512
[ "MIT" ]
null
null
null
test/vector_test.exs
aishraj/boids
1e58b356be78e58f67c4deb6a2092a0442fe8512
[ "MIT" ]
null
null
null
test/vector_test.exs
aishraj/boids
1e58b356be78e58f67c4deb6a2092a0442fe8512
[ "MIT" ]
null
null
null
defmodule VectorTest do use ExUnit.Case alias Boids.Physics.Vector test "vector addition follows arithmetic for components" do v1 = Vector.new(1, 1) v2 = Vector.new(-34, 0) v3 = Vector.add(v1, v2) assert v3.x == -33 assert v3.y == 1 end test "vector division by scalar works" do v1 = ...
20.701299
64
0.584065
ab1900cd1999756c6687d277a72b03466691c3aa
1,134
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price_1.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price_1.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price_1.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...
29.842105
84
0.749559
ab19169e6fc6e141e33f54acd520962886cf9445
1,283
ex
Elixir
test/support/point_helpers.ex
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
test/support/point_helpers.ex
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
test/support/point_helpers.ex
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule PointHelpers do import ExUnit.Assertions use Coord use PropCheck def assert_points_approx_eq(%LatLng{lat: lat_a, lng: lng_a}, %LatLng{lat: lat_b, lng: lng_b}) do assert round(lat_a * 100_000) == round(lat_b * 100_000) assert round(lng_a * 100_000) == round(lng_b * 100_000) end def assert...
26.183673
98
0.602494
ab192aa025f824498f58b3fe2b37ccbf70adadf2
10,578
ex
Elixir
lib/tesla_api/auth.ex
jfchin/teslamate
cca0a2b968ec5df140b5cc913c4bb7461b9bcd84
[ "MIT" ]
null
null
null
lib/tesla_api/auth.ex
jfchin/teslamate
cca0a2b968ec5df140b5cc913c4bb7461b9bcd84
[ "MIT" ]
null
null
null
lib/tesla_api/auth.ex
jfchin/teslamate
cca0a2b968ec5df140b5cc913c4bb7461b9bcd84
[ "MIT" ]
null
null
null
defmodule TeslaApi.Auth do use Tesla require Logger alias TeslaApi.Error @web_client_id "ownerapi" @client_id "81527cff06843c8634fdc09e8ac0abefb46ac849f38fe1e431c2ef2106796384" @client_secret "c7257eb71a564034f9419ee651c7d0e5f7aa6bfbd18bafb5c5c033b093bb2fa3" @redirect_uri "https://auth.tesla.com/void/c...
29.713483
98
0.598128
ab19b88f8861ca509c924613d5c376b1559cefdf
727
exs
Elixir
apps/bob_versions/mix.exs
LostKobrakai/hex-bobs-list
2b42111d70b8c3b19624496d3a3e6708d7139c29
[ "Apache-2.0" ]
8
2020-01-27T12:01:20.000Z
2020-12-14T20:30:44.000Z
apps/bob_versions/mix.exs
LostKobrakai/hex-bobs-list
2b42111d70b8c3b19624496d3a3e6708d7139c29
[ "Apache-2.0" ]
7
2020-01-08T10:33:59.000Z
2021-05-27T12:47:41.000Z
apps/bob_versions/mix.exs
LostKobrakai/hex-bobs-list
2b42111d70b8c3b19624496d3a3e6708d7139c29
[ "Apache-2.0" ]
null
null
null
defmodule BobVersions.MixProject do use Mix.Project def project do [ app: :bob_versions, version: "1.0.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", elixirc_paths: el...
20.771429
59
0.558459
ab19c95a990dc4049e69aeb1ceaa2d633c243a36
3,040
exs
Elixir
test/rgb8_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
20
2018-05-21T17:06:06.000Z
2022-02-02T18:25:44.000Z
test/rgb8_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
12
2018-05-24T19:04:11.000Z
2022-01-24T22:28:30.000Z
test/rgb8_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
13
2018-05-20T10:39:59.000Z
2022-01-23T01:04:12.000Z
defmodule RGB888Test do use ExUnit.Case use ChameleonTest.Case alias Chameleon.{Color, Hex, HSL, HSV, Keyword, Pantone, RGB, RGB888} doctest Chameleon.RGB888 describe "RGB and RGB888 conversions" do test "converts from RGB to RGB888" do for %{rgb: [r, g, b]} <- color_table() do assert RGB...
32.688172
92
0.604605
ab1a1cac900116863ee4008755cf67b124c95c9a
31,677
ex
Elixir
lib/elixir/lib/kernel/typespec.ex
TylerWitt/elixir
0ce62a2add91e6a942b89430738f77062365b4e8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
TylerWitt/elixir
0ce62a2add91e6a942b89430738f77062365b4e8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
TylerWitt/elixir
0ce62a2add91e6a942b89430738f77062365b4e8
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.Typespec do @moduledoc false ## Deprecated API moved to Code.Typespec @doc false @deprecated "Use Code.Typespec.spec_to_quoted/2 instead" def spec_to_ast(name, spec) do Code.Typespec.spec_to_quoted(name, spec) end @doc false @deprecated "Use Code.Typespec.type_to_quoted/1 instead...
32.928274
99
0.624586
ab1a3587ce301c5a9a8816a45ca9d0461de10034
2,641
ex
Elixir
lib/forma/typespecs.ex
soundtrackyourbrand/forma
4723a1441a4624ba6ee4219e79b040f32127dc78
[ "MIT" ]
24
2017-10-18T08:04:41.000Z
2021-09-27T05:00:35.000Z
lib/forma/typespecs.ex
soundtrackyourbrand/forma
4723a1441a4624ba6ee4219e79b040f32127dc78
[ "MIT" ]
3
2019-11-29T08:35:51.000Z
2020-12-01T16:03:47.000Z
lib/forma/typespecs.ex
soundtrackyourbrand/forma
4723a1441a4624ba6ee4219e79b040f32127dc78
[ "MIT" ]
2
2020-01-14T15:39:35.000Z
2021-06-06T16:09:49.000Z
defmodule Forma.Typespecs do def compile(module) do module |> Kernel.Typespec.beam_types() |> rewrite(module) |> Enum.map(fn {t, d} -> {{module, t}, d} end) |> Enum.into(%{}) end # [{:type, _}, {:type, _}] def rewrite([x | xs], module) do [rewrite(x, module) | rewrite(xs, module)] end...
32.604938
145
0.562666
ab1a38c0ef5e49ca3d613323d84b92b2c5a609a6
902
exs
Elixir
test/phoenix/router/ssl_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
test/phoenix/router/ssl_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
test/phoenix/router/ssl_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.SSLTest do use ExUnit.Case, async: false alias Phoenix.Adapters.Cowboy alias Phoenix.Router.Options alias Phoenix.Router.SSLTest.Router setup_all do Mix.Config.persist(phoenix: [ {Router, port: "71107", ssl: true, keyfile: Path.expand("../../fixture...
24.378378
69
0.63082
ab1a76035788e3f491e13f26113197134cb87469
3,858
exs
Elixir
test/c_backend_tests/cli_directory_test.exs
DisruptiveAngels/snapex7
db76780cb7dec52c2d8640e05d2efd81183bd396
[ "MIT" ]
12
2019-03-02T00:02:32.000Z
2021-09-17T08:22:33.000Z
test/c_backend_tests/cli_directory_test.exs
DisruptiveAngels/snapex7
db76780cb7dec52c2d8640e05d2efd81183bd396
[ "MIT" ]
1
2018-11-29T05:01:27.000Z
2018-11-29T05:01:27.000Z
test/c_backend_tests/cli_directory_test.exs
DisruptiveAngels/snapex7
db76780cb7dec52c2d8640e05d2efd81183bd396
[ "MIT" ]
3
2020-05-07T12:23:37.000Z
2021-06-18T19:23:18.000Z
defmodule CliDirectoryTest do use ExUnit.Case doctest Snapex7 # We need to implement S7 Server behavior in order to make a proper tests. # we have a PLC that doesn't supports these functions (S7-1200). setup do snap7_dir = :code.priv_dir(:snapex7) |> List.to_string() System.put_env("LD_LIBRARY_PATH"...
26.424658
92
0.525143
ab1a77944fbccf510cbb6f92b007356eceb7dbe1
1,503
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/modify_template_version_tag_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/modify_template_version_tag_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/modify_template_version_tag_response.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...
31.978723
96
0.746507
ab1a9c1b1045ee0add83a5fa8b8350efadbfa3ee
739
ex
Elixir
apps/fz_http/lib/fz_http_web/live/device_live/unprivileged/index_live.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http_web/live/device_live/unprivileged/index_live.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
1
2020-04-24T01:53:41.000Z
2020-04-24T01:53:41.000Z
apps/fz_http/lib/fz_http_web/live/device_live/unprivileged/index_live.ex
CloudFire-LLC/cloudfire-ce
416ea0d9c9528790fdf70c432aa4eb507d7b2074
[ "Apache-2.0" ]
null
null
null
defmodule FzHttpWeb.DeviceLive.Unprivileged.Index do @moduledoc """ Handles Device LiveViews. """ use FzHttpWeb, :live_view alias FzHttp.Devices @impl Phoenix.LiveView def mount(_params, _session, socket) do user = socket.assigns.current_user {:ok, socket |> assign(:devices, Devices.li...
23.09375
72
0.682003
ab1abf1cdb9ec4366b5af597b509ab2b8889847b
2,921
exs
Elixir
mix.exs
jaman/ash_graphql
6d94834238d67cbbe2f3ad7959ec3cc50cfc5fa2
[ "MIT" ]
null
null
null
mix.exs
jaman/ash_graphql
6d94834238d67cbbe2f3ad7959ec3cc50cfc5fa2
[ "MIT" ]
null
null
null
mix.exs
jaman/ash_graphql
6d94834238d67cbbe2f3ad7959ec3cc50cfc5fa2
[ "MIT" ]
null
null
null
defmodule AshGraphql.MixProject do use Mix.Project @description """ An absinthe-backed graphql extension for Ash """ @version "0.17.0" def project do [ app: :ash_graphql, version: @version, elixir: "~> 1.11", start_permanent: Mix.env() == :prod, package: package(), ...
25.181034
86
0.566244
ab1b0ba88b1ee6c85e4254c19463cbf7dc8dc137
734
exs
Elixir
mix.exs
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
null
null
null
mix.exs
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
3
2016-04-20T05:30:40.000Z
2016-05-02T03:02:29.000Z
mix.exs
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
null
null
null
defmodule Dynamite.Mixfile do use Mix.Project def project do [app: :dynamite, version: "0.0.1", elixir: "> 1.0.0", deps: deps, pakage: package] end def application do [ applications: [:couchbeam, :cowboy, :ranch, :httpoison], env: [routing_table: []], mod: { Dynamite, [...
22.242424
82
0.553134
ab1b3e9abb774a06b101826f333ad2359eb497bd
1,867
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/omniture_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/omniture_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/omniture_settings.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.34
210
0.749866
ab1b3f9751b7f0803d6bf8db06baf3f7118a9916
415
ex
Elixir
web/views/coin_view.ex
andreihod/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-07-19T17:03:41.000Z
2017-09-18T12:58:42.000Z
web/views/coin_view.ex
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
7
2017-07-18T23:32:45.000Z
2017-08-18T01:09:11.000Z
web/views/coin_view.ex
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-08-03T19:55:21.000Z
2018-07-01T19:54:22.000Z
defmodule Cryptofolio.CoinView do use Cryptofolio.Web, :view def render("index.json", %{coins: coins}) do render_many(coins, Cryptofolio.CoinView, "show.json") end def render("show.json", %{coin: coin}) do %{coin: render_one(coin, Cryptofolio.CoinView, "coin.json")} end def render("coin.json", %{...
23.055556
64
0.653012
ab1b52a88c750cf7e6d4fa3f0ed512b6ec530c72
14,093
ex
Elixir
host_core/lib/host_core/control_interface/server.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/control_interface/server.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/control_interface/server.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
defmodule HostCore.ControlInterface.Server do @moduledoc false require Logger use Gnat.Server alias HostCore.ControlInterface.ACL alias HostCore.CloudEvent import HostCore.Actors.ActorSupervisor, only: [start_actor_from_bindle: 2, start_actor_from_oci: 2] import HostCore.Providers.ProviderSuperviso...
31.248337
101
0.617895
ab1b5e98029377dd7d7f92540ecfb00006c9f548
81
ex
Elixir
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/item.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/item.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/item.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule Auction.Item do defstruct [:id, :title, :description, :ends_at] end
16.2
49
0.728395
ab1b66e09f8ec0269a4893b6b5e1dd28d4a9c19f
1,159
exs
Elixir
clients/sql_admin/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.387097
73
0.760138
ab1b6c1f01bafba1a71e132bbce488b5ff19b68e
907
exs
Elixir
learn/common/comprehensions.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/common/comprehensions.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/common/comprehensions.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
import Integer # Use list IO.inspect for x <- [1,2,3,4], do: x*x # Use Keyword list IO.inspect for {_k, v} <- [one: 1, two: 2, three: 3], do: v # Create Keyword list from Map IO.inspect for {k, v} <- %{"a" => 1, "b" => 2}, do: {k, v} # Working with binaries IO.inspect for <<c <- "hello">>, do: <<c>> # Ignore not m...
28.34375
74
0.598677