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
da310304242b55672909f9012047a04548f759ba
1,811
exs
Elixir
clients/people/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/people/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/people/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.029851
97
0.652126
da312e4ba7193a498fe40d85562a7d38a4398344
4,613
ex
Elixir
apps/ewallet_api/lib/ewallet_api/v1/controllers/transaction_controller.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_api/lib/ewallet_api/v1/controllers/transaction_controller.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/v1/controllers/transaction_controller.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.V1.TransactionController do use EWalletAPI, :controller import EWalletAPI.V1.ErrorHandler alias EWallet.{TransactionGate, WalletFetcher} alias EWallet.Web.{Orchestrator, Paginator, V1.TransactionOverlay} alias EWalletDB.{Repo, Transaction, User} @allowed_fields [ "idempotency_token...
28.475309
95
0.674182
da3142142836e69af45809a9a886483a6bc1dd92
271
ex
Elixir
phx-board-app/lib/board_web/views/layout_view.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/lib/board_web/views/layout_view.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/lib/board_web/views/layout_view.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
defmodule BoardWeb.LayoutView do use BoardWeb, :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
33.875
72
0.771218
da315533d924c36ac04ae95d2b2adcbf23e67b5f
1,655
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/authorization_logging_options.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/authorization_logging_options.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/authorization_logging_options.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.77551
97
0.757704
da316551ec613e0c87af7c03b985f95fcd0c8018
754
exs
Elixir
test/sshkit/ssh_functional_test.exs
carterbryden/sshkit.ex
871a8d29393e33406f541cf72d94eee9c22b5993
[ "MIT" ]
112
2017-01-26T14:03:49.000Z
2022-02-23T18:36:23.000Z
test/sshkit/ssh_functional_test.exs
carterbryden/sshkit.ex
871a8d29393e33406f541cf72d94eee9c22b5993
[ "MIT" ]
129
2017-01-26T14:04:31.000Z
2021-12-09T13:25:50.000Z
test/sshkit/ssh_functional_test.exs
carterbryden/sshkit.ex
871a8d29393e33406f541cf72d94eee9c22b5993
[ "MIT" ]
15
2017-03-09T17:11:33.000Z
2021-11-25T10:47:03.000Z
defmodule SSHKit.SSHFunctionalTest do use SSHKit.FunctionalCase, async: true alias SSHKit.SSH @bootconf [user: "me", password: "pass"] @tag boot: [@bootconf] test "opens a connection with username and password, runs a command", %{hosts: [host]} do {:ok, conn} = SSH.connect(host.name, host.options) ...
32.782609
91
0.640584
da317a47e985510571860cf46e60a3d3fb597699
612
exs
Elixir
test/workers/import_items_test.exs
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
27
2016-09-02T19:26:16.000Z
2017-11-30T02:27:16.000Z
test/workers/import_items_test.exs
katzenbar/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
1
2016-10-23T18:24:59.000Z
2016-10-23T18:24:59.000Z
test/workers/import_items_test.exs
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
4
2016-10-08T02:51:41.000Z
2017-12-05T02:02:40.000Z
defmodule ExConf.Workers.ImportItemsWorkerTest do use ExConf.ModelCase describe "run" do test "imports items from the api" do ExConf.ImportItemsWorker.run items = Repo.all(ExConf.Item) assert items shiv = items |> Enum.at(0) assert shiv assert shiv.id == 3087 asser...
22.666667
49
0.660131
da319ecf360e03809ac8a9bd1988bd895c1204c0
3,315
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/logging.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/logging.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/logging.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
53.467742
967
0.73454
da31a7823673aacca41bfc2b874db012dcbfb2b5
672
ex
Elixir
lib/ex_twilio/resources/member.ex
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/member.ex
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
1
2021-02-19T04:34:52.000Z
2021-03-29T19:14:14.000Z
lib/ex_twilio/resources/member.ex
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
1
2021-11-09T07:56:11.000Z
2021-11-09T07:56:11.000Z
defmodule ExTwilio.Member do @moduledoc """ Represents an Member resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/chat/rest/member-resource) ## Examples Since Members are members of a Queue in the Twilio API, you must pass a Queue SID into each function in this module. ExTwi...
25.846154
86
0.688988
da31abd7eac22628cdb3f9bc9243e08b22c3f481
990
ex
Elixir
lib/ryal/fulfillment/order.ex
ryal/ryal_core
21d4163dc91b8e031be1e7d92e62e024041dcc35
[ "MIT" ]
6
2017-04-22T21:46:15.000Z
2020-01-21T02:22:35.000Z
lib/ryal/fulfillment/order.ex
ryal/ryal_core
21d4163dc91b8e031be1e7d92e62e024041dcc35
[ "MIT" ]
11
2017-04-18T17:22:27.000Z
2017-06-13T15:55:58.000Z
lib/ryal/fulfillment/order.ex
ryal/ryal_core
21d4163dc91b8e031be1e7d92e62e024041dcc35
[ "MIT" ]
4
2017-04-22T21:46:35.000Z
2018-09-17T15:39:04.000Z
defmodule Ryal.Fulfillment.Order do @moduledoc """ Orders are hubs that connect all sorts of information together such as products, payments, and shipments. TODO: Order documentation as this model becomes more fleshed out. """ use Ryal, :schema alias Ryal.{Config, NumberGenerator} alias Ryal.Payments...
23.571429
72
0.706061
da31d4148ea493b7e6ed80d3f07eeb692bf54795
7,243
ex
Elixir
clients/dns/lib/google_api/dns/v1/api/managed_zone_operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/managed_zone_operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/managed_zone_operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.110465
208
0.637857
da31ee8a24147ab7bfe5b8ac0dd6ec0b145b51f0
840
exs
Elixir
config/dev.exs
petlove/ex_aws_configurator
1b937777d05153e567e36e5667e7293f5c6b9248
[ "MIT" ]
null
null
null
config/dev.exs
petlove/ex_aws_configurator
1b937777d05153e567e36e5667e7293f5c6b9248
[ "MIT" ]
1
2022-03-25T18:14:15.000Z
2022-03-25T18:32:36.000Z
config/dev.exs
petlove/ex_aws_configurator
1b937777d05153e567e36e5667e7293f5c6b9248
[ "MIT" ]
null
null
null
use Mix.Config config :ex_aws, access_key_id: "UNSET", secret_access_key: "UNSET", security_token: "UNSET" config :ex_aws, :sns, scheme: "http://", host: "localhost", port: 4566 config :ex_aws, :sqs, scheme: "http://", host: "localhost", port: 4566 config :ex_aws_configurator, account_id: "00000...
20.487805
59
0.597619
da3227a3cdfefe4fc100b360d3cb26bc9c38157c
76
exs
Elixir
config/config.exs
launchdarkly/hello_elixir
8bda9c104904d744e7a9692d1d24f7ea3bc79672
[ "Apache-2.0" ]
5
2020-02-05T13:58:11.000Z
2020-08-12T04:05:06.000Z
config/config.exs
launchdarkly/hello_elixir
8bda9c104904d744e7a9692d1d24f7ea3bc79672
[ "Apache-2.0" ]
null
null
null
config/config.exs
launchdarkly/hello_elixir
8bda9c104904d744e7a9692d1d24f7ea3bc79672
[ "Apache-2.0" ]
4
2020-12-28T11:36:06.000Z
2021-06-25T15:35:17.000Z
use Mix.Config config :hello_elixir, sdk_key: System.get_env("LD_SDK_KEY")
19
59
0.789474
da32282b26c96f283d59e115ca18577996b90a03
353
exs
Elixir
test/faker/location_test.exs
dkuku/faker
90cc5537def41a8e0047884239ba4b53aa6d3ebf
[ "MIT" ]
null
null
null
test/faker/location_test.exs
dkuku/faker
90cc5537def41a8e0047884239ba4b53aa6d3ebf
[ "MIT" ]
4
2022-02-28T06:27:01.000Z
2022-03-25T06:27:14.000Z
test/faker/location_test.exs
dkuku/faker
90cc5537def41a8e0047884239ba4b53aa6d3ebf
[ "MIT" ]
null
null
null
defmodule Faker.LocationTest do use ExUnit.Case, async: true doctest Faker.Location test "location/2" do {longitude, latitude} = Faker.Location.location(110_000, {0, 0}) assert is_float(longitude) assert is_float(latitude) assert latitude < 1 assert latitude > -1 assert longitude < 1 ...
22.0625
68
0.694051
da322b8fdcc1383d704f8a66cb2456cb4e875e14
67,976
ex
Elixir
clients/domains/lib/google_api/domains/v1beta1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1beta1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/domains/lib/google_api/domains/v1beta1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.205556
876
0.624809
da323c59ee08c72f50d95eb92da9fc6de794c1c8
614
ex
Elixir
web/models/mastery.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
27
2016-09-02T19:26:16.000Z
2017-11-30T02:27:16.000Z
web/models/mastery.ex
katzenbar/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
1
2016-10-23T18:24:59.000Z
2016-10-23T18:24:59.000Z
web/models/mastery.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
4
2016-10-08T02:51:41.000Z
2017-12-05T02:02:40.000Z
defmodule ExConf.Mastery do use ExConf.Web, :model schema "masteries" do field :name, :string field :ranks, :integer field :sanitized_description, {:array, :string} field :description, {:array, :string} field :mastery_tree, :string timestamps() end @doc """ Builds a changeset based ...
26.695652
99
0.666124
da32607ce952d74eeadb4a8bd0b1259ce3e858d9
1,348
ex
Elixir
lib/timber/events/channel_join_event.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
lib/timber/events/channel_join_event.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
lib/timber/events/channel_join_event.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
defmodule Timber.Events.ChannelJoinEvent do @moduledoc """ The `ChannelJoinEvent` represents a web socket channel topic being joined. The defined structure of this data can be found in the log event JSON schema: https://github.com/timberio/log-event-json-schema """ @type t :: %__MODULE__{ channe...
24.509091
82
0.636499
da32770693355925a42eb832e9fa26c1c79b1036
173
ex
Elixir
lib/hyperbeam.ex
rusterlium/hyperbeam
7676472a8c2781e1f881d8c53bdd759243539241
[ "Apache-2.0" ]
19
2019-12-03T11:39:22.000Z
2022-03-10T09:29:17.000Z
lib/hyperbeam.ex
rusterlium/hyper
7676472a8c2781e1f881d8c53bdd759243539241
[ "Apache-2.0" ]
1
2019-03-02T21:52:10.000Z
2019-03-08T18:24:34.000Z
lib/hyperbeam.ex
rusterlium/hyperbeam
7676472a8c2781e1f881d8c53bdd759243539241
[ "Apache-2.0" ]
3
2021-04-20T17:37:41.000Z
2022-02-10T20:30:03.000Z
defmodule Hyperbeam do alias Hyperbeam.Native def start(opts \\ %{}) do Native.start(opts) end def stop(shutdown_tx) do Native.stop(shutdown_tx) end end
14.416667
28
0.687861
da3294e5247be944c8e284cf1e38434de149d3d7
1,132
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connection_monitor_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connection_monitor_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connection_monitor_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.ConnectionMonitorParameters do @moduledoc """ Parameters that define the operation to create a connec...
32.342857
123
0.7447
da329885d8032c17a9c02bcc468e134eed7ebeb7
266
exs
Elixir
test/kirby_web/views/layout_view_test.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
test/kirby_web/views/layout_view_test.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
test/kirby_web/views/layout_view_test.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
defmodule KirbyWeb.LayoutViewTest do use KirbyWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
29.555556
65
0.763158
da32ac5c2c9e2abe7a75c1568eb627e2ba3b1e34
1,689
ex
Elixir
lib/history/trade_history_jobs.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/trade_history_jobs.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/trade_history_jobs.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.TradeHistoryJobs do require Ecto.Query import Ecto.Query alias History.Repo alias History.Trades.TradeHistoryJob, as: Job @seconds_in_1_hour 60 * 60 def job_changeset_today(params) do now = DateTime.utc_now() today = now |> DateTime.to_date() yesterday = today |> Timex.shift(d...
21.935065
82
0.619893
da32ae899a584dbba3c7986b403294d8873fa2a3
16
exs
Elixir
config/prod.exs
radditude/elixir-pdf-generator
6b0127a9aee6d65caf548f60aea1c262f5a0b166
[ "MIT" ]
44
2017-06-23T06:14:54.000Z
2021-11-17T09:58:16.000Z
config/prod.exs
radditude/elixir-pdf-generator
6b0127a9aee6d65caf548f60aea1c262f5a0b166
[ "MIT" ]
51
2018-03-12T05:19:14.000Z
2021-08-03T05:15:19.000Z
config/prod.exs
radditude/elixir-pdf-generator
6b0127a9aee6d65caf548f60aea1c262f5a0b166
[ "MIT" ]
9
2017-02-03T11:29:37.000Z
2020-07-06T15:25:27.000Z
use Mix.Config
5.333333
14
0.75
da32bf9abc212ac45da1e68a452661b9bca7670c
1,266
ex
Elixir
lib/hex_deps_checker/error_handler.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
2
2015-03-25T20:14:47.000Z
2015-04-17T21:59:36.000Z
lib/hex_deps_checker/error_handler.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
null
null
null
lib/hex_deps_checker/error_handler.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
null
null
null
defmodule HexDepsChecker.ErrorHandler do @doc false defmacro __using__(_) do quote location: :keep do @before_compile unquote(__MODULE__) defp handle_errors(conn, assigns) do Plug.Conn.send_resp(conn, conn.status, "Something went wrong") end defoverridable [handle_errors: 2] ...
24.346154
98
0.631122
da32c4e8422440e74a3738fb7816b3ee38593fbd
291
ex
Elixir
lib/drink/and_run.ex
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
lib/drink/and_run.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
lib/drink/and_run.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule EctoTestDSL.Drink.AndRun do defmacro __using__(_) do quote do alias EctoTestDSL.Nouns.History alias EctoTestDSL.Run alias EctoTestDSL.Run.RunningExample alias EctoTestDSL.Run.ChangesetAssertions alias EctoTestDSL.Run.Reporting end end end
24.25
47
0.738832
da32e39c54cf9909e75d333c0f2c4a11744201d8
4,744
ex
Elixir
lib/livebook_web/controllers/session_controller.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook_web/controllers/session_controller.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/controllers/session_controller.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionController do use LivebookWeb, :controller alias Livebook.{Sessions, Session, FileSystem} def show_image(conn, %{"id" => id, "image" => image}) do case Sessions.fetch_session(id) do {:ok, session} -> file = FileSystem.File.resolve(session.images_dir, image) ...
28.407186
86
0.643761
da32f1bbc795d3615e5e908af5b9d517636bb0c2
671
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/github_file.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/github_file.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/github_file.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.GithubFile do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"content", :"_class" ] @type t :: ...
22.366667
91
0.694486
da33108c17b331bbbdb191a4985c6b5bd2de85a2
1,166
ex
Elixir
lib/qb_backend/accounts/user.ex
LittleKidogo/quick_bytes_system
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
1
2018-08-10T02:53:13.000Z
2018-08-10T02:53:13.000Z
lib/qb_backend/accounts/user.ex
LittleKidogo/quick_bytes_backend
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
34
2018-08-07T09:53:18.000Z
2018-10-24T21:12:01.000Z
lib/qb_backend/accounts/user.ex
LittleKidogo/quick_bytes_backend
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
null
null
null
defmodule QbBackend.Accounts.User do @moduledoc """ This Module contains changeset functions used to create and Manipulate user records in the database """ use Ecto.Schema import Ecto.Changeset alias Comeonin.Bcrypt alias QbBackend.Accounts.User @type t :: %__MODULE__{} # set up binary key @pr...
25.911111
94
0.682676
da332e50c8955532f4ad8dcd729468b7420729da
103
exs
Elixir
modules_and_named_functions/adder_1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
modules_and_named_functions/adder_1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
modules_and_named_functions/adder_1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
defmodule Adder do def add([]), do: [] def add([ head | tail ]), do: [ head + 1 | add(tail)] end
14.714286
55
0.533981
da333902256cfd75828b084d7cf1c8291765ab8f
987
ex
Elixir
exercism/bread-and-potions/rpg.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/bread-and-potions/rpg.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/bread-and-potions/rpg.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
defmodule RPG do defmodule Character do defstruct health: 100, mana: 0 end defmodule LoafOfBread do defstruct [] end defmodule ManaPotion do defstruct strength: 10 end defmodule Poison do defstruct [] end defmodule EmptyBottle do defstruct [] end # Add code to define the p...
21.456522
81
0.66768
da334102304eb373b16812c66f4fdacc53dbf277
2,331
ex
Elixir
lib/google_protos/wrappers.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
lib/google_protos/wrappers.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
lib/google_protos/wrappers.pb.ex
redink/google-protos
3dd7c4bb4faec626387d7544de3a0fc59d13754f
[ "MIT" ]
null
null
null
defmodule Google.Protobuf.DoubleValue do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ value: float | :infinity | :negative_infinity | :nan } defstruct [:value] field :value, 1, type: :double def transform_module(), do: nil end defmodule Google.Protobuf.FloatV...
17.266667
62
0.649078
da336b10031b71da1e2fdd463dd1eaf6ac48f834
418
exs
Elixir
book-material/modules/pipe-operator.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
book-material/modules/pipe-operator.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
book-material/modules/pipe-operator.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
"Elixir rocks" |> String.split() # ["Elixir", "rocks"] "Elixir rocks" |> String.upcase() |> String.split() # ["ELIXIR", "ROCKS"] # Line 3 could have be written otherwise as String.split(String.upcase("Elixir Rocks")) in other langunages # It is somewhat the reverse of stacking function calls, but more intuitive, Apply ...
52.25
146
0.736842
da336b7da89ddabb63a99c9b363b6770eeb14626
276
exs
Elixir
config/config.exs
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
config/config.exs
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
config/config.exs
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
import Config config :composable_ecto_queries, ecto_repos: [Repo] config :composable_ecto_queries, Repo, database: "composable_ecto_queries_repo", username: "postgres", password: "postgres", hostname: "localhost", port: 7432 import_config "#{config_env()}.exs"
19.714286
43
0.75
da3379bd4b188e4d07506cedbb14bd98a686ecd6
938
exs
Elixir
test/lib/entice/web/client_test.exs
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
test/lib/entice/web/client_test.exs
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
test/lib/entice/web/client_test.exs
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
defmodule Entice.Web.ClientTest do use ExUnit.Case alias Entice.Logic.Skills alias Entice.Web.Character alias Entice.Web.Client setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Entice.Web.Repo) end test "default accounts" do assert {:ok, _id} = Client.log_in("root@entice.ps", "root") end t...
32.344828
113
0.690832
da338fa28302fe293da65140d615aa0b6d9f7bc1
1,968
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/account.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/mirror/lib/google_api/mirror/v1/model/account.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/mirror/lib/google_api/mirror/v1/model/account.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...
35.142857
95
0.697154
da33913b65e6bebd78816d65a4554394d951a0fe
1,418
exs
Elixir
test/one_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
242
2016-09-09T22:32:00.000Z
2022-02-20T18:50:29.000Z
test/one_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
100
2016-10-18T04:19:09.000Z
2021-11-15T19:14:47.000Z
test/one_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
51
2016-10-31T20:05:52.000Z
2022-01-20T11:45:49.000Z
defmodule One.Test do # use Bolt.Sips.RoutingConnCase # @moduletag :routing # # alias Bolt.Sips.{Success, Error, Response} # # alias Bolt.Sips.Types.{Node, Relationship, UnboundRelationship, Path} # @tag :routing # test "temporary placeholder for focused tests during development/debugging" do # assert...
28.938776
124
0.594499
da339d3a0e719624a960bdb9c40e85e3e433cda8
2,558
exs
Elixir
test/rubber/http_test.exs
evuez/elastix-reloaded
6a14253d13c5163518dd9e4967ccc160eff2e622
[ "MIT" ]
4
2018-02-12T16:35:02.000Z
2020-04-23T21:17:20.000Z
test/rubber/http_test.exs
evuez/rubber
6a14253d13c5163518dd9e4967ccc160eff2e622
[ "MIT" ]
null
null
null
test/rubber/http_test.exs
evuez/rubber
6a14253d13c5163518dd9e4967ccc160eff2e622
[ "MIT" ]
null
null
null
defmodule Rubber.HTTPTest do use ExUnit.Case alias Rubber.HTTP @test_url Rubber.config(:test_url) test "prepare_url/2 should concat url with path" do assert HTTP.prepare_url("http://127.0.0.1:9200/", "/some_path") == "http://127.0.0.1:9200/some_path" end test "prepare_url/2 should concat...
30.819277
86
0.663409
da33a4762ba41888a82f53e2b405001a5caf72d7
11,531
ex
Elixir
lib/nebulex/adapters/local/generation.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
lib/nebulex/adapters/local/generation.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
lib/nebulex/adapters/local/generation.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
defmodule Nebulex.Adapters.Local.Generation do @moduledoc """ Generational garbage collection process. The generational garbage collector manage the heap as several sub-heaps, known as generations, based on age of the objects. An object is allocated in the youngest generation, sometimes called the nursery, a...
27.454762
98
0.656231
da33b5e68bb01398fdb5c4ee879e6ed7fea361f8
327
exs
Elixir
test/messenger_bot/models/page_test.exs
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
16
2018-04-19T23:50:47.000Z
2020-07-18T08:28:07.000Z
test/messenger_bot/models/page_test.exs
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
62
2018-11-05T08:21:23.000Z
2021-08-02T13:15:16.000Z
test/messenger_bot/models/page_test.exs
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
4
2019-04-25T13:30:45.000Z
2020-07-12T15:39:23.000Z
defmodule MessengerBot.Model.PageTest do use ExUnit.Case, async: true alias MessengerBot.Model.Page doctest Page test "keys" do expected_keys = [:__struct__, :access_token, :access_token_expires_at, :app_id, :id, :metadata, :name] assert Map.keys(%Page{id: nil, access_token: nil}) == expected_keys e...
27.25
106
0.730887
da33bc9bcacb3df6ac2266c46b60a4df984fc527
33,241
exs
Elixir
test/lib/code_corps/github/sync/sync_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/github/sync/sync_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/github/sync/sync_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.GitHub.SyncTest do @moduledoc false use CodeCorps.DbAccessCase import CodeCorps.GitHub.TestHelpers import Ecto.Query, only: [where: 3] alias CodeCorps.{ Comment, GitHub.Adapters, GitHub.Sync, GithubAppInstallation, GithubComment, GithubIssue, GithubPullReques...
33.678825
125
0.641377
da33f156c2fdf6ff069e17502a869d369d0d960a
172
exs
Elixir
backend/apps/students_crm_v2/priv/repo/migrations/20180331034321_add_birthday_to_user.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2/priv/repo/migrations/20180331034321_add_birthday_to_user.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2/priv/repo/migrations/20180331034321_add_birthday_to_user.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2.Repo.Migrations.AddBirthdayToUser do use Ecto.Migration def change do alter table(:users) do add(:birthday, :date) end end end
17.2
60
0.715116
da342f1e40caa730f992e0f0f49e732d8d35f7a0
266
exs
Elixir
test/presence/map_test.exs
mchadwick/presence
af48961b9b8dc1a16eeb11c488ae0538abb17f99
[ "MIT" ]
null
null
null
test/presence/map_test.exs
mchadwick/presence
af48961b9b8dc1a16eeb11c488ae0538abb17f99
[ "MIT" ]
null
null
null
test/presence/map_test.exs
mchadwick/presence
af48961b9b8dc1a16eeb11c488ae0538abb17f99
[ "MIT" ]
null
null
null
defmodule MapPresenceTest do use Presence.TestCase, only: [presence: 1] test "presence for empty map" do map = %{} assert presence(map) == nil end test "presence for non-empty map" do map = %{count: 1} assert presence(map) == map end end
19
44
0.646617
da3439fb3aa75b03238b88d1c9332d2aa3740da1
17,691
ex
Elixir
lib/commanded/event/handler.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
lib/commanded/event/handler.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
lib/commanded/event/handler.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
defmodule Commanded.Event.Handler do @moduledoc """ Defines the behaviour an event handler must implement and provides a convenience macro that implements the behaviour, allowing you to handle only the events you are interested in processing. You should start your event handlers using a [Supervisor](supervis...
30.241026
98
0.665423
da34613ec1ff17958dc2a856f38e2dcc19f66493
723
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_42_aisles.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_42_aisles.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_42_aisles.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20042Aisles do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"aisle", :"item...
24.1
99
0.710927
da347d55fcc9dbba7f920ed9d671fb59f4d0a7a6
5,671
ex
Elixir
lib/ueberauth/strategy/disqus/oauth.ex
cgorshing/ueberauth_disqus
6530fd0ce9b575ee3350544bf172aa0be5316dff
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/disqus/oauth.ex
cgorshing/ueberauth_disqus
6530fd0ce9b575ee3350544bf172aa0be5316dff
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/disqus/oauth.ex
cgorshing/ueberauth_disqus
6530fd0ce9b575ee3350544bf172aa0be5316dff
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Disqus.OAuth do use Tesla plug Tesla.Middleware.DebugLogger use OAuth2.Strategy require Logger #"site" is used by the OAuth2 Client for url resolution #Stack Exchange also uses a site param, and uses of this library #might be more knowledgable about Stack Exchange's usage r...
28.786802
127
0.646094
da3482ddb4b4a36747c7a7e9ef043651403445cf
5,957
exs
Elixir
lib/elixir/test/elixir/kernel/cli_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-12-18T19:20:37.000Z
2020-12-18T19:20:37.000Z
lib/elixir/test/elixir/kernel/cli_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/elixir/test/elixir/kernel/cli_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("../test_helper.exs", __DIR__) import PathHelpers defmodule Kernel.CLITest do use ExUnit.Case, async: true import ExUnit.CaptureIO defp run(argv) do {config, argv} = Kernel.CLI.parse_argv(argv) assert Kernel.CLI.process_commands(config) == [] argv end test "argv handling" do...
34.04
100
0.646634
da3490154c4560acd925be021480b7b0cbc7b1c6
484
ex
Elixir
apps/tai/lib/tai/new_orders/queries/search_order_transitions_query.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/new_orders/queries/search_order_transitions_query.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/new_orders/queries/search_order_transitions_query.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.NewOrders.Queries.SearchOrderTransitionsQuery do require Ecto.Query import Ecto.Query alias Tai.NewOrders.{Order, OrderTransition} @type order_client_id :: Order.client_id @type search_term :: String.t() | nil @spec call(order_client_id, search_term) :: Ecto.Query.t() def call(order_client...
26.888889
62
0.721074
da34c94e93a55f48cb68c8b2a5a08a443cf7d657
594
ex
Elixir
lib/mock_server.ex
cbrewster/stripy
ca255d5064a7199c49a0319b482f0f604ccffa3d
[ "MIT" ]
null
null
null
lib/mock_server.ex
cbrewster/stripy
ca255d5064a7199c49a0319b482f0f604ccffa3d
[ "MIT" ]
null
null
null
lib/mock_server.ex
cbrewster/stripy
ca255d5064a7199c49a0319b482f0f604ccffa3d
[ "MIT" ]
null
null
null
defmodule Stripy.MockServer do @moduledoc """ Mock server that would always return an empty, successful reply. Implement behaviour to provide your own responses; make sure the reply is an ok/error tuple, something resembling a real HTTPoison result. Body of the response should also be JSON encoded. """ ...
31.263158
82
0.707071
da35a01ffff94b3ae989ee86f1fc316ba9b48572
372
ex
Elixir
web/views/error_view.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/views/error_view.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/views/error_view.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
defmodule Yonder.ErrorView do use Yonder.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(_template, a...
20.666667
47
0.696237
da35ae7afa2159bac9440f91a120bc7f2b40321e
6,570
ex
Elixir
lib/ex_ical/recurrence.ex
clekstro/ex_ical
9f26d92291daac7a21a6749db365021d894d79fc
[ "MIT" ]
null
null
null
lib/ex_ical/recurrence.ex
clekstro/ex_ical
9f26d92291daac7a21a6749db365021d894d79fc
[ "MIT" ]
null
null
null
lib/ex_ical/recurrence.ex
clekstro/ex_ical
9f26d92291daac7a21a6749db365021d894d79fc
[ "MIT" ]
1
2019-09-18T09:52:49.000Z
2019-09-18T09:52:49.000Z
defmodule ExIcal.Recurrence do @moduledoc """ Adds support for recurring events. Events can recur by frequency, count, interval, and/or start/end date. To see the specific rules and examples, see `add_recurring_events/2` below. """ alias ExIcal.Event @doc """ Add recurring events to events list ##...
42.387097
90
0.632877
da35c8d09690d903b811e725f6b96a995c54b3b3
5,119
exs
Elixir
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/in_flight_exit_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/in_flight_exit_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/in_flight_exit_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
39.992188
113
0.589764
da35e0c3a2803d20cbb22ca76eb2b33273112b62
2,125
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/first_and_third_party_audience_targeting_setting.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/first_and_third_party_audience_targeting_setting.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/first_and_third_party_audience_targeting_setting.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...
38.636364
330
0.756706
da3633f6ed5bba8fe0e11cd220f571f26406499f
1,343
ex
Elixir
lib/code_corps_web/controllers/stripe_platform_customer_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps_web/controllers/stripe_platform_customer_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps_web/controllers/stripe_platform_customer_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.StripePlatformCustomerController do @moduledoc false use CodeCorpsWeb, :controller alias CodeCorps.StripeService.StripePlatformCustomerService alias CodeCorps.{StripePlatformCustomer, User} action_fallback CodeCorpsWeb.FallbackController plug CodeCorpsWeb.Plug.DataToAttributes plu...
44.766667
119
0.723753
da36366caa9cc834bbcae5a60638718772034086
692
ex
Elixir
services/fc_inventory/lib/fc_inventory/events/stock_reservation_failed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
services/fc_inventory/lib/fc_inventory/events/stock_reservation_failed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
services/fc_inventory/lib/fc_inventory/events/stock_reservation_failed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCInventory.StockReservationFailed do use FCBase, :event @version 1 typedstruct do field :__version__, integer(), default: @version field :request_id, String.t() field :requester_id, String.t() field :requester_type, String.t() field :requester_role, String.t() field :client_i...
24.714286
87
0.706647
da363b2eccfc400957b3c72fac8c368b67157d53
1,101
ex
Elixir
lib/krasukha/helpers/event_gen.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
6
2017-01-28T01:11:58.000Z
2021-12-19T22:45:49.000Z
lib/krasukha/helpers/event_gen.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
lib/krasukha/helpers/event_gen.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
defmodule Krasukha.Helpers.EventGen do @moduledoc false @doc false defmacro __using__(_) do quote location: :keep do @doc false def create_event_manager(state) do Map.merge(state, __create_gen_event()) end @doc false def __create_gen_event() do {:ok, event_mana...
27.525
100
0.643052
da36449de5af8b3265e0f27164cf3db8c877772b
9,795
ex
Elixir
lib/types/channel.ex
mirtyl-wacdec/urbit_ex
82db4e96c2f3dc2a28e65c442350d7f8b228901f
[ "MIT" ]
7
2021-05-22T12:05:41.000Z
2021-08-11T20:05:59.000Z
lib/types/channel.ex
mirtyl-wacdec/urbit_ex
82db4e96c2f3dc2a28e65c442350d7f8b228901f
[ "MIT" ]
null
null
null
lib/types/channel.ex
mirtyl-wacdec/urbit_ex
82db4e96c2f3dc2a28e65c442350d7f8b228901f
[ "MIT" ]
2
2021-05-29T10:10:52.000Z
2021-08-11T20:06:07.000Z
defmodule UrbitEx.Channel do @moduledoc """ GenServer module to open Eyre channels. Defines an UrbitEx.Channel struct to keep track of the channel state. Elixir processes can subscribe to channels to consume the events their propagate, either raw Eyre events or Eyre events parsed by UrbitEx.Reducer """...
30.419255
149
0.660133
da366e6e7fdeebf9b50cde279a0917fad2915bb4
34,418
ex
Elixir
lib/redix.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
lib/redix.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
lib/redix.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
defmodule Redix do @moduledoc """ This module provides the main API to interface with Redis. ## Overview `start_link/2` starts a process that connects to Redis. Each Elixir process started with this function maps to a client TCP connection to the specified Redis server. The architecture is very simple:...
40.02093
118
0.681068
da3673ae83082b1eb1a8bfdaf3198e017cc96dde
460
ex
Elixir
lib/brando_admin/live/pages/page_fragment_update_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando_admin/live/pages/page_fragment_update_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando_admin/live/pages/page_fragment_update_live.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule BrandoAdmin.Pages.PageFragmentUpdateLive do use BrandoAdmin.LiveView.Form, schema: Brando.Pages.Fragment alias BrandoAdmin.Components.Content alias BrandoAdmin.Components.Form import Brando.Gettext def render(assigns) do ~F""" <Content.Header title={gettext("Edit fragment")} /> <...
21.904762
62
0.684783
da36773337b3edb22c2319521d5c2277553942a3
226
exs
Elixir
config/config.exs
mckethanor/nostrum
13a3927c872c1540266e9f1ba4bcad4182baa9bf
[ "MIT" ]
null
null
null
config/config.exs
mckethanor/nostrum
13a3927c872c1540266e9f1ba4bcad4182baa9bf
[ "MIT" ]
null
null
null
config/config.exs
mckethanor/nostrum
13a3927c872c1540266e9f1ba4bcad4182baa9bf
[ "MIT" ]
null
null
null
import Config config :nostrum, token: "", ffmpeg: "ffmpeg", youtubedl: "youtube-dl" config :logger, :console, metadata: [:shard, :guild, :channel] if File.exists?("config/secret.exs"), do: import_config("secret.exs")
20.545455
69
0.685841
da367c923ea3bcf61f4499301e9eede61b95f489
4,663
ex
Elixir
lib/cadet_web/views/assessments_helpers.ex
flxffy/cadet
ff6778c2c57fcc97d3dad9ce41ea9d51010932f8
[ "MIT" ]
null
null
null
lib/cadet_web/views/assessments_helpers.ex
flxffy/cadet
ff6778c2c57fcc97d3dad9ce41ea9d51010932f8
[ "MIT" ]
null
null
null
lib/cadet_web/views/assessments_helpers.ex
flxffy/cadet
ff6778c2c57fcc97d3dad9ce41ea9d51010932f8
[ "MIT" ]
null
null
null
defmodule CadetWeb.AssessmentsHelpers do @moduledoc """ Helper functions for Assessments and Grading """ import CadetWeb.ViewHelpers @graded_assessment_types ~w(mission sidequest contest)a defp build_library(%{library: library}) do transform_map_for_view(library, %{ chapter: :chapter, glo...
27.922156
97
0.644435
da367eefe89121fa61ac90becc2bf2994fcb2d1f
1,505
ex
Elixir
lib/carguero_task_bunny/consumer.ex
carguero/carguero_task_bunny
e6f4346904433a5ffe3b3b256a97f348839ab514
[ "MIT" ]
2
2020-12-03T18:09:00.000Z
2021-01-17T22:44:50.000Z
lib/carguero_task_bunny/consumer.ex
carguero/carguero_task_bunny
e6f4346904433a5ffe3b3b256a97f348839ab514
[ "MIT" ]
null
null
null
lib/carguero_task_bunny/consumer.ex
carguero/carguero_task_bunny
e6f4346904433a5ffe3b3b256a97f348839ab514
[ "MIT" ]
null
null
null
defmodule CargueroTaskBunny.Consumer do # Handles consumer concerns. # # This module is private to CargueroTaskBunny and should not be accessed directly. # @moduledoc false require Logger @doc """ Opens a channel and start consuming messages for the queue. """ @spec consume(AMQP.Connection.t(), Str...
29.509804
84
0.646512
da36ba984240b2ca9235f7fee88fe1c095ee5ba3
3,345
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1/model/expr.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1/model/expr.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1/model/expr.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.758242
129
0.707623
da36d37ff7d98e0ff1d0a4633b9b65a4f00aec2f
1,263
ex
Elixir
web/channels/test_channel.ex
chasm/trelm
359d14f9b84193afbb0a9039792e9c49b2e55327
[ "MIT" ]
null
null
null
web/channels/test_channel.ex
chasm/trelm
359d14f9b84193afbb0a9039792e9c49b2e55327
[ "MIT" ]
1
2018-12-26T09:03:18.000Z
2018-12-26T09:03:18.000Z
web/channels/test_channel.ex
chasm/trelm
359d14f9b84193afbb0a9039792e9c49b2e55327
[ "MIT" ]
null
null
null
defmodule Trelm.TestChannel do use Trelm.Web, :channel def join("tests:runner", payload, socket) do if authorized?(payload) do send self(), :after_join {:ok, socket} else {:error, %{reason: "unauthorized"}} end end def handle_info(:after_join, socket) do tests = (from t in Tr...
28.066667
69
0.683294
da36ed5972a8befb28ac199a955da0eb241d916f
8,078
ex
Elixir
lib/blue_jet/app/file_storage/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet/app/file_storage/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet/app/file_storage/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.FileStorage.Policy do use BlueJet, :policy # TODO: Fix this def authorize(%{vas: vas, _role_: nil} = req, endpoint) do identity_service = Atom.to_string(__MODULE__) |> String.split(".") |> Enum.drop(-1) |> Enum.join(".") |> Module.concat(IdentityService) v...
31.069231
112
0.647685
da36f4f8ac9459686ebf59b4c1b7a8dfa3f37b88
1,420
ex
Elixir
demo/lib/queue.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
demo/lib/queue.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
demo/lib/queue.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
defmodule Demo.Queue do use Parent.GenServer def start_link() do Parent.GenServer.start_link(__MODULE__, nil, name: __MODULE__) end def add_jobs(count) do GenServer.call(__MODULE__, {:add_jobs, count}) end @impl GenServer def init(_) do {:ok, %{pending: :queue.new()}} end @impl GenServ...
22.1875
69
0.630986
da3715aba0af03564c5a8c9ee2936033b5146fc0
211
exs
Elixir
5.anonymous-functions/5-exercise.exs
malabarMCB/elixir-learning
08e4f940f8a1392ba4fceb3e84cf9e5898d61c5a
[ "MIT" ]
null
null
null
5.anonymous-functions/5-exercise.exs
malabarMCB/elixir-learning
08e4f940f8a1392ba4fceb3e84cf9e5898d61c5a
[ "MIT" ]
null
null
null
5.anonymous-functions/5-exercise.exs
malabarMCB/elixir-learning
08e4f940f8a1392ba4fceb3e84cf9e5898d61c5a
[ "MIT" ]
null
null
null
# Use the & notation to rewrite the following: # – Enum.map [1,2,3,4], fn x -> x + 2 end # – Enum.each [1,2,3,4], fn x -> IO.inspect x end Enum.map [1,2,3,4], &(&1 + 2) Enum.each [1,2,3,4], &IO.inspect/1
30.142857
50
0.554502
da372a82c57514c111fc5b09441a0ae9f438e38d
565
ex
Elixir
apps/model/lib/model/facility/property.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/model/lib/model/facility/property.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/model/lib/model/facility/property.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule Model.Facility.Property do @moduledoc """ A property of a facility. The names are not unique, even within a facility_id. """ use Recordable, [ :facility_id, :name, :value, :updated_at ] @typedoc """ * `:name` - Name of the property * `:facility_id` - The `Model.Facility.id` ...
22.6
80
0.589381
da3761821f3a0f90cf91526e2d4b5a0a57c4ffe8
31,647
ex
Elixir
lib/elixir/lib/kernel/typespec.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/elixir/lib/kernel/typespec.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.Typespec do @moduledoc false ## Deprecated API moved to Code.Typespec @doc false @deprecated "Use Code.Typespec.spec_to_quoted/2 instead" def spec_to_ast(name, spec) do Code.Typespec.spec_to_quoted(name, spec) end @doc false @deprecated "Use Code.Typespec.type_to_quoted/1 instead...
32.828838
99
0.624167
da37619264babb36c390c3c3c035a0b897eedefc
3,249
exs
Elixir
test/http/asterisk_test.exs
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
13
2020-04-17T16:48:00.000Z
2022-03-25T19:16:51.000Z
test/http/asterisk_test.exs
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
1
2020-04-02T12:18:59.000Z
2020-04-02T12:18:59.000Z
test/http/asterisk_test.exs
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
7
2020-04-28T19:45:50.000Z
2022-03-25T21:42:03.000Z
defmodule ARI.HTTP.AsteriskTest do use ExUnit.Case, async: true require Logger alias ARI.HTTP.Asterisk alias ARI.TestServer @username "username1" @password "password2" setup_all do host = "localhost" {:ok, {_server_ref, <<"http://localhost:", port::binary>>}} = TestServer.start() Asterisk...
25.785714
88
0.599877
da377e9499271a96b3a6e1926af9bc385faddf56
29
ex
Elixir
examples/hello_agones/lib/hello_agones.ex
Shikanime/Agonex
2a0cb3dca54f7267ff43835a08cc78fcdd6bb0e0
[ "MIT" ]
null
null
null
examples/hello_agones/lib/hello_agones.ex
Shikanime/Agonex
2a0cb3dca54f7267ff43835a08cc78fcdd6bb0e0
[ "MIT" ]
null
null
null
examples/hello_agones/lib/hello_agones.ex
Shikanime/Agonex
2a0cb3dca54f7267ff43835a08cc78fcdd6bb0e0
[ "MIT" ]
null
null
null
defmodule HelloAgones do end
9.666667
24
0.862069
da379b14be597700badd5d4eebc04fe6147913b8
161
exs
Elixir
app/priv/repo/migrations/20200528004236_unique_email_exp_speaker.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
1
2021-01-20T20:00:50.000Z
2021-01-20T20:00:50.000Z
app/priv/repo/migrations/20200528004236_unique_email_exp_speaker.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
app/priv/repo/migrations/20200528004236_unique_email_exp_speaker.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
defmodule Noodl.Repo.Migrations.UniqueEmailExpSpeaker do use Ecto.Migration def change do create unique_index(:speakers, [:email, :event_id]) end end
20.125
56
0.763975
da37f4a80a1ef7eb31c4938a38e210ff06a6336a
850
exs
Elixir
mix.exs
mendrugory/galena
1044eeb806e4eeb326181e5482a390ffa0d4e1ed
[ "MIT" ]
5
2017-03-27T15:25:36.000Z
2017-11-15T21:15:05.000Z
mix.exs
mendrugory/galena
1044eeb806e4eeb326181e5482a390ffa0d4e1ed
[ "MIT" ]
null
null
null
mix.exs
mendrugory/galena
1044eeb806e4eeb326181e5482a390ffa0d4e1ed
[ "MIT" ]
null
null
null
defmodule Galena.Mixfile do use Mix.Project @version "0.1.2" def project do [app: :galena, version: @version, elixir: "~> 1.5", package: package(), description: "Topic producer-consumer library built on top of GenStage for Elixir", build_embedded: Mix.env == :prod, start_perma...
24.285714
88
0.598824
da37f6361d1217f24125565a6f6ce07662368a56
1,813
ex
Elixir
lib/jsonpatch/operation/replace.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
19
2020-06-01T17:28:31.000Z
2022-03-20T04:41:56.000Z
lib/jsonpatch/operation/replace.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
5
2021-03-29T20:32:58.000Z
2022-01-12T08:19:00.000Z
lib/jsonpatch/operation/replace.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
2
2021-03-29T20:55:32.000Z
2021-08-17T20:38:03.000Z
defmodule Jsonpatch.Operation.Replace do @moduledoc """ The replace module helps replacing values in maps and structs by paths. ## Examples iex> add = %Jsonpatch.Operation.Replace{path: "/a/b", value: 1} iex> target = %{"a" => %{"b" => 2}} iex> Jsonpatch.Operation.apply_op(add, target) %...
32.375
95
0.654164
da3800b32606d41488631d710b069a1ebf120662
3,416
exs
Elixir
test/customer_statement_message_test.exs
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
8
2015-05-17T20:19:30.000Z
2021-04-07T09:48:10.000Z
test/customer_statement_message_test.exs
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
3
2015-05-04T07:44:42.000Z
2016-10-14T22:59:42.000Z
test/customer_statement_message_test.exs
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
6
2015-05-04T01:35:24.000Z
2020-08-29T06:28:32.000Z
defmodule CustomerStatementMessageTest do use ExUnit.Case use MT940 use Timex setup do messages = [File.cwd!, "test", "fixtures", "sepa_snippet.sta"] |> Path.join |> parse_file! {:ok, [messages: messages, message: messages |> Enum.at(0), message_2: messages |> Enum.at(-1)]} end test "it ...
27.772358
111
0.676815
da38497e42d3ebe895920d6ab8c304f290eacafc
4,424
ex
Elixir
lib/ez_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
7
2016-11-12T07:53:34.000Z
2021-05-19T01:34:27.000Z
lib/ez_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
1
2017-04-06T15:16:22.000Z
2017-04-06T15:16:22.000Z
lib/ez_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
2
2017-04-19T15:03:58.000Z
2018-07-04T19:37:10.000Z
defmodule EZCalendar do @moduledoc """ Functions for building calendars. To use the Repo shortcut functions, add `EZCalendar` to your repo. defmodule MyApp.Repo do use Ecto.Repo, otp_app: :my_app use EZCalendar end The following functions and their bang! variants then become av...
37.811966
105
0.686709
da3856965dd1afc78fa9946202f72ee18bb1c119
1,407
ex
Elixir
clients/resource_views/lib/google_api/resource_views/v1beta2/model/label.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/resource_views/lib/google_api/resource_views/v1beta2/model/label.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/resource_views/lib/google_api/resource_views/v1beta2/model/label.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
29.3125
82
0.742004
da38c82fca899278cb7e61065c287e4d53e90609
5,149
ex
Elixir
lib/stripe/payment_methods/payment_method.ex
FreedomBen/stripity_stripe
39f1633702bef8f2c27a8cef4b5cb7ab2b0c1471
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/payment_methods/payment_method.ex
FreedomBen/stripity_stripe
39f1633702bef8f2c27a8cef4b5cb7ab2b0c1471
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/payment_methods/payment_method.ex
FreedomBen/stripity_stripe
39f1633702bef8f2c27a8cef4b5cb7ab2b0c1471
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.PaymentMethod do @moduledoc """ Work with Stripe payment method objects. Stripe API reference: https://stripe.com/docs/api/payment_methods """ use Stripe.Entity import Stripe.Request @type au_becs_debit :: %{ bsb_number: String.t(), fingerprint: String.t(), ...
28.136612
98
0.54263
da38dd3e0a32dd6f35f2a1ce3dfeb215e375f0d0
2,631
exs
Elixir
test/lib/deserialization/xs2a/payment_inititation_request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
3
2018-11-17T18:12:15.000Z
2020-12-09T06:26:59.000Z
test/lib/deserialization/xs2a/payment_inititation_request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
2
2018-12-12T14:14:56.000Z
2019-07-01T14:13:57.000Z
test/lib/deserialization/xs2a/payment_inititation_request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
null
null
null
defmodule Ibanity.Xs2a.PaymentInitiationRequest.DeserializationTest do use ExUnit.Case import Ibanity.JsonDeserializer alias Ibanity.Xs2a.PaymentInitiationRequest test "deserializes a payment initiation request" do data = %{ "type" => "paymentInitiationRequest", "relationships" => %{ "f...
36.541667
99
0.6355
da38fe8b475efba9e3cb75d2af225ce09633aa9b
371
ex
Elixir
lib/cybersource-sdk/logger.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
null
null
null
lib/cybersource-sdk/logger.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
null
null
null
lib/cybersource-sdk/logger.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
1
2020-02-24T14:54:00.000Z
2020-02-24T14:54:00.000Z
defmodule CyberSourceSDK.Logger do @moduledoc """ Logger """ require Logger def info(it) do if should_log?() do Logger.info("[CyberSourceSDK] #{it}") end end def error(it) do if should_log?() do Logger.error("[CyberSourceSDK] #{it}") end end defp should_log? do Appli...
16.130435
49
0.633423
da3937173df50ad3bf901b5f2254e113016b5a76
2,375
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.811321
346
0.749895
da39561a7762d4742612fa3bdcc2415fcd5f1a33
2,055
ex
Elixir
apps/site/lib/site/application.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/lib/site/application.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/lib/site/application.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
defmodule Site.Application do @moduledoc false use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false Application.put_env( :site, :allow_indexing, Si...
29.357143
98
0.690511
da39a70462667c38537ce38aa1bcc2174d9433f5
550
ex
Elixir
lib/bio_monitor/authentication.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
lib/bio_monitor/authentication.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
lib/bio_monitor/authentication.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
defimpl ExAdmin.Authentication, for: Plug.Conn do alias BioMonitor.Router.Helpers alias BioMonitor.Authentication, as: Auth def use_authentication?(_), do: true def current_user(conn), do: Auth.current_user(conn) def current_user_name(conn), do: Auth.current_user(conn).email def session_path(conn, :destroy...
34.375
75
0.776364
da39d4c4007ef4acb65dc77e1be62a619ccf4742
126
exs
Elixir
config/config.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
null
null
null
config/config.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
1
2018-01-19T13:33:53.000Z
2018-01-19T13:33:53.000Z
config/config.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
2
2019-08-06T17:23:40.000Z
2021-05-15T14:21:21.000Z
use Mix.Config if Mix.env == :test do config :junit_formatter, report_dir: "/tmp/repo-example-test-results/exunit" end
18
55
0.722222
da39fb25b5534eb83293ece48fa8be08ee07e120
633
ex
Elixir
lib/safe_finance_web/views/error_view.ex
ricksonoliveira/safe-finance
3f318d10239a2e5ceea5a456024a3a90ee726af1
[ "MIT" ]
1
2021-02-05T18:57:18.000Z
2021-02-05T18:57:18.000Z
lib/safe_finance_web/views/error_view.ex
rik471/safe-finance
3f318d10239a2e5ceea5a456024a3a90ee726af1
[ "MIT" ]
1
2021-05-29T15:56:49.000Z
2021-05-29T15:56:49.000Z
lib/safe_finance_web/views/error_view.ex
rik471/safe-finance
3f318d10239a2e5ceea5a456024a3a90ee726af1
[ "MIT" ]
null
null
null
defmodule SafeFinanceWeb.ErrorView do use SafeFinanceWeb, :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 the status mess...
30.142857
83
0.71406
da3a0fe1e41f15eb144404db629a68492e447ff7
1,102
ex
Elixir
lib/granulix/generator/noise.ex
karlsson/granulix
04a78a2225819a84c079655e24d48bbc8db65104
[ "Apache-2.0" ]
2
2020-01-15T19:16:13.000Z
2020-09-11T05:47:10.000Z
lib/granulix/generator/noise.ex
karlsson/granulix
04a78a2225819a84c079655e24d48bbc8db65104
[ "Apache-2.0" ]
null
null
null
lib/granulix/generator/noise.ex
karlsson/granulix
04a78a2225819a84c079655e24d48bbc8db65104
[ "Apache-2.0" ]
null
null
null
defmodule Granulix.Generator.Noise do alias __MODULE__ @behaviour SC.Plugin defstruct [:ref] # ----------------------------------------------------------- @on_load :load_nifs def load_nifs do case :erlang.load_nif(:code.priv_dir(:granulix) ++ '/granulix_noise', 0) do :ok -> :ok {:error, {...
23.956522
79
0.573503
da3a2ca0540b57171c1cc7832b6df805cfb2836f
1,063
exs
Elixir
config/config.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
config/config.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
config/config.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :subscription, ecto_repos: [Subscriptio...
33.21875
90
0.777046
da3a387e6eac892f0e7bc2dd9bb44337887e5d98
878
ex
Elixir
apps/tai/lib/tai/new_orders/transitions/cancel.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/new_orders/transitions/cancel.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/new_orders/transitions/cancel.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.NewOrders.Transitions.Cancel do @moduledoc """ The order was successfully canceled on the venue """ use Ecto.Schema import Ecto.Changeset @behaviour Tai.NewOrders.Transition @type t :: %__MODULE__{} @primary_key false embedded_schema do field(:last_received_at, :utc_datetime_use...
21.95
81
0.731207
da3a4ab67d21cd75fa6a9c2e4f27ded7ab4dbb0d
21,511
ex
Elixir
lib/central/communication.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/communication.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/communication.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Communication do @moduledoc """ The Communication context. """ import Ecto.Query, warn: false alias Central.Helpers.QueryHelpers alias Central.Repo alias Central.Communication.ChatRoom alias Central.Communication.ChatRoomLib @doc """ Returns the list of chat_rooms. ## Example...
21.172244
89
0.611919
da3a62e0381edfef781bb0bd96469170d0ab9544
489
ex
Elixir
lib/mail_slurp_api/model/describe_domain_options.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/describe_domain_options.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/describe_domain_options.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.DescribeDomainOptions do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"domain" ] @type t :: %__MOD...
18.807692
91
0.699387
da3a7df8701042fa51db58b7a5e4bba723268764
1,743
ex
Elixir
lib/mix/lib/mix/tasks/compile.yecc.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/lib/mix/tasks/compile.yecc.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.yecc.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule Mix.Tasks.Compile.Yecc do alias :compile, as: Compiler alias :yecc, as: Yecc alias Mix.Utils alias Mix.Tasks.Compile.Erlang use Mix.Task @hidden true @shortdoc "Compile Yecc source files" @recursive true @moduledoc """ A task to compile Yecc source files. When this task runs, it will...
27.234375
92
0.674125
da3a7fe8f73011636c38c02d15162a777b24ec01
2,048
ex
Elixir
clients/games/lib/google_api/games/v1/model/application_verify_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/application_verify_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/application_verify_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.641509
211
0.733887
da3a93ce13b90ef2d153d50ec78491080495dd7e
1,697
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.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...
36.106383
288
0.748379
da3a9dd1b9116c15862fc45d09fa9963f1ef13f6
930
ex
Elixir
test/support/channel_case.ex
scoopteam/backend
c9efa958f5f536870abd722e2c55a1fb907acff2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
scoopteam/backend
c9efa958f5f536870abd722e2c55a1fb907acff2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
scoopteam/backend
c9efa958f5f536870abd722e2c55a1fb907acff2
[ "MIT" ]
null
null
null
defmodule ScoopWeb.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 wit...
24.473684
67
0.712903
da3aa8e56273831ab871c5a48625840d893c711b
184
exs
Elixir
priv/repo/migrations/20190714140153_add_points_to_cards.exs
smarinskaya/pointing-party
9259d662eb460d9fbd65655f61ed1d78ad69eede
[ "Apache-2.0" ]
11
2019-07-27T19:22:22.000Z
2020-11-25T05:57:07.000Z
priv/repo/migrations/20190714140153_add_points_to_cards.exs
smarinskaya/pointing-party
9259d662eb460d9fbd65655f61ed1d78ad69eede
[ "Apache-2.0" ]
3
2020-04-30T11:45:19.000Z
2021-05-10T10:22:58.000Z
priv/repo/migrations/20190714140153_add_points_to_cards.exs
drews256/planning_party_ex
8fb8116b0fa321d86fd5908db9c6218a56d79b0e
[ "Apache-2.0" ]
2
2019-08-29T05:18:33.000Z
2019-10-05T00:15:39.000Z
defmodule PointingParty.Repo.Migrations.AddPointsToCards do use Ecto.Migration def change do alter table("cards") do add :points, :integer, default: 0 end end end
18.4
59
0.711957
da3aed0262e735e0c90c4b9e758922fdbc345b79
3,633
ex
Elixir
lib/kana_roma.ex
aratakokubun/KanaRomaEx
247507baedf52b6b6d1df882a3e2cf224aae6706
[ "MIT" ]
1
2019-01-02T17:56:30.000Z
2019-01-02T17:56:30.000Z
lib/kana_roma.ex
aratakokubun/KanaRomaEx
247507baedf52b6b6d1df882a3e2cf224aae6706
[ "MIT" ]
null
null
null
lib/kana_roma.ex
aratakokubun/KanaRomaEx
247507baedf52b6b6d1df882a3e2cf224aae6706
[ "MIT" ]
null
null
null
defmodule KanaRoma do @moduledoc """ Module to convert Japanese characters between kana-moji('かな') and roman-moji('kana'). """ alias Models.KanaRomaPair, as: Pair alias Models.KanaRomaTable, as: Table @max_kana_len 2 @max_roma_len 3 @doc """ Convert hiragana(ひらがな), wide styled Japanese characters, ...
32.72973
134
0.664465
da3b07fba27f3c4907110a5f9672cec2a337d1f1
1,015
ex
Elixir
lib/brave_web/views/character_view.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
null
null
null
lib/brave_web/views/character_view.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
1
2021-03-09T19:28:25.000Z
2021-03-09T19:28:25.000Z
lib/brave_web/views/character_view.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
null
null
null
defmodule BraveWeb.CharacterView do use BraveWeb, :view alias Brave.Character.Inventory def display_item(%{name: "None", quality: _quality}), do: "" def display_item(%{name: name, quality: quality, type: "ammo"}), do: "#{name} quality: #{quality}" def display_item(%{name: name, slots: slots}), do: ...
32.741935
93
0.659113
da3b4ad459dc891ffff0c5d6aab4e5f9a09cf77e
389
exs
Elixir
mix.exs
techgaun/influx_ecto
db19e3c17b80b429e6860e4434dd02529bccf512
[ "Apache-2.0" ]
null
null
null
mix.exs
techgaun/influx_ecto
db19e3c17b80b429e6860e4434dd02529bccf512
[ "Apache-2.0" ]
null
null
null
mix.exs
techgaun/influx_ecto
db19e3c17b80b429e6860e4434dd02529bccf512
[ "Apache-2.0" ]
null
null
null
defmodule InfluxEcto.Mixfile do use Mix.Project def project do [ app: :influx_ecto, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ ...
14.407407
40
0.508997
da3b57803506dc67cb2b9d02df1b4ebdd171fc6f
1,865
ex
Elixir
lib/cog/commands/pipeline/info.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/commands/pipeline/info.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/commands/pipeline/info.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Commands.Pipeline.Info do use Cog.Command.GenCommand.Base, bundle: Cog.Util.Misc.embedded_bundle, name: "pipeline-info" alias Cog.Commands.Pipeline.Util alias Cog.Repository.PipelineHistory, as: HistoryRepo alias Cog.Repository.Users, as: UserRepo alias Cog.Models.User alias Cog.Repo...
31.083333
77
0.672386
da3b57d0228b19a03397f56142d552b7a6d92170
894
ex
Elixir
apps/status/lib/status/release_tasks/logger.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/status/lib/status/release_tasks/logger.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/status/lib/status/release_tasks/logger.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Status.ReleaseTasks.Logger do @moduledoc false @behaviour Config.Provider alias Status.ReleaseTasks.Validators require Logger def init(args) do args end def load(config, args) do _ = on_load(args) default_logger = Keyword.fetch!(args, :default_logger) sentry_logger = Keyword.fe...
26.294118
87
0.711409
da3b5a06b26a1fcc602ea02d170d2ea4fc7b0287
1,375
exs
Elixir
apps/admin_api/test/admin_api/v1/views/transaction_calculation_view_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/views/transaction_calculation_view_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/views/transaction_calculation_view_test.exs
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...
32.738095
90
0.722909
da3b5b25be8dd648430bed73250494ca672fd938
827
exs
Elixir
test/opus/pipeline/stage/option/if_test.exs
hubertlepicki/opus
e1568bc81f678529e812455534ea663bb1ab4394
[ "MIT" ]
303
2018-09-11T10:19:01.000Z
2022-03-11T00:57:44.000Z
test/opus/pipeline/stage/option/if_test.exs
hubertlepicki/opus
e1568bc81f678529e812455534ea663bb1ab4394
[ "MIT" ]
24
2018-09-26T10:38:05.000Z
2021-09-29T12:51:28.000Z
test/opus/pipeline/stage/option/if_test.exs
hubertlepicki/opus
e1568bc81f678529e812455534ea663bb1ab4394
[ "MIT" ]
16
2018-10-05T18:54:18.000Z
2022-02-19T18:59:45.000Z
defmodule Opus.Pipeline.Option.IfTest do use ExUnit.Case describe "as atom - when the condition is true" do defmodule PipelineWithTruthyAtomIf do use Opus.Pipeline step :double, if: :calculate? def double(n), do: n * 2 def calculate?(_), do: true end alias PipelineWithTruthyA...
21.763158
54
0.651753
da3b87ed325b1f2ecc2fc921af9df902eb20c936
2,086
ex
Elixir
lib/tesla/middleware/follow_redirects.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
null
null
null
lib/tesla/middleware/follow_redirects.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
1
2019-10-25T19:27:33.000Z
2019-10-25T19:27:33.000Z
lib/tesla/middleware/follow_redirects.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
1
2020-04-04T03:19:50.000Z
2020-04-04T03:19:50.000Z
defmodule Tesla.Middleware.FollowRedirects do @behaviour Tesla.Middleware @moduledoc """ Follow 3xx redirects ### Example ``` defmodule MyClient do use Tesla plug Tesla.Middleware.FollowRedirects, max_redirects: 3 # defaults to 5 end ``` ### Options - `:max_redirects` - limit number of r...
25.753086
92
0.61745