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
7352137cd069094c2f822fcdac059d1370469eae
2,863
ex
Elixir
lib/kandesk_web.ex
seb3s/kandesk
420474733ca0be258d74c36add44c3c36b691a58
[ "MIT" ]
158
2020-09-01T13:21:59.000Z
2022-03-31T12:41:03.000Z
lib/kandesk_web.ex
seb3s/kandesk
420474733ca0be258d74c36add44c3c36b691a58
[ "MIT" ]
8
2020-09-01T21:09:05.000Z
2022-01-20T21:46:18.000Z
lib/kandesk_web.ex
seb3s/kandesk
420474733ca0be258d74c36add44c3c36b691a58
[ "MIT" ]
18
2020-09-01T13:23:45.000Z
2022-02-15T09:47:39.000Z
defmodule KandeskWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use KandeskWeb, :controller use KandeskWeb, :view The definitions below will be executed for every view, controller, ...
22.722222
83
0.674118
73521fe35edf13ecd7cb032529eaafdfa6bd25bd
2,193
ex
Elixir
charts/lib/charts/stacked_column_chart/base_chart_impl.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
charts/lib/charts/stacked_column_chart/base_chart_impl.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
charts/lib/charts/stacked_column_chart/base_chart_impl.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
defimpl Charts.StackedColumnChart, for: Charts.BaseChart do alias Charts.BaseChart alias Charts.StackedColumnChart.{MultiColumn, Rectangle} alias Charts.ColumnChart.Dataset def columns(%BaseChart{dataset: nil}), do: [] def columns(%BaseChart{dataset: dataset}), do: columns(dataset) def columns(%Dataset{dat...
27.4125
76
0.605107
7352da3083929839645839594646dacd5cf415be
153
exs
Elixir
config/config.exs
axelson/nerves_ssh
4ccaa956bfcec21d024c2c7f0000e083ec224baf
[ "Apache-2.0" ]
null
null
null
config/config.exs
axelson/nerves_ssh
4ccaa956bfcec21d024c2c7f0000e083ec224baf
[ "Apache-2.0" ]
null
null
null
config/config.exs
axelson/nerves_ssh
4ccaa956bfcec21d024c2c7f0000e083ec224baf
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :nerves_runtime, target: "host" config :nerves_runtime, Nerves.Runtime.KV.Mock, %{"nerves_fw_devpath" => "/dev/will_not_work"}
21.857143
94
0.745098
7352efbaafb143cdf549e84c30259482c4343f52
124
exs
Elixir
test/custom_hooks/simple_search_test.exs
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
1
2019-02-11T19:54:24.000Z
2019-02-11T19:54:24.000Z
test/custom_hooks/simple_search_test.exs
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
null
null
null
test/custom_hooks/simple_search_test.exs
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
2
2019-11-02T21:36:27.000Z
2021-03-02T15:58:31.000Z
defmodule Rummage.Ecto.CustomHook.SimpleSearchTest do use ExUnit.Case doctest Rummage.Ecto.CustomHook.SimpleSearch end
20.666667
53
0.83871
7352faf72ffd5552310f6011c1b118243d9d7daa
21,399
ex
Elixir
lib/codes/codes_c50.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c50.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c50.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_C50 do alias IcdCode.ICDCode def _C50011 do %ICDCode{full_code: "C50011", category_code: "C50", short_code: "011", full_name: "Malignant neoplasm of nipple and areola, right female breast", short_name: "Malignant neoplasm of nipple and areol...
43.40568
98
0.662087
73530b17881bc2a9199107d9e2206b4f57c703e9
87
ex
Elixir
lib/phoenix_postgres_react_web/views/page_view.ex
CTMoney/phoenix-postgres-react
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
null
null
null
lib/phoenix_postgres_react_web/views/page_view.ex
CTMoney/phoenix-postgres-react
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
1
2021-03-09T11:33:04.000Z
2021-03-09T11:33:04.000Z
lib/phoenix_postgres_react_web/views/page_view.ex
CTMoney/phoenix_
b51c298fdcef339324a601dd874a82e1e0cc8e6e
[ "MIT" ]
null
null
null
defmodule PhoenixPostgresReactWeb.PageView do use PhoenixPostgresReactWeb, :view end
21.75
45
0.862069
7353328a56cb0de947d1687e13d35e1290e10262
468
ex
Elixir
apps/plant_monitor_web/lib/plant_monitor_web/plugs/split_token_claims.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor_web/lib/plant_monitor_web/plugs/split_token_claims.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor_web/lib/plant_monitor_web/plugs/split_token_claims.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitorWeb.Plugs.SplitTokenClaims do @moduledoc false import Plug.Conn def init(opts), do: opts def call(conn, _params \\ %{}) do conn |> assign_user_id() |> assign_scopes() end defp assign_user_id(conn) do user_id = conn.assigns.claims.user_id conn |> assign(:user...
16.714286
51
0.668803
7353871ccfe1edefc9734c010455b78395144e57
18,665
ex
Elixir
lib/aws/iot_analytics.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/iot_analytics.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/iot_analytics.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.IoTAnalytics do @moduledoc """ AWS IoT Analytics allows you to collect large amounts of device data, process messages, and store them. You can then query the data and run sophisticated ana...
32.125645
161
0.65513
73538db8b6772d820a1a0b01a3b0ea6ae7558bf9
2,466
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/callout_status_row.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/callout_status_row.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/callout_status_row.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...
46.528302
220
0.761152
7353a2f010854b7750cfcc850c503b225da200b0
16,632
ex
Elixir
lib/new_relic/metric/metric_data.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
lib/new_relic/metric/metric_data.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
lib/new_relic/metric/metric_data.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Metric.MetricData do # Heper functions for generating Metrics with the correct timeslice values @moduledoc false alias NewRelic.Metric def transform({:custom, name}, count: count, value: value), do: %Metric{ name: join(["Custom", name]), call_count: count, total_call_...
29.385159
90
0.603355
7353cb6e0627df31f41c8ae4f54130ff2f8e5c88
1,185
exs
Elixir
exercism/elixir/accumulate/accumulate_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
2
2017-05-19T18:31:38.000Z
2017-05-19T18:31:41.000Z
exercism/elixir/accumulate/accumulate_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
exercism/elixir/accumulate/accumulate_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("accumulate.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule AccumulateTest do use ExUnit.Case test "accumulate empty list" do assert Accumulate.accumulate([], fn(n) -> n * n end) == [] end # @tag :...
27.55814
79
0.619409
7353ee1fc387e78d06f6345cebb210da82ec59ac
1,767
exs
Elixir
apps/nerves_hub_www/config/release.exs
chrisdambrosio/nerves_hub_web
91b6b27bb54ef61864a8f77ac91a8a24451b382d
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_www/config/release.exs
chrisdambrosio/nerves_hub_web
91b6b27bb54ef61864a8f77ac91a8a24451b382d
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_www/config/release.exs
chrisdambrosio/nerves_hub_web
91b6b27bb54ef61864a8f77ac91a8a24451b382d
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
import Config logger_level = System.get_env("LOG_LEVEL", "warn") |> String.to_atom() config :logger, level: logger_level host = System.fetch_env!("HOST") port = 80 sync_nodes_optional = case System.fetch_env("SYNC_NODES_OPTIONAL") do {:ok, sync_nodes_optional} -> sync_nodes_optional |> String.trim...
29.45
81
0.753254
7353faebcd60e47ca2607e577bca987a0d85f8b1
968
ex
Elixir
lib/util.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-03-31T09:26:21.000Z
2017-03-31T09:26:21.000Z
lib/util.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-05-03T06:30:09.000Z
2017-05-03T06:30:09.000Z
lib/util.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
null
null
null
defmodule Iris.Util do def now_to_utc() do now_to_utc(:os.timestamp()) end def now_to_utc(now) do {{year, month, day}, {hour, minute, second}} = :calendar.now_to_datetime(now) [ pad(year), "-", pad(month), "-", pad(day), "T", pad(hour), ":", pad(...
19.36
81
0.573347
73541d67297a4f35890949acc6387201a34f9c6a
1,764
ex
Elixir
lib/logger/lib/logger/watcher.ex
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/watcher.ex
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/watcher.ex
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Watcher do @moduledoc false require Logger use GenServer @doc """ Starts a watcher server. This is useful when there is a need to start a handler outside of the handler supervision tree. """ def start_link(triplet) do GenServer.start_link(__MODULE__, triplet) end ## Callba...
23.210526
80
0.615646
735445661704ea789758d33ddfecb2ef0487e562
5,428
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/model/node.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tpu/lib/google_api/tpu/v1/model/node.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/model/node.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
48.035398
176
0.677966
73548a8a189527d067f079077380611f2ffbe1e9
116
exs
Elixir
test/speak_ex_test.exs
fossabot/speak_ex
71f7c482ce58d607c5cdc7e5a09bc36abed5ea3d
[ "MIT" ]
47
2015-10-02T19:39:21.000Z
2022-03-13T17:39:19.000Z
test/speak_ex_test.exs
nicolasva/speak_ex
db9567f44f16920fad80059b8534de7539bb92ab
[ "MIT" ]
2
2017-03-21T01:52:17.000Z
2017-10-18T08:01:44.000Z
test/speak_ex_test.exs
nicolasva/speak_ex
db9567f44f16920fad80059b8534de7539bb92ab
[ "MIT" ]
5
2017-10-17T11:41:44.000Z
2021-01-20T19:29:26.000Z
defmodule SpeakExTest do use ExUnit.Case doctest SpeakEx test "the truth" do assert 1 + 1 == 2 end end
12.888889
24
0.672414
7354978d21b1f11581e0c72ffbd92658293f1939
1,005
exs
Elixir
mix.exs
liberza/saxy
e15e48fca70c948568b28b9178f8d2bb5ef01e1f
[ "MIT" ]
null
null
null
mix.exs
liberza/saxy
e15e48fca70c948568b28b9178f8d2bb5ef01e1f
[ "MIT" ]
null
null
null
mix.exs
liberza/saxy
e15e48fca70c948568b28b9178f8d2bb5ef01e1f
[ "MIT" ]
null
null
null
defmodule Saxy.MixProject do use Mix.Project @version "0.9.1" def project() do [ app: :saxy, version: @version, elixir: "~> 1.3", consolidate_protocols: Mix.env() != :test, description: description(), deps: deps(), package: package(), name: "Saxy", docs:...
19.326923
96
0.541294
73549fb3a89eb541a1fcc28dd67259f2868f6309
2,164
exs
Elixir
config/prod.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-13T08:15:50.000Z
2018-03-13T08:15:50.000Z
config/prod.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-17T15:45:26.000Z
2018-03-17T15:45:26.000Z
config/prod.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2017-08-30T16:13:09.000Z
2017-08-30T16:13:09.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # CraterWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don...
33.292308
67
0.720425
7354daf77d06a8731b5ea8eaf29cc9292f0c9f69
287
ex
Elixir
lib/phoenix_sample_web/views/layout_view.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
lib/phoenix_sample_web/views/layout_view.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
lib/phoenix_sample_web/views/layout_view.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
defmodule PhoenixSampleWeb.LayoutView do use PhoenixSampleWeb, :view # Phoenix LiveDashboard is available only in development by default, # so we instruct Elixir to not warn if the dashboard route is missing. @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end
35.875
72
0.783972
7354fe688e7c70a34f15978554bf2bbb7d38893b
28,194
ex
Elixir
lib/phoenix_live_view/test/client_proxy.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/client_proxy.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/client_proxy.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.ClientProxy do @moduledoc false use GenServer defstruct session_token: nil, static_token: nil, module: nil, endpoint: nil, pid: nil, proxy: nil, topic: nil, ref: nil, rendered: nil, ...
29.277259
108
0.594098
735502335f6734a911f2a44f948d1b7cb437c705
630
exs
Elixir
test/retry_backoff_test.exs
Badiapp/bolt_sips
ea5e1ae3295700a9f9b0324d26d953845da17050
[ "Apache-2.0" ]
null
null
null
test/retry_backoff_test.exs
Badiapp/bolt_sips
ea5e1ae3295700a9f9b0324d26d953845da17050
[ "Apache-2.0" ]
null
null
null
test/retry_backoff_test.exs
Badiapp/bolt_sips
ea5e1ae3295700a9f9b0324d26d953845da17050
[ "Apache-2.0" ]
null
null
null
defmodule Rety.Backoff.Test do use ExUnit.Case, async: true import Stream use Retry setup_all do {:ok, [conn: Bolt.Sips.conn()]} end test "retry retries execution for specified attempts using an invalid Cypher command", context do conn = context[:conn] {elapsed, _} = :timer.tc(f...
23.333333
88
0.619048
7355099d9f71e8eb65b6057a9859d4728458a36b
1,507
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/boolean_constraint.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/boolean_constraint.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/boolean_constraint.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.76087
89
0.771068
735552d5ccd28ad660098929592a8593852fc896
407
ex
Elixir
lib/bike_brigade/stats/campaign_stats.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade/stats/campaign_stats.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade/stats/campaign_stats.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Stats.CampaignStats do use BikeBrigade.Schema alias BikeBrigade.Delivery.Campaign @primary_key false schema "campaign_stats" do field :task_count, :integer, default: 0 field :assigned_rider_count, :integer, default: 0 field :signed_up_rider_count, :integer, default: 0 fie...
25.4375
54
0.7543
7355545af6755d5d0e56c8a8852df2bde853a829
197
exs
Elixir
test/controllers/page_controller_test.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
defmodule TimeVoice.PageControllerTest do use TimeVoice.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.888889
60
0.680203
73556d4a70ae7b5c5cfb28940cc68a6aa83dc986
3,862
ex
Elixir
apps/edr_validations_consumer/lib/edr_validations_consumer/kafka/consumer.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/edr_validations_consumer/lib/edr_validations_consumer/kafka/consumer.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/edr_validations_consumer/lib/edr_validations_consumer/kafka/consumer.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EdrValidationsConsumer.Kafka.Consumer do @moduledoc false alias Core.CapitationContractRequests alias Core.Contracts.ContractSuspender alias Core.LegalEntities.EdrData alias Core.LegalEntities.LegalEntity alias Core.PRMRepo alias Core.ReimbursementContractRequests alias Jobs.ContractRequestTe...
28.607407
93
0.630502
73557b0590d2269be1baca9679488c5f1863e7c0
189
exs
Elixir
test/leetcode_elixir_solution_test.exs
kenspirit/leetcode_elixir_solutions
c146f8303f4e5830cf52bdf48b1c327ee46bc2a8
[ "MIT" ]
null
null
null
test/leetcode_elixir_solution_test.exs
kenspirit/leetcode_elixir_solutions
c146f8303f4e5830cf52bdf48b1c327ee46bc2a8
[ "MIT" ]
null
null
null
test/leetcode_elixir_solution_test.exs
kenspirit/leetcode_elixir_solutions
c146f8303f4e5830cf52bdf48b1c327ee46bc2a8
[ "MIT" ]
null
null
null
defmodule LeetcodeElixirSolutionTest do use ExUnit.Case doctest LeetcodeElixirSolution test "greets the leetcode" do assert LeetcodeElixirSolution.hello() == :leetcode end end
21
54
0.78836
735594c95300828f91f937d17493b7c6b0f5007f
380
ex
Elixir
web/views/error_view.ex
danielberkompas/phoenix_ecto_encryption_sample
1fd0f337eb214cb6a5b7348a70ad27e50968d851
[ "MIT" ]
4
2015-08-11T04:01:14.000Z
2019-09-17T04:47:02.000Z
web/views/error_view.ex
danielberkompas/phoenix_ecto_encryption_sample
1fd0f337eb214cb6a5b7348a70ad27e50968d851
[ "MIT" ]
null
null
null
web/views/error_view.ex
danielberkompas/phoenix_ecto_encryption_sample
1fd0f337eb214cb6a5b7348a70ad27e50968d851
[ "MIT" ]
null
null
null
defmodule Encryption.ErrorView do use Encryption.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_tem...
21.111111
47
0.702632
7355a218da0a6b59e2c45ed2b67654e12caeb9f7
1,228
ex
Elixir
apps/astarte_trigger_engine/lib/astarte_trigger_engine_web/router.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_trigger_engine/lib/astarte_trigger_engine_web/router.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-01-20T09:52:48.000Z
2020-01-20T09:52:48.000Z
apps/astarte_trigger_engine/lib/astarte_trigger_engine_web/router.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:50.000Z
2020-02-04T13:15:50.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # 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 appl...
23.169811
74
0.667752
7355c7fcaa043069a26cc9fef7bb3e94af0c5845
559
ex
Elixir
apps/banking_api_challenge_web/lib/banking_api_challenge_web/views/error_view.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge_web/lib/banking_api_challenge_web/views/error_view.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge_web/lib/banking_api_challenge_web/views/error_view.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
1
2021-04-20T19:05:48.000Z
2021-04-20T19:05:48.000Z
defmodule BankingApiChallengeWeb.ErrorView do use BankingApiChallengeWeb, :view # 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 returns...
32.882353
83
0.731664
7355cb1ac6a4d6673d2e58339610fdd5069806e1
814
ex
Elixir
lib/oli/delivery/attempts/core/resource_access.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/delivery/attempts/core/resource_access.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/delivery/attempts/core/resource_access.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Attempts.Core.ResourceAccess do use Ecto.Schema import Ecto.Changeset schema "resource_accesses" do field(:access_count, :integer) field(:score, :float) field(:out_of, :float) belongs_to(:user, Oli.Accounts.User) belongs_to(:section, Oli.Delivery.Sections.Section) ...
31.307692
89
0.734644
7355e1ca320b80ce1549d243166f341f746c073a
383
ex
Elixir
discuss/web/controllers/plugs/require_auth.ex
enelesmai/elixir-bootcamp
0cc3ee791063eba48ed9eedb64a9b2d46a0e7cf9
[ "MIT" ]
null
null
null
discuss/web/controllers/plugs/require_auth.ex
enelesmai/elixir-bootcamp
0cc3ee791063eba48ed9eedb64a9b2d46a0e7cf9
[ "MIT" ]
null
null
null
discuss/web/controllers/plugs/require_auth.ex
enelesmai/elixir-bootcamp
0cc3ee791063eba48ed9eedb64a9b2d46a0e7cf9
[ "MIT" ]
null
null
null
defmodule Discuss.Plugs.RequireAuth do import Plug.Conn import Phoenix.Controller alias Discuss.Router.Helpers def init(_params) do end def call(conn, _params) do if conn.assigns[:user] do conn else conn |> put_flash(:error, "You must be logged in.") |> redirect(to: Help...
19.15
55
0.642298
7355f58968a13f6cb17e8dbfdaa3df09865b481a
945
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/fallback_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/admin_api/v1/controllers/fallback_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/fallback_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.V1.FallbackControllerTest do use AdminAPI.ConnCase, async: true describe "/not_found" do test "returns correct error response for client-authtenticated requests" do expected = %{ "version" => "1", "success" => false, "data" => %{ "object" => "error", ...
26.25
79
0.54709
7356056415a218a43cea3e8cce13806a497f44bb
166
ex
Elixir
test/support/mocked_server/external_schema/server_subuser.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
6
2020-04-28T21:38:40.000Z
2022-02-13T01:04:10.000Z
test/support/mocked_server/external_schema/server_subuser.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
1
2021-03-16T10:39:32.000Z
2021-03-16T10:39:32.000Z
test/support/mocked_server/external_schema/server_subuser.ex
Kintull/elidactyl
9a051ed511ed92fa7578038784baa73288f1312b
[ "MIT" ]
null
null
null
defmodule Elidactyl.MockedServer.ExternalSchema.ServerSubuser do @moduledoc false @derive Jason.Encoder defstruct object: "server_subuser", attributes: %{} end
27.666667
64
0.801205
73560a08e0db4d826e061a217644f755dc143000
2,009
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api_web/endpoint.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/endpoint.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/endpoint.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
31.390625
75
0.740169
735611682fcb9e355e28e659af36310e72834298
7,435
exs
Elixir
lib/mix/test/mix/dep_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.DepTest do use MixTest.Case defmodule DepsApp do def project do [ deps: [ {:ok, "0.1.0", path: "deps/ok"}, {:invalidvsn, "0.2.0", path: "deps/invalidvsn"}, {:invalidapp, "0.1.0", path: "deps/invalidapp"},...
26.648746
100
0.588299
735664bda4df1645484e5906c5a3c31c38869f2c
317
exs
Elixir
priv/repo/migrations/20160124163843_create_comment.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
1
2018-04-25T15:03:42.000Z
2018-04-25T15:03:42.000Z
priv/repo/migrations/20160124163843_create_comment.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
priv/repo/migrations/20160124163843_create_comment.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
defmodule AppElixirPhoenix.Repo.Migrations.CreateComment do use Ecto.Migration def change do create table(:comments) do add :name, :string add :content, :text add :post_id, references(:posts, on_delete: :nothing) timestamps end create index(:comments, [:post_id]) end end
19.8125
59
0.678233
735682fe7749019dc2b674dea8450fa3916627a6
1,330
ex
Elixir
lib/elsa/group/supervisor.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
76
2019-05-31T20:35:19.000Z
2022-02-26T10:15:27.000Z
lib/elsa/group/supervisor.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
44
2019-06-13T14:43:30.000Z
2022-03-31T12:16:19.000Z
lib/elsa/group/supervisor.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
11
2019-06-05T02:23:06.000Z
2022-02-10T16:14:33.000Z
defmodule Elsa.Group.Supervisor do @moduledoc """ Orchestrates the creation of dynamic supervisor and worker processes for per-topic consumer groups, manager processes for coordinating topic/partition assignment, and a registry for differentiating named processes between consumer groups. """ use Superviso...
29.555556
115
0.681955
7356ac65a94be9d1ed5ce91bd41c5bce48de9df3
78
exs
Elixir
test/test_helper.exs
tamanugi/realworld-phoenix
1c0f90234926550a9124863b3946934b8f2e19a4
[ "MIT" ]
9
2021-08-23T23:21:31.000Z
2022-03-27T23:19:55.000Z
test/test_helper.exs
tamanugi/realworld-phoenix
1c0f90234926550a9124863b3946934b8f2e19a4
[ "MIT" ]
null
null
null
test/test_helper.exs
tamanugi/realworld-phoenix
1c0f90234926550a9124863b3946934b8f2e19a4
[ "MIT" ]
1
2021-09-06T07:26:37.000Z
2021-09-06T07:26:37.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(RealworldPhoenix.Repo, :manual)
26
62
0.807692
7356f72573450d29c7d2031d75df0dd1980cf68c
469
exs
Elixir
test/cadet/auth/providers/cognito_claim_extractor_test.exs
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
3
2021-08-15T23:57:32.000Z
2022-02-02T06:50:55.000Z
test/cadet/auth/providers/cognito_claim_extractor_test.exs
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
76
2021-07-05T07:13:52.000Z
2022-03-28T07:23:11.000Z
test/cadet/auth/providers/cognito_claim_extractor_test.exs
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
1
2022-03-26T14:27:51.000Z
2022-03-26T14:27:51.000Z
defmodule Cadet.Auth.Providers.CognitoClaimExtractorTest do use ExUnit.Case, async: true alias Cadet.Auth.Providers.CognitoClaimExtractor, as: Testee @username "adofjihid" @role :staff @claims %{"username" => @username, "cognito:groups" => [Atom.to_string(@role)]} test "test" do assert @username == T...
27.588235
81
0.707889
7356fbec1ef01447cc9fcfaaac96373111baa8ea
5,355
exs
Elixir
test/transaction_event_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
test/transaction_event_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
test/transaction_event_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule TransactionEventTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest alias NewRelic.Harvest.Collector alias NewRelic.Transaction.Event defmodule TestPlugApp do use Plug.Router plug(:match) plug(:dispatch) get "/" do Process.sleep(10) send_resp(conn, 200, "tr...
32.652439
96
0.725303
7357333ba71dc4a94b55f1c96de5656a095c0306
6,292
ex
Elixir
lib/game/format/items.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/format/items.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/format/items.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Format.Items do @moduledoc """ Format functions for items """ use Game.Currency import Game.Format.Context alias Data.Item alias Game.Format @doc """ Format an items name, cyan iex> Items.item_name(%{name: "Potion"}) "{item}Potion{/item}" """ @spec item_name(Item.t()) :...
26.661017
185
0.594882
7357347e3c424e5e88e82a80f8dfc803ac339d95
898
ex
Elixir
clients/cloud_support/lib/google_api/cloud_support/v2beta/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/cloud_support/lib/google_api/cloud_support/v2beta/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/cloud_support/lib/google_api/cloud_support/v2beta/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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.259259
74
0.762806
73573a0888415de38833cd06d04afeb87d547df4
243
ex
Elixir
lib/oc2.ex
TraceyOnim/TwinklyMaHa
cb9d907d8807e00f1e6e44085fd6f39ae32370b6
[ "MIT" ]
1
2020-07-16T19:49:53.000Z
2020-07-16T19:49:53.000Z
lib/oc2.ex
TraceyOnim/TwinklyMaHa
cb9d907d8807e00f1e6e44085fd6f39ae32370b6
[ "MIT" ]
68
2021-06-16T15:30:11.000Z
2022-03-07T08:38:19.000Z
lib/oc2.ex
sFractal-Podii/TwinklyMaHa
cfcffc355aad7200bef3c4d8ab9b8e179f02b26c
[ "MIT" ]
5
2020-07-14T05:03:08.000Z
2021-06-15T18:21:19.000Z
defmodule Oc2 do @moduledoc """ Oc2 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
24.3
66
0.744856
73577089c041095fa0dc9939079d80238b5b72ed
1,177
ex
Elixir
lib/oauth_xyz_web/channels/user_socket.ex
ritou/elixir-oauth-xyz
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
2
2020-04-22T13:22:25.000Z
2020-12-01T12:01:30.000Z
lib/oauth_xyz_web/channels/user_socket.ex
ritou/elixir-oauth-xyz
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
3
2019-12-05T01:32:09.000Z
2019-12-09T01:15:32.000Z
lib/oauth_xyz_web/channels/user_socket.ex
ritou/elixir-oauth-xyz-web
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
null
null
null
defmodule OAuthXYZWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", OAuthXYZWeb.RoomChannel ## Transports transport(:websocket, Phoenix.Transports.WebSocket) # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify an...
30.973684
83
0.703483
735777744ade63fa0589e5fc488007cb37b55387
1,343
ex
Elixir
lib/hound/json_driver/session.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
1
2015-07-08T04:32:02.000Z
2015-07-08T04:32:02.000Z
lib/hound/json_driver/session.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
lib/hound/json_driver/session.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
defmodule Hound.JsonDriver.Session do @moduledoc "Functions to switch sessions." import Hound.JsonDriver.Utils @doc """ When you need more than one browser session, use this function switch to another session. If the session doesn't exist it a new one will be created for you. All further commands will the...
27.979167
107
0.72003
735796359fcb6371111b8c43c9af15a5322d360b
1,926
exs
Elixir
test/composition_errors_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
14
2021-01-14T20:14:30.000Z
2022-01-28T00:58:07.000Z
test/composition_errors_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
13
2019-09-11T17:48:48.000Z
2021-11-22T23:02:44.000Z
test/composition_errors_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
1
2021-09-12T13:08:54.000Z
2021-09-12T13:08:54.000Z
defmodule ExonerateTest.CompositionTest do use ExUnit.Case, async: true require Exonerate Exonerate.function_from_string(:defp, :one_of, """ { "oneOf": [ { "type": "number", "multipleOf": 5 }, { "type": "number", "multipleOf": 3 }, { "type": "object" } ] } """) describe "oneOf"...
25.342105
67
0.558671
7357a4c5fedd50514da998c08661c4e35490e71f
687
ex
Elixir
lib/slack/user/profile.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
21
2016-06-28T04:03:55.000Z
2020-01-19T01:51:11.000Z
lib/slack/user/profile.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
5
2016-06-28T04:34:14.000Z
2019-12-09T20:09:12.000Z
lib/slack/user/profile.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
6
2016-06-28T04:27:08.000Z
2020-04-22T11:07:03.000Z
defmodule Slack.User.Profile do @moduledoc """ Functions for working with user profiles """ @base "users.profile" use Slack.Request @doc """ Get the profile information of a user. https://api.slack.com/methods/users.profile.get ## Examples Slack.User.Profile.get(client, user: "U123456789...
20.205882
71
0.6754
7358122f44a7e52c7beb5addc530afd6e2e0fe0d
2,944
ex
Elixir
apps/extended_api/lib/extended_api/worker/find_transactions/tags/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/tags/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/tags/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule ExtendedApi.Worker.FindTransactions.Tags.Helper do @moduledoc """ This module hold all the required helper functions Which is gonna be used by FindTransactions.Tags worker """ alias ExtendedApi.Worker.FindTransactions.{Tags, Tags.EdgeFn} alias Core.DataModel.{Keyspace.Tangle, Table.Edge} i...
34.635294
82
0.659647
73582b8e0fbe1ae8b71273441c79475c3c1bcb8f
1,633
ex
Elixir
server_elixir/lib/server_elixir_web/controllers/authentication.ex
johnosullivan/MiHome
4e4062fd8801144a26bea8811e76688009913f94
[ "MIT" ]
7
2018-05-29T01:41:12.000Z
2021-12-26T04:27:21.000Z
server_elixir/lib/server_elixir_web/controllers/authentication.ex
johnosullivan/MiHome
4e4062fd8801144a26bea8811e76688009913f94
[ "MIT" ]
4
2017-12-06T14:48:59.000Z
2021-05-04T23:57:30.000Z
server_elixir/lib/server_elixir_web/controllers/authentication.ex
johnosullivan/MiHome
4e4062fd8801144a26bea8811e76688009913f94
[ "MIT" ]
5
2017-10-23T16:30:57.000Z
2019-07-27T19:40:11.000Z
defmodule ServerElixirWeb.Controllers.Authentication do use ServerElixirWeb, :controller alias ServerElixir.Authentication def create(conn, %{"email" => email, "password" => password}) do case Authentication.authenticate_user(email, password) do {:ok, user} -> if user.is_active do if...
31.403846
97
0.590937
73584048f7bcf0a34479f71fdfb1ef9c61ae7f95
986
ex
Elixir
web/helpers/pubsub.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
1
2018-01-20T00:58:33.000Z
2018-01-20T00:58:33.000Z
web/helpers/pubsub.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
web/helpers/pubsub.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
# require IEx; # defmodule Helpers.PubSub do # use GenServer # require Logger # # defstart start_link(_), do: initial_state(0) # def start_link(otps \\ []) do # Logger.info "start pubsub redis...................." # GenServer.start_link(__MODULE__, [], otps) # end # def init(_) do # Redix.Pu...
20.978723
61
0.558824
735845cdf5be78bcd648c34a2254af7aa136a097
9,687
ex
Elixir
lib/formex/view.ex
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
221
2017-01-15T18:14:55.000Z
2021-08-17T14:15:40.000Z
lib/formex/view.ex
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
25
2017-04-09T01:01:20.000Z
2019-04-17T01:36:01.000Z
lib/formex/view.ex
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
24
2017-04-08T22:15:06.000Z
2021-11-15T11:55:41.000Z
defmodule Formex.View do use Phoenix.HTML alias Formex.Form alias Formex.Field alias Formex.FormCollection alias Formex.FormNested alias Formex.Button @moduledoc """ Helper functions for templating. Example of use: <%= formex_form_for @form, @action, fn f -> %> <%= if @form.submitted?...
27.058659
100
0.607618
73585a6d07aa9995adcb16e5041132fbef11a4c1
4,084
ex
Elixir
lib/challenge_gov/messages.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/messages.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/messages.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
defmodule ChallengeGov.Messages do @moduledoc """ Context for Messages """ @behaviour Stein.Filter import Ecto.Query alias Ecto.Multi alias ChallengeGov.Repo alias ChallengeGov.Messages.Message alias ChallengeGov.Messages.MessageContextStatus alias Stein.Filter def all(opts \\ []) do Messag...
27.409396
84
0.594025
73589cf7230127143558fb20884f227fddf1b978
65
ex
Elixir
web/views/email_view.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
web/views/email_view.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
web/views/email_view.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
defmodule Colorstorm.EmailView do use Colorstorm.Web, :view end
21.666667
33
0.815385
7358d4fc44cf1bd58c6e125e27d3070b78476888
326
exs
Elixir
test/loom_maps_test.exs
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
test/loom_maps_test.exs
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
test/loom_maps_test.exs
samgaw/loom
574db0c8ce6170f65754474789382c142a1050c3
[ "Apache-2.0" ]
null
null
null
defmodule LoomMapsTest do use ExUnit.Case import Loom.TypedORMap alias Loom.PNCounter, as: C alias Loom.PNCounterMap, as: CMap test "Basic definition..." do defmap(C) m = C.new() |> C.inc(:a, 5) |> C.dec(:a, 3) c = CMap.new() |> CMap.put(:a, "omg", m) assert 2 == CMap.get_value(c, "omg") en...
23.285714
47
0.610429
7358edd3052110d23b04cfb91a3dc5a5eb5d7dc0
1,941
exs
Elixir
test/changelog/schema/news/news_item_comment_test.exs
axelson/changelog.com
bad9f461aabbde0faa938f7b2ae643ed47d1df9b
[ "MIT" ]
1
2021-01-06T18:21:45.000Z
2021-01-06T18:21:45.000Z
test/changelog/schema/news/news_item_comment_test.exs
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
test/changelog/schema/news/news_item_comment_test.exs
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
defmodule Changelog.NewsItemCommentTest do use Changelog.SchemaCase alias Changelog.NewsItemComment describe "insert_changeset" do test "with valid attributes" do changeset = NewsItemComment.insert_changeset(%NewsItemComment{}, %{ content: "ohai", item_id: 1, auth...
30.328125
95
0.66306
7359195777bdf30d4e04be2b024adb9cbfe2e113
1,148
exs
Elixir
test/releases/assets_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
test/releases/assets_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
test/releases/assets_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
defmodule Tentacat.Releases.AssetsTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Tentacat.Releases.Assets doctest Tentacat.Releases.Assets @client Tentacat.Client.new(%{access_token: "8e663c8614ced27c09b963f806ac46776a29db50"}) setup_all do HTTPoison.start...
27.333333
105
0.660279
735927078d04f04f342fd24bfa31fb49f5b92920
1,093
exs
Elixir
config/dev.exs
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "MIT" ]
null
null
null
config/dev.exs
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "MIT" ]
null
null
null
config/dev.exs
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "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 :iss_location, ISS.Endpoint, http: [port: 4000...
31.228571
73
0.68893
7359274b987679d5288907dceddf7e3de1e520bf
2,262
exs
Elixir
mix.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
mix.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
mix.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), releases: [ faqcheck_umbrella: [ applications: [ faqcheck: :permanent, faqchec...
24.06383
94
0.617153
735942321db51212c644fb83855279ae2ef94313
1,459
exs
Elixir
lib/mix/test/mix/tasks/compile.yecc_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.yecc_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.yecc_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.Compile.YeccTest do use MixTest.Case import ExUnit.CaptureIO setup do Mix.Project.push MixTest.Case.Sample :ok end teardown do Mix.Project.pop :ok end test "compilation continues if one file fails to compile" do ...
24.728814
73
0.6244
73596bc1d736db65cc6cb13ce05c008b3d67bf67
132
exs
Elixir
apps/heroes_web/test/test_helper.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
2
2020-04-09T06:42:15.000Z
2022-03-03T15:52:38.000Z
apps/heroes_web/test/test_helper.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
5
2020-04-28T16:05:46.000Z
2021-01-03T14:08:19.000Z
apps/heroes_web/test/test_helper.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
null
null
null
GenServer.stop(Web.ChannelWatcher) Hammox.defmock(GameMock, for: GameBehaviour) ExUnit.start(exclude: :browser, capture_log: true)
26.4
50
0.810606
735984e85ce51f781e5a353bdcb1ac38bd0ff69c
63
exs
Elixir
test/ex_mexc_test.exs
fremantle-industries/ex_mexc
f340fa93e06377a5e75e30c32b53cfc7ab4717b1
[ "MIT" ]
1
2021-08-06T01:07:25.000Z
2021-08-06T01:07:25.000Z
test/ex_mexc_test.exs
fremantle-industries/ex_mexc
f340fa93e06377a5e75e30c32b53cfc7ab4717b1
[ "MIT" ]
7
2021-11-01T05:04:13.000Z
2022-03-01T05:02:51.000Z
test/ex_mexc_test.exs
fremantle-industries/ex_mexc
f340fa93e06377a5e75e30c32b53cfc7ab4717b1
[ "MIT" ]
null
null
null
defmodule ExMexcTest do use ExUnit.Case doctest ExMexc end
12.6
23
0.793651
73598d995409f79b447551aeef9de7414b3faff2
2,175
ex
Elixir
lib/pigeon/legacy_fcm/result_parser.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
545
2015-09-06T15:50:32.000Z
2022-03-21T08:21:11.000Z
lib/pigeon/legacy_fcm/result_parser.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
178
2016-01-14T22:21:20.000Z
2022-02-18T22:34:30.000Z
lib/pigeon/legacy_fcm/result_parser.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
124
2016-01-17T11:30:16.000Z
2022-02-28T16:59:41.000Z
defmodule Pigeon.LegacyFCM.ResultParser do @moduledoc false def parse([], [], notif) do notif end def parse(regid, results, notif) when is_binary(regid) do parse([regid], results, notif) end def parse([regid | reg_res], [result | rest_results], notif) do updated_notif = case result do ...
27.1875
72
0.675402
735997e9478cb408b28c0072354debebd43d9735
567
ex
Elixir
lib/mysimplelist_web/live/list_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
lib/mysimplelist_web/live/list_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
lib/mysimplelist_web/live/list_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
defmodule MysimplelistWeb.ListLive.Show do use MysimplelistWeb, :live_view alias Mysimplelist.Lists @impl true def mount(_params, %{"current_user_token" => current_user_token}, socket) do {:ok, assign(socket, current_user_token: current_user_token)} end @impl true def handle_params(%{"id" => id}, _...
25.772727
78
0.694885
7359caa21e2de12cfc4a0a401fc972ba1bac26a9
19,487
exs
Elixir
test/zaryn_web/controllers/api/transaction_payload_test.exs
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
test/zaryn_web/controllers/api/transaction_payload_test.exs
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
test/zaryn_web/controllers/api/transaction_payload_test.exs
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule ZarynWeb.API.TransactionPayloadTest do use ExUnit.Case alias Zaryn.Crypto alias ZarynWeb.API.TransactionPayload describe "changeset/1" do test "should return errors if there are missing fields in the transaction schema" do assert %Ecto.Changeset{ valid?: false, ...
34.860465
96
0.457998
7359d1d7d6e7dc494d0049e9a0e97de1825f11f6
2,887
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.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 &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...
50.649123
340
0.744371
7359ebaa7aadb672902c8fab370fd19f2fae8439
22,585
ex
Elixir
lib/logger/lib/logger.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
defmodule Logger do @moduledoc ~S""" A logger for Elixir applications. It includes many features: * Provides debug, info, warn and error levels. * Supports multiple backends which are automatically supervised when plugged into `Logger`. * Formats and truncates messages on the client to...
33.213235
117
0.679655
7359f025f60709df36aabbaabacde6a27bd4a09e
2,138
ex
Elixir
lib/cog/config.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/config.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/config.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Config do @type interval_type :: :ms | :sec | :min | :hour | :day | :week @type typed_interval :: {integer, interval_type} @doc """ Token lifetime configuration, converted into seconds. This is how long after creation time a token is considered valid. """ def token_lifetime do value = ...
27.410256
72
0.679607
7359fe0d77cc4db674b9119c22366ab6c0d31872
257
ex
Elixir
lib/capabilities.ex
nathanjohnson320/exselenium
8794296b305f3418a1c77444f2ca6ea0ec3ae4b6
[ "MIT" ]
9
2017-04-23T05:32:55.000Z
2021-01-29T21:11:43.000Z
lib/capabilities.ex
nathanjohnson320/exselenium
8794296b305f3418a1c77444f2ca6ea0ec3ae4b6
[ "MIT" ]
null
null
null
lib/capabilities.ex
nathanjohnson320/exselenium
8794296b305f3418a1c77444f2ca6ea0ec3ae4b6
[ "MIT" ]
1
2019-07-20T00:18:52.000Z
2019-07-20T00:18:52.000Z
defmodule Selenium.Capabilities do defstruct [ javascriptEnabled: false, version: "", rotatable: false, takesScreenshot: true, cssSelectorsEnabled: true, browserName: "firefox", nativeEvents: false, platform: "ANY" ] end
19.769231
34
0.677043
735a3a79433a9b40f63d3f71265f035c40953dc2
1,117
ex
Elixir
01/npkstuff/test/support/channel_case.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
1
2021-06-23T21:48:32.000Z
2021-06-23T21:48:32.000Z
01/npkstuff/test/support/channel_case.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
null
null
null
01/npkstuff/test/support/channel_case.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
null
null
null
defmodule NpkstuffWeb.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 interacts ...
27.243902
70
0.728738
735a5b54c8d39e7def4ce933c1ad18235770eb2f
17,209
ex
Elixir
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/api/locations.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/api/locations.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/api/locations.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...
44.239075
291
0.622523
735a898e0c4af941667e8b330d414f540e4c109e
3,232
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1/model/expr.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...
57.714286
1,092
0.737314
735a901890611bcfdc9e9645418a0ab229725db5
1,541
ex
Elixir
source/backend/api_app/lib/api_app_web.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
3
2020-04-05T15:26:55.000Z
2020-06-17T15:01:33.000Z
source/backend/api_app/lib/api_app_web.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
48
2020-04-01T16:00:47.000Z
2020-04-28T16:22:12.000Z
source/backend/api_app/lib/api_app_web.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
4
2020-03-30T15:36:55.000Z
2020-06-17T15:01:36.000Z
defmodule ApiAppWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ApiAppWeb, :controller use ApiAppWeb, :view The definitions below will be executed for every view, controller, etc...
23
83
0.689812
735ac86088bb01ca42d0504536626374b38776c6
1,732
exs
Elixir
test/bitpal_web/controllers/user_registration_controller_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
test/bitpal_web/controllers/user_registration_controller_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
test/bitpal_web/controllers/user_registration_controller_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalWeb.UserRegistrationControllerTest do use BitPalWeb.ConnCase, async: true describe "GET /users/register" do test "renders registration page", %{conn: conn} do conn = get(conn, Routes.user_registration_path(conn, :new)) response = html_response(conn, 200) assert response =~ "<h...
32.679245
97
0.625289
735ae0dbf16e87b6596ab7cb4d380b5bd97eacb8
3,017
exs
Elixir
test/manager_interactor_test.exs
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
750
2015-01-18T23:00:36.000Z
2021-03-24T22:11:09.000Z
test/manager_interactor_test.exs
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
130
2015-01-19T12:39:42.000Z
2021-09-28T22:40:52.000Z
test/manager_interactor_test.exs
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
151
2015-01-19T09:24:44.000Z
2020-09-21T13:52:46.000Z
defmodule Addict.ManagerInteractorTest do use ExUnit.Case, async: true # alias Addict.ManagerInteractor, as: Interactor # test "creates a user" do # user_params = %{"email" => "test@example.com", "password" => "password", "username" => "test"} # assert Interactor.create(user_params, RepoStub, MailerStub,...
30.17
163
0.672522
735aef9c16e7a09b2778960255a1d6801e91ca7f
5,381
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.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...
72.716216
524
0.728303
735afc6c28a3c369ea96fed9c403929c0e8534b0
1,564
exs
Elixir
mix.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
null
null
null
mix.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
null
null
null
mix.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
null
null
null
defmodule BankApi.MixProject do use Mix.Project def project do [ app: :bank_api, 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(), ...
25.639344
79
0.581202
735b1b133c987f24138f91cd6b2136748c54bf43
825
ex
Elixir
lib/nomad_client/model/host_disk_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/host_disk_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/host_disk_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
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 NomadClient.Model.HostDiskStats do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :Device, :Mountpoint, :Size, :Use...
22.297297
91
0.597576
735b30712bedaa78aa15056df7d83933497b747f
888
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.888889
74
0.760135
735b541f470e3deffb1244d99822ebec45c32e7f
4,188
ex
Elixir
lib/master_proxy/cowboy2_handler.ex
perezd/master_proxy
9dc9be22acff265b2a862f30d7048801edfb5b81
[ "MIT" ]
null
null
null
lib/master_proxy/cowboy2_handler.ex
perezd/master_proxy
9dc9be22acff265b2a862f30d7048801edfb5b81
[ "MIT" ]
null
null
null
lib/master_proxy/cowboy2_handler.ex
perezd/master_proxy
9dc9be22acff265b2a862f30d7048801edfb5b81
[ "MIT" ]
1
2020-11-18T01:39:55.000Z
2020-11-18T01:39:55.000Z
defmodule MasterProxy.Cowboy2Handler do require Logger @moduledoc false defp connection() do Application.get_env(:master_proxy, :conn, Plug.Cowboy.Conn) end defp log_request(message) do if Application.get_env(:master_proxy, :log_requests, true) do Logger.debug(message) end end @not_f...
31.022222
113
0.684097
735b60a4f9d6503ff86de3c213ff5f4399e59eb3
15
ex
Elixir
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/UnaryNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/UnaryNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/UnaryNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
[].!0 [].not 0
5
8
0.333333
735b7a7e6469b8b72490eb4bb79a954bd24f152c
468
ex
Elixir
apps/binance_mock/lib/binance_mock/application.ex
frathon/hedgehog
3ed1469919ba819280709a8f26def761003a99df
[ "Unlicense" ]
65
2020-07-07T01:51:27.000Z
2021-09-27T00:13:59.000Z
apps/binance_mock/lib/binance_mock/application.ex
Cinderella-Man/hedgehog
3ed1469919ba819280709a8f26def761003a99df
[ "Unlicense" ]
5
2021-02-12T08:21:15.000Z
2021-09-01T21:17:27.000Z
apps/binance_mock/lib/binance_mock/application.ex
frathon/hedgehog
3ed1469919ba819280709a8f26def761003a99df
[ "Unlicense" ]
10
2020-08-13T13:39:31.000Z
2021-09-14T12:46:51.000Z
defmodule BinanceMock.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ {BinanceMock, []} ] # See https://hexdocs.pm/elixir/Supervisor.html # for other str...
24.631579
65
0.711538
735bae5d55a92cdede575985940668c033acc13d
5,015
exs
Elixir
test/protox/message_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
test/protox/message_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
test/protox/message_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
defmodule Protox.MessageTest do Code.require_file("test/messages.exs") use ExUnit.Case doctest Protox.Message test "Protobuf 2, replace only set scalar fields" do r1 = %Protobuf2{a: 0, s: :ONE} r2 = %Protobuf2{a: nil, s: :TWO} r3 = %Protobuf2{a: 1, s: nil} assert Protox.Message.merge(r1, r2) ...
30.579268
90
0.477368
735bb1d3ca90c9bb5dcf4cf2a79f47a0347e72dc
944
ex
Elixir
elixir/langxpay/lib/langxpay_web/views/error_view.ex
ednailson/languages-experiments
309a0360c6c26a3c95f3c8e25fe37bc7a5cbb8d4
[ "MIT" ]
null
null
null
elixir/langxpay/lib/langxpay_web/views/error_view.ex
ednailson/languages-experiments
309a0360c6c26a3c95f3c8e25fe37bc7a5cbb8d4
[ "MIT" ]
null
null
null
elixir/langxpay/lib/langxpay_web/views/error_view.ex
ednailson/languages-experiments
309a0360c6c26a3c95f3c8e25fe37bc7a5cbb8d4
[ "MIT" ]
null
null
null
defmodule LangxpayWeb.ErrorView do use LangxpayWeb, :view import Ecto.Changeset, only: [traverse_errors: 2] 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 S...
28.606061
83
0.688559
735bccfd013ec2ac4ff88dd606e6f4b3ce05a8af
1,232
ex
Elixir
web/views/error_helpers.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
defmodule Rotterdam.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error)...
30.04878
75
0.668831
735bcebda83a4eb975e76b8248ecc75b3f0438ce
1,486
ex
Elixir
lib/hexpm/parallel/parallel.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/parallel/parallel.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/parallel/parallel.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Parallel do use GenServer require Logger @timeout 60 * 1000 def each(fun, args, opts \\ []) def each(_fun, [], _opts), do: [] def each(fun, args, opts) do opts = default_opts(opts) num_args = length(args) Hexpm.Parallel.ETS.each(fun, num_args, args, opts) end def each!(fu...
22.861538
74
0.605653
735bd423fb0ed53b885fc7dca6e286b78c4a612d
1,517
ex
Elixir
lib/phoenix_live_vue_test_web/endpoint.ex
tfwright/phoenix_live_vue_test
f560401c28fdf0132c33e4943a80357110d16160
[ "MIT" ]
null
null
null
lib/phoenix_live_vue_test_web/endpoint.ex
tfwright/phoenix_live_vue_test
f560401c28fdf0132c33e4943a80357110d16160
[ "MIT" ]
1
2021-05-11T13:17:32.000Z
2021-05-11T13:17:32.000Z
lib/phoenix_live_vue_test_web/endpoint.ex
tfwright/phoenix_live_vue_test
f560401c28fdf0132c33e4943a80357110d16160
[ "MIT" ]
null
null
null
defmodule PhoenixLiveVueTestWeb.Endpoint do use Phoenix.Endpoint, otp_app: :phoenix_live_vue_test # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :coo...
30.34
97
0.727093
735bdb5f039f8d9247438a3650550196a2986151
976
ex
Elixir
lib/azure_ad_openid/nonce_store.ex
mottaman85/azure_ad_openid
9aa31c29d8a5d157d5d1f9c6f845338f7d30882e
[ "MIT" ]
6
2019-06-12T14:36:49.000Z
2021-01-22T19:53:15.000Z
lib/azure_ad_openid/nonce_store.ex
mottaman85/azure_ad_openid
9aa31c29d8a5d157d5d1f9c6f845338f7d30882e
[ "MIT" ]
null
null
null
lib/azure_ad_openid/nonce_store.ex
mottaman85/azure_ad_openid
9aa31c29d8a5d157d5d1f9c6f845338f7d30882e
[ "MIT" ]
2
2020-05-02T02:18:11.000Z
2021-02-03T20:37:22.000Z
defmodule AzureADOpenId.NonceStore do @moduledoc """ Creates, stores and checks nonces. A created nonce will be deleted after its timeout elapses. """ use Agent @agent_name __MODULE__ def start(_, _) do Agent.start_link(fn -> MapSet.new() end, name: @agent_name) end def start_link(_) do Agent....
22.181818
95
0.675205
735bfafa3d4af7b6ae7eb9bb423dc4217950f85e
1,129
exs
Elixir
config/config.exs
Kernael/Blackmagic21
011d0d51bbc5baf6fb7a9bdba0b7a55215e7a9fd
[ "MIT" ]
null
null
null
config/config.exs
Kernael/Blackmagic21
011d0d51bbc5baf6fb7a9bdba0b7a55215e7a9fd
[ "MIT" ]
null
null
null
config/config.exs
Kernael/Blackmagic21
011d0d51bbc5baf6fb7a9bdba0b7a55215e7a9fd
[ "MIT" ]
null
null
null
# 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...
36.419355
73
0.753764
735bff3f69eb6809835fd5b24c630ee50b582144
1,220
exs
Elixir
apps/tai/test/tai/trading/orders/create_rejected_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/test/tai/trading/orders/create_rejected_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/test/tai/trading/orders/create_rejected_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Trading.Orders.CreateRejectedTest do use ExUnit.Case, async: false alias Tai.TestSupport.Mocks alias Tai.Trading.{Order, Orders, OrderSubmissions} setup do on_exit(fn -> :ok = Application.stop(:tai) end) start_supervised!(Mocks.Server) {:ok, _} = Application.ensure_all_star...
27.727273
81
0.686885
735c2155e2d1f6420b6b15b84addab67567500ea
3,702
ex
Elixir
core/handler/cowboy_routing.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/handler/cowboy_routing.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/handler/cowboy_routing.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Handler.CowboyRouting do alias Antikythera.{Env, Domain, GearName, GearNameStr} alias AntikytheraCore.GearModule alias AntikytheraCore.Config.Gear, as: GearConfig alias AntikytheraCore.Ets.ConfigCache alias An...
38.5625
124
0.687196
735c2f98a492064a12dcadac4d339fa4ed868712
1,407
ex
Elixir
lib/hexpm_web/controllers/user_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/controllers/user_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/controllers/user_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.UserController do use HexpmWeb, :controller def show(conn, %{"username" => username}) do user = Users.get_by_username(username, [ :emails, :organization, owned_packages: [:repository, :downloads] ]) if user do organization = user.organization ...
24.684211
83
0.628287
735c45d6dd7a0a78441d6471d195f2d4641facad
5,235
exs
Elixir
test/acceptance/post_test.exs
kyle5794/ash_json_api
461cd745c69e63cf8961523dc0eb91f1d45eca21
[ "MIT" ]
null
null
null
test/acceptance/post_test.exs
kyle5794/ash_json_api
461cd745c69e63cf8961523dc0eb91f1d45eca21
[ "MIT" ]
null
null
null
test/acceptance/post_test.exs
kyle5794/ash_json_api
461cd745c69e63cf8961523dc0eb91f1d45eca21
[ "MIT" ]
null
null
null
defmodule Test.Acceptance.PostTest do use ExUnit.Case, async: true defmodule Author do use Ash.Resource, data_layer: Ash.DataLayer.Ets, extensions: [ AshJsonApi.Resource ] ets do private?(true) end json_api do type("author") routes do base("/au...
21.280488
97
0.494747
735c5068f0707addca5d801e806a5226c190ba3e
3,993
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/comment_snippet.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_snippet.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_snippet.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...
53.959459
286
0.739544
735c62b31babeee04f821dc22fe024424bef10ab
401
ex
Elixir
ch06/pooly/lib/pooly/pool_supervisor.ex
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
ch06/pooly/lib/pooly/pool_supervisor.ex
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
ch06/pooly/lib/pooly/pool_supervisor.ex
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
defmodule Pooly.PoolSupervisor do use Supervisor def start_link(pool_config) do Supervisor.start_link( __MODULE__, pool_config, name: :"#{pool_config[:name]}Supervisor" ) end def init(pool_config) do opts = [ strategy: :one_for_all ] children = [ worker(Pooly...
16.708333
51
0.638404
735c8e1dc12602455af32826471702e3d8c4ed08
17,513
ex
Elixir
apps/financial_system/lib/financial_system/money/coin.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
apps/financial_system/lib/financial_system/money/coin.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
2
2021-03-10T03:19:32.000Z
2021-09-02T04:33:17.000Z
apps/financial_system/lib/financial_system/money/coin.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
defmodule FinancialSystem.Money.Coin do @moduledoc """ Currencies ISO4217 """ @coins [ %{ name: "UAE Dirham", code: "AED", num_code: 784, multiplier: 2 }, %{ name: "Afghani", code: "AFN", num_code: 971, multiplier: 2 }, %{ name: "Lek", ...
16.888139
60
0.434534
735c925067d1d0a38a35988622a682837c9db619
861
ex
Elixir
lib/vite.ex
Virtual-Repetitions/vite_phx
8f102e77ed36ea3b8f39afa0f9716c25aa9b7879
[ "MIT" ]
null
null
null
lib/vite.ex
Virtual-Repetitions/vite_phx
8f102e77ed36ea3b8f39afa0f9716c25aa9b7879
[ "MIT" ]
null
null
null
lib/vite.ex
Virtual-Repetitions/vite_phx
8f102e77ed36ea3b8f39afa0f9716c25aa9b7879
[ "MIT" ]
null
null
null
defmodule Vite do @moduledoc """ Documentation for `Vite`. """ alias Vite.{Config, Manifest, React, View} defdelegate vite_client, to: View defdelegate inlined_phx_manifest, to: View defdelegate react_refresh_snippet, to: React def vite_snippet(entrypoint_name, opts \\ []) do current_env = Keywor...
23.27027
89
0.630662
735cc72a390b27797a2030e69c041a05a382facd
4,873
ex
Elixir
lib/ex_ami/message.ex
palexanderm/ex_ami
3f713e7a18feebe14fd89c8adfec4cc3af1c3f05
[ "MIT" ]
18
2015-02-18T23:30:48.000Z
2020-12-07T11:02:27.000Z
lib/ex_ami/message.ex
palexanderm/ex_ami
3f713e7a18feebe14fd89c8adfec4cc3af1c3f05
[ "MIT" ]
2
2015-09-03T12:31:13.000Z
2018-01-17T00:49:13.000Z
lib/ex_ami/message.ex
palexanderm/ex_ami
3f713e7a18feebe14fd89c8adfec4cc3af1c3f05
[ "MIT" ]
8
2016-05-11T01:17:28.000Z
2021-12-24T20:56:26.000Z
defmodule ExAmi.Message do use ExAmi.Logger @eol "\r\n" defmodule Message do defstruct attributes: %{}, variables: %{} def new, do: %__MODULE__{} def new(attributes, variables), do: %__MODULE__{attributes: attributes, variables: variables} def new(opts), do: struct(new(), opts) end ...
26.198925
100
0.611328
735cd4d4d398ed4b83a54c5d5366ddfe6119298a
175
ex
Elixir
lib/styx.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
lib/styx.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
lib/styx.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
defmodule Styx do @moduledoc """ Styx Data Pipeline Collector """ @doc """ Styx data collector ## Help ./styx """ def main(_args) do :ok end end
9.722222
30
0.565714
735cdbe8e74e7eafd3a7084d4f10bd47563b364b
1,812
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/basic_authentication.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/basic_authentication.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/basic_authentication.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.24
225
0.738411
735d2682a26c1d9c82e75f8214bb0b10e7e0c4d2
4,085
exs
Elixir
mix.exs
ROARforGood/exzeitable
6126abf96d10ecd79bc413909e868c4d7999660c
[ "MIT" ]
null
null
null
mix.exs
ROARforGood/exzeitable
6126abf96d10ecd79bc413909e868c4d7999660c
[ "MIT" ]
null
null
null
mix.exs
ROARforGood/exzeitable
6126abf96d10ecd79bc413909e868c4d7999660c
[ "MIT" ]
null
null
null
defmodule Exzeitable.MixProject do use Mix.Project @version "0.5.1" def project do [ app: :exzeitable, version: @version, elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, build...
28.172414
97
0.543696