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
65f036ae01f0619b0771b86bf5d21f0488ff9f8a
1,966
ex
Elixir
lib/social/messages/volatile_messages_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/messages/volatile_messages_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/messages/volatile_messages_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
defmodule SocialNetworkingKata.Social.Messages.VolatileMessagesRepository do @moduledoc """ The volatile repository of all the messages of the Social Network """ defmodule State do @moduledoc false use Domo alias SocialNetworkingKata.Social.Messages.Message typedstruct do field :messages,...
31.709677
90
0.676501
65f039dab05b363c2f7d7bb89fb10b819f68c099
6,475
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/route.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/route.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/route.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
62.259615
516
0.694054
65f03dd0de63ff8a5ad35ffddd7c716a76b62762
5,652
ex
Elixir
lib/utility/drag.ex
CVMEventi/scenic_scrollable
d3b134fb27d15482dde2c26e3409cfc64ab07a5a
[ "MIT" ]
2
2021-11-05T01:31:01.000Z
2022-02-09T19:07:36.000Z
lib/utility/drag.ex
CVMEventi/scenic_scrollable
d3b134fb27d15482dde2c26e3409cfc64ab07a5a
[ "MIT" ]
null
null
null
lib/utility/drag.ex
CVMEventi/scenic_scrollable
d3b134fb27d15482dde2c26e3409cfc64ab07a5a
[ "MIT" ]
2
2021-08-03T22:46:24.000Z
2021-08-03T22:47:41.000Z
defmodule Scenic.Scrollable.Drag do @moduledoc """ Module for handling the drag controllability for `Scenic.Scrollable` components. """ alias Scenic.Math.Vector2 alias Scenic.Math @typedoc """ Atom representing a mouse button. """ @type mouse_button :: :left | :right | :middle @typedoc """ Data...
34.463415
192
0.68489
65f0a1e814fbe27474020257d8b2a25fdb342eef
682
ex
Elixir
lib/sippet/transactions/client/state.ex
enzoqtvf/elixir-sippet
8f35eac41d6242b682446ec445229a694b4061d9
[ "BSD-3-Clause" ]
5
2018-08-02T15:41:23.000Z
2020-12-07T15:50:45.000Z
lib/sippet/transactions/client/state.ex
team-telnyx/elixir-sippet
32de78b585132004edcb285b16c7bcd5d8f2afb6
[ "BSD-3-Clause" ]
null
null
null
lib/sippet/transactions/client/state.ex
team-telnyx/elixir-sippet
32de78b585132004edcb285b16c7bcd5d8f2afb6
[ "BSD-3-Clause" ]
null
null
null
defmodule Sippet.Transactions.Client.State do @moduledoc false alias Sippet.Message, as: Message alias Sippet.Message.RequestLine, as: RequestLine alias Sippet.Transactions, as: Transactions @typedoc "The client transaction key" @type key :: Transactions.Client.Key.t @type t :: [ request: Message.r...
20.058824
66
0.651026
65f0a7438d2c787eba357da07c71c6c6b65fc072
859
ex
Elixir
lib/kv/router.ex
dmitrydprog/kv
80c222505b530fc3f370ef199a3a5d050a9689de
[ "MIT" ]
null
null
null
lib/kv/router.ex
dmitrydprog/kv
80c222505b530fc3f370ef199a3a5d050a9689de
[ "MIT" ]
null
null
null
lib/kv/router.ex
dmitrydprog/kv
80c222505b530fc3f370ef199a3a5d050a9689de
[ "MIT" ]
null
null
null
defmodule KV.Router do use Plug.Router if Mix.env() == :dev do use Plug.Debugger, otp_app: :kv end plug(Plug.Logger) plug(Plug.Parsers, parsers: [:urlencoded]) plug(:match) plug(:dispatch) get "/:key" do send_resp(conn, 200, KV.read(key)) end post "/:key" do {:ok, _, conn} = Plug.Con...
19.522727
49
0.619325
65f0ad92c7f252be8977d1206fdb00646ebb50dd
1,887
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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.696429
115
0.747748
65f0d1a9f203ace677cb9098cb4b15f2f151b582
1,400
exs
Elixir
config/config.exs
ynd-consult-ug/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
33
2018-02-01T16:02:05.000Z
2020-08-20T07:47:33.000Z
config/config.exs
ynd-consult/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
null
null
null
config/config.exs
ynd-consult/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
2
2020-10-30T10:49:38.000Z
2021-03-29T15:07:40.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 # General application configuration config :ynd_phx_bootstrap, ecto_repos: [YndPhxB...
31.111111
86
0.757143
65f101668a1b0ac723431bf8fa72b00e890ea721
1,959
ex
Elixir
lib/ratatouille/renderer/element/row.ex
Fitblip/ratatouille
873f8a51b0f824ce9e39b7575850fcc585cfc7b1
[ "MIT" ]
504
2019-01-13T21:53:21.000Z
2022-03-31T20:58:21.000Z
lib/ratatouille/renderer/element/row.ex
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
28
2019-01-26T21:00:23.000Z
2021-12-28T19:06:15.000Z
lib/ratatouille/renderer/element/row.ex
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
21
2019-02-21T09:08:27.000Z
2021-12-20T15:51:10.000Z
defmodule Ratatouille.Renderer.Element.Row do @moduledoc false @behaviour Ratatouille.Renderer alias Ratatouille.Renderer.{Box, Canvas, Element} @grid_size 12 @impl true def render( %Canvas{render_box: box} = canvas, %Element{children: children}, render_fun ) do col_size...
25.115385
79
0.644206
65f10837ffb06230676af2c76b0fa0c699740962
3,569
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.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...
53.268657
870
0.771365
65f12b5166e3c7c83281e18c6d6063e8cd1bc351
13,083
exs
Elixir
priv/repo/seeds.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
import Hexpm.Factory alias Hexpm.Repository.{PackageDependant, PackageDownload, ReleaseDownload} Hexpm.Fake.start() lorem = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco labori...
22.099662
450
0.522281
65f12d3d6a6482f3f9bac8353e54c7ba130aee50
638
ex
Elixir
lib/mastani_server/logs/user_activity.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/logs/user_activity.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/logs/user_activity.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Logs.UserActivity do @moduledoc false # alias __MODULE__ use Ecto.Schema import Ecto.Changeset alias MastaniServer.Accounts.User @required_fields ~w(user_id source_title source_id source_type)a # @optional_fields ~w(source_type)a schema "user_activity_logs" do belongs_to(...
21.266667
66
0.733542
65f135582be939a678cd840f356e1e03cad7a24a
1,524
ex
Elixir
lib/coxir.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
lib/coxir.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
lib/coxir.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
defmodule Coxir do @moduledoc """ When *used*, this module defines a `start_link/0` callback responsible for starting a `Consumer` process. This process then consumes events from the GenStage and then dispatches them onto the handling module. Essentially that-is `Consumer` is provided with the module's r...
23.8125
65
0.687664
65f1548bc2a5191d0141ca13e9d9f1c4213f3fda
489
ex
Elixir
lib/conduit/encoding/identity.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
119
2016-11-21T13:19:22.000Z
2021-11-07T17:29:05.000Z
lib/conduit/encoding/identity.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
104
2018-02-02T20:42:46.000Z
2021-08-03T05:36:09.000Z
lib/conduit/encoding/identity.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
21
2018-08-03T02:38:21.000Z
2022-03-16T18:26:58.000Z
defmodule Conduit.Encoding.Identity do use Conduit.Encoding @moduledoc """ Does nothing to the body of the message. """ @doc """ Does nothing to the body. ## Examples iex> Conduit.Encoding.Identity.encode("{}", []) "{}" """ def encode(message, _opts) do message end @doc """ ...
14.382353
53
0.588957
65f16a339712a0dd911bbf70c1b4aa173ca2734b
33
ex
Elixir
lib/bst_benchmarking.ex
jdfrens/bst_benchmarking
f49efe899cd6649f6efdc4a0c9f488d0aa0f7dbd
[ "MIT" ]
1
2017-04-02T10:29:33.000Z
2017-04-02T10:29:33.000Z
lib/bst_benchmarking.ex
jdfrens/bst_benchmarking
f49efe899cd6649f6efdc4a0c9f488d0aa0f7dbd
[ "MIT" ]
null
null
null
lib/bst_benchmarking.ex
jdfrens/bst_benchmarking
f49efe899cd6649f6efdc4a0c9f488d0aa0f7dbd
[ "MIT" ]
null
null
null
defmodule BstBenchmarking do end
11
28
0.878788
65f16b8309e13eadd14634b304fe767a8871ea42
2,648
ex
Elixir
lib/hex/hex_scanner.ex
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
9
2020-04-07T17:22:15.000Z
2022-01-29T21:56:07.000Z
lib/hex/hex_scanner.ex
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
49
2020-03-03T16:18:50.000Z
2021-05-29T13:48:04.000Z
lib/hex/hex_scanner.ex
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
3
2020-05-14T16:26:03.000Z
2022-01-24T22:03:40.000Z
# Copyright (C) 2020 by the Georgia Tech Research Institute (GTRI) # This software may be modified and distributed under the terms of # the BSD 3-Clause license. See the LICENSE file for details. defmodule Hex.Scanner do require HTTPoison.Retry @moduledoc """ Scanner scans for mix dependencies to run analysis o...
28.782609
96
0.602341
65f16cdf88d04f7120c5c62c8f5b5669888bb2a9
18,462
exs
Elixir
apps/core/test/services/accounts_test.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/test/services/accounts_test.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/test/services/accounts_test.exs
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.Services.AccountsTest do use Core.SchemaCase, async: true use Mimic alias Core.PubSub alias Core.Services.Accounts describe "#create_service_account/2" do setup [:setup_root_user] test "root users can create service account", %{user: user} do group = insert(:group, account: user...
33.751371
119
0.648684
65f170f4b428cc040b679b7b4ae41e400e943629
8,384
ex
Elixir
backend/lib/functional_vote/votes.ex
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
10
2020-03-13T12:56:06.000Z
2021-06-28T22:13:27.000Z
backend/lib/functional_vote/votes.ex
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
132
2020-02-08T02:01:03.000Z
2022-02-18T20:38:38.000Z
backend/lib/functional_vote/votes.ex
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
1
2021-03-17T06:22:55.000Z
2021-03-17T06:22:55.000Z
defmodule FunctionalVote.Votes do @moduledoc """ The Votes context. """ require Logger import Ecto.Query, warn: false alias FunctionalVote.Repo alias FunctionalVote.Polls alias FunctionalVote.Polls.Votes @doc """ Gets all votes for a specified Poll, grouped by user @param poll_id @return M...
35.079498
137
0.63824
65f179204bbe36c01eb0d54730c4f0efe43a2806
8,090
ex
Elixir
lib/ex_aws/auth.ex
zblanco/ex_aws
89b0b53fcc8624da928ca3b8b56502f026fc39ae
[ "MIT" ]
null
null
null
lib/ex_aws/auth.ex
zblanco/ex_aws
89b0b53fcc8624da928ca3b8b56502f026fc39ae
[ "MIT" ]
2
2021-01-29T21:12:46.000Z
2021-01-30T06:11:16.000Z
lib/ex_aws/auth.ex
aks/ex_aws
2b5b9c07291334f972f17b6255929fd11b64c7d8
[ "MIT" ]
null
null
null
defmodule ExAws.Auth do import ExAws.Auth.Utils alias ExAws.Auth.Credentials alias ExAws.Auth.Signatures alias ExAws.Request.Url @moduledoc false @unsignable_headers ["x-amzn-trace-id"] @unsignable_headers_multi_case ["x-amzn-trace-id", "X-Amzn-Trace-Id"] def validate_config(config) do with :ok ...
26.52459
98
0.61199
65f18a89ec8c333b1b07f98623b27039479066a1
7,792
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
56.875912
437
0.736525
65f1962929b9c14169d37d2cc2f14a5085f23ff6
172
ex
Elixir
examples/firewall_lookup.ex
ipfinder-io/ip-finder-elixir
281402fc91f90291a46e0fc4e93620a4390e5c17
[ "Apache-2.0" ]
null
null
null
examples/firewall_lookup.ex
ipfinder-io/ip-finder-elixir
281402fc91f90291a46e0fc4e93620a4390e5c17
[ "Apache-2.0" ]
1
2019-08-29T23:23:08.000Z
2019-08-29T23:23:08.000Z
examples/firewall_lookup.ex
ipfinder-io/ip-finder-elixir
281402fc91f90291a46e0fc4e93620a4390e5c17
[ "Apache-2.0" ]
2
2019-08-29T23:19:07.000Z
2022-02-02T03:00:16.000Z
defmodule FirewallLookup do use Ipfinder def fire do conf = Ipfinder.new("YOUR_TOKEN_GOES_HERE") {:ok, fire} = Ipfinder.getFirewall(conf,"AS1", 'nginx_deny') end end
24.571429
62
0.744186
65f1ee51fdb4472c86523e9fd817bad33e4f3294
6,029
ex
Elixir
check.ex
blockchainhelppro/PIVX-Coin-Update
2ff1d96fb4e5db84699ad9f6c79cb352db5979dc
[ "MIT" ]
null
null
null
check.ex
blockchainhelppro/PIVX-Coin-Update
2ff1d96fb4e5db84699ad9f6c79cb352db5979dc
[ "MIT" ]
null
null
null
check.ex
blockchainhelppro/PIVX-Coin-Update
2ff1d96fb4e5db84699ad9f6c79cb352db5979dc
[ "MIT" ]
null
null
null
defmodule Credo.Check do @moduledoc """ `Check` modules represent the checks which are run during Credo's analysis. Example: defmodule MyCheck do use Credo.Check, category: :warning, base_priority: :high def run(source_file, params) do # end end The `run/2` func...
23.83004
98
0.644385
65f23cb6fd146fac728992cc4e768a62237eee9f
12,640
exs
Elixir
apps/re/test/exporters/vivareal_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re/test/exporters/vivareal_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re/test/exporters/vivareal_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule Re.Exporters.VivarealTest do use Re.ModelCase alias Re.{ Address, Exporters.Vivareal, Image, Listing } describe "build_xml/1" do test "export XML from listing" do %{id: id} = listing = %Listing{ id: 1, type: "Apartamento", address: %Add...
38.187311
434
0.55981
65f246919ff0779b627434b2f94db19781590973
1,787
ex
Elixir
lib/arc/ecto/changeset.ex
straw-hat-team/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
11
2018-04-09T06:32:02.000Z
2019-09-11T14:18:21.000Z
lib/arc/ecto/changeset.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
64
2018-03-30T06:21:49.000Z
2019-11-01T13:57:34.000Z
lib/arc/ecto/changeset.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
1
2018-06-21T23:00:00.000Z
2018-06-21T23:00:00.000Z
defmodule Arc.Ecto.Changeset do @moduledoc false @spec cast_attachments( Ecto.Schema.t() | Ecto.Changeset.t(), :invalid | map(), [String.t() | atom()], Keyword.t() ) :: Ecto.Changeset.t() def cast_attachments(changeset_or_data, params, allowed, options \\ []) do ...
30.810345
78
0.62451
65f25a60b28aa844bc1cb23258095bac85622b9b
71,676
exs
Elixir
integration_test/cases/repo.exs
joerichsen/ecto
13e22d1f2a18f5698d5b0db5112f3936cab86ae8
[ "Apache-2.0" ]
1
2022-01-24T07:32:34.000Z
2022-01-24T07:32:34.000Z
integration_test/cases/repo.exs
joerichsen/ecto
13e22d1f2a18f5698d5b0db5112f3936cab86ae8
[ "Apache-2.0" ]
null
null
null
integration_test/cases/repo.exs
joerichsen/ecto
13e22d1f2a18f5698d5b0db5112f3936cab86ae8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.RepoTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Order alias Ecto.Integration.User alias Ecto.Integration.Comment alia...
38.105263
152
0.629778
65f26ddde1a56cd8cddd511d549083d9669021aa
94
exs
Elixir
test/test_helper.exs
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
1,004
2020-01-20T15:19:59.000Z
2022-03-30T07:19:34.000Z
test/test_helper.exs
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
130
2020-01-26T10:09:30.000Z
2022-03-21T13:20:11.000Z
test/test_helper.exs
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
90
2020-01-24T17:01:33.000Z
2022-02-16T04:42:59.000Z
ExUnit.start(capture_log: true, assert_receive_timeout: 2000) Logger.remove_backend(:console)
31.333333
61
0.840426
65f277a1fe85cc4cfd400381b9a61b9f711c53c0
284
ex
Elixir
examples/lib/form.ex
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
53
2020-02-09T16:34:46.000Z
2021-04-01T17:48:26.000Z
examples/lib/form.ex
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
1
2020-03-11T03:22:52.000Z
2020-03-11T03:22:52.000Z
examples/lib/form.ex
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
1
2020-02-09T16:34:49.000Z
2020-02-09T16:34:49.000Z
defmodule Form do use X.Component, assigns: %{ :action => String.t() }, template: ~X""" <form :action="action"> {{= yield }} <Button class="btn-block btn-primary" type="submit" > Submit </Button> </form> """ end
16.705882
37
0.478873
65f2a631eb63a7fd29e6730dd90d8600feeb4864
2,143
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/suggested_table_row_style.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/docs/lib/google_api/docs/v1/model/suggested_table_row_style.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/lib/google_api/docs/v1/model/suggested_table_row_style.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...
42.019608
285
0.757816
65f2b69d5f265d8fdc847939c05ea122d9261d3c
2,047
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/public_advertised_prefix_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/public_advertised_prefix_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/public_advertised_prefix_list_warning_data.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...
40.94
527
0.744504
65f2dbdff759ff49395e821812af9d5c12a36695
2,544
ex
Elixir
lib/surface_bulma/form/file_input.ex
kianmeng/surface_bulma
68c81e6364f7951ca688d924c9338ad062a311a1
[ "MIT" ]
30
2021-02-05T18:50:38.000Z
2022-03-12T22:42:29.000Z
lib/surface_bulma/form/file_input.ex
kianmeng/surface_bulma
68c81e6364f7951ca688d924c9338ad062a311a1
[ "MIT" ]
19
2021-01-15T19:14:24.000Z
2022-02-05T14:57:18.000Z
lib/surface_bulma/form/file_input.ex
kianmeng/surface_bulma
68c81e6364f7951ca688d924c9338ad062a311a1
[ "MIT" ]
17
2021-02-01T20:57:51.000Z
2022-03-20T17:06:57.000Z
defmodule SurfaceBulma.Form.FileInput do @moduledoc """ A file input that can be used in forms """ use SurfaceBulma.Form.FieldBase use SurfaceBulma.Form.InputAddonBase import SurfaceBulma.Form.InputWrapper, only: [has_addons?: 1] alias SurfaceBulma.Form.InputWrapper alias Surface.Components.Form.FileInp...
27.652174
137
0.590409
65f2e441347ac7a8cd674025eebbe8fa9d780245
3,919
ex
Elixir
apps/snitch_core/lib/core/data/schema/address.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/schema/address.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/schema/address.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.Address do @moduledoc """ Models an Address An `Address` must contain a reference to `Snitch.Data.Schema.Country` and only if the country has states a reference to a `Snitch.Data.Schema.State`. This means some Addresses might not have a State. """ use Snitch.Data.Schema a...
27.405594
96
0.624649
65f31c967ecdb9edb5b9c8ae49ad7180c2ceb2fc
1,204
ex
Elixir
lib/farmbot/system/gpio/stub_handler.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/system/gpio/stub_handler.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/system/gpio/stub_handler.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.System.GPIO.StubHandler do @moduledoc "Stub for handling GPIO." @behaviour Farmbot.System.GPIO.Handler use GenStage def test_fire(pin) do GenStage.call(__MODULE__, {:test_fire, pin}) end def register_pin(num) do GenStage.call(__MODULE__, {:register_pin, num}) end def unregis...
23.607843
64
0.645349
65f34ea230e10c1c230cae3c7547b5b1a714ba14
10,236
exs
Elixir
test/groupher_server_web/mutation/cms/comments/job_comment_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server_web/mutation/cms/comments/job_comment_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server_web/mutation/cms/comments/job_comment_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Mutation.Comments.JobComment do use GroupherServer.TestTools alias GroupherServer.CMS alias CMS.Model.Job alias Helper.ORM setup do {:ok, user} = db_insert(:user) {:ok, community} = db_insert(:community) {:ok, job} = CMS.create_article(community, :job, mock_attrs(:...
31.112462
97
0.622216
65f387e2b646d905478f017be32443cc3ca3f428
1,530
exs
Elixir
mix.exs
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-15T13:19:28.000Z
2016-02-15T18:10:12.000Z
mix.exs
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-14T22:01:49.000Z
2016-02-14T22:02:46.000Z
mix.exs
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
null
null
null
defmodule Pinafore.Mixfile do use Mix.Project def project do [app: :pinafore, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, alia...
28.867925
78
0.606536
65f38fdb9f7adc84a0303a009c78719e77fea399
28,036
ex
Elixir
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant/data_updater/queries.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
5
2018-01-30T15:08:23.000Z
2019-12-20T15:06:56.000Z
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant/data_updater/queries.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
17
2018-01-31T15:50:22.000Z
2019-12-05T17:26:06.000Z
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant/data_updater/queries.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-01-31T15:43:04.000Z
2019-11-15T12:00:05.000Z
# # This file is part of Astarte. # # Copyright 2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
34.23199
156
0.694678
65f3aae28ca6b11dfdc612a2daca119aaf9c20d7
96
exs
Elixir
test/phoenix_checkers_web/views/page_view_test.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
test/phoenix_checkers_web/views/page_view_test.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
test/phoenix_checkers_web/views/page_view_test.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
defmodule PhoenixCheckersWeb.PageViewTest do use PhoenixCheckersWeb.ConnCase, async: true end
24
46
0.854167
65f3ed9877798e649b1f9df1993692ac6fdc67d8
138
exs
Elixir
test/friends_test.exs
xiongxin/friends
4a575bc2f7603fc92b3a358d1a43dc4023e1f004
[ "MIT" ]
null
null
null
test/friends_test.exs
xiongxin/friends
4a575bc2f7603fc92b3a358d1a43dc4023e1f004
[ "MIT" ]
null
null
null
test/friends_test.exs
xiongxin/friends
4a575bc2f7603fc92b3a358d1a43dc4023e1f004
[ "MIT" ]
null
null
null
defmodule FriendsTest do use ExUnit.Case doctest Friends test "greets the world" do assert Friends.hello() == :world end end
15.333333
36
0.710145
65f42527ffc8cb1cd5bf7b46069a548a2ac2d6d8
4,564
ex
Elixir
lib/quantum/executor.ex
pnezis/quantum-core
5c3e4a2b826c1f62256ca734506af6633d44b17c
[ "Apache-2.0" ]
null
null
null
lib/quantum/executor.ex
pnezis/quantum-core
5c3e4a2b826c1f62256ca734506af6633d44b17c
[ "Apache-2.0" ]
null
null
null
lib/quantum/executor.ex
pnezis/quantum-core
5c3e4a2b826c1f62256ca734506af6633d44b17c
[ "Apache-2.0" ]
null
null
null
defmodule Quantum.Executor do @moduledoc false # Task to actually execute a Task use Task require Logger alias Quantum.{ Job, NodeSelectorBroadcaster.Event, TaskRegistry } alias __MODULE__.StartOpts @spec start_link(StartOpts.t(), Event.t()) :: {:ok, pid} def start_link(opts, %Event{...
26.229885
101
0.578659
65f4385c71ac475534f78791eedcb1bf12874784
3,680
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/vulnerability_details.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/vulnerability_details.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/vulnerability_details.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...
58.412698
762
0.743478
65f4414c31d392340bca1e3eb8c4feb7cb42bd03
2,487
ex
Elixir
lib/binance/rest/http_client.ex
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
lib/binance/rest/http_client.ex
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
lib/binance/rest/http_client.ex
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
defmodule Binance.Rest.HTTPClient do require Logger @endpoint "https://api.binance.com" def get_binance(url, headers \\ []) do HTTPoison.get("#{@endpoint}#{url}", headers) |> parse_get_response end def get_binance(_url, _params, nil, nil), do: {:error, {:config_missing, "Secret and API key miss...
25.121212
73
0.598713
65f4486087ade3ae49a76e827b42b77e03c9d00e
160
ex
Elixir
lib/shopping.ex
Version2beta/shopping-perhap
ebb9597ca3670439cc2e2134f40a6b65c032e586
[ "BSD-3-Clause" ]
null
null
null
lib/shopping.ex
Version2beta/shopping-perhap
ebb9597ca3670439cc2e2134f40a6b65c032e586
[ "BSD-3-Clause" ]
null
null
null
lib/shopping.ex
Version2beta/shopping-perhap
ebb9597ca3670439cc2e2134f40a6b65c032e586
[ "BSD-3-Clause" ]
null
null
null
defmodule Shopping do use Perhap, app: :shopping context :store, cart: [ model: Shopping.Cart, events: [ :item_added, :item_removed ]] end
20
51
0.64375
65f453abab61a2a6a7ffa1edb61a4a6a41f57089
28,051
ex
Elixir
lib/phoenix_live_view/engine.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
1
2020-10-23T15:17:10.000Z
2020-10-23T15:17:10.000Z
lib/phoenix_live_view/engine.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
lib/phoenix_live_view/engine.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Component do @moduledoc """ The struct returned by components in .leex templates. This component is never meant to be output directly into the template. It should always be handled by the diffing algorithm. """ defstruct [:id, :component, :assigns] @type t :: %__MODULE__{ ...
31.341899
96
0.633952
65f45fcd81d78750840840d1dd707d509616969c
1,000
ex
Elixir
lib/hexpm/web/markdown_engine.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/markdown_engine.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/markdown_engine.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.MarkdownEngine do @behaviour Phoenix.Template.Engine def compile(path, _name) do html = path |> File.read!() |> Earmark.as_html!(%Earmark.Options{gfm: true}) |> header_anchors("h3") |> header_anchors("h4") {:safe, html} end defp header_anchors(html, t...
21.73913
69
0.54
65f46ac21a387d1559f28808ce2400a55ba8b7a6
2,426
exs
Elixir
test/honeylixir_tracing/integrations/plug_test.exs
epinault/honeylixir_tracing
42d0bb5f55ab791ad9d44f1aa7d31f0c122f45d4
[ "Apache-2.0" ]
null
null
null
test/honeylixir_tracing/integrations/plug_test.exs
epinault/honeylixir_tracing
42d0bb5f55ab791ad9d44f1aa7d31f0c122f45d4
[ "Apache-2.0" ]
5
2021-04-26T01:12:39.000Z
2021-10-06T18:35:14.000Z
test/honeylixir_tracing/integrations/plug_test.exs
epinault/honeylixir_tracing
42d0bb5f55ab791ad9d44f1aa7d31f0c122f45d4
[ "Apache-2.0" ]
1
2021-10-06T17:40:29.000Z
2021-10-06T17:40:29.000Z
defmodule HoneylixirTracing.Integrations.PlugTest do use ExUnit.Case use Plug.Test alias HoneylixirTracing.Context alias HoneylixirTracing.Integrations.Plug setup do start_supervised!(HoneylixirTracing.Integrations.PlugTracker) start_supervised!(HoneylixirTestListener) c = conn(:get, "htt...
29.950617
77
0.596455
65f4895d7fd246e5c21e9488a449d160a699b84c
187
ex
Elixir
test/support/model.ex
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
20
2017-06-25T12:30:03.000Z
2021-04-25T06:43:31.000Z
test/support/model.ex
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
8
2017-11-19T17:15:32.000Z
2020-02-02T12:50:03.000Z
test/support/model.ex
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
9
2018-03-30T22:14:13.000Z
2021-11-15T12:12:56.000Z
defmodule Formex.Ecto.TestModel do defmacro __using__(_) do quote do use Ecto.Schema use Formex.Ecto.Schema import Ecto import Ecto.Query end end end
15.583333
34
0.657754
65f4c6660a88fe44c62e2c70eef535a18f0ab10b
611
ex
Elixir
lib/while_loop.ex
rafapaez/til-elixir
4c1c75ba5a9fad41514b10757f865db4c4b68b42
[ "MIT" ]
1
2017-10-14T14:23:28.000Z
2017-10-14T14:23:28.000Z
lib/while_loop.ex
rafapaez/til-elixir
4c1c75ba5a9fad41514b10757f865db4c4b68b42
[ "MIT" ]
null
null
null
lib/while_loop.ex
rafapaez/til-elixir
4c1c75ba5a9fad41514b10757f865db4c4b68b42
[ "MIT" ]
null
null
null
defmodule TILEX.WhileLoop do @moduledoc """ This module provides macros to perform loop iterations. """ @doc """ The `while/2` macro loops as long as the `condition` is thuthy". """ defmacro while(condition, do: block) do quote do try do for _ <- Stream.cycle([:_]) do if unq...
20.366667
69
0.549918
65f4e17334572c991d1f4882e4b36a8286d33ed5
1,539
exs
Elixir
mix.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
null
null
null
mix.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
null
null
null
mix.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
null
null
null
defmodule Spreedly.Mixfile do use Mix.Project def project do [ app: :spreedly, version: "2.2.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), description: description(), packag...
24.428571
90
0.569201
65f5111e19ce429124bd3f4b2be58883ded89e4e
4,973
exs
Elixir
test/shared/cache/entry_expiration_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
1
2021-03-01T16:14:07.000Z
2021-03-01T16:14:07.000Z
test/shared/cache/entry_expiration_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
test/shared/cache/entry_expiration_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
defmodule Nebulex.Cache.EntryExpirationTest do import Nebulex.CacheCase deftests "cache expiration" do alias Nebulex.TestCache.Partitioned test "put_all", %{cache: cache} do entries = [{0, nil} | for(x <- 1..3, do: {x, x})] assert cache.put_all(entries, ttl: 1000) refute cache.get(0) ...
26.173684
81
0.557812
65f5201ba6cd89ac8fb3cd5babf7966eda1fd84f
3,870
ex
Elixir
lib/alfred/result.ex
lee-dohm/alfred-ex
109939aa8cf3e7f87be57cdc569c701fde9d1920
[ "MIT" ]
5
2018-01-23T05:49:32.000Z
2020-01-26T17:54:57.000Z
lib/alfred/result.ex
lee-dohm/alfred-ex
109939aa8cf3e7f87be57cdc569c701fde9d1920
[ "MIT" ]
1
2017-11-11T18:31:18.000Z
2017-11-11T18:31:18.000Z
lib/alfred/result.ex
lee-dohm/alfred-ex
109939aa8cf3e7f87be57cdc569c701fde9d1920
[ "MIT" ]
1
2019-12-28T11:33:37.000Z
2019-12-28T11:33:37.000Z
defmodule Alfred.Result do @moduledoc """ Represents a result to be displayed in an Alfred search list. Every result is required to have a title and a subtitle. Beyond this, there are many optional attributes that are helpful in various scenarios: * `:arg` *(recommended)* &mdash; Text that is passed to conn...
33.652174
129
0.667183
65f58d8c09160f2cded5402ba178dca7a2c123e5
34,121
ex
Elixir
apps/language_server/lib/language_server/server.ex
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Server do @moduledoc """ Language Server Protocol server This server tracks open files, attempts to rebuild the project when a file changes, and handles requests from the IDE (for things like autocompletion, hover, etc.) Notifications from the IDE are handled synchronously,...
28.316183
133
0.640544
65f58e010e662106239dc83ff285cb02afd9e6a3
1,208
ex
Elixir
apps/schedules/lib/frequency_list.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/schedules/lib/frequency_list.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
65
2021-05-06T18:38:33.000Z
2022-03-28T20:50:04.000Z
apps/schedules/lib/frequency_list.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
defmodule Schedules.FrequencyList do defstruct frequencies: [], departures: :no_service @type t :: %Schedules.FrequencyList{ frequencies: [Schedules.Frequency.t()], departures: Schedules.Departures.t() | :no_service } @spec build_frequency_list([Schedules.Schedule.t()]) :...
24.653061
85
0.695364
65f5a63f065ad3b26fe710ff1573d12e3e50774c
486
ex
Elixir
apps/viztube/lib/viztube/channels/resource.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
apps/viztube/lib/viztube/channels/resource.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
3
2020-07-16T23:48:01.000Z
2021-05-08T15:54:04.000Z
apps/viztube/lib/viztube/channels/resource.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
defmodule Viztube.Channels.Resource do use Ecto.Schema import Ecto.Changeset alias Viztube.Channels.{Channel, Resource, Video} schema "channel_videos" do embeds_one :data, Video belongs_to :channel, Channel timestamps() end @doc false def changeset(%Resource{} = resource, attrs) do re...
20.25
51
0.693416
65f5c80bdef1363163b71aa3218b2ea169ecdfdd
1,496
ex
Elixir
lib/magical_make/cli.ex
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
6
2022-01-20T14:10:08.000Z
2022-03-10T17:09:52.000Z
lib/magical_make/cli.ex
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
2
2022-01-20T08:45:05.000Z
2022-03-11T00:56:23.000Z
lib/magical_make/cli.ex
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
1
2022-03-10T16:02:14.000Z
2022-03-10T16:02:14.000Z
defmodule MagicalMake.CLI do @moduledoc """ CLI module for escript. """ @option %{ help: ["help", "-h", "--help"], version: ["version", "-v", "--version"] } @doc """ Main function for escript.You can use `help`, `version` and make command executable. ## Examples iex> MagicalMake.CLI.main(...
23.015385
86
0.550134
65f5cff6e2d4601e867d1cc3d953235c1025115a
999
exs
Elixir
test/level_web/graphql/queries/group_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
1
2019-06-11T20:20:32.000Z
2019-06-11T20:20:32.000Z
test/level_web/graphql/queries/group_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
test/level_web/graphql/queries/group_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
defmodule LevelWeb.GraphQL.GroupTest do use LevelWeb.ConnCase, async: true import LevelWeb.GraphQL.TestHelpers @query """ query GetGroup( $group_id: ID! ) { group(id: $group_id) { name } } """ setup %{conn: conn} do {:ok, %{user: user, space: space, space_user: spac...
23.785714
88
0.550551
65f5f150e3a8ed59d75c55c44462cff116ec743a
1,509
ex
Elixir
lib/paper/folder_users.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/paper/folder_users.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/paper/folder_users.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
defmodule ElixirDropbox.Paper.FolderUsers do @moduledoc """ """ import ElixirDropbox @doc """ Lists the users who are explicitly invited to the Paper folder in which the Paper doc is contained. ## Example ElixirDropbox.Paper.FolderUsers.list client, "HAOV9lRfMNj90iGLqMmC7" More info at: https://ww...
41.916667
365
0.765408
65f5fea68c4fea3e6d019a482b2ca6849771b2bd
2,868
ex
Elixir
lib/docusign/api/envelope_document_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/api/envelope_document_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/api/envelope_document_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# 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 DocuSign.Api.EnvelopeDocumentTabs do @moduledoc """ API calls for all endpoints tagged `EnvelopeDocumentTabs`. """ alias DocuSign.Connect...
30.83871
100
0.654463
65f6175d179aa01a4c73382130cab5e70f30490d
27
ex
Elixir
lib/ex_binance.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
7
2019-04-12T12:46:53.000Z
2021-06-29T19:43:41.000Z
lib/ex_binance.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
18
2020-05-25T09:03:58.000Z
2021-06-24T19:44:29.000Z
lib/ex_binance.ex
qbereau/ex_binance
42d110f209ffdd98da0d2b25910521b2403305cf
[ "MIT" ]
12
2019-08-08T09:20:59.000Z
2021-04-12T19:19:43.000Z
defmodule ExBinance do end
9
22
0.851852
65f6186e02c7e52ceaab60ca448a1594fdd61db8
1,050
exs
Elixir
examples/phoenix_example/config/config.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
9
2019-03-16T21:24:57.000Z
2021-12-29T21:31:16.000Z
examples/phoenix_example/config/config.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
13
2018-12-11T16:43:26.000Z
2022-02-09T23:08:01.000Z
examples/phoenix_example/config/config.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
4
2019-09-18T00:54:04.000Z
2021-05-09T05:30:47.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 # General application configuration config :phoenix_example, ecto_repos: [PhoenixEx...
33.870968
86
0.779048
65f64ec39ab93f1932895e27b9a07168fcf4a596
202
exs
Elixir
bench/witchcraft/unit_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
bench/witchcraft/unit_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
bench/witchcraft/unit_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.UnitBench do use Benchfella import Witchcraft.Unit bench "new/0", do: new() bench "struct/1", do: struct(Witchcraft.Unit) bench "%Unit{}", do: %Witchcraft.Unit{} end
22.444444
47
0.688119
65f678e8bac16f833aef65cc8dd6199fcea22cbc
3,257
exs
Elixir
test/absinthe/phase/document/validation/scalar_leafs_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/absinthe/phase/document/validation/scalar_leafs_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/absinthe/phase/document/validation/scalar_leafs_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Phase.Document.Validation.ScalarLeafsTest do @phase Absinthe.Phase.Document.Validation.ScalarLeafs use Absinthe.ValidationPhaseCase, phase: @phase, async: true alias Absinthe.{Blueprint} defp no_scalar_subselection(node_name, type_name, line) do bad_value( Blueprint.Docum...
23.948529
75
0.58735
65f6831298b7a69da02be84bacc09ab982384a9f
563
exs
Elixir
test/test_helper.exs
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
484
2016-06-19T19:33:31.000Z
2022-03-30T00:04:06.000Z
test/test_helper.exs
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
125
2016-12-13T14:28:45.000Z
2022-03-01T00:07:06.000Z
test/test_helper.exs
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
80
2016-09-09T02:12:41.000Z
2022-03-29T20:51:12.000Z
Application.start(:postgrex) Mix.Task.run("ecto.drop") Mix.Task.run("ecto.create") Mix.Task.run("ecto.migrate") PaperTrail.Repo.start_link() PaperTrail.UUIDRepo.start_link() PaperTrail.UUIDWithCustomNameRepo.start_link() Code.require_file("test/support/multi_tenant_helper.exs") Code.require_file("test/support/simple...
28.15
66
0.811723
65f69e14c10b79a60f781434a5a60e3b0bfb1a8b
1,025
ex
Elixir
apps/blog/web/models/post.ex
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/web/models/post.ex
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/web/models/post.ex
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
defmodule Blog.Post do use Blog.Web, :model @primary_key {:id, Blog.Permalink, autogenerate: true} schema "posts" do field :title, :string field :body, :string field :slug, :string belongs_to :author, Blog.User belongs_to :category, Blog.Category has_many :comments, Blog.Comment time...
21.808511
56
0.62439
65f6a1be427163b8c2199ec827166c0ecaea9fb2
26,171
ex
Elixir
lib/kandesk_web/live/index_live.ex
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
null
null
null
lib/kandesk_web/live/index_live.ex
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
null
null
null
lib/kandesk_web/live/index_live.ex
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
null
null
null
defmodule KandeskWeb.IndexLive do use Phoenix.LiveView alias Kandesk.Schema.{User, Board, BoardUser, Column, Task, Comment, Tag} alias Kandesk.Repo import Ecto.Query import Kandesk.Util import KandeskWeb.Endpoint, only: [subscribe: 1, unsubscribe: 1, broadcast_from: 4] import KandeskWeb.Gettext # requir...
39.414157
183
0.622063
65f6e22fec6bb9ce6ffaf98c37e3dd97a285df7c
2,362
ex
Elixir
clients/service_directory/lib/google_api/service_directory/v1beta1/model/location.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1beta1/model/location.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1beta1/model/location.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.90625
129
0.693903
65f7017fd5a0c67de765c6c04b86a22906d9e563
7,680
ex
Elixir
lib/phoenix/router/helpers.ex
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
1
2019-06-11T20:22:21.000Z
2019-06-11T20:22:21.000Z
lib/phoenix/router/helpers.ex
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
lib/phoenix/router/helpers.ex
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.Helpers do # Module that generates the routing helpers. @moduledoc false alias Phoenix.Router.Route alias Phoenix.Socket alias Plug.Conn @doc """ Callback invoked by url generated in each helper module. """ def url(_router, %Conn{private: private}) do private.phoenix_end...
30.47619
124
0.642188
65f741aea918c4ccf486972cd125801d012ca9ab
1,960
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/reviews_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/reviews_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/reviews_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.296296
87
0.74898
65f75a38eec4211def26900c98c632c50a9a4468
1,907
exs
Elixir
test/sudoku_solver_test.exs
froseph/sudoku_solver
c6dd87638730b0a8bb095891fff06e2bc70b8ebe
[ "MIT" ]
null
null
null
test/sudoku_solver_test.exs
froseph/sudoku_solver
c6dd87638730b0a8bb095891fff06e2bc70b8ebe
[ "MIT" ]
null
null
null
test/sudoku_solver_test.exs
froseph/sudoku_solver
c6dd87638730b0a8bb095891fff06e2bc70b8ebe
[ "MIT" ]
null
null
null
defmodule SudokuSolverTest do use ExUnit.Case setup_all do [impls: [SudokuSolver.Recursive, SudokuSolver.CPS]] end test "solve sudoku", context do {_, input} = SudokuBoard.read_file("./test/s01a.txt") {_, expected} = SudokuBoard.read_file("./test/s01a_s.txt") for impl <- context[:impls] do ...
31.783333
89
0.669638
65f7a5a3fd80edcefb7bdf1b1e28824992c7f393
441
ex
Elixir
array/BinarySearch.ex
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
2
2016-04-27T16:39:32.000Z
2016-04-27T17:06:33.000Z
array/BinarySearch.ex
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
null
null
null
array/BinarySearch.ex
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
1
2016-04-27T17:06:42.000Z
2016-04-27T17:06:42.000Z
defmodule Array do def main do arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] x = 8 p = binary_search(x, arr, 0, length(arr)) IO.puts "[#{x}] está na posição: #{p}" end def binary_search(x, arr, l, r) do m = div(l+r, 2) case Enum.at(arr, m) do a when x > a -> binary_search(x, arr, m+1, r)...
19.173913
51
0.501134
65f7b0cf6f02882bf4c984a70fe71ff8a27488cf
3,510
ex
Elixir
lib/live_props/states.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
11
2020-07-02T17:02:18.000Z
2021-10-31T11:27:53.000Z
lib/live_props/states.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
null
null
null
lib/live_props/states.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
1
2021-01-04T20:29:07.000Z
2021-01-04T20:29:07.000Z
defmodule LiveProps.States do @moduledoc """ Functions for working with states. These will be imported whenever you `use` LiveProps.LiveComponent or LiveProps.LiveView """ @doc """ Define state of given name and type. Returns :ok. Types can be any atom and are just for documentation purposes. ### O...
36.5625
126
0.679487
65f7ca30f297ab5a4931a232d3eb503d14770b48
715
exs
Elixir
template/$PROJECT_NAME$/.formatter.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
template/$PROJECT_NAME$/.formatter.exs
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
template/$PROJECT_NAME$/.formatter.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2019-07-12T11:16:42.000Z
2020-06-08T15:03:36.000Z
[ inputs: [ "apps/*/{lib,config,test}/**/*.{ex,exs}", "apps/*/mix.exs" ], locals_without_parens: [ <%= if assigns[:api] == "graphql" do %> # GraphQL description: 1, import_fields: 1, import_types: 1, field: 2, arg: 2, resolve: 1, <% end %> <%= if assigns[:ecto] do %...
16.627907
45
0.500699
65f7cc899dab5ee2b6184ba6931f1842473117ba
2,168
ex
Elixir
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation_content.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation_content.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation_content.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.133333
299
0.749539
65f7d58b6621ab77e2c3183afb22b6c8a67739ea
11,851
ex
Elixir
deps/ecto/lib/ecto/repo/queryable.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/repo/queryable.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/repo/queryable.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Ecto.Repo.Queryable do # The module invoked by user defined repos # for query related functionality. @moduledoc false alias Ecto.Query alias Ecto.Queryable alias Ecto.Query.Planner alias Ecto.Query.SelectExpr require Ecto.Query def transaction(adapter, repo, opts, fun_or_multi) when is_li...
34.958702
110
0.637583
65f7d5a2d2f6ae14456dc3d7e7ae477da162264e
1,780
exs
Elixir
test/test_helper.exs
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
27
2016-06-05T02:07:58.000Z
2021-06-11T20:12:38.000Z
test/test_helper.exs
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
9
2016-06-21T18:09:58.000Z
2021-03-10T14:21:51.000Z
test/test_helper.exs
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
6
2016-06-05T21:01:13.000Z
2020-04-22T13:50:37.000Z
defmodule TestHelper do import ExUnit.Assertions @doc """ Asserts file exists in the filesystem """ def assert_file(file) do assert File.regular?(file), "Expected #{file} to exist, but does not" end @doc """ Asserts that file exists and its contents are matched by `match`. `match` can be a binar...
24.054054
86
0.67191
65f7fa5cb8c1d479835bf0b238ccb3c376b7a005
3,249
exs
Elixir
apps/omg/test/omg/fees_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg/test/omg/fees_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg/test/omg/fees_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# 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...
32.818182
112
0.653124
65f8184d1f06bf09a4733bf912c1ffc2eee89605
1,179
ex
Elixir
apps/local_ledger_db/lib/repo.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/local_ledger_db/lib/repo.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/local_ledger_db/lib/repo.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.676471
74
0.728584
65f81ea86527a1dccfc750172d562f68d072bda2
2,783
ex
Elixir
apps/snitch_core/lib/core/data/schema/card.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/schema/card.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/schema/card.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.Card do @moduledoc """ Models Credit and Debit cards. A `User` can save cards by setting the `:card_name`, even if the card is not saved, it is associated with the user. """ use Snitch.Data.Schema alias Snitch.Data.Schema.{CardPayment, User} @typedoc """ ## `:is_disabl...
30.582418
83
0.623069
65f83abb5667c4f3341d21f4e5ac86f4f9a2ae93
513
ex
Elixir
lib/messengyr/web/views/error_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/views/error_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/views/error_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
defmodule Messengyr.Web.ErrorView do use Messengyr.Web, :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_found(_t...
17.689655
51
0.631579
65f83df772b70322bca1f138a85c893f57282b42
1,056
ex
Elixir
conformance/mix/tasks/protox/task.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
null
null
null
conformance/mix/tasks/protox/task.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
null
null
null
conformance/mix/tasks/protox/task.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Protox.Conformance do @moduledoc false use Mix.Task @impl Mix.Task @spec run(any) :: any def run(args) do with {options, _, []} <- OptionParser.parse(args, strict: [runner: :string, quiet: :boolean]), {:ok, runner} <- Keyword.fetch(options, :runner), quiet <- Keywor...
27.076923
111
0.589015
65f83e3469381025bc3b87ed904c3307e414bb4f
8,268
ex
Elixir
lib/oli/utils.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli/utils.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli/utils.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Utils do require Logger import Ecto.Changeset @urlRegex ~r/(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/i @emailRegex ~r/^[\w-\.]+@...
26.33121
226
0.620948
65f85b43166d5ed399d8ffe47526c6fdf0877b6a
1,685
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_gcs_destination.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_gcs_destination.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_gcs_destination.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...
35.851064
276
0.751929
65f88d7fe3adb851aeeef641feb87388ca1c57ba
1,663
ex
Elixir
lib/oban/plugins/repeater.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/repeater.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/repeater.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Repeater do @moduledoc """ Repeatedly send inserted messages to all registered producers to simulate polling. This plugin is only necessary if you're running Oban in an environment where Postgres notifications don't work, notably one of: * Using a database connection pooler in transac...
25.19697
93
0.663259
65f89d25c0072ad16f1e5eb826f3c87d552f7b88
434
exs
Elixir
test/dark_sky_sensor/sensor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
3
2018-09-17T02:14:11.000Z
2019-03-11T22:51:25.000Z
test/dark_sky_sensor/sensor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
test/dark_sky_sensor/sensor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
defmodule DarkSkySensor.SensorTest do use ExUnit.Case doctest DarkSkySensor alias DarkSkySensor.Remote alias DarkSkySensor.Sensor setup do %{ remote: %Remote{name: "a_name"} } end describe "setup_context" do test "it adds sensor_name to the data", %{remote: remote} do subject = ...
20.666667
66
0.702765
65f89f3b056a702b0f64167a52a2e13f4c7b4f29
711
exs
Elixir
test/hierarch/parent_test.exs
Byzanteam-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
20
2019-05-22T01:48:54.000Z
2021-08-05T12:51:39.000Z
test/hierarch/parent_test.exs
Byzanteam-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
23
2019-06-24T06:45:11.000Z
2022-03-14T19:13:19.000Z
test/hierarch/parent_test.exs
GreenNerd-Labs/hierarch
6374e04726f7904e3b8ba9338a1be3436e876e69
[ "MIT" ]
4
2018-07-10T13:14:42.000Z
2018-11-12T22:09:00.000Z
defmodule Hierarch.ParentTest do use Hierarch.TestCase setup_all do Repo.delete_all(Catelog) catelogs = create_catelogs() on_exit(fn -> Repo.delete_all(Catelog) end) {:ok, catelogs} end describe "parent/1" do test "returns its parent", catelogs do science = Map.get(catelo...
17.775
53
0.578059
65f8b22cfff8404f12c6b82c4f1442cc5d2706e6
2,107
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/numeric_bucketing_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v3/model/numeric_bucketing_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v3/model/numeric_bucketing_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.327586
146
0.723778
65f8b37d9585c3ed1622b725f8e21be670fc789d
1,309
ex
Elixir
lib/glimesh_web/controllers/user_confirmation_controller.ex
wolfcomp/glimesh.tv
3953e07946aabe85fe90d9d0f36df833b22d262a
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_confirmation_controller.ex
wolfcomp/glimesh.tv
3953e07946aabe85fe90d9d0f36df833b22d262a
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_confirmation_controller.ex
wolfcomp/glimesh.tv
3953e07946aabe85fe90d9d0f36df833b22d262a
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserConfirmationController do use GlimeshWeb, :controller alias Glimesh.Accounts def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"user" => %{"email" => email}}) do if user = Accounts.get_user_by_email(email) do Accounts.deliver_user_confirmation_...
27.851064
99
0.617265
65f8ca4f7b8c7a2d16a853e03f193ca4b61b38da
2,396
ex
Elixir
apps/payload/lib/name_generator.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
17
2020-06-20T11:29:43.000Z
2022-03-21T05:53:06.000Z
apps/payload/lib/name_generator.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
2
2020-07-09T10:22:50.000Z
2020-09-01T14:46:40.000Z
apps/payload/lib/name_generator.ex
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
3
2020-07-17T20:04:36.000Z
2022-01-24T14:19:46.000Z
# Copyright 2019 Volvo Cars # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (t...
28.86747
66
0.721202
65f8d4cb28d6c942fd321d4b1293176b93ae70bc
1,151
exs
Elixir
clients/search_console/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/search_console/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/search_console/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.SearchConsole.V1.Mixfile do use Mix.Project @version "0.5.0" def project do [app: :google_api_search_console, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: packa...
23.979167
114
0.61338
65f8f03f5d1c39f4f62e23151ba65abef64086e5
472
exs
Elixir
config/test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
config/test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
config/test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :teal, Teal.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :teal, Teal.Repo, adapt...
23.6
56
0.720339
65f8f20924865e8966163957419b572cb7a4acd9
540
ex
Elixir
lib/at_sample_app/router.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
3
2020-06-29T19:49:48.000Z
2020-11-26T14:37:11.000Z
lib/at_sample_app/router.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
5
2020-06-16T20:37:47.000Z
2021-03-03T20:33:43.000Z
lib/at_sample_app/router.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
null
null
null
defmodule AtSampleApp.Router do use AtSampleAppWeb, :router get "/" do AtSampleApp.HomeController.index(conn) end get "/contact" do AtSampleApp.ContactController.contact(conn) end post "/ussd/simple" do AtSampleApp.Ussd.SimpleUssdController.ussd(conn, conn.params) end post "/ussd/advance...
19.285714
70
0.709259
65f934dc4fce9951de3fa951dbf2c67d2a51be26
259
ex
Elixir
lib/geo/geometry_collection.ex
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
lib/geo/geometry_collection.ex
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
lib/geo/geometry_collection.ex
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
defmodule Geo.GeometryCollection do @moduledoc """ Defines the GeometryCollection struct. """ @type t :: %Geo.GeometryCollection{geometries: [Geo.geometry()], srid: integer, properties: map} defstruct geometries: [], srid: nil, properties: %{} end
28.777778
98
0.714286
65f948647aea18b32ca4a132179bfda5e2441826
10,999
ex
Elixir
lib/icalendar/event/occurrence.ex
walter/icalendar_event_occurrence
f54a211180622ab7220f835587ab57f3d54d6391
[ "MIT" ]
1
2020-07-18T16:24:53.000Z
2020-07-18T16:24:53.000Z
lib/icalendar/event/occurrence.ex
walter/icalendar_event_occurrence
f54a211180622ab7220f835587ab57f3d54d6391
[ "MIT" ]
null
null
null
lib/icalendar/event/occurrence.ex
walter/icalendar_event_occurrence
f54a211180622ab7220f835587ab57f3d54d6391
[ "MIT" ]
null
null
null
defmodule ICalendar.Event.Occurrence do @moduledoc """ Defines `ICalendar.Event.Occurrence` as set of utilities for mapping occurrences for a given event. For an event that may have dtstart, dtend, and rrule derived occurrences. May just be single occurrence if no rrule. Initial work based on [`ExIcal.Re...
35.711039
131
0.698427
65f96eb938ee4737fcb937b008dafc4a94280848
7,729
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_search_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_search_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_search_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStoreSearch.Query) do @moduledoc false ( defstruct(type: nil, query: nil) ( ( @spec encode(struct) :: {:ok, iodata} | {:error, any} def(encode(msg)) do try do {:ok, encode!(msg)} rescue ...
26.023569
95
0.468754
65f99ca607a6a70f6d5bd03ab3cc1e55982c903c
950
ex
Elixir
lib/x86emu/bios.ex
sei0o/practice-x86emu
42a648bd6b4cf6206d10062eab3ef7fa0ee57816
[ "MIT" ]
5
2018-03-09T06:10:42.000Z
2018-03-10T12:10:43.000Z
lib/x86emu/bios.ex
sei0o/practice-x86emu
42a648bd6b4cf6206d10062eab3ef7fa0ee57816
[ "MIT" ]
null
null
null
lib/x86emu/bios.ex
sei0o/practice-x86emu
42a648bd6b4cf6206d10062eab3ef7fa0ee57816
[ "MIT" ]
null
null
null
defmodule X86emu.BIOS do import X86emu.Emulator alias X86emu.IOAccess use Bitwise @bios_to_terminal %{0 => 0, 1 => 4, 2 => 2, 3 => 6, 4 => 1, 5 => 5, 6 => 3, 7 => 7} def put_string(charlist), do: put_string(charlist, length(charlist)) def put_string(_charlist, 0), do: nil def put_string([hch | tail], siz...
32.758621
95
0.646316
65f9c89e3e0b5d4ed9aac33b0e7de0727ca3140d
4,047
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
44.472527
173
0.713368
65f9ce7a6c714b05d577d760be5288e60921554b
183
exs
Elixir
config/dev.exs
rubensr91/elixir-helper
b1dc8dddfce00faf667d697ba6734386d56e88fb
[ "Apache-2.0" ]
1
2019-07-04T18:12:47.000Z
2019-07-04T18:12:47.000Z
config/dev.exs
rubensr91/elixir-helper
b1dc8dddfce00faf667d697ba6734386d56e88fb
[ "Apache-2.0" ]
61
2019-10-21T05:06:04.000Z
2021-08-02T04:53:07.000Z
config/dev.exs
rubensr91/elixir-helper
b1dc8dddfce00faf667d697ba6734386d56e88fb
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :elixir_helper, port: 4001 config :logger, :console, format: "[$level] $message\n" config :mix_test_watch, tasks: [ "test --cover", "credo --strict" ]
16.636364
55
0.666667
65f9d2f11f17e05050035a44eac8cd153ba4de0b
6,197
ex
Elixir
lib/stripe/core_resources/setup_intent.ex
starbuildr/stripity_stripe
fa515364cf54c5b3ab5b98b3f2dfe9b1317a3d4e
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/core_resources/setup_intent.ex
starbuildr/stripity_stripe
fa515364cf54c5b3ab5b98b3f2dfe9b1317a3d4e
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/core_resources/setup_intent.ex
starbuildr/stripity_stripe
fa515364cf54c5b3ab5b98b3f2dfe9b1317a3d4e
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.SetupIntent do @moduledoc """ A [SetupIntent](https://stripe.com/docs/api/setup_intents) guides you through the process of setting up a customer's payment credentials for future payments. You can: - [Create a SetupIntent](https://stripe.com/docs/api/setup_intents/create) - [Retrieve a Set...
32.962766
98
0.567049
65f9ef4fd7be986429286a4eb5fcfad7dd1c10f7
2,525
ex
Elixir
lib/asteroid/object_store.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
36
2019-07-23T20:01:05.000Z
2021-08-05T00:52:34.000Z
lib/asteroid/object_store.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
19
2019-08-23T19:04:50.000Z
2021-05-07T22:12:25.000Z
lib/asteroid/object_store.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
3
2019-09-06T10:47:20.000Z
2020-09-09T03:43:31.000Z
defmodule Asteroid.ObjectStore do @object_store_conf_keys [ :object_store_access_token, :object_store_refresh_token, :object_store_authorization_code, :object_store_device_code, :object_store_request_object, :object_store_authenticated_session, :object_store_authentication_event ] imp...
24.047619
91
0.627327
65fa014691ba6f489e45dcfd229b7be7a79f9400
4,129
ex
Elixir
lib/arc_ecto/schema.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/schema.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/schema.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
defmodule Arc.Ecto.Schema do @moduledoc false def cast_attachments(data = %_{__meta__: _}, params, allowed, options) do # Cast supports both atom and string keys, ensure we're matching on both. allowed_param_keys = Enum.map(allowed, &to_string/1) arc_params = params |> convert_params_to_bi...
32.769841
126
0.67256
65fa1b9aebbc0c0909eba73668a75be28a2aa25d
2,151
ex
Elixir
lib/lullabeam/file_util.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
lib/lullabeam/file_util.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
lib/lullabeam/file_util.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
defmodule Lullabeam.FileUtil do use Lullabeam.Log @music_file_extensions ~w[aac aiff flac m4a mp3 ogg voc wav] def music_library(env) do base_dir = root_music_dir_for(env) files = Path.wildcard("#{base_dir}/**/*.{#{Enum.join(@music_file_extensions, ",")}}") |> organize(base_dir) {:ok, f...
25.011628
96
0.609019
65fa4283de6b0ae49c0488f7056617a4e207fa27
791
ex
Elixir
lib/tenantex/queryable.ex
versilov/tenantex
5026599d17cf3784fe65044f590995e4981b37a5
[ "MIT" ]
21
2016-12-01T21:40:45.000Z
2020-07-11T09:15:13.000Z
lib/tenantex/queryable.ex
versilov/tenantex
5026599d17cf3784fe65044f590995e4981b37a5
[ "MIT" ]
13
2016-11-08T17:20:46.000Z
2019-09-20T13:10:56.000Z
lib/tenantex/queryable.ex
versilov/tenantex
5026599d17cf3784fe65044f590995e4981b37a5
[ "MIT" ]
7
2017-05-18T20:26:11.000Z
2019-08-01T07:44:46.000Z
defmodule Tenantex.Queryable do @moduledoc """ WARNING: this module is deprecated. Add 'prefix' to your 'opts' from Ecto 2.1 on. """ import Tenantex.Prefix alias Ecto.Changeset @msg "set_tenant is deprecated. Add 'prefix' to your 'opts' from Ecto 2.1 on." def set_tenant(%Changeset{} = changeset, tenant)...
29.296296
83
0.695322
65fa5832881bff0b1bf07258b927882eb2677e0a
7,727
ex
Elixir
lib/kalevala/output/tables.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
125
2020-02-09T17:05:27.000Z
2022-03-31T03:31:00.000Z
lib/kalevala/output/tables.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
19
2020-02-20T02:36:38.000Z
2021-08-03T16:24:19.000Z
lib/kalevala/output/tables.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
8
2020-04-07T05:06:20.000Z
2021-11-20T06:43:14.000Z
defmodule Kalevala.Output.Tables.Tag do @moduledoc false defstruct [:name, attributes: %{}, children: []] def append(tag, child) do %{tag | children: tag.children ++ [child]} end end defmodule Kalevala.Output.Tables do @moduledoc """ Process table tags into ANSI tables Processes 3 tags, `{table}`,...
23.065672
82
0.611363