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
4a34df2e08a9f7d059b684dfa29fe68487c3050e
1,669
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/audit_data.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/audit_data.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/audit_data.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.770833
175
0.743559
4a34ef511735a992842a9536923576eaf7a22eda
1,017
ex
Elixir
lib/farmbot/logger/log.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/logger/log.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/logger/log.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.Log do @moduledoc "Farmbot Log Object." @version Farmbot.Project.version() |> Version.parse! defstruct [ time: nil, level: nil, verbosity: nil, message: nil, meta: nil, function: nil, file: nil, line: nil, module: nil, version: @version ] defimpl Str...
26.763158
82
0.590954
4a3511d13e4c177f9e28980eeeffbc402be1dae3
1,931
exs
Elixir
test/yams_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
5
2016-11-07T11:32:28.000Z
2022-03-07T00:02:55.000Z
test/yams_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
null
null
null
test/yams_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
null
null
null
defmodule YamsTest do use ExUnit.Case alias Yams.{Session, Query} setup do Yams.start_link :ok end test "can put and get" do from_ts = Yams.key {:created, h} = Session.open(UUID.uuid1()) :ok = Session.put(h, [:a, :b, :c]) :ok = Session.put(h, [:d, :e, :f]) :ok = Session.put(h, ...
20.114583
60
0.500259
4a358979ee4b261e5d028d67773d570919d276f0
2,215
ex
Elixir
lib/alfred/plugins/devices/chrome_cast.ex
MattiasJakobsson/alfred_server
e207e7b1a066a70a99758aebbc81dc590e5bec0c
[ "MIT" ]
null
null
null
lib/alfred/plugins/devices/chrome_cast.ex
MattiasJakobsson/alfred_server
e207e7b1a066a70a99758aebbc81dc590e5bec0c
[ "MIT" ]
null
null
null
lib/alfred/plugins/devices/chrome_cast.ex
MattiasJakobsson/alfred_server
e207e7b1a066a70a99758aebbc81dc590e5bec0c
[ "MIT" ]
null
null
null
defmodule Alfred.Plugins.Devices.ChromeCast do use Alfred.Plugins.Plugin def start_discover() do {:ok, _} = Alfred.Plugins.Devices.ChromeCast.Discoverer.start_link() :ok end def init(definition) do {:ok, chromecast} = Chromecast.start_link(definition.settings.ip) state = Chromecast.s...
27.012195
101
0.620767
4a3597a4026d4d156a09f729df3665e92999dbcb
2,023
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_text_entity_extraction_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_text_entity_extraction_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_text_entity_extraction_operation_metadata.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...
35.491228
198
0.78349
4a35e07a87bb0860385b056e8e53970a7f607613
335
exs
Elixir
example/pushgateway/config/config.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
1
2018-11-08T12:15:05.000Z
2018-11-08T12:15:05.000Z
example/pushgateway/config/config.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
example/pushgateway/config/config.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :logger, backends: [:console, Logger.Backends.Prometheus] config :logger, Logger.Backends.Prometheus, level: :debug config :prometheus, pushgateway: [address: "http://lo...
27.916667
61
0.770149
4a360a1867d5ef2d7e0ca5c8e391f4a1bf1554ef
956
exs
Elixir
bench/compare.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
17
2021-06-05T09:14:08.000Z
2022-03-13T09:41:22.000Z
bench/compare.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
1
2021-06-09T15:46:46.000Z
2021-06-09T15:46:46.000Z
bench/compare.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
2
2021-06-09T09:01:15.000Z
2022-02-07T01:07:23.000Z
uuid_string = "716c654f-d2b7-436b-9751-2440a9cb079d" uuid_binary = <<113, 108, 101, 79, 210, 183, 67, 107, 151, 81, 36, 64, 169, 203, 7, 157>> Benchee.run( %{ "elixir_uuid" => fn {"to_string", bin} -> UUID.binary_to_string!(bin) {"to_binary", s} -> UUID.string_to_binary!(s) {g...
22.761905
89
0.511506
4a36319fb5fc7cd108c9e84519123b33b3a76625
2,953
ex
Elixir
lib/chunker.ex
eldelto/chunker
7a598d84f45448bac013a384e6811d9c3f872548
[ "Apache-2.0" ]
null
null
null
lib/chunker.ex
eldelto/chunker
7a598d84f45448bac013a384e6811d9c3f872548
[ "Apache-2.0" ]
null
null
null
lib/chunker.ex
eldelto/chunker
7a598d84f45448bac013a384e6811d9c3f872548
[ "Apache-2.0" ]
null
null
null
defmodule Chunker do @moduledoc """ Provides functions to interact with chunked files. """ alias Chunker.ChunkedFile @type t :: ChunkedFile.t() @type reason :: any @type success_tuple :: {:ok, t} @type error_tuple :: {:error, reason} @type result :: success_tuple | error_tuple @doc """ Appends ...
27.091743
74
0.683373
4a363202a562458ce1a9892d4540481ea1fa50af
155
ex
Elixir
test/examples/call.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
test/examples/call.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
test/examples/call.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule Call do def get_x(_a, _b, _c), do: 10 @spec call() :: integer() def call do get_x( "ala", 'ala', 12 ) end end
11.923077
31
0.490323
4a3646192e810e6766404a744db61278b7274918
1,758
ex
Elixir
lib/hl7/separators.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/separators.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/separators.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
defmodule HL7.Separators do require Logger @moduledoc """ Contains HL7 delimiter information (optionally specified by the end system) used to parse or generate HL7 messages. """ # default HL7 separators # |^~\& @type t :: %HL7.Separators{ field: binary(), component: binary(), ...
27.904762
117
0.598976
4a36533d9114058685b6b58509dd0589c5786dd4
4,976
exs
Elixir
apps/instance/test/instance_test.exs
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/instance/test/instance_test.exs
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/instance/test/instance_test.exs
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.InstanceTest do use ExUnit.Case, async: true doctest Staxx.Instance import Staxx.Instance.ChainFactory alias Staxx.Instance alias Staxx.Instance.Stack describe "start/1 :: " do test "fail to start without existing stack config" do assert {:error, "wrong testchain config"} == Ins...
27.191257
90
0.621383
4a3664b21927fef5e088e4e892af8ccdad5b50bb
13,340
ex
Elixir
lib/riak_ecto/normalized_query.ex
pma/riak_ecto
0a98299f6d8f592690f231084663eda9dc61d77f
[ "Unlicense" ]
32
2015-08-10T22:40:37.000Z
2020-09-15T06:37:50.000Z
lib/riak_ecto/normalized_query.ex
pma/riak_ecto
0a98299f6d8f592690f231084663eda9dc61d77f
[ "Unlicense" ]
10
2016-01-20T09:24:54.000Z
2016-05-01T11:05:28.000Z
lib/riak_ecto/normalized_query.ex
pma/riak_ecto
0a98299f6d8f592690f231084663eda9dc61d77f
[ "Unlicense" ]
8
2016-04-13T01:41:24.000Z
2018-11-01T17:18:49.000Z
defmodule Riak.Ecto.NormalizedQuery do @moduledoc false defmodule SearchQuery do @moduledoc false defstruct coll: nil, pk: nil, params: {}, query: %{}, model: nil, filter: "", fields: [], order: nil, projection: %{}, opts: [] end defmodule FetchQuery do @moduledoc fals...
34.117647
119
0.60922
4a36870833d072c37c9f0398e2d909ced879872b
1,033
ex
Elixir
template/$PROJECT_NAME$/test/support/channel_case.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
72
2017-04-30T05:45:22.000Z
2021-05-20T21:00:31.000Z
template/$PROJECT_NAME$/test/support/channel_case.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
13
2017-04-30T07:03:59.000Z
2017-12-15T08:19:16.000Z
template/$PROJECT_NAME$/test/support/channel_case.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
4
2017-09-05T14:21:29.000Z
2018-09-30T11:11:38.000Z
defmodule <%= @project_name_camel_case %>Web.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 datastructures and query the data layer. Finally, if th...
27.184211
93
0.71152
4a368d9bb1b29ecaa698c147c49c1f89026d5301
1,007
exs
Elixir
mix.exs
ceolinrenato/mission_control
a1a87a34013d7fa4beac97a15bb891a50ffee99d
[ "MIT" ]
null
null
null
mix.exs
ceolinrenato/mission_control
a1a87a34013d7fa4beac97a15bb891a50ffee99d
[ "MIT" ]
null
null
null
mix.exs
ceolinrenato/mission_control
a1a87a34013d7fa4beac97a15bb891a50ffee99d
[ "MIT" ]
1
2021-02-20T15:15:19.000Z
2021-02-20T15:15:19.000Z
defmodule MissionControl.MixProject do use Mix.Project def project do [ app: :mission_control, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [ plt_add_deps: :apps_tree, ignore_warnings: ".dialyzer_ignore.exs...
23.418605
86
0.594836
4a3695e40ed2c6431baf247f137848b2009012d3
1,492
ex
Elixir
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-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 ...
31.083333
92
0.69571
4a369e4bcba5415df36fd3907d3342f9aa5556e1
1,596
exs
Elixir
apps/data/test/grapevine_data/blogs_test.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
null
null
null
apps/data/test/grapevine_data/blogs_test.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
null
null
null
apps/data/test/grapevine_data/blogs_test.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
null
null
null
defmodule GrapevineData.BlogsTest do use Grapevine.DataCase alias GrapevineData.Blogs doctest Blogs describe "creating a blog post" do test "creates a new blog post" do user = create_user() {:ok, blog_post} = Blogs.create(user, %{ title: "Updates for my Game", body: "Some _ma...
22.478873
53
0.600251
4a36e5682e8d67d6462d8cae8f2971bf5e391d92
86
exs
Elixir
test/mdp/agent_test.exs
taskd19/rl-study
a0b80f720471341adada0bc1452b58d6c608b097
[ "Apache-2.0" ]
null
null
null
test/mdp/agent_test.exs
taskd19/rl-study
a0b80f720471341adada0bc1452b58d6c608b097
[ "Apache-2.0" ]
null
null
null
test/mdp/agent_test.exs
taskd19/rl-study
a0b80f720471341adada0bc1452b58d6c608b097
[ "Apache-2.0" ]
null
null
null
defmodule RlStudy.MDP.AgentTest do use ExUnit.Case doctest RlStudy.MDP.Agent end
14.333333
34
0.790698
4a36fdcec88966724c39e2ff12262a95fa27103b
1,776
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1_progress.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1_progress.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1_progress.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.52
163
0.741554
4a372c88c586b4ce993243147715211060131836
495
ex
Elixir
lib/donatebox_web/views/error_view.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox_web/views/error_view.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox_web/views/error_view.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
defmodule DonateboxWeb.ErrorView do use DonateboxWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template ...
29.117647
61
0.737374
4a374a4a86d70a1288a05e6cf4a366b4b33e25f7
3,379
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_policy_tag.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_policy_tag.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_policy_tag.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...
52.796875
430
0.728618
4a374b6c3671ec7200e5778906c7b8449802b5d5
90
exs
Elixir
test/web/views/page_view_test.exs
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
test/web/views/page_view_test.exs
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
test/web/views/page_view_test.exs
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
defmodule SentinelApi.Web.PageViewTest do use SentinelApi.Web.ConnCase, async: true end
22.5
43
0.822222
4a3754d1047787e5bc0b0ed70d17bc6e396bed51
5,099
ex
Elixir
lib/logjam_agent/transformer.ex
xing/exbeetle
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
3
2018-02-02T14:38:21.000Z
2018-02-05T17:33:35.000Z
lib/logjam_agent/transformer.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
lib/logjam_agent/transformer.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
defmodule LogjamAgent.Transformer do @fields_to_copy [ :code, :request_id, :ip, :rest_time, :rest_calls, :redis_time, :redis_calls, :db_time, :db_calls, :wait_time, :exceptions ] @logjam_severities %{ debug: 0, info: 1, warn: 2, error: 3, fatal: 4,...
27.26738
86
0.623652
4a376ed28912cfa6b59403cdb03e8de6af70c939
669
ex
Elixir
apps/core/lib/core/schema/license_token.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/schema/license_token.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/schema/license_token.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Schema.LicenseToken do use Piazza.Ecto.Schema alias Core.Schema.Installation schema "license_tokens" do field :token, :string belongs_to :installation, Installation timestamps() end @valid ~w(installation_id)a def changeset(model, attrs \\ %{}) do model |> cast(attrs,...
22.3
52
0.684604
4a3776d2f1f45f728f8e71015154ef6c9c9a1378
191
exs
Elixir
.formatter.exs
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
.formatter.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
.formatter.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
[ import_deps: [:ecto, :blunt, :blunt_data, :blunt_ddd, :blunt_absinthe, :blunt_absinthe_relay], line_length: 120, inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
31.833333
96
0.659686
4a378ed2d473f29525682789f4890dd71b18cf4b
9,247
ex
Elixir
lib/db_connection/ownership/proxy.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
lib/db_connection/ownership/proxy.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
lib/db_connection/ownership/proxy.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
null
null
null
defmodule DBConnection.Ownership.Proxy do @moduledoc false alias DBConnection.Holder use GenServer, restart: :temporary @time_unit 1000 @ownership_timeout 120_000 @queue_target 50 @queue_interval 1000 def start_link({caller, pool, pool_opts}) do GenServer.start_link(__MODULE__, {caller, pool, poo...
30.120521
102
0.628096
4a3792c29ab3227e501a6f3616aca6c15b7ce6fd
658
exs
Elixir
config/test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
null
null
null
config/test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
2
2020-04-26T14:03:27.000Z
2020-12-12T17:14:02.000Z
config/test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "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 :til, TilWeb.Endpoint, # Set to 4001 and true for Integration Test http: [port: 4001], server: true # Print only warnings and errors during test config :logger, level: :warn # Configure your...
22.689655
57
0.724924
4a37a7c1c4359e87ebd3320e4580acaa48c615a0
80
exs
Elixir
test/ex_dass_web/views/layout_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
8
2018-03-21T17:44:35.000Z
2020-01-12T03:24:18.000Z
test/ex_dass_web/views/layout_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
5
2018-03-22T02:03:10.000Z
2018-04-03T15:19:03.000Z
test/ex_dass_web/views/layout_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
1
2018-03-30T11:09:40.000Z
2018-03-30T11:09:40.000Z
defmodule ExDaasWeb.LayoutViewTest do use ExDaasWeb.ConnCase, async: true end
20
37
0.825
4a37eb23f1af097dea7d0560c41364278ea7b724
6,056
exs
Elixir
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
1
2021-02-22T14:21:02.000Z
2021-02-22T14:21:02.000Z
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.LexicalTrackerTest do use ExUnit.Case, async: true alias Kernel.LexicalTracker, as: D setup do {:ok, pid} = D.start_link() {:ok, [pid: pid]} end test "can add remote dispatch", config do D.remote_dispatch(config[:pid], String, :...
32.735135
93
0.642008
4a37edee68ca2fc677d4a5f027e04866f6873247
1,355
exs
Elixir
mix.exs
aeqcap/set_locale
087aeb7d7f511053abbe12fcdc49a023a572e323
[ "WTFPL" ]
64
2016-11-03T12:56:08.000Z
2021-12-05T07:22:20.000Z
mix.exs
aeqcap/set_locale
087aeb7d7f511053abbe12fcdc49a023a572e323
[ "WTFPL" ]
28
2016-11-25T11:52:38.000Z
2021-06-10T18:37:46.000Z
mix.exs
aeqcap/set_locale
087aeb7d7f511053abbe12fcdc49a023a572e323
[ "WTFPL" ]
33
2016-11-25T11:06:27.000Z
2021-06-09T21:49:35.000Z
defmodule SetLocale.Mixfile do use Mix.Project def project do [ app: :set_locale, version: "0.2.9", description: "A Phoenix Plug to help with supporting I18n routes (http://www.example.org/de-at/foo/bar/az). Will also set Gettext to the requested locale used in the url when supported ...
23.362069
198
0.531365
4a37f7a6651cbcce1f65515f48ac81f9c11134fc
2,461
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/policy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/storage/lib/google_api/storage/v1/model/policy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/policy.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 ...
43.946429
464
0.718001
4a37ff5840d92755a636090dc8dbf4ced1d7ae12
2,265
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/target_project.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/target_project.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/target_project.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.389831
199
0.700221
4a38128bc524daf95c1e97064479ec304186d9d1
17,987
ex
Elixir
lib/mix/lib/mix.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/mix/lib/mix.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
defmodule Mix do @moduledoc ~S""" Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. ## Mix.Project The foundation of Mix is a project. A project can be defined by using `Mix.Project` in a module, usually placed in a file name...
30.281145
148
0.665536
4a384853e20411298377259eb33e951dfe18cb71
1,677
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/find_devices_by_owner_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/find_devices_by_owner_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/find_devices_by_owner_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.54
103
0.768038
4a384f6b5ee16199d913f3409c640f5ccfdcc0eb
1,538
ex
Elixir
apps/mishka_database/lib/schema/mishka_content/post_like.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_database/lib/schema/mishka_content/post_like.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_database/lib/schema/mishka_content/post_like.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaDatabase.Schema.MishkaContent.PostLike do use Ecto.Schema require MishkaTranslator.Gettext import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "blog_likes" do belongs_to :users, MishkaDatabase.Schema.MishkaUser.User, foreign_key...
43.942857
204
0.758778
4a38a0acfcf3a2847d49f3fb7bc41c1bd7d5c968
282
exs
Elixir
priv/repo/migrations/20170920145942_add_gt_lt_to_condition.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
2
2017-10-30T00:42:01.000Z
2017-10-30T21:29:15.000Z
priv/repo/migrations/20170920145942_add_gt_lt_to_condition.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
priv/repo/migrations/20170920145942_add_gt_lt_to_condition.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
defmodule QuizSite.Repo.Migrations.AddGtLtToCondition do use Ecto.Migration def change do alter table(:conditions) do add :greater_than, :integer, default: nil add :less_than, :integer, default: nil add :equal_to, :integer, default: nil end end end
23.5
56
0.702128
4a38b6d59051f1f5d58cf935b49cba06e1ae4258
1,325
exs
Elixir
test/console_web/controllers/v1/v1_organization_controller_test.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
1
2021-11-18T13:32:47.000Z
2021-11-18T13:32:47.000Z
test/console_web/controllers/v1/v1_organization_controller_test.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
14
2022-03-02T17:01:59.000Z
2022-03-30T17:45:47.000Z
test/console_web/controllers/v1/v1_organization_controller_test.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.V1OrganizationControllerTest do use ConsoleWeb.ConnCase import Console.Factory describe "organizations" do test "inactive api keys do not work", %{conn: _conn} do key = "upWpTb/J1mCsZupZTFL52tB27QJ2hFNWtT6PvwriQgs" organization = insert(:organization) api_key = insert(...
33.974359
93
0.659623
4a38f37899ac4d6489e0e104a3310217cefd48c0
8,529
ex
Elixir
lib/aws/generated/codestarnotifications.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/codestarnotifications.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/codestarnotifications.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Codestarnotifications do @moduledoc """ This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notific...
31.824627
100
0.677805
4a38fcf1b0331e8adf2da2919f12a1a39a29299d
2,417
ex
Elixir
web/controllers/auth_controller.ex
X0nic/officetournament
4d1c7464bf4a6da2a97247ec698e35f9628c6b01
[ "MIT" ]
1
2015-09-18T04:41:01.000Z
2015-09-18T04:41:01.000Z
web/controllers/auth_controller.ex
X0nic/officetournament
4d1c7464bf4a6da2a97247ec698e35f9628c6b01
[ "MIT" ]
null
null
null
web/controllers/auth_controller.ex
X0nic/officetournament
4d1c7464bf4a6da2a97247ec698e35f9628c6b01
[ "MIT" ]
null
null
null
defmodule Officetournament.AuthController do use Officetournament.Web, :controller require Logger @doc """ This action is reached via `/auth/:provider` and redirects to the OAuth2 provider based on the chosen strategy. """ def index(conn, %{"provider" => provider}) do redirect conn, external: authori...
39.622951
110
0.728589
4a390654a05c8d023a457f9861d104af8e8683d0
1,498
exs
Elixir
apps/app_counter/test/app_counter_test.exs
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
17
2020-06-20T11:29:43.000Z
2022-03-21T05:53:06.000Z
apps/app_counter/test/app_counter_test.exs
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
2
2020-07-09T10:22:50.000Z
2020-09-01T14:46:40.000Z
apps/app_counter/test/app_counter_test.exs
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...
29.372549
62
0.702937
4a392c744b19c5fc3e0d02c70bd7921ff8426826
157
exs
Elixir
apps/game_services/priv/repo/migrations/20181026091519_create_users.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/game_services/priv/repo/migrations/20181026091519_create_users.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/game_services/priv/repo/migrations/20181026091519_create_users.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule GameServices.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do timestamps() end end end
15.7
53
0.713376
4a3938bcb35fb394dc73941a93b57cdfcedbcd4a
205
exs
Elixir
test/farmbot_celery_script/corpus/arg_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
test/farmbot_celery_script/corpus/arg_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
test/farmbot_celery_script/corpus/arg_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Celery.Corpus.ArgTest do use ExUnit.Case alias FarmbotCore.Celery.Corpus test "inspect" do assert "#Arg<_then [execute, nothing]>" = inspect(Corpus.arg("_then")) end end
22.777778
74
0.731707
4a3949e4d86e219436cd2b26ba6cd4423b6bfee6
1,342
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/spanner/lib/google_api/spanner/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/connection.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 ...
34.410256
77
0.730999
4a395b80b83f6a60741b4b97bf5c21967d182f54
1,503
ex
Elixir
apps/snitch_core/lib/core/data/schema/zone/zone.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/lib/core/data/schema/zone/zone.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/data/schema/zone/zone.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Schema.Zone do @moduledoc """ Models a Zone. `Zone` is a "supertype" ie, it is polymorphic. A zone may comprise of states (`Snitch.Data.Schema.StateZone`), or countries (`Snitch.Data.Schema.CountryZone`). """ use Snitch.Data.Schema @valid_zone_types ["S", "C"] @readable_valid_...
25.474576
78
0.641384
4a395b94a7959db557eb28718a437c6615eb584d
6,407
ex
Elixir
lib/mix/lib/mix/tasks/deps.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/mix/lib/mix/tasks/deps.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Mix.Tasks.Deps do use Mix.Task import Mix.Dep, only: [load_on_environment: 1, format_dep: 1, format_status: 1, check_lock: 1] @shortdoc "Lists dependencies and their status" @moduledoc ~S""" Lists all dependencies and their status. Dependencies must be specified in the `mix.exs` file in one of...
37.911243
105
0.687841
4a397837dfd47cb4d252bf651305380158a5931f
2,927
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_data_item.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_data_item.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_data_item.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...
40.09589
189
0.751964
4a39788fdf1f630ebd882760c9eea746a4abac91
1,716
ex
Elixir
clients/compute/lib/google_api/compute/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/connection.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 ...
35.75
77
0.727273
4a39e9ca4e4459fd938ce9e164aa9395b2354ba8
1,117
exs
Elixir
config/config.exs
mgiacomini/ex-xirr
366179f0420b96fb1d19d8d5b179c6e992ddf0ed
[ "MIT" ]
8
2018-08-02T09:08:52.000Z
2022-01-18T06:17:14.000Z
config/config.exs
mgiacomini/ex-xirr
366179f0420b96fb1d19d8d5b179c6e992ddf0ed
[ "MIT" ]
4
2018-08-22T15:57:53.000Z
2022-01-13T22:39:03.000Z
config/config.exs
mgiacomini/ex-xirr
366179f0420b96fb1d19d8d5b179c6e992ddf0ed
[ "MIT" ]
6
2019-05-17T17:59:46.000Z
2022-01-13T22:39:40.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
4a3a2db64c29f18881c9b93270f30a222e753b80
21,558
exs
Elixir
test/ecto/query/planner_test.exs
stevedomin/ecto
31d1fc4a31bce4c159b0ffe33398be7b1f095f2e
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
stevedomin/ecto
31d1fc4a31bce4c159b0ffe33398be7b1f095f2e
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
stevedomin/ecto
31d1fc4a31bce4c159b0ffe33398be7b1f095f2e
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Schema schema "comments" do field :text, :string ...
38.291297
114
0.583635
4a3a2f94b1795309c5b17377c63a52561cd9bfef
815
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/migrations/20180511045020_add_max_consumptions_per_user_to_transaction_requests.exs
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 ...
33.958333
85
0.770552
4a3a3394e4070398f9751ef183507073ee931656
726
ex
Elixir
lib/surface/base_component.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
lib/surface/base_component.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
lib/surface/base_component.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
defmodule Surface.BaseComponent do @moduledoc !""" This module defines the basic behaviour to be implemented by each different type of component. """ @doc """ Defines which module is responsible for translating the component. The returned module must implement the `Surface.Translator` behaviour. """ ...
24.2
72
0.695592
4a3a386fd5b1283d2fed491aa52ec33db4c47cb2
758
exs
Elixir
mix.exs
vasumahesh1/EnhancedTemperatureMod
95e8b344ec8c7692cbf60d80a19e10c2f682eb37
[ "MIT" ]
8
2017-07-17T14:40:05.000Z
2020-02-25T04:02:49.000Z
mix.exs
vasumahesh1/EnhancedTemperatureMod
95e8b344ec8c7692cbf60d80a19e10c2f682eb37
[ "MIT" ]
16
2017-07-16T09:05:14.000Z
2020-02-28T19:05:39.000Z
mix.exs
vasumahesh1/EnhancedTemperatureMod
95e8b344ec8c7692cbf60d80a19e10c2f682eb37
[ "MIT" ]
18
2017-11-25T23:51:52.000Z
2021-07-29T11:21:35.000Z
defmodule Test.Mixfile do use Mix.Project def project do [app: :centralized_climate_control, version: "0.0.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help co...
22.294118
79
0.633245
4a3a39694f5226068d475fc253a1a709b5e04c83
1,403
ex
Elixir
lib/extatic/router/supervisor.ex
kevinlang/extatic
36d693b0fadf68041214b869ee3dbd775b10cece
[ "Apache-2.0" ]
1
2021-08-28T00:17:22.000Z
2021-08-28T00:17:22.000Z
lib/extatic/router/supervisor.ex
kevinlang/extatic
36d693b0fadf68041214b869ee3dbd775b10cece
[ "Apache-2.0" ]
null
null
null
lib/extatic/router/supervisor.ex
kevinlang/extatic
36d693b0fadf68041214b869ee3dbd775b10cece
[ "Apache-2.0" ]
null
null
null
defmodule Extatic.Router.Supervisor do require Logger use Supervisor @doc """ Starts the router supervision tree. """ def start_link(mod, opts \\ []) do case Supervisor.start_link(__MODULE__, {mod, opts}, name: mod) do {:ok, _} = ok -> log_access_url() ok {:error, _} = err...
20.940299
84
0.60727
4a3a3a4765c1781be716916282df307fb3e11048
1,388
ex
Elixir
test/support/data_case.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-09-05T20:54:57.000Z
2021-09-05T20:54:57.000Z
test/support/data_case.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
17
2019-07-06T17:31:56.000Z
2021-06-22T15:31:06.000Z
test/support/data_case.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-03-15T20:50:27.000Z
2021-03-15T20:50:27.000Z
defmodule Readtome.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every tes...
25.703704
77
0.680836
4a3a5d02def8e0d13b602473d874b05da9e37a0c
299
ex
Elixir
lib/deux/crypto.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
lib/deux/crypto.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
lib/deux/crypto.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
defmodule Deux.Crypto do @moduledoc """ Facade of Crypto erlang module """ def sha(value), do: :crypto.hash(:sha, value) |> Base.encode16() def sha2(value), do: :crypto.hash(:sha256, value) |> Base.encode16() # def sha512(value), do: :crypto.hash(:sha512, value) |> Base.encode16() end
29.9
74
0.662207
4a3a6619986b5547a72f37bb181c278b96e01408
12,846
exs
Elixir
test/actions/update_test.exs
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
1
2021-12-27T09:43:29.000Z
2021-12-27T09:43:29.000Z
test/actions/update_test.exs
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
test/actions/update_test.exs
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
defmodule Ash.Test.Actions.UpdateTest do @moduledoc false use ExUnit.Case, async: true defmodule Authorized do use Ash.Resource, data_layer: Ash.DataLayer.Ets, authorizers: [Ash.Test.Authorizer] ets do private?(true) end attributes do attribute :id, :uuid, primary_key?: ...
22.263432
98
0.539779
4a3a7b6324ab81251b3a11c48d01f63493281a1e
266
exs
Elixir
priv/repo/migrations/20170204091917_create_person.exs
PaoloLaurenti/SoPost-People
6bf6ec7a07f62d9a1e05a68898f5ac7db0ad298c
[ "MIT" ]
1
2017-02-09T19:19:00.000Z
2017-02-09T19:19:00.000Z
priv/repo/migrations/20170204091917_create_person.exs
PaoloLaurenti/SoPost-People
6bf6ec7a07f62d9a1e05a68898f5ac7db0ad298c
[ "MIT" ]
null
null
null
priv/repo/migrations/20170204091917_create_person.exs
PaoloLaurenti/SoPost-People
6bf6ec7a07f62d9a1e05a68898f5ac7db0ad298c
[ "MIT" ]
null
null
null
defmodule SopostPeople.Repo.Migrations.CreatePerson do use Ecto.Migration def change do create table(:people) do add :name, :string add :role, :string add :location, :string add :photo, :string timestamps() end end end
16.625
54
0.642857
4a3a8c718719b4d276aae495a8a46812068d8a12
791
ex
Elixir
lib/oli_web/controllers/api/helpers.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/controllers/api/helpers.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/controllers/api/helpers.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.Api.Helpers do import Plug.Conn def error(conn, code, reason) do conn |> send_resp(code, reason) |> halt() end def is_valid_api_key?(conn, verify_fn) do case get_req_header(conn, "authorization") do ["Bearer " <> encoded_key] -> case Base.decode64(encoded_key) do...
18.833333
49
0.538559
4a3a91f62e840b83952b40ec1e62249655916176
3,376
ex
Elixir
apps/engine/lib/engine/ethereum/sync_supervisor.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/ethereum/sync_supervisor.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/ethereum/sync_supervisor.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.Ethereum.SyncSupervisor do @moduledoc """ Ethereum listeners top level supervisor. """ use Supervisor alias Engine.Callbacks.Deposit alias Engine.Callbacks.ExitStarted alias Engine.Callbacks.InFlightExitStarted alias Engine.Callbacks.Piggyback alias Engine.Configuration alias Engi...
35.166667
82
0.726007
4a3aa1a9f301b14f5d80ee06c4489e41871e6b5b
3,255
exs
Elixir
mix.exs
nicolkill/ash_admin
9a59c7a211516d17b80109a7bf73b644aca08c6c
[ "MIT" ]
null
null
null
mix.exs
nicolkill/ash_admin
9a59c7a211516d17b80109a7bf73b644aca08c6c
[ "MIT" ]
null
null
null
mix.exs
nicolkill/ash_admin
9a59c7a211516d17b80109a7bf73b644aca08c6c
[ "MIT" ]
null
null
null
defmodule AshAdmin.MixProject do use Mix.Project @description """ An admin UI for Ash Framework """ @version "0.2.20" def project do [ app: :ash_admin, version: @version, description: @description, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, test_covera...
28.80531
160
0.557296
4a3ac43518aefb0f0e52b1e940f94a62e0ffe98a
2,324
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/install_failure_event.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/install_failure_event.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/install_failure_event.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 ...
39.389831
195
0.710413
4a3ae274c5026ba0ac64086a966d3913621d913e
11,283
ex
Elixir
lib/protocol.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/protocol.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/protocol.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defprotocol Timex.Protocol do @moduledoc """ This protocol defines the API for functions which take a `Date`, `NaiveDateTime`, or `DateTime` as input. """ @fallback_to_any true alias Timex.Types @doc """ Convert a date/time value to a Julian calendar date number """ @spec to_julian(Types.valid_da...
38.640411
116
0.710183
4a3ae6b785be8f3ba3296e21ce36268b4723223b
2,587
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/banded_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/banded_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/banded_range.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 ...
43.116667
173
0.731736
4a3ae82105c57ea7331d0724e1e9d4b2ad5bd9ab
114
exs
Elixir
.formatter.exs
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
17
2019-01-31T18:33:09.000Z
2022-01-18T12:38:49.000Z
.formatter.exs
mikemorris/elixir-eks-terraform
e1c8a4e7ba26bd85322dfcedd229b3558d9d5844
[ "MIT" ]
null
null
null
.formatter.exs
mikemorris/elixir-eks-terraform
e1c8a4e7ba26bd85322dfcedd229b3558d9d5844
[ "MIT" ]
4
2018-11-10T01:56:17.000Z
2020-06-09T21:10:41.000Z
# Used by "mix format" [ inputs: ["mix.exs", "config/*.exs"], subdirectories: ["apps/*"], line_length: 80 ]
16.285714
38
0.587719
4a3b0a32b5b530098dedebed22e8736320545150
6,396
ex
Elixir
apps/ewallet_db/lib/ewallet_db/validator.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/lib/ewallet_db/validator.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/lib/ewallet_db/validator.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 ...
24.412214
94
0.627267
4a3b1af3f57d18772d87dfa5d1098ba06d4b2b32
714
ex
Elixir
lib/taglet/tagging.ex
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
lib/taglet/tagging.ex
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
lib/taglet/tagging.ex
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
defmodule Taglet.Tagging do use Ecto.Schema import Ecto.Changeset @taggable_id_type if Application.get_env(:taglet, :taggable_id) == :uuid, do: :binary_id, else: :integer @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "taggings" do field :taggable_id, @taggable_...
28.56
106
0.705882
4a3b1f11c1cd5d8b368b4ae1e14892b51f6e417d
386
exs
Elixir
priv/repo/migrations/20210223224549_create_user_table.exs
lopes05/rocketpay_nlw
f77a586592700f5263d4a96fb965497223c636c8
[ "MIT" ]
null
null
null
priv/repo/migrations/20210223224549_create_user_table.exs
lopes05/rocketpay_nlw
f77a586592700f5263d4a96fb965497223c636c8
[ "MIT" ]
null
null
null
priv/repo/migrations/20210223224549_create_user_table.exs
lopes05/rocketpay_nlw
f77a586592700f5263d4a96fb965497223c636c8
[ "MIT" ]
null
null
null
defmodule Rocketpay.Repo.Migrations.CreateUserTable do use Ecto.Migration def change do create table :users do add :name, :string add :age, :integer add :email, :string add :password_hash, :string add :nickname, :string timestamps() end create unique_index(:users, ...
19.3
54
0.650259
4a3b68767bffd8868a18336032d0ec7fa6dc57bd
2,276
ex
Elixir
clients/spectrum/lib/google_api/spectrum/v1explorer/model/spectrum_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/spectrum/lib/google_api/spectrum/v1explorer/model/spectrum_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/spectrum/lib/google_api/spectrum/v1explorer/model/spectrum_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.627451
381
0.765378
4a3b6f125aef26905789cc02263fc172b1804c24
2,689
exs
Elixir
apps/tai/test/tai/trading/order_store_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/trading/order_store_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/trading/order_store_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Trading.OrderStoreTest do use ExUnit.Case, async: true doctest Tai.Trading.OrderStore alias Tai.Trading.OrderStore @store_id __MODULE__ setup do {:ok, _} = start_supervised({OrderStore, [id: @store_id]}) :ok end test ".enqueue creates an order from the submission" do submissio...
31.635294
93
0.677947
4a3b81baab578436102f450d9ae38406f7e09974
2,678
ex
Elixir
lib/ex_proxypay.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
lib/ex_proxypay.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
lib/ex_proxypay.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
defmodule ExProxyPay do @sandbox_base_url "https://api.sandbox.proxypay.co.ao" @production_base_url "https://api.proxypay.co.ao" @payments_uri "/payments" @generate_reference_uri "/reference_ids" @references "/references" @headers [{"Content-Type", "application/json"}, {"Accept", "application/vnd.proxypay.v...
34.779221
97
0.673637
4a3b8e843fe0597eae2b33b8809ba0cfdaa4d2fc
2,154
exs
Elixir
apps/ewallet_api/config/config.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/config/config.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/config/config.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :ewallet_api, namespace: EWalletAPI, e...
29.108108
76
0.731662
4a3b8fe8369f6ece90787b1a70fa69225a45dee2
834
exs
Elixir
test/storage/buckets_test.exs
relax2code/supabase-elixir
ac61175d4dbaec905139ee92489ebfccb6361f62
[ "Apache-2.0" ]
16
2021-05-17T02:19:08.000Z
2022-03-08T10:56:09.000Z
test/storage/buckets_test.exs
relax2code/supabase-elixir
ac61175d4dbaec905139ee92489ebfccb6361f62
[ "Apache-2.0" ]
1
2021-07-13T15:47:36.000Z
2021-07-14T05:18:09.000Z
test/storage/buckets_test.exs
relax2code/supabase-elixir
ac61175d4dbaec905139ee92489ebfccb6361f62
[ "Apache-2.0" ]
2
2021-07-13T11:34:34.000Z
2021-09-09T15:31:01.000Z
defmodule Supabase.Storage.BucketsTest do use ExUnit.Case alias Supabase.Storage @bucket_name "testbucket" setup_all context do conn = Supabase.Connection.new( System.get_env("SUPABASE_TEST_URL"), System.get_env("SUPABASE_TEST_KEY") ) {:ok, %{"name" => @bucket_name}} = St...
23.166667
80
0.660671
4a3b9f4910411d09ca868bb63f65acf013d12b35
952
ex
Elixir
lib/payroll/application.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
1
2020-11-11T19:57:31.000Z
2020-11-11T19:57:31.000Z
lib/payroll/application.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
null
null
null
lib/payroll/application.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
null
null
null
defmodule Payroll.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the ap...
31.733333
85
0.721639
4a3bac9b12734511991c9f7360de94cb8cb277b4
593
exs
Elixir
microservice/test/views/error_view_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/test/views/error_view_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/test/views/error_view_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
defmodule Microservice.ErrorViewTest do use Microservice.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Microservice.ErrorView, "404.html", []) == "Page not found" end test "rende...
26.954545
70
0.689713
4a3bd5de0e22dc2456004092dae6db40be5166d8
852
ex
Elixir
apps/xee/lib/xee_web/controllers/registration_controller.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
11
2015-12-24T07:51:45.000Z
2019-03-05T12:29:31.000Z
apps/xee/lib/xee_web/controllers/registration_controller.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
62
2015-12-25T02:58:20.000Z
2020-03-04T06:52:11.000Z
apps/xee/lib/xee_web/controllers/registration_controller.ex
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
1
2016-07-19T03:28:08.000Z
2016-07-19T03:28:08.000Z
defmodule XeeWeb.RegistrationController do use XeeWeb, :controller alias Xee.User @doc """ Showing register page. """ def new(conn, _params) do changeset = User.changeset(%User{}, :invalid) render conn, "new.html", changeset: changeset end @doc """ Registration new user. """ def create(c...
25.058824
58
0.605634
4a3bebc2f0721dd9c9a4a7a7c372b58f72e65dca
948
ex
Elixir
lib/elirc_twitch_oauth_web/endpoint.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
lib/elirc_twitch_oauth_web/endpoint.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
lib/elirc_twitch_oauth_web/endpoint.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
defmodule ElircTwitchOauthWeb.Endpoint do use Phoenix.Endpoint, otp_app: :elirc_twitch_oauth_web # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, at: "/", f...
26.333333
65
0.721519
4a3bf7b9aa6550da94af6d1dc017c189232ecf7c
409
ex
Elixir
lib/webapp_web/views/layout_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/views/layout_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/views/layout_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.LayoutView do use WebappWeb, :view alias Webapp.{Accounts.Team} def version do "#{Application.spec(:webapp, :vsn)}-#{Mix.Project.config()[:vcs_version]}" end def current_session(conn) do Plug.Conn.get_session(conn, :phauxth_session_id) end def switch_team_path(conn, %Team{}...
22.722222
78
0.674817
4a3bffe8556a5bd939e1462ab764a033604a34e6
1,489
exs
Elixir
config/dev.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
1
2017-12-28T12:49:19.000Z
2017-12-28T12:49:19.000Z
config/dev.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
null
null
null
config/dev.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :ex_chat, ExChatWeb.Endpoint, http: [port: 400...
31.020833
80
0.708529
4a3c065c63aa03b2c2514b60f004501c114b548f
224
exs
Elixir
src/myapp/mix.exs
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
src/myapp/mix.exs
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
src/myapp/mix.exs
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
defmodule MyApp.Mixfile do use Mix.Project def project do [apps_path: "apps", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end defp deps do [] end end
14.933333
39
0.611607
4a3c0865794c6594634f6ca18b136f02c990be05
14,882
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/api/customers.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/api/customers.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/api/customers.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...
54.512821
1,086
0.650585
4a3c50089ea01bb1f39c5bfe44cd43cfd06752ff
744
ex
Elixir
lib/epi_locator/monitoring/telemetry_to_logger_bridge.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
lib/epi_locator/monitoring/telemetry_to_logger_bridge.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
lib/epi_locator/monitoring/telemetry_to_logger_bridge.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocator.Monitoring.TelemetryToLoggerBridge do require Logger @telemetry_metrics_handler_id "telemetry-to-logger-bridge" @search_success [:epi_locator, :tr, :search, :success] @metrics_names [ @search_success ] def telemetry_handler_id, do: @telemetry_metrics_handler_id def setup do ...
25.655172
142
0.711022
4a3c64e0fc1dcbcf752384aeae45592fc7eec202
2,039
ex
Elixir
lib/credo/cli/command/help.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/command/help.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/command/help.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Command.Help do use Credo.CLI.Command @shortdoc "Show this help message" @moduledoc @shortdoc @ljust 12 @starting_order ~w(suggest explain) @ending_order ~w(help) alias Credo.CLI alias Credo.CLI.Output.UI alias Credo.CLI.Sorter @doc false def call(exec, _opts) do print_...
22.406593
72
0.511525
4a3c67bd84d7f11268fec034bd9cce3b02334261
5,650
exs
Elixir
test/vintage_net/property_table_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
test/vintage_net/property_table_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
test/vintage_net/property_table_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.PropertyTableTest do use ExUnit.Case, async: true alias VintageNet.PropertyTable doctest PropertyTable setup config do {:ok, _pid} = start_supervised({PropertyTable, name: config.test}) {:ok, %{table: config.test}} end test "wildcard subscription", %{table: table} do Pro...
31.741573
91
0.559292
4a3c9783ed0baf5427adf802eadd2b49b325e572
1,850
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/location_policy.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/location_policy.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/location_policy.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...
38.541667
292
0.747027
4a3ca7daabf38e5ba804c769b81f583546528bd7
1,480
exs
Elixir
test/protobuf/protoc/integration_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
2
2019-06-01T05:52:52.000Z
2019-06-01T06:03:10.000Z
test/protobuf/protoc/integration_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
null
null
null
test/protobuf/protoc/integration_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
1
2018-12-03T07:04:27.000Z
2018-12-03T07:04:27.000Z
Code.require_file("proto_gen/test.pb.ex", __DIR__) defmodule Protobuf.Protoc.IntegrationTest do use ExUnit.Case, async: true @moduletag :integration test "encode and decode My.Test.Request" do entry = %My.Test.Reply.Entry{ key_that_needs_1234camel_CasIng: 1, value: -12345, _my_field_name_2...
27.924528
68
0.638514
4a3ca7db1eba172c2b2ce0be87a63694dabcdd14
302
ex
Elixir
lib/logic_sim/node/or.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
1
2019-09-27T02:40:01.000Z
2019-09-27T02:40:01.000Z
lib/logic_sim/node/or.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
4
2019-06-03T19:50:46.000Z
2019-06-03T19:50:47.000Z
lib/logic_sim/node/or.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
null
null
null
defmodule LogicSim.Node.Or do @moduledoc """ Simple `or` logic gate. Two inputs, one output. Output is true if either (or both) inputs are true. """ use LogicSim.Node, inputs: [:a, :b], outputs: [:a] def calculate_outputs(_state, %{a: a, b: b} = _input_values) do %{a: a or b} end end
27.454545
101
0.645695
4a3cce3b4200aa35659674883158da218542dbb4
8,377
exs
Elixir
test/tracer_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/tracer_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/tracer_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
defmodule TracerTest do use ExUnit.Case alias NewRelic.Harvest.Collector defmodule Traced do use NewRelic.Tracer @trace :fun def fun do end @trace :funny def funny do end @trace :bar def foo do end @trace {:query, category: :external} def query do end ...
30.797794
98
0.666468
4a3ce509d2df4a0d08e946be9cd1f2b520c85b5d
9,091
ex
Elixir
lib/coherence/config.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
lib/coherence/config.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
lib/coherence/config.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
defmodule Coherence.Config do @moduledoc """ Coherence Configuration Module. Provides a small wrapper around `Application.get_env :coherence`, providing an accessor function for each configuration items. Configuration items can be defined as either a single atom or {name, default} tuple. Each of the items can...
35.236434
154
0.669343
4a3ce604669fd3d99bb215d66ac26fb97f3c775d
1,071
ex
Elixir
test/support/conn_case.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
251
2021-04-30T04:46:53.000Z
2022-03-30T06:39:52.000Z
test/support/conn_case.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
3
2021-05-06T03:01:39.000Z
2022-03-29T13:04:16.000Z
test/support/conn_case.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
21
2021-04-30T05:25:57.000Z
2022-03-01T17:22:21.000Z
defmodule TictacWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the...
28.184211
60
0.73296
4a3cf3b36ca6759f635e4ddb7723c4fcfc712b7a
1,512
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/batch_create_perf_samples_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/batch_create_perf_samples_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/batch_create_perf_samples_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.5
98
0.766534
4a3d135b738c518647abbd7df4732c1935333cae
176
exs
Elixir
priv/repo/migrations/20180609035726_drop_tags_old_unique_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180609035726_drop_tags_old_unique_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180609035726_drop_tags_old_unique_index.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.DropTagsOldUniqueIndex do use Ecto.Migration def change do drop(unique_index(:tags, [:community_id, :part, :title])) end end
22
65
0.761364
4a3d61abda73766e9f2ed7a333b64cadb207ee59
1,295
ex
Elixir
deps/mariaex/lib/mariaex/cache.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/mariaex/lib/mariaex/cache.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
deps/mariaex/lib/mariaex/cache.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
defmodule Mariaex.Cache do import :os, only: [timestamp: 0] def new(size) do {size, :ets.new(:cache, [])} end def lookup({_, cache}, statement) do case :ets.lookup(cache, statement) do [{_, _, info}] -> info _ -> nil end end def delete({_, cache}, statement, cleanup) do case :...
29.431818
100
0.545946
4a3d829096f9221027e59a3b75387572d87268b2
15,793
ex
Elixir
apps/omg/lib/omg/state/core.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/lib/omg/state/core.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/lib/omg/state/core.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "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...
35.173719
120
0.667004
4a3d8cfd6cec0fca9c6c8356cc2bb780e1b1aff0
1,950
ex
Elixir
lib/taskafka/mongo/mongo.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
lib/taskafka/mongo/mongo.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
lib/taskafka/mongo/mongo.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
defmodule TasKafka.Mongo do @moduledoc false alias DBConnection.Poolboy alias Mongo, as: M defdelegate start_link(opts), to: M defdelegate object_id, to: M defp execute(fun, args) do opts = args |> List.last() |> Keyword.put(:pool, Poolboy) enriched_args = args |> L...
23.493976
85
0.616923
4a3da419577d31f0c52ab4e565ea7e3945b0d5df
64
exs
Elixir
test/test_helper.exs
work-capital/workflow
d6f8918cd433b018dc65eb3a9662ae165e2d3e36
[ "MIT" ]
14
2017-01-19T09:24:17.000Z
2021-02-09T17:28:31.000Z
test/test_helper.exs
work-capital/elixir-cqrs-eventsourcing
d6f8918cd433b018dc65eb3a9662ae165e2d3e36
[ "MIT" ]
2
2017-01-24T14:52:14.000Z
2017-01-27T08:49:46.000Z
test/test_helper.exs
work-capital/elixir-cqrs-eventsourcing
d6f8918cd433b018dc65eb3a9662ae165e2d3e36
[ "MIT" ]
1
2021-03-17T01:26:13.000Z
2021-03-17T01:26:13.000Z
ExUnit.start() Code.load_file("test/domain/account/account.ex")
21.333333
48
0.78125
4a3db1015c40517d42ad4ecc502164a6efbc3b40
2,253
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/line.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/line.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/line.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...
40.232143
227
0.747004
4a3dd8f0f25acf24bb078aa1a9b5d9d0b1db3fcd
6
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_at_non_numeric_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_at_non_numeric_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_at_non_numeric_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@:atom
6
6
0.666667
4a3de430d252bf6dbbe883a7e428b81033b1c507
1,784
ex
Elixir
lib/sengo_web/controllers/user_confirmation_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
lib/sengo_web/controllers/user_confirmation_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
lib/sengo_web/controllers/user_confirmation_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
defmodule SengoWeb.UserConfirmationController do use SengoWeb, :controller alias Sengo.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_instru...
30.758621
119
0.621076
4a3deaacad23569d76dab7bab409242f91d3cfcf
1,222
ex
Elixir
lib/helios/code_reloader/proxy.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
12
2018-09-20T21:33:07.000Z
2020-01-14T19:31:11.000Z
lib/helios/code_reloader/proxy.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
null
null
null
lib/helios/code_reloader/proxy.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
null
null
null
defmodule Helios.CodeReloader.Proxy do @moduledoc false use GenServer def start() do GenServer.start(__MODULE__, :ok) end def stop(proxy) do GenServer.call(proxy, :stop) end ## Callbacks def init(:ok) do {:ok, ""} end def handle_call(:stop, _from, output) do {:stop, :normal, out...
23.960784
79
0.614566
4a3e068e56a518c53a38a3ff2eb7205474608472
1,978
exs
Elixir
implementations/elixir/ockam/ockam_transport_udp/mix.exs
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_transport_udp/mix.exs
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_transport_udp/mix.exs
digikata/ockam
015a834ce0d34921b634439d965f726d877fd076
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Transport.UDP.MixProject do use Mix.Project @version "0.10.0-dev" @elixir_requirement "~> 1.10" @ockam_github_repo "https://github.com/ockam-network/ockam" @ockam_github_repo_path "implementations/elixir/applications/ockam_transport_udp" def project do [ app: :ockam_transport_u...
23.831325
93
0.591507
4a3e34a36a9d7fe7c657f9cdfd318d01458c4c9c
4,389
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenseusers.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenseusers.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenseusers.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...
41.018692
196
0.645249