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
655cee9e8dc532533757e34672f1f9c0eab7e610
2,468
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeed_target.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed_target.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed_target.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...
39.806452
268
0.715559
655d31edbd418f7626d715c6ddfd4b1ecc6ff736
224
exs
Elixir
test/ansible_phoenix_build_web/controllers/page_controller_test.exs
danschultzer/ansible-phoenix-build
093fdf6dae3cc5c1268750e0511364a80419f0a2
[ "MIT" ]
61
2017-12-04T20:10:48.000Z
2021-08-28T14:16:13.000Z
test/ansible_phoenix_build_web/controllers/page_controller_test.exs
wtcross/ansible-phoenix-build
093fdf6dae3cc5c1268750e0511364a80419f0a2
[ "MIT" ]
7
2017-12-15T04:39:02.000Z
2021-05-06T19:41:22.000Z
test/ansible_phoenix_build_web/controllers/page_controller_test.exs
wtcross/ansible-phoenix-build
093fdf6dae3cc5c1268750e0511364a80419f0a2
[ "MIT" ]
7
2017-12-16T05:58:08.000Z
2021-08-03T20:41:34.000Z
defmodule AnsiblePhoenixBuildWeb.PageControllerTest do use AnsiblePhoenixBuildWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
24.888889
60
0.714286
655d8fab3e131b299e3d041b42dbb8c926dfcc5f
145
ex
Elixir
web/controllers/page_controller.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
defmodule TheScratch.PageController do use TheScratch.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18.125
38
0.737931
655d932b69b2efb6764b1fbb4272e9cdc1af203e
1,823
ex
Elixir
apps/common/lib/common.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/common/lib/common.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/common/lib/common.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule Common do @moduledoc false @local_web_port 4000 @doc """ Given the hostname of a Nerves Mcam board, get the url that can be found through MDNS for directly connecting to the board on the local network. eg iex> Common.hostname_to_nerves_local_url("nerves-aax9") "http://nerves-aax9.local:400...
28.484375
96
0.693911
655db37a388fde8f10b1a7e11ff020bcb423df82
1,006
ex
Elixir
lib/calm/www/actions/thread_page.ex
did-app/project-calm
bc2d4618497622783ea47629fc146195ff261522
[ "Apache-2.0" ]
3
2020-04-20T17:02:29.000Z
2020-04-26T13:49:31.000Z
lib/calm/www/actions/thread_page.ex
did-app/project-calm
bc2d4618497622783ea47629fc146195ff261522
[ "Apache-2.0" ]
2
2020-04-20T10:31:55.000Z
2021-05-11T10:52:52.000Z
lib/calm/www/actions/thread_page.ex
did-app/project-calm
bc2d4618497622783ea47629fc146195ff261522
[ "Apache-2.0" ]
null
null
null
defmodule Calm.WWW.Actions.ThreadPage do use Raxx.SimpleServer use Calm.WWW.Layout, arguments: [:invite, :messages, :csrf_token] def handle_request(request = %{method: :GET}, config) do ["t", thread_id] = request.path {thread_id, ""} = Integer.parse(thread_id) {:ok, session} = Raxx.Session.extract(re...
31.4375
78
0.694831
655e03d9d2c51cfb13b56edc2376d9a8d3ff61c8
886
ex
Elixir
apps/local_ledger/lib/local_ledger/errors/same_address_error.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/local_ledger/lib/local_ledger/errors/same_address_error.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/local_ledger/lib/local_ledger/errors/same_address_error.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
38.521739
96
0.761851
655e0a775d1c4f412305d875072749a7a1cf3f40
1,837
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_table_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_table_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_table_spec.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...
35.326923
378
0.751225
655e0d76a36d29b990ff5d47c65aea65a2e0be9c
4,512
ex
Elixir
astreu/deps/prometheus_ex/lib/prometheus/model.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
astreu/deps/prometheus_ex/lib/prometheus/model.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
astreu/deps/prometheus_ex/lib/prometheus/model.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
defmodule Prometheus.Model do @moduledoc """ Helpers for working with Prometheus data model. For advanced users. `Prometheus.Collector` example demonstrates how to use this module. """ use Prometheus.Erlang, :prometheus_model_helpers @doc """ Creates Metric Family of `type`, `name` and `help`. `colle...
34.976744
85
0.60328
655e30252d0e8902da598297fdfdff00abac2d70
259
ex
Elixir
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/fallback_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/fallback_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
2
2020-07-19T20:12:50.000Z
2021-02-23T00:47:46.000Z
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/fallback_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.FallbackController do use RocketpayWeb, :controller def call(conn, {:error, result}) do conn |> put_status(:bad_request) |> put_view(RocketpayWeb.ErrorView) |> render("400.json", result: result) end end
23.545455
45
0.675676
655e4588932f66c0534112f61843f818daf73362
697
ex
Elixir
lib/mqtt/client.ex
kopera/erlang-mqtt
d4aa0739dfe1e1958e66a96ec9418b655ddc8651
[ "Apache-2.0" ]
15
2017-05-15T13:24:17.000Z
2021-01-13T20:33:51.000Z
lib/mqtt/client.ex
kopera/erlang-mqtt
d4aa0739dfe1e1958e66a96ec9418b655ddc8651
[ "Apache-2.0" ]
5
2017-03-10T07:50:23.000Z
2018-06-21T17:39:17.000Z
lib/mqtt/client.ex
kopera/erlang-mqtt
d4aa0739dfe1e1958e66a96ec9418b655ddc8651
[ "Apache-2.0" ]
5
2017-04-03T16:51:08.000Z
2021-06-02T05:27:38.000Z
defmodule MQTT.Client do @moduledoc """ An MQTT client. """ @doc "Connect to an mqtt broker." defdelegate connect(opts), to: :mqtt_client @doc "Disconnect from an mqtt broker." defdelegate disconnect(connection), to: :mqtt_client @doc "Synchronously subscribe to a set of topics." defdelegate subscr...
27.88
73
0.728838
655e686ee8c79b3452c201d6313216e7d7fda001
1,172
ex
Elixir
lib/stripe/account.ex
SenecaSystems/stripe
be70297b6691652b21b483b445108ec0cb9413b2
[ "MIT" ]
22
2015-02-11T06:29:21.000Z
2019-06-26T13:36:56.000Z
lib/stripe/account.ex
SenecaSystems/stripe
be70297b6691652b21b483b445108ec0cb9413b2
[ "MIT" ]
2
2015-06-19T20:55:31.000Z
2015-06-20T04:46:20.000Z
lib/stripe/account.ex
SenecaSystems/stripe
be70297b6691652b21b483b445108ec0cb9413b2
[ "MIT" ]
9
2015-06-16T03:38:00.000Z
2021-02-21T02:13:39.000Z
defmodule Stripe.Account do @moduledoc """ The Struct and type definition for a Stripe Account """ @type t :: %Stripe.Account{ id: String.t, object: String.t, business_name: String.t, display_name: String.t, charges_enabled: boolean, ...
29.3
53
0.527304
655ebd98eaad1a055d163ca2cb3efb847ae43b22
8,295
ex
Elixir
data/web/deps/timex/lib/format/datetime/formatters/default.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/timex/lib/format/datetime/formatters/default.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/timex/lib/format/datetime/formatters/default.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defmodule Timex.Format.DateTime.Formatters.Default do @moduledoc """ Date formatting language used by default by the formatting functions in Timex. This is a novel formatting language introduced with `DateFormat`. Its main advantage is simplicity and usage of mnemonics that are easy to memorize. ## Directiv...
43.888889
119
0.607836
655ee53b7b5c40c32532ce01fe20c486b786a908
34
ex
Elixir
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnquoteSplicingBlock.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/unmatched_expression_parsing_test_case/UnquoteSplicingBlock.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/unmatched_expression_parsing_test_case/UnquoteSplicingBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one do unquote_splicing(two) end
11.333333
23
0.794118
655ee65153f1572cf71b3e2371c8b6e6ef6be2ae
591
ex
Elixir
example/web/router.ex
rstacruz/phoenix_expug
ba14a81728cecbd3af23bb7f3e7d33d50d005544
[ "MIT" ]
24
2016-06-28T09:40:44.000Z
2022-01-14T23:00:26.000Z
example/web/router.ex
edjroot/phoenix_expug
d6d235597cd3dc56c307541e4ba9ba822c81782b
[ "MIT" ]
5
2017-10-18T12:13:18.000Z
2020-02-19T22:41:51.000Z
example/web/router.ex
edjroot/phoenix_expug
d6d235597cd3dc56c307541e4ba9ba822c81782b
[ "MIT" ]
8
2016-11-15T11:12:25.000Z
2019-09-18T05:09:07.000Z
defmodule Example.Router do use Example.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Example do pipe_throu...
20.37931
57
0.676819
655ee6a7cb695361784aedb8ea2a2fc4ccbfb48f
2,145
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_human_review_status.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_human_review_status.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_human_review_status.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "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.982759
305
0.737063
655f1b52f74e8869a9ecf992f7e486871dcb4b85
386
ex
Elixir
plugins/ucc_ui_flex_tab/lib/ucc_ui_flex_tab_web/views/error_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_ui_flex_tab/lib/ucc_ui_flex_tab_web/views/error_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_ui_flex_tab/lib/ucc_ui_flex_tab_web/views/error_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccUiFlexTabWeb.ErrorView do use UccUiFlexTabWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_foun...
21.444444
47
0.709845
655f3fe633f8f4a390f25a1baa49f121dd117c29
2,464
ex
Elixir
lib/elastic/scroll.ex
flexibility-org/elastic
c9d6e3c514e7a1f4958e2ba462c189829e3e5660
[ "MIT" ]
null
null
null
lib/elastic/scroll.ex
flexibility-org/elastic
c9d6e3c514e7a1f4958e2ba462c189829e3e5660
[ "MIT" ]
1
2021-10-18T11:43:13.000Z
2021-10-19T07:34:57.000Z
lib/elastic/scroll.ex
flexibility-org/elastic
c9d6e3c514e7a1f4958e2ba462c189829e3e5660
[ "MIT" ]
null
null
null
defmodule Elastic.Scroll do @moduledoc ~S""" Provides Elixir functions for ElasticSearch's scroll endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/2.4/search-request-scroll.html#search-request-scroll). You should probably be using `Elastic.Scroller` instead. """ alias Elastic.HTTP ali...
31.189873
177
0.627841
655f5fac8726d0fa7f15cf1d08fe9e047dd8ecf5
71
exs
Elixir
.formatter.exs
cw789/ex_doc
0db188abe4d6974ed3c6ccf283d3fdf814fb8413
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
.formatter.exs
cw789/ex_doc
0db188abe4d6974ed3c6ccf283d3fdf814fb8413
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
.formatter.exs
cw789/ex_doc
0db188abe4d6974ed3c6ccf283d3fdf814fb8413
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
[ inputs: ["{mix,.formatter}.exs", "{bin,lib,test}/**/*.{ex,exs}"] ]
17.75
66
0.507042
655f60ec3c060c7f92a5a6db9b8ac41efcc506f4
3,153
exs
Elixir
test/push_ex_web/channels/push_tracker_test.exs
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
78
2018-12-02T23:58:37.000Z
2021-09-30T18:52:45.000Z
test/push_ex_web/channels/push_tracker_test.exs
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
23
2018-11-27T14:57:20.000Z
2021-09-24T16:14:43.000Z
test/push_ex_web/channels/push_tracker_test.exs
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
3
2019-01-30T02:08:37.000Z
2021-09-03T20:53:35.000Z
defmodule PushExWeb.PushTrackerTest do use ExUnit.Case, async: false alias PushExWeb.PushTracker setup do Application.put_env(:push_ex, PushExWeb.PushTracker, untracked_topics: [], tracker_disabled?: false) on_exit(fn -> Application.put_env(:push_ex, PushExWeb.PushTracker, untracked_topics: [], tr...
29.194444
106
0.613384
655f7170a4a19557b99bcd13923e60b8bfe6ebb7
95
ex
Elixir
lib/ex_rss/repo.ex
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
4
2020-02-16T07:18:35.000Z
2021-12-09T14:43:10.000Z
lib/ex_rss/repo.ex
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
27
2019-10-16T18:35:19.000Z
2022-03-13T16:39:57.000Z
lib/ex_rss/repo.ex
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
null
null
null
defmodule ExRss.Repo do use Ecto.Repo, otp_app: :ex_rss, adapter: Ecto.Adapters.Postgres end
23.75
66
0.778947
655f853451d799fa5291c108f3b41afbd21e4503
910
exs
Elixir
config/config.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
30
2017-05-05T09:30:06.000Z
2021-03-29T15:08:02.000Z
config/config.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
4
2017-05-01T18:53:57.000Z
2020-11-22T06:46:55.000Z
config/config.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
7
2017-11-09T06:34:07.000Z
2021-03-01T20:14:18.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :phoenix_component_folders, PhoenixComponentFoldersW...
39.565217
86
0.786813
655f97c65baeaf2e8f36424e1f549daefe52f160
1,078
ex
Elixir
lib/requestbox_web/helpers/http.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
18
2015-11-18T09:52:34.000Z
2021-04-27T19:38:08.000Z
lib/requestbox_web/helpers/http.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
3
2017-01-11T18:55:39.000Z
2021-06-15T05:46:34.000Z
lib/requestbox_web/helpers/http.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
7
2016-08-17T10:24:20.000Z
2020-07-10T13:00:36.000Z
defmodule RequestboxWeb.Helpers.HTTP do def color_method("GET"), do: "label-success" def color_method("POST"), do: "label-primary" def color_method("PUT"), do: "label-info" def color_method("PATCH"), do: "label-warning" def color_method("DELETE"), do: "label-danger" def color_method(_), do: "label-default" ...
28.368421
86
0.679963
655fb28bbddb5e65211015ff075ff6c3ebcb9f86
1,494
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/pull_started_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/pull_started_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/pull_started_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.125
83
0.744311
655ff9ecb5b97520e76a453f8401cdf5ae0ef7b9
858
ex
Elixir
lib/screens/v2/widget_instance/link_footer.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/v2/widget_instance/link_footer.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/v2/widget_instance/link_footer.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.V2.WidgetInstance.LinkFooter do @moduledoc false alias Screens.V2.WidgetInstance.LinkFooter defstruct screen: nil, text: nil, url: nil @type t :: %__MODULE__{ screen: Screens.Config.Screen.t(), text: String.t(), url: String.t() }...
22.578947
69
0.649184
65601c459161f07160d18155d46e18c130b8b268
311
ex
Elixir
lib/legato/response.ex
tpitale/legato-ex
476a144ccbdcb1fcc51ebd9a3c4712402bd77340
[ "MIT" ]
15
2016-11-26T23:12:47.000Z
2022-03-15T11:49:23.000Z
lib/legato/response.ex
tpitale/legato-ex
476a144ccbdcb1fcc51ebd9a3c4712402bd77340
[ "MIT" ]
2
2017-04-13T12:48:43.000Z
2017-06-28T22:07:47.000Z
lib/legato/response.ex
tpitale/legato-ex
476a144ccbdcb1fcc51ebd9a3c4712402bd77340
[ "MIT" ]
3
2017-10-25T09:29:30.000Z
2021-03-18T01:34:19.000Z
defmodule Legato.Response do def build({:ok, %HTTPoison.Response{body: body, headers: _headers}}) do Poison.decode!(body) |> as_report end defp as_report(%{"error" => errors}) do IO.inspect errors end defp as_report(%{"reports" => reports}) do Legato.Report.from_json(reports) end end
22.214286
73
0.681672
65602c4a0f74c2bef826605379876d9cc042d8be
5,019
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_registry.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_registry.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_registry.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...
67.824324
777
0.750946
65604da1d5d43434af0668b0928420cce7fc6524
28,190
ex
Elixir
lib/elixir/lib/code/fragment.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/elixir/lib/code/fragment.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/fragment.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
1
2021-12-09T11:36:07.000Z
2021-12-09T11:36:07.000Z
defmodule Code.Fragment do @moduledoc """ This module provides conveniences for analyzing fragments of textual code and extract available information whenever possible. Most of the functions in this module provide a best-effort and may not be accurate under all circumstances. Read each documentation for mo...
34.087062
96
0.600532
65605083709efe45ba17c5cfb1bfc18c5731cc5f
869
exs
Elixir
test/absinthe/integration/execution/input_object_test.exs
luislhsc/absinthe
d2653fec3e7ee9310ec734070b994fb33bfd5932
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/input_object_test.exs
luislhsc/absinthe
d2653fec3e7ee9310ec734070b994fb33bfd5932
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/input_object_test.exs
luislhsc/absinthe
d2653fec3e7ee9310ec734070b994fb33bfd5932
[ "MIT" ]
1
2021-04-08T18:15:31.000Z
2021-04-08T18:15:31.000Z
defmodule Elixir.Absinthe.Integration.Execution.InputObjectTest do use Absinthe.Case, async: true import ExUnit.CaptureLog @query """ mutation { updateThing(id: "foo", thing: {value: 100}) { name value } } """ test "scenario #1" do assert {:ok, %{data: %{"updateThing" => %{"name...
22.868421
95
0.596087
65607dd481288441d383154a2bdfcd41fa8cecbd
7,488
ex
Elixir
lib/bypass.ex
sgerrand/bypass
67007d77145c14198880c4ce22f20e71f0af1d57
[ "MIT" ]
null
null
null
lib/bypass.ex
sgerrand/bypass
67007d77145c14198880c4ce22f20e71f0af1d57
[ "MIT" ]
null
null
null
lib/bypass.ex
sgerrand/bypass
67007d77145c14198880c4ce22f20e71f0af1d57
[ "MIT" ]
null
null
null
defmodule Bypass do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) defstruct pid: nil, port: nil @typedoc """ Represents a Bypass server process. """ @type t :: %__MODULE__{pid: pid, port: n...
30.563265
99
0.633413
65608df6b861d572fbdd12ad67ae06527b6a838c
190
ex
Elixir
lib/tmdb/tv/season.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
13
2016-07-30T05:10:50.000Z
2019-04-25T05:08:11.000Z
lib/tmdb/tv/season.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
3
2016-08-04T00:44:01.000Z
2017-07-18T17:27:05.000Z
lib/tmdb/tv/season.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
12
2016-07-30T23:59:26.000Z
2021-06-25T05:53:57.000Z
defmodule Tmdb.Tv.Season do use Tmdb.Base def season_number(id, season_number, params \\ %{}) do get!("tv/#{id}/season/#{season_number}?#{URI.encode_query(params)}").body end end
23.75
77
0.684211
6560a32a13aabcf04e6376b2a12bfd114cd13d41
8,435
ex
Elixir
lib/jungle_inflexor/constants.ex
themgt/jungle_inflexor
d3aa1e86b96f04c99bd2df4f5302528fe644b5ca
[ "MIT" ]
6
2018-04-16T11:38:57.000Z
2020-05-09T00:52:30.000Z
lib/jungle_inflexor/constants.ex
themgt/jungle_inflexor
d3aa1e86b96f04c99bd2df4f5302528fe644b5ca
[ "MIT" ]
null
null
null
lib/jungle_inflexor/constants.ex
themgt/jungle_inflexor
d3aa1e86b96f04c99bd2df4f5302528fe644b5ca
[ "MIT" ]
1
2021-01-29T13:05:08.000Z
2021-01-29T13:05:08.000Z
defmodule Jungle.Inflexor.Constants do use Constants define default, true define uncountable, quote(do: Application.get_env(:jungle_inflexor, :uncountable, []) ++ [ "aircraft", "bellows", "bison", "deer", "equipment", "fish", "hovercraft", "information", ...
36.357759
96
0.359336
6560a35c3f4a202a49253d76c09ecb46372c4e94
76
exs
Elixir
test/loki_web/views/layout_view_test.exs
artjimlop/loki
4ac5f7b4313564971f8dd4213a2022698600786a
[ "Apache-2.0" ]
null
null
null
test/loki_web/views/layout_view_test.exs
artjimlop/loki
4ac5f7b4313564971f8dd4213a2022698600786a
[ "Apache-2.0" ]
null
null
null
test/loki_web/views/layout_view_test.exs
artjimlop/loki
4ac5f7b4313564971f8dd4213a2022698600786a
[ "Apache-2.0" ]
null
null
null
defmodule LokiWeb.LayoutViewTest do use LokiWeb.ConnCase, async: true end
19
35
0.815789
6560c71505fa946934248f043d96c735117919ee
57,904
ex
Elixir
lib/db_connection.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
lib/db_connection.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
lib/db_connection.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
defmodule DBConnection.Stream do defstruct [:conn, :query, :params, :opts] @type t :: %__MODULE__{conn: DBConnection.conn(), query: any, params: any, opts: Keyword.t()} end defimpl Enumerable, for: DBConnection.Stream do def count(_), do: {:error, __MODULE__} def member?(_, _), do: {:error, __MODULE__} de...
33.012543
95
0.645154
6560d08afcea6a6a7dc697df38a494bb4032267b
2,314
ex
Elixir
clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.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...
46.28
493
0.748055
6560de96183b95c146c73bece67f0cbf75ea9e2c
2,059
ex
Elixir
plugins/one_backup_restore/lib/one_backup_restore_web/views/flex_bar_view.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_backup_restore/lib/one_backup_restore_web/views/flex_bar_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_backup_restore/lib/one_backup_restore_web/views/flex_bar_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneBackupRestoreWeb.FlexBarView do @moduledoc """ Backup and Restore plug-in Flex Tabs view. Renders the three Backup and Restore Tab panels: ## Backup Tab Allows the user to select which options to backup and creates the backup file. ## Certificates Displays page to generate certificate if...
31.676923
102
0.668771
65610d52cf0eced2c602ba9d5b0e268a9baf4e57
77,272
ex
Elixir
lib/aws/generated/lightsail.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lightsail.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lightsail.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "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.Lightsail do @moduledoc """ Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers who need to build websites or web applications. It includes ev...
45.05656
199
0.748059
656131d3844e6c578700a2f14506a5572b25d603
359
ex
Elixir
1-deck/deck.ex
Holmes89/elixir-lessons
b800a943dc7fa45008fd9ea0bf1ae3318ec6fc61
[ "MIT" ]
null
null
null
1-deck/deck.ex
Holmes89/elixir-lessons
b800a943dc7fa45008fd9ea0bf1ae3318ec6fc61
[ "MIT" ]
null
null
null
1-deck/deck.ex
Holmes89/elixir-lessons
b800a943dc7fa45008fd9ea0bf1ae3318ec6fc61
[ "MIT" ]
null
null
null
defmodule Deck do @moduledoc """ Standard card Deck """ @doc """ Returns a list of card tuples """ def new_deck do for suit <- [:hearts, :clubs, :diamonds, :spades], face <- [2, 3, 4, 5, 6, 7, 8, 9, 10, "J", "Q", "K", "A"], do: {suit, face} end def shuffle(deck \\ new_deck()...
17.095238
65
0.523677
65617b11d022be590a00c46f3c6cee3ea0847183
3,292
ex
Elixir
lib/perf/load_generator.ex
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
11
2020-04-17T18:32:26.000Z
2021-10-22T00:16:03.000Z
lib/perf/load_generator.ex
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
14
2020-05-11T16:26:01.000Z
2022-03-10T01:31:22.000Z
lib/perf/load_generator.ex
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
8
2020-08-19T22:25:13.000Z
2021-11-12T20:12:22.000Z
defmodule Perf.LoadGenerator do use Task alias Perf.Model.Request def start(%LoadProcessModel{request: request, step_name: step_name, end_time: end_time}, concurrency) do Task.start(fn -> conn = Perf.ConnectionPool.get_connection() try do results = generate_load(request, [], end_time, c...
29.927273
186
0.619077
65619f55a757b210a775bfa7c967ef0c678dfdb5
1,622
exs
Elixir
test/membrane_scissors_test.exs
membraneframework/membrane_scissors_plugin
8ae0fb9a0e8cae0bc052b1e9e74944cf8d19fa64
[ "Apache-2.0" ]
null
null
null
test/membrane_scissors_test.exs
membraneframework/membrane_scissors_plugin
8ae0fb9a0e8cae0bc052b1e9e74944cf8d19fa64
[ "Apache-2.0" ]
null
null
null
test/membrane_scissors_test.exs
membraneframework/membrane_scissors_plugin
8ae0fb9a0e8cae0bc052b1e9e74944cf8d19fa64
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.ScissorsTest do use Bunch use ExUnit.Case alias Membrane.Scissors test "cuts the stream properly by given time" do integration_test( 0..20, [2, 3, 6, 7, 8, 9, 12, 13, 14, 16, 17], [{1, 1}, {3, 2}, {6, 3}], Ratio.new(1, 2), fn buffer, _caps -> buffer.payload ...
24.953846
88
0.609125
6561dee9cbdcc806e6275ac7e2f24b9adcd744ed
286
ex
Elixir
lib/co2_offset/geo/distance.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
null
null
null
lib/co2_offset/geo/distance.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
null
null
null
lib/co2_offset/geo/distance.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
null
null
null
defmodule Co2Offset.Geo.Distance do use Ecto.Schema @moduledoc """ Capitals distance model. Generated from 3rd party data. Used for "Same distance as blocks" """ schema "distances" do field :from, :string field :to, :string field :distance, :integer end end
19.066667
57
0.688811
6561e83d8609bb99113b7cac894b515546bcf504
622
exs
Elixir
weather_tracker/priv/repo/migrations/20211124041211_set_up_weather_data_table.exs
NickMcG/WeatherStation
83ff0ad75467c10eead409c4fc3a437643b9a994
[ "MIT" ]
null
null
null
weather_tracker/priv/repo/migrations/20211124041211_set_up_weather_data_table.exs
NickMcG/WeatherStation
83ff0ad75467c10eead409c4fc3a437643b9a994
[ "MIT" ]
null
null
null
weather_tracker/priv/repo/migrations/20211124041211_set_up_weather_data_table.exs
NickMcG/WeatherStation
83ff0ad75467c10eead409c4fc3a437643b9a994
[ "MIT" ]
null
null
null
defmodule WeatherTracker.Repo.Migrations.SetUpWeatherDataTable do use Ecto.Migration def up do execute("CREATE EXTENSION IF NOT EXISTS timescaledb") create table(:weather_conditions, primary_key: false) do add :timestamp, :naive_datetime, null: false add :temperature_c, :decimal, null: false ...
28.272727
74
0.728296
6561fec89591c6a2d4c40afd522bae832c22a7b0
58
ex
Elixir
web/views/admin/admin_view.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
96
2016-02-26T20:20:33.000Z
2020-10-02T16:21:00.000Z
web/views/admin/admin_view.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
12
2016-02-27T16:23:55.000Z
2017-07-04T13:46:00.000Z
web/views/admin/admin_view.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
24
2016-03-10T23:55:33.000Z
2019-06-07T18:32:34.000Z
defmodule Lyn.Admin.AdminView do use Lyn.Web, :view end
14.5
32
0.758621
656212d116738a981c159b230477b32584e6b78d
1,517
ex
Elixir
parkapp_server/lib/parkapp_web/auth/guardian/guardian.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/lib/parkapp_web/auth/guardian/guardian.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/lib/parkapp_web/auth/guardian/guardian.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
defmodule ParkappWeb.Auth.Guardian do use Guardian, otp_app: :parkapp alias Parkapp.Auth.Devices def subject_for_token(resource, _claims) do # You can use any value for the subject of your token but # it should be useful in retrieving the resource later, see # how it being used on `resource_from_cla...
31.604167
76
0.692156
6562322572a064d579f65c4eaa1e32ddc8f7cdcf
338
exs
Elixir
fizzbuzz/elixir/mix.exs
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
1
2021-01-16T18:18:52.000Z
2021-01-16T18:18:52.000Z
fizzbuzz/elixir/mix.exs
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
null
null
null
fizzbuzz/elixir/mix.exs
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
null
null
null
defmodule Fizzbuzz.MixProject do use Mix.Project def project do [ app: :fizzbuzz, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end def application, do: [extra_applications: [:logger]] defp deps do [ {:credo, "~> 1.0"...
15.363636
54
0.538462
65625dd205232515e9fcf56d09784fed052a840b
2,144
ex
Elixir
lib/rig_inbound_gateway/request_logger/kafka.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
lib/rig_inbound_gateway/request_logger/kafka.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
lib/rig_inbound_gateway/request_logger/kafka.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigInboundGateway.RequestLogger.Kafka do @moduledoc """ Kafka request logger implementation. """ use Rig.KafkaConsumerSetup, [:log_topic, :log_schema, :serializer] alias RIG.Tracing alias RigInboundGateway.RequestLogger @behaviour RequestLogger alias UUID require Logger # --- @spec k...
24.089888
97
0.603545
656294d8fb60a5b063c02b12c33863696f406f61
5,638
ex
Elixir
lib/prom_ex/dashboard_uploader.ex
keatz55/prom_ex
ccf1066f63982938a6f0116528b2d07b4960187a
[ "MIT" ]
null
null
null
lib/prom_ex/dashboard_uploader.ex
keatz55/prom_ex
ccf1066f63982938a6f0116528b2d07b4960187a
[ "MIT" ]
null
null
null
lib/prom_ex/dashboard_uploader.ex
keatz55/prom_ex
ccf1066f63982938a6f0116528b2d07b4960187a
[ "MIT" ]
null
null
null
defmodule PromEx.DashboardUploader do @moduledoc """ This GenServer is responsible for uploading the configured PromEx module dashboards to Grafana. This is a transient process and will terminate after the dashboards have been successfully uploaded. It requires the name of the PromEx module as an option so th...
32.402299
118
0.699716
6562a1e30efb0546f4e434e1838936dc52047cd5
326
exs
Elixir
video_mixer/run.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
84
2020-08-01T14:57:29.000Z
2022-03-27T13:28:23.000Z
video_mixer/run.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
75
2020-08-24T08:01:53.000Z
2022-03-17T10:41:22.000Z
video_mixer/run.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
17
2020-09-15T21:04:23.000Z
2022-03-31T07:43:48.000Z
alias Membrane.Demo.AudioPipeline alias Membrane.Demo.VideoPipeline # mix audio to .aac file {:ok, pid} = AudioPipeline.start_link({"sound_500f.wav", "sound_1000f.wav"}) AudioPipeline.play(pid) # merge video to .h264 file {:ok, pid} = VideoPipeline.start_link({"video_red.h264", "video_green.h264"}) VideoPipeline.play...
29.636364
77
0.760736
6562b9c92b9f3a822ff2ff35a35b8f71d8286c12
121
exs
Elixir
web_client/config/prod.exs
yunmikun2/imaas
54df995e89f7f497f11e63faee9ad4ecbb51b6cc
[ "WTFPL" ]
null
null
null
web_client/config/prod.exs
yunmikun2/imaas
54df995e89f7f497f11e63faee9ad4ecbb51b6cc
[ "WTFPL" ]
null
null
null
web_client/config/prod.exs
yunmikun2/imaas
54df995e89f7f497f11e63faee9ad4ecbb51b6cc
[ "WTFPL" ]
null
null
null
import Config config :imaas_client, ImaasClientWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
24.2
58
0.834711
6562bdeb41b6a46ad1676a62eeda8667d3b3106b
127
ex
Elixir
wsf_c/build/packaging/debian/menu.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
1
2017-10-07T03:24:20.000Z
2017-10-07T03:24:20.000Z
wsf_c/build/packaging/debian/menu.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
null
null
null
wsf_c/build/packaging/debian/menu.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
4
2017-03-21T15:27:57.000Z
2021-05-27T11:20:00.000Z
?package(wso2-wsf-c):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\ title="wso2-wsf-c" command="/usr/bin/wso2-wsf-c"
42.333333
75
0.700787
6562c6cdbfd299b8c250d495ecb4a05eb44d3b3a
2,933
exs
Elixir
test/cachex/actions/take_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
test/cachex/actions/take_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
test/cachex/actions/take_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.TakeTest do use CachexCase # This test verifies that we can take keys from the cache. If a key has expired, # the value is not returned and the hooks are updated with an eviction. If the # key is missing, we return a message stating as such. test "taking keys from a cache" do # c...
31.202128
82
0.621889
6562ed597d0f0496c1e1f3c6a6504540f3f9d4f1
1,115
exs
Elixir
09-application/config/config.exs
Markcial/essence
fcfc62a189c2cee1f07813d583edfaec2fb0167e
[ "MIT" ]
2
2017-02-14T20:33:52.000Z
2017-03-02T15:21:44.000Z
09-application/config/config.exs
Markcial/essence
fcfc62a189c2cee1f07813d583edfaec2fb0167e
[ "MIT" ]
null
null
null
09-application/config/config.exs
Markcial/essence
fcfc62a189c2cee1f07813d583edfaec2fb0167e
[ "MIT" ]
1
2018-06-22T02:34:15.000Z
2018-06-22T02:34:15.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.967742
73
0.750673
6562f4376b7481f4fe5b004ee934f6a615f9b8a0
257
ex
Elixir
phx_chartjs/lib/phx_chartjs.ex
NervesJP/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
13
2018-06-22T10:41:17.000Z
2018-09-01T02:34:33.000Z
phx_chartjs/lib/phx_chartjs.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
null
null
null
phx_chartjs/lib/phx_chartjs.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
1
2022-01-20T13:12:18.000Z
2022-01-20T13:12:18.000Z
defmodule PhxChartjs do @moduledoc """ PhxChartjs keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
65630e9837418f42e5b4024d51434d6f943c8254
352
exs
Elixir
config/test.exs
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
config/test.exs
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
config/test.exs
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
use Mix.Config import_config "dev.exs" # We hopefully don't need logger ¯\_(ツ)_/¯ config :logger, :console, format: "" config :farmbot, path: "/tmp", config_file_name: "default_config.json", tty: "/dev/tnt1" config :farmbot, auth_callbacks: [] # frontend <-> bot transports. config :farmbot, transports: [] ...
18.526316
43
0.690341
656321752398319feb7942c17d86f97c22580264
1,529
exs
Elixir
config/config.exs
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
config/config.exs
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
config/config.exs
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :login, ecto_repos: [Login.Repo] # Conf...
31.854167
114
0.748201
6563288205bd09ca4491ebc3d979aae7c9ee8fa4
2,902
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/vm_utilization_metrics.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/vm_utilization_metrics.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/vm_utilization_metrics.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...
42.676471
174
0.706409
65632d9e3a0d333ec9522e8aed94d24c137bb534
9,097
exs
Elixir
test/adapter_test.exs
dvlp123456/ecto_tablestore
2f6d13330e7de9425fc8d20e435e2eb7bcfced09
[ "MIT" ]
7
2019-09-09T01:42:21.000Z
2021-03-03T07:19:52.000Z
test/adapter_test.exs
dvlp123456/ecto_tablestore
2f6d13330e7de9425fc8d20e435e2eb7bcfced09
[ "MIT" ]
17
2020-04-10T04:10:00.000Z
2022-03-21T10:27:04.000Z
test/adapter_test.exs
dvlp123456/ecto_tablestore
2f6d13330e7de9425fc8d20e435e2eb7bcfced09
[ "MIT" ]
7
2019-12-04T08:39:43.000Z
2022-03-18T09:24:42.000Z
defmodule EctoTablestore.AdapterTest do use ExUnit.Case alias EctoTablestore.TestSchema.{User, Order, Page} alias Ecto.Adapters.Tablestore alias ExAliyunOts.Const.{LogicOperator, FilterType, ComparatorType, RowExistence} require FilterType require LogicOperator require ComparatorType require RowExist...
34.199248
129
0.719578
6563355a4a781cdf16937f144effe150ae884910
334
ex
Elixir
lib/inmana/supplies/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
lib/inmana/supplies/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
lib/inmana/supplies/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
defmodule Inmana.Supplies.Create do alias Inmana.{Repo, Supply} def call(params) do params |> Supply.changeset() |> Repo.insert() |> handle_insert() end def handle_insert({:ok, %Supply{}} = result), do: result def handle_insert({:error, result}), do: {:error, %{result: result, status: :bad_...
22.266667
92
0.652695
65637037b598c63aa89d731c932f926a170eec30
215
ex
Elixir
lib/mongoose_push_web/schemas.ex
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
107
2017-02-10T00:26:05.000Z
2022-02-23T00:50:07.000Z
lib/mongoose_push_web/schemas.ex
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
109
2017-02-09T14:40:20.000Z
2021-04-30T22:01:20.000Z
lib/mongoose_push_web/schemas.ex
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
25
2017-08-21T20:55:33.000Z
2022-03-06T10:01:13.000Z
defmodule MongoosePushWeb.Schemas do defmacro __using__(_) do quote do def open_api_operation(action), do: apply(__MODULE__, String.to_existing_atom("#{action}_operation"), []) end end end
23.888889
81
0.702326
6563e835d91abfc064da8648edb234f3046a73f0
2,583
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/licenses_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/licenses_list_response.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/licenses_list_response.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...
43.779661
393
0.722029
6564304126f16df92cab455367e65e235f827bd7
2,139
exs
Elixir
test/parser/anonymous_functions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
test/parser/anonymous_functions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
test/parser/anonymous_functions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
defmodule Temple.Parser.AnonymousFunctionsTest do use ExUnit.Case, async: true alias Temple.Parser.AnonymousFunctions describe "applicable?/1" do test "returns true when the node contains an anonymous function as an argument to a function" do raw_asts = [ quote do form_for(changeset,...
24.306818
115
0.54792
656467f4a20bd3624688a25fc6fc13311175d864
2,976
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/handler.ex
mrinalwadhwa/ockam
b8a500bd932bfe5e5885bf4436c59a858449963b
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/handler.ex
mrinalwadhwa/ockam
b8a500bd932bfe5e5885bf4436c59a858449963b
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/handler.ex
mrinalwadhwa/ockam
b8a500bd932bfe5e5885bf4436c59a858449963b
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Transport.TCP.Handler do @moduledoc false use GenServer alias Ockam.Message alias Ockam.Telemetry require Logger @address_prefix "TCP_H_" def start_link(ref, _socket, transport, opts) do start_link(ref, transport, opts) end def start_link(ref, transport, opts) do pid = :p...
26.571429
92
0.649866
65646cc288a117f9b581f52fe08e72ccccf0ffeb
31,893
exs
Elixir
integration_test/cases/repo.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
integration_test/cases/repo.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
integration_test/cases/repo.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
Code.require_file "../support/types.exs", __DIR__ defmodule Ecto.Integration.RepoTest do use Ecto.Integration.Case, async: true alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.User alias Ecto.Integration.PostUsecTimestamps alias Ecto.Integration.Comm...
36.574541
106
0.626532
6564764dd129cedd7e98cc5e47cce3816c862091
1,129
exs
Elixir
examples/counter/config/config.exs
msimonborg/receiver
2ed01de615bf53f4549e04e85330e7b6c391d083
[ "MIT" ]
5
2019-03-27T16:27:42.000Z
2022-01-07T04:29:59.000Z
examples/counter/config/config.exs
msimonborg/receiver
2ed01de615bf53f4549e04e85330e7b6c391d083
[ "MIT" ]
null
null
null
examples/counter/config/config.exs
msimonborg/receiver
2ed01de615bf53f4549e04e85330e7b6c391d083
[ "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.751107
65647fcb3a37d65b3381faa6322f54a171600e91
1,016
ex
Elixir
kboard/lib/kboard/application.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
1
2018-04-28T16:55:05.000Z
2018-04-28T16:55:05.000Z
kboard/lib/kboard/application.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
kboard/lib/kboard/application.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
defmodule Kboard.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
31.75
84
0.714567
656484c425cbd59419c92f16b6b57eea1a801b94
1,195
ex
Elixir
lib/q.ex
jschoch/zdb
89b361e624a1c20f503dc237570ca0fd5ea1fd8c
[ "MIT" ]
11
2015-01-04T12:47:21.000Z
2016-06-27T13:16:46.000Z
lib/q.ex
jschoch/zdb
89b361e624a1c20f503dc237570ca0fd5ea1fd8c
[ "MIT" ]
5
2015-04-12T11:57:44.000Z
2016-01-21T21:01:24.000Z
lib/q.ex
jschoch/zdb
89b361e624a1c20f503dc237570ca0fd5ea1fd8c
[ "MIT" ]
null
null
null
defmodule Zq do @moduledoc ~S""" a struct for managing the dynamodb query api ### Attributes :kc are key conditions per docs: `http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html#DDB-Query-request-KeyConditions` ### Options :limit the query limit :qf query filter ...
29.146341
147
0.700418
656488e633cde56741953e955d69de2cf5cd29e1
329
ex
Elixir
lib/ex_openrtb/seatbid.ex
justuswilhelm/ex_openrtb
72f2559e7a76d63867efda2a8fa16169d931348c
[ "MIT", "Unlicense" ]
2
2019-01-16T17:54:06.000Z
2021-02-13T19:14:29.000Z
lib/ex_openrtb/seatbid.ex
justuswilhelm/ex_openrtb
72f2559e7a76d63867efda2a8fa16169d931348c
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_openrtb/seatbid.ex
justuswilhelm/ex_openrtb
72f2559e7a76d63867efda2a8fa16169d931348c
[ "MIT", "Unlicense" ]
1
2018-02-18T16:19:14.000Z
2018-02-18T16:19:14.000Z
defmodule ExOpenRTB.SeatBid do defstruct [ :bid, :seat, :group, :ext ] defimpl Poison.Decoder do def decode(%{bid: bid} = struct, _options) do bid = if bid do Poison.Decode.decode(bid, as: [%ExOpenRTB.Bid{}]) else nil end %{ struct | bid: bid} end ...
16.45
57
0.547112
65648cbbea1fdda54690d6ca76024060ab3acb58
1,872
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/component_transform.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/component_transform.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/component_transform.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...
35.320755
162
0.723825
65649716365bc31358fb23c5b2f917c41eafef70
3,344
ex
Elixir
lib/baiji/request/query/encoder.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/request/query/encoder.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/request/query/encoder.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
defmodule Baiji.Request.Query.Encoder do @moduledoc """ Encodes an input map into a query string based on the input shape """ import Baiji.Core.Utilities alias Baiji.Operation @doc """ Encode an input map into a query string """ def encode(%Operation{input_shape: nil} = op) do [] |> encode_ac...
32.784314
131
0.627093
6564a53ad4ab73acb63c32bc3e0795cc0c74128e
187
exs
Elixir
priv/repo/migrations/20200409212851_add_question_id_to_answer.exs
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
8
2019-09-26T13:59:25.000Z
2020-03-30T21:26:48.000Z
priv/repo/migrations/20200409212851_add_question_id_to_answer.exs
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
39
2019-11-16T02:24:28.000Z
2020-01-14T16:40:28.000Z
priv/repo/migrations/20200409212851_add_question_id_to_answer.exs
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
2
2019-12-16T07:55:14.000Z
2020-06-11T04:14:00.000Z
defmodule Aph.Repo.Migrations.AddQuestionIdToAnswer do use Ecto.Migration def change do alter table(:answers) do add :question_id, references(:questions) end end end
18.7
54
0.73262
6564d07dda6ab6585124fe3eba21b41794fedb12
1,874
ex
Elixir
9-elixir-phoenix/test/support/model_case.ex
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
3
2017-02-22T08:45:53.000Z
2017-04-29T13:40:23.000Z
9-elixir-phoenix/test/support/model_case.ex
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
null
null
null
9-elixir-phoenix/test/support/model_case.ex
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
null
null
null
defmodule AwesomeprojectBackend.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 ...
28.393939
92
0.699039
6564f8c5dbe6a7b1add9eb149c4331ee5ab02955
1,044
ex
Elixir
lib/blockquote/application.ex
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/blockquote/lib/blockquote/application.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/blockquote/lib/blockquote/application.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Blockquote.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
32.625
88
0.719349
65651916af169cec5e0ec99c18ad7503eedbad51
374
ex
Elixir
lib/farmbot/farmware/installer/repository/manifest_type.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/farmware/installer/repository/manifest_type.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/farmware/installer/repository/manifest_type.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.Farmware.Installer.Repository.ManifestType do @moduledoc false @behaviour Ecto.Type alias Farmbot.Farmware.Installer.Repository.Entry def type, do: :text # try to encode as json here. def cast(data) do Poison.encode(data) end def load(text) do Poison.decode(text, as: [struct...
19.684211
63
0.713904
6565191b6119b27e41150b9bd82e459c022da09d
1,268
exs
Elixir
config/prod.exs
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
2
2018-01-18T20:38:08.000Z
2020-01-19T17:44:20.000Z
config/prod.exs
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
85
2018-02-26T05:30:01.000Z
2021-07-26T06:22:02.000Z
config/prod.exs
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
1
2018-10-07T06:57:34.000Z
2018-10-07T06:57:34.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 # OsmPointsWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # ...
33.368421
65
0.765773
656520278f662d09da9e476feb9545a3d29125c1
2,602
ex
Elixir
lib/bahn_ex/response_handler.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
lib/bahn_ex/response_handler.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
lib/bahn_ex/response_handler.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
defmodule BahnEx.ResponseHandler do @moduledoc """ Handles the responses of the DB Fahrplan API and tries to convert the json body in appropiate structs """ alias BahnEx.{Location, Train, TrainLoc} require Logger @spec handle_location_response( {:ok, HTTPoison.Response.t | HTTPoison.AsyncRespo...
30.97619
95
0.652959
65654b9ae4693f8363e7ad552ce17a02286c23c1
2,454
ex
Elixir
lib/mix/tasks.ex
edwardzhou/exvcr
0d1e0ab702c9caca74bcbbe4dd7f4894cb8816cd
[ "MIT" ]
null
null
null
lib/mix/tasks.ex
edwardzhou/exvcr
0d1e0ab702c9caca74bcbbe4dd7f4894cb8816cd
[ "MIT" ]
null
null
null
lib/mix/tasks.ex
edwardzhou/exvcr
0d1e0ab702c9caca74bcbbe4dd7f4894cb8816cd
[ "MIT" ]
1
2018-10-10T05:57:37.000Z
2018-10-10T05:57:37.000Z
defmodule Mix.Tasks.Vcr do use Mix.Task @shortdoc "Operate exvcr cassettes" @moduledoc """ Provides mix tasks for operating cassettes. ## Command line options * `--dir` - specifies the vcr cassette directory. * `--custom` - specifies the custom cassette directory. * `-i (--interactive)` - ask for con...
29.214286
175
0.612469
656589406d42af814979b68d9e547d9fc34055a4
710
exs
Elixir
mix.exs
TwelveNights/todo
484b46b800b17abfe9e560c1f11ebf772c6d3bb4
[ "MIT" ]
null
null
null
mix.exs
TwelveNights/todo
484b46b800b17abfe9e560c1f11ebf772c6d3bb4
[ "MIT" ]
null
null
null
mix.exs
TwelveNights/todo
484b46b800b17abfe9e560c1f11ebf772c6d3bb4
[ "MIT" ]
null
null
null
defmodule Todo.Mixfile do use Mix.Project def project do [ app: :todo, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), escript: [main_module: Todo.CLI] ] end # Run "mix help compile.app" to learn about applications. def appli...
21.515152
88
0.552113
65659c4869222cd9452bc0d0c18f498df6b6e8e3
37,716
ex
Elixir
lib/ecto/adapters/postgres/connection.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres/connection.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres/connection.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(Postgrex) do defmodule Ecto.Adapters.Postgres.Connection do @moduledoc false @default_port 5432 @behaviour Ecto.Adapters.SQL.Connection ## Module and Options def child_spec(opts) do opts |> Keyword.put_new(:port, @default_port) |> Postgrex.child_spec() ...
36.72444
154
0.600064
6565ea6156002fe0cb6a8aa4f9be6a559d2adb33
331
exs
Elixir
apps/repository/priv/repo/migrations/20171110154419_rename_password_recovery_token_on_users.exs
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/repository/priv/repo/migrations/20171110154419_rename_password_recovery_token_on_users.exs
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/repository/priv/repo/migrations/20171110154419_rename_password_recovery_token_on_users.exs
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule Repository.Repo.Migrations.RenamePasswordRecoveryTokenOnUsers do use Ecto.Migration def change do drop index("users", [:password_recovery_token]) rename table("users"), :password_recovery_token, to: :encrypted_password_recovery_token create index("users", [:encrypted_password_recovery_token])...
33.1
91
0.791541
6565f0e47d83867b2b0d8e12b2372c429ab03554
412
ex
Elixir
apps/fc_tesla/lib/fc_tesla.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/fc_tesla/lib/fc_tesla.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/fc_tesla/lib/fc_tesla.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FcTesla do @moduledoc """ Documentation for `FcTesla`. """ def influx_post(db, line) do FcTesla.InfluxV1.influx_post(db, line) end def fc_get(url, opt \\ []) do case FcTesla.Base.get(url, opt) do {:ok, resp} -> resp alt -> alt end end def fc_success?(%Tesla.Env{statu...
16.48
46
0.616505
6566086142f6565a582fb904c739f9b8f774946b
145
ex
Elixir
lib/day_solution.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/day_solution.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/day_solution.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule DaySolution do @callback solve_part1() :: integer() | :not_implemented @callback solve_part2() :: integer() | :not_implemented end
29
57
0.737931
656669cc4af0970d46f3b19acac9d768651d04f6
1,595
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_protobuf_empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_protobuf_empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_protobuf_empty.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.97619
345
0.768025
6566910e168d470d866bb0e9da7dc19ca8623fd8
2,057
exs
Elixir
config/prod.exs
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
null
null
null
config/prod.exs
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
1
2022-02-10T19:50:54.000Z
2022-02-10T19:50:54.000Z
config/prod.exs
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
null
null
null
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, # ...
36.732143
70
0.724842
6566b89c4d10af854f398dbdc4e2b6d257a9eed2
780
ex
Elixir
lib/amqp/channel.ex
michaelklishin/elixir-amqp
249c2b05069957e76c5c72cc6b42daaadf1ecee9
[ "MIT" ]
null
null
null
lib/amqp/channel.ex
michaelklishin/elixir-amqp
249c2b05069957e76c5c72cc6b42daaadf1ecee9
[ "MIT" ]
null
null
null
lib/amqp/channel.ex
michaelklishin/elixir-amqp
249c2b05069957e76c5c72cc6b42daaadf1ecee9
[ "MIT" ]
1
2020-04-27T18:06:52.000Z
2020-04-27T18:06:52.000Z
defmodule AMQP.Channel do @moduledoc """ Functions to operate on Channels. """ alias AMQP.{Connection, Channel} defstruct [:conn, :pid] @type t :: %Channel{conn: Connection.t, pid: pid} @doc """ Opens a new Channel in a previously opened Connection. """ @spec open(Connection.t) :: {:ok, Channel.t...
23.636364
67
0.603846
6566d5150c445c55b6f6c7c07e0d09263f0d64a9
1,430
exs
Elixir
config/dev.exs
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
1
2020-11-11T19:57:31.000Z
2020-11-11T19:57:31.000Z
config/dev.exs
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
null
null
null
config/dev.exs
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "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 :payroll, PayrollWeb.Endpoint, http: [port: 40...
31.777778
170
0.711888
6566f1bc21db5f53756b94b3056033d0a299bd95
1,134
exs
Elixir
priv/repo/migrations/20210812234934_hotspot_nullable_fields.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20210812234934_hotspot_nullable_fields.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20210812234934_hotspot_nullable_fields.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.HotspotNullableFields do use Ecto.Migration def up do Ecto.Adapters.SQL.query!( Console.Repo, """ DELETE FROM hotspots WHERE height IS NULL OR location IS NULL OR lat IS NULL OR lng IS NULL OR short_state IS NULL ...
28.35
58
0.617284
6566f5fb867ceefb99e34a6b3f6d9935a1c34788
11,363
exs
Elixir
lib/elixir/test/elixir/kernel/warning_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/test/elixir/kernel/warning_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/warning_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.WarningTest do use ExUnit.Case import ExUnit.CaptureIO defp capture_err(fun) do capture_io(:stderr, fun) end test :unused_variable do assert capture_err(fn -> Code.eval_string """ defmodule Sample do def hello(arg)...
22.955556
129
0.580657
6567102903641e7fa7dc8cd837309ee769985b10
728
ex
Elixir
lib/erflow/model/tasks_tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/tasks_tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/tasks_tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
defmodule Erflow.Model.TasksTasks do use Ecto.Schema import Ecto.Changeset @primary_key false schema "tasks_tasks" do belongs_to :parent, Erflow.Model.Task, references: :task_id, type: :binary_id, foreign_key: :parent_id, primary_key: true belongs_to :child, Erflow.Model.Task, references: :task_id, ty...
29.12
125
0.737637
656725a60342685a793ade7ae82e3e20722d065b
1,328
ex
Elixir
lib/k8s_probe/endpoint.ex
joeapearson/elixir-k8s-probe
fcd264f436e7dca3277ee51a023bd4ff5d81ff68
[ "MIT" ]
2
2020-09-26T08:39:04.000Z
2020-09-28T18:33:52.000Z
lib/k8s_probe/endpoint.ex
joeapearson/elixir-k8s-probe
fcd264f436e7dca3277ee51a023bd4ff5d81ff68
[ "MIT" ]
1
2020-10-13T18:18:12.000Z
2020-10-13T18:18:12.000Z
lib/k8s_probe/endpoint.ex
joeapearson/elixir-k8s-probe
fcd264f436e7dca3277ee51a023bd4ff5d81ff68
[ "MIT" ]
1
2020-12-04T23:09:22.000Z
2020-12-04T23:09:22.000Z
defmodule K8sProbe.Endpoint do @moduledoc """ A plug responsible for handling kubernetes liveness and readiness check probe requests. """ use Plug.Router # :match plug matches routes and forwards them to :dispatch plug below plug(:match) # :dispatch plug attaches builder_opts() which allows us to config...
26.56
98
0.720633
65672cdfa70aeb21d9ba39fbcb08fee3d80f35d8
1,507
ex
Elixir
apps/snitch_api/lib/snitch_api_web/views/address_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_api/lib/snitch_api_web/views/address_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_api/lib/snitch_api_web/views/address_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule SnitchApiWeb.AddressView do use SnitchApiWeb, :view use JaSerializer.PhoenixView alias SnitchApiWeb.AddressView alias Snitch.Data.Model.{Country, State} location("/addresses/:id") attributes([ :first_name, :last_name, :address_line_1, :address_line_2, :city, :phone, ...
19.075949
53
0.668879
65672d4e6b5b7babec5ebd925d1af1e8b8813c09
1,426
ex
Elixir
lib/confex/sources/map.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
2
2016-05-14T04:20:45.000Z
2017-05-15T14:50:11.000Z
lib/confex/sources/map.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
lib/confex/sources/map.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
defmodule Confex.Sources.Map do @moduledoc """ Defines a source backed by a static map. The Map source is useful for tests or other situations where a static, in-memory config source is desirable. The data source can be initialized with a map: iex> Confex.Sources.Map.new(%{"key" => "value"}) %C...
27.423077
79
0.659187
65673d76d29a8a2ac28094b9a55229566adc3c4a
572
exs
Elixir
mix.exs
alanmynah/elixerv
8950c8b91ba021cd0c5b5c07d5b043eecbed510e
[ "MIT" ]
null
null
null
mix.exs
alanmynah/elixerv
8950c8b91ba021cd0c5b5c07d5b043eecbed510e
[ "MIT" ]
null
null
null
mix.exs
alanmynah/elixerv
8950c8b91ba021cd0c5b5c07d5b043eecbed510e
[ "MIT" ]
null
null
null
defmodule Elixerv.MixProject do use Mix.Project def project do [ app: :elixerv, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
19.724138
87
0.576923
65674904057ab4fb3028f809adced8b4c8a5bf7b
13,433
exs
Elixir
test/elixir/test/users_db_security_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
null
null
null
test/elixir/test/users_db_security_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
1
2021-07-28T02:13:39.000Z
2021-07-28T02:13:39.000Z
test/elixir/test/users_db_security_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
null
null
null
defmodule UsersDbSecurityTest do use CouchTestCase @moduletag :authentication @moduletag kind: :single_node @users_db "_users" @login_user %{ jerry: "apple", tom: "mp3", spike: "foobar", speedy: "test", silvestre: "anchovy" } setup_all do # Create db if not exists Couch.put...
25.783109
89
0.60664
65678b7f8cb381e7cd6700150218b396410c85bd
1,472
ex
Elixir
learn/LittleBook/blitzy/lib/cli.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/LittleBook/blitzy/lib/cli.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/LittleBook/blitzy/lib/cli.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
# ./blitzy -n [requests] [url] use Mix.Config defmodule Blitzy.CLI do require Logger def main(args) do Application.get_env(:blitzy, :master_node) |> Node.start Application.get_env(:blitzy, :slave_nodes) |> Enum.each(&Node.connect(&1)) #:timer.sleep(100000); [node() | Node.list()] |...
21.028571
91
0.598505
65681543c22702a585f9d59b3262fcea69824b99
25,225
ex
Elixir
lib/iex/lib/iex.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
defmodule IEx do @moduledoc ~S""" Elixir's interactive shell. Some of the functionalities described here will not be available depending on your terminal. In particular, if you get a message saying that the smart terminal could not be run, some of the features described here won't work. ## Helpers IE...
31.769521
105
0.683132
65681e9c0185758f077260801d0950223da55d3c
23,564
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_target_http_proxies.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/api/region_target_http_proxies.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/api/region_target_http_proxies.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...
52.248337
1,450
0.636395
65681ff66b741a0fc33d028d478458953e5f287c
5,386
exs
Elixir
test/credo/config_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
test/credo/config_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
test/credo/config_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.ConfigTest do use ExUnit.Case alias Credo.Config def assert_sorted_equality(%Config{files: files1, checks: checks1}, %Config{files: files2, checks: checks2}) do assert files1 == files2 assert_sorted_equality checks1, checks2 end def assert_sorted_equalit...
35.202614
103
0.475121
65684d1c17dde9415a516372af32f22ecef75774
6,089
ex
Elixir
lib/codes/codes_c34.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c34.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c34.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_C34 do alias IcdCode.ICDCode def _C3400 do %ICDCode{full_code: "C3400", category_code: "C34", short_code: "00", full_name: "Malignant neoplasm of unspecified main bronchus", short_name: "Malignant neoplasm of unspecified main bronchus", ...
40.324503
99
0.649532
65686e358be309fca4b12384000d9ad368efab1c
568
ex
Elixir
lib/runlet/cmd/select.ex
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
4
2020-01-12T19:04:46.000Z
2021-09-20T14:37:22.000Z
lib/runlet/cmd/select.ex
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
null
null
null
lib/runlet/cmd/select.ex
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
1
2021-09-20T14:37:25.000Z
2021-09-20T14:37:25.000Z
defmodule Runlet.Cmd.Select do @moduledoc "Select keys from JSON" @doc """ Select a subset of keys from the JSON key/value pairs. """ @spec exec(Enumerable.t(), String.t()) :: Enumerable.t() def exec(stream, keys) do k = keys |> String.split(" ") |> Enum.map(fn t -> String.to_existing...
23.666667
58
0.575704
656875b75f7c09656eb4b7047b1c4a4deaecdcbc
645
exs
Elixir
2015/day1/mix.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day1/mix.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day1/mix.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Day1.MixProject do use Mix.Project def project do [ app: :day1, version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, deps: deps(), escript: escript() ] end # Run "mix help compile.app" to learn about applications. def application do ...
18.970588
87
0.576744
6568ace5c38a1d5080f68fa6416a43d9cd1290b8
1,249
ex
Elixir
implementations/elixir/ockam/ockam_transport_udp/lib/udp/server.ex
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_transport_udp/lib/udp/server.ex
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_transport_udp/lib/udp/server.ex
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Transport.UDP.Server do @moduledoc false use GenServer require Logger @default_ip {127, 0, 0, 1} @default_port 5000 # Starts the transport process linked to the current process @doc false def start_link(options) do GenServer.start_link(__MODULE__, options) end @doc false @...
24.490196
86
0.661329