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
74a92dda81ac47127410632b88e96406bf6acf79
3,017
exs
Elixir
test/json_schema_test_suite/draft7/optional/format/uri_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft7/optional/format/uri_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft7/optional/format/uri_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft7.Optional.Format.UriTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|validation of URIs| do setup do %{ schema: Xema.from_json_schema( %{"format" => "uri"}, draft: "draft7", atom: :force ...
30.474747
82
0.613523
74a933fc1380e7cf203d718662d827d6db2e8d3b
2,977
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/audit_config.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...
59.54
1,106
0.749076
74a9477669509494d3c01afa4cd0e1bb6f9fcf1e
1,284
exs
Elixir
memory_backend/config/prod.secret.exs
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
memory_backend/config/prod.secret.exs
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
15
2020-12-23T16:09:28.000Z
2020-12-26T22:32:47.000Z
memory_backend/config/prod.secret.exs
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.571429
69
0.727414
74a95928d42f61bb4436e7df907c0d4b2a507a80
843
ex
Elixir
lib/encodebot/plug/x_forwarded_proto.ex
bbassett/encodebot
a2f60b4a032b1573e7d905a4910d3c09fdc07dc0
[ "MIT" ]
null
null
null
lib/encodebot/plug/x_forwarded_proto.ex
bbassett/encodebot
a2f60b4a032b1573e7d905a4910d3c09fdc07dc0
[ "MIT" ]
null
null
null
lib/encodebot/plug/x_forwarded_proto.ex
bbassett/encodebot
a2f60b4a032b1573e7d905a4910d3c09fdc07dc0
[ "MIT" ]
null
null
null
defmodule Plug.XForwardedProto do @behaviour Plug import Plug.Conn def init(_) do end def call(conn, _opts) do case get_req_header(conn, "x-forwarded-proto") do [] -> conn [proto | _] -> orig_scheme = conn.scheme scheme = choose_scheme(orig_scheme, proto) por...
27.193548
58
0.638197
74a9604f8a709f4862b770dc703a3fb36840d138
1,826
ex
Elixir
lib/transformations/filters/films.ex
gutschilla/elixir-vista-client
12a0301e0cfceefb58bd3f0b87938dff1f5eeedc
[ "MIT" ]
null
null
null
lib/transformations/filters/films.ex
gutschilla/elixir-vista-client
12a0301e0cfceefb58bd3f0b87938dff1f5eeedc
[ "MIT" ]
null
null
null
lib/transformations/filters/films.ex
gutschilla/elixir-vista-client
12a0301e0cfceefb58bd3f0b87938dff1f5eeedc
[ "MIT" ]
1
2019-10-09T09:10:50.000Z
2019-10-09T09:10:50.000Z
defmodule VistaClient.Transformations.Filters.Films do alias VistaClient.Transformations.Filters.Sessions, as: SessionFilter alias VistaClient.Film require Logger # yields map: { "film_id" => %Film{…} or "film_id" => nil} defp film_ids_of(sessions) do Enum.reduce( sessions, %{}, fn ses...
34.45283
121
0.66046
74a96b2c2ed67fef853b6c67c405ecc478bc6eb7
1,367
exs
Elixir
test/coinmarketcap_api_test.exs
metachaos-systems/coinmarketcap_api_ex
e99f006b492620ac629515d519ac089736335759
[ "MIT" ]
2
2019-08-12T12:42:42.000Z
2021-09-16T20:13:05.000Z
test/coinmarketcap_api_test.exs
metachaos-systems/coinmarketcap_api_ex
e99f006b492620ac629515d519ac089736335759
[ "MIT" ]
null
null
null
test/coinmarketcap_api_test.exs
metachaos-systems/coinmarketcap_api_ex
e99f006b492620ac629515d519ac089736335759
[ "MIT" ]
null
null
null
defmodule CoinmarketcapApiTest do use ExUnit.Case, async: true doctest CoinmarketcapApi alias CoinmarketcapApi.Quote import CoinmarketcapApi test "all tickers" do {:ok, %{data: data}} = fetch_ticker() assert %{id: _, quotes: _} = data[1] end test "tickers with limit" do {:ok, %{data: data}...
31.068182
81
0.667154
74a96b2e2578ac18cc5458c27b356c48123b374f
1,767
ex
Elixir
lib/msgpax/ext/reserved_ext.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
null
null
null
lib/msgpax/ext/reserved_ext.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
null
null
null
lib/msgpax/ext/reserved_ext.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
1
2020-07-13T14:05:47.000Z
2020-07-13T14:05:47.000Z
defimpl Msgpax.Packer, for: DateTime do use Bitwise def pack(datetime) do Msgpax.ReservedExt.new(-1, build_data(datetime)) |> @protocol.Msgpax.ReservedExt.pack() end defp build_data(datetime) do total_nanoseconds = @for.to_unix(datetime, :nanosecond) seconds = Integer.floor_div(total_nanosecon...
23.56
76
0.63554
74a97ee7afafc610bd0f73fad5368f5f91d27f47
3,054
ex
Elixir
lib/auto_api/states/windscreen_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/windscreen_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/windscreen_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
38.175
102
0.715783
74aa0510890af834e181105cbec90520ebce5f65
2,225
ex
Elixir
apps/site/lib/site/json_helpers.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/lib/site/json_helpers.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/lib/site/json_helpers.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Site.JsonHelpers do @moduledoc """ Helper functions for converting structs to JSON encodable values. """ alias Alerts.Alert alias Phoenix.HTML alias Phoenix.HTML.Safe alias Routes.Route alias SiteWeb.{AlertView, ScheduleView, ViewHelpers} @spec stringified_route(Route.t()) :: map def str...
30.479452
94
0.674157
74aa06ed2f1fb25afa1636294564804933ad62a6
5,339
ex
Elixir
lib/pummpcomm/date_decoder.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/date_decoder.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/date_decoder.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.DateDecoder do @moduledoc """ Decodes `Pummpcomm.History` and `Pummpcomm.Cgm` timestamps to `NaiveDateTime.t`. """ use Bitwise # Types @typedoc """ A cgm timestamp binary whose format is described in the following table: +==========================================================...
40.755725
103
0.402323
74aa21ce70df40ba9b58fb073a4b0d1c15a4d1e2
10,303
exs
Elixir
test/unit/storage_migrator_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/unit/storage_migrator_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/unit/storage_migrator_test.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
defmodule EctoMnesia.Storage.MigratorTest do use ExUnit.Case, async: true require Logger alias :mnesia, as: Mnesia alias Ecto.Migration.{Table, Index} alias EctoMnesia.Storage.Migrator alias EctoMnesia.Table, as: MnesiaTable @test_table_name :migration_test_table @test_record_key 1 defp run_migrati...
27.474667
115
0.577113
74aa572e1020d8cc40cf47ca2608ae61ed16eb2a
704
ex
Elixir
lib/bex/peer_supervisor.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/peer_supervisor.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/peer_supervisor.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
defmodule Bex.PeerSupervisor do @moduledoc false use DynamicSupervisor require Logger def start_link(%{metainfo: %{decorated: %{info_hash: info_hash}}} = options) do name = via_tuple(info_hash) Logger.debug("Starting #{inspect(name)}") DynamicSupervisor.start_link(__MODULE__, options, name: name) ...
26.074074
81
0.721591
74aa5a0bc2006d80d848c0ad09d178cb084540f4
151
ex
Elixir
examples/test_frontend_socket/lib/test_frontend_socket/controller/status.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
78
2018-12-02T23:58:37.000Z
2021-09-30T18:52:45.000Z
examples/test_frontend_socket/lib/test_frontend_socket/controller/status.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
23
2018-11-27T14:57:20.000Z
2021-09-24T16:14:43.000Z
examples/test_frontend_socket/lib/test_frontend_socket/controller/status.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
3
2019-01-30T02:08:37.000Z
2021-09-03T20:53:35.000Z
defmodule TestFrontendSocket.Controller.Status do use PushExWeb, :controller def show(conn, _params) do conn |> resp(200, "OK") end end
16.777778
49
0.701987
74aa9749da0d08b5ac91bef66d8f08a0d8db841c
5,602
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_snippet.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_snippet.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_snippet.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...
54.921569
187
0.727954
74aaa60814d810c5db89b45270eba11825996470
286
ex
Elixir
lib/events/event.ex
feihong/event-announcer
b73d6f0c286b1101accb0898b16e658b68f9bb01
[ "Apache-2.0" ]
null
null
null
lib/events/event.ex
feihong/event-announcer
b73d6f0c286b1101accb0898b16e658b68f9bb01
[ "Apache-2.0" ]
null
null
null
lib/events/event.ex
feihong/event-announcer
b73d6f0c286b1101accb0898b16e658b68f9bb01
[ "Apache-2.0" ]
null
null
null
defmodule Events.Event do @derive [Poison.Encoder] defstruct source: "", source_id: "", organization: nil, name: "", description: "", url: "", venue: "", address: "", start_time: DateTime.utc_now(), timestamp: 0, duration: 0, matched_keywords: [], is_series: false end
35.75
68
0.653846
74aad49da8b97b7f161cf5ffb956ea459486e14d
585
exs
Elixir
priv/repo/migrations/20210821192455_create_history_candle_history_jobs.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
22
2021-06-29T09:25:52.000Z
2022-03-16T09:17:24.000Z
priv/repo/migrations/20210821192455_create_history_candle_history_jobs.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
54
2021-06-28T19:54:17.000Z
2022-03-27T06:49:30.000Z
priv/repo/migrations/20210821192455_create_history_candle_history_jobs.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
2
2022-01-08T10:16:30.000Z
2022-02-20T09:45:50.000Z
defmodule Prop.Repo.Migrations.CreateHistoryCandleHistoryJobs do use Ecto.Migration def up do create table(:candle_history_jobs) do add(:from_date, :date, null: false) add(:from_time, :time, null: false) add(:to_date, :date, null: false) add(:to_time, :time, null: false) add(:prod...
26.590909
69
0.659829
74ab61fda0f290141c81a49db3e1f355fb81bfa4
1,121
exs
Elixir
config/config.exs
mrapacz/latinizer
7cf8a78e444d133cdaa143e21fcc45f6ff38a912
[ "MIT" ]
8
2017-11-18T10:17:13.000Z
2021-04-13T19:32:18.000Z
config/config.exs
mrapacz/latinizer
7cf8a78e444d133cdaa143e21fcc45f6ff38a912
[ "MIT" ]
null
null
null
config/config.exs
mrapacz/latinizer
7cf8a78e444d133cdaa143e21fcc45f6ff38a912
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.752007
74ab67ce6fc334d21ce98cd1fb8658336b00b18c
159
ex
Elixir
debian_nonhdfs/menu.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
7
2015-01-29T14:41:28.000Z
2021-03-09T01:29:58.000Z
debian_nonhdfs/menu.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
2
2015-03-23T03:59:12.000Z
2015-03-27T07:12:41.000Z
debian_nonhdfs/menu.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
5
2015-03-03T06:54:00.000Z
2018-10-16T21:08:02.000Z
?package(scribe-server-orig):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="scribe-server-orig" command="/usr/bin/scribe-server-orig"
53
91
0.761006
74ab6f99ba6bc1743329d81fa05b1bcee097de6f
309
exs
Elixir
test/cingi/mission_test.exs
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
14
2017-09-21T19:45:12.000Z
2020-10-12T04:06:11.000Z
test/cingi/mission_test.exs
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
null
null
null
test/cingi/mission_test.exs
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
1
2017-09-21T21:50:42.000Z
2017-09-21T21:50:42.000Z
defmodule CingiMissionTest do use ExUnit.Case alias Cingi.Mission doctest Mission test "creates mission" do {:ok, pid} = Mission.start_link([mission_plan: "echo"]) assert %{ cmd: nil, mission_plan: "echo", output: [], input_file: "$IN", running: false, } = Mission.get(pid) end end
18.176471
57
0.666667
74ab73b889b76b27cbd0cf3f27320ed704e7a62c
3,252
exs
Elixir
test/scenic/component/input/toggle_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/component/input/toggle_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/component/input/toggle_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Eric Watson on 2018-09-18. # Rewritten by Boyd Multerer on 2021-05-16 # # re-writing it for version 0.11 to take advantage of the new scene struct # and be more end-to-end in style defmodule Scenic.Component.Input.ToggleTest do use ExUnit.Case, async: false doctest Scenic.Component.Input.Toggle ...
27.794872
74
0.630381
74ab8c3da28fb182c0235641ce78b96da7c6f0cb
1,723
ex
Elixir
lib/alods.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
1
2017-10-03T12:30:53.000Z
2017-10-03T12:30:53.000Z
lib/alods.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
null
null
null
lib/alods.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
null
null
null
defmodule Alods do @moduledoc """ Documentation for Alods. """ @doc """ Deliver a notification via an HTTP GET request to the given url the data will be url-encoded and attached as query string to the url """ @spec notify_by_get(String.t, map | list | nil, function | nil) :: {:ok, String.t} def notif...
30.22807
115
0.624492
74ab9dad90b4c96d84438c5edf28c9ca8e45d9ad
1,613
ex
Elixir
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request.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...
34.319149
164
0.755735
74abeb5953f3f09ad9b10a722c945c7d5e1cac48
2,032
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_inspect_templates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_inspect_templates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_inspect_templates_response.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.945455
195
0.753445
74ac1f60c8f1805977d96898c73abcb8a41612d1
585
ex
Elixir
lib/tentacat/pulls/commits.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
lib/tentacat/pulls/commits.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
lib/tentacat/pulls/commits.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
defmodule Tentacat.Pulls.Commits do import Tentacat alias Tentacat.Client @doc """ List commits on a pull request ## Example Tentacat.Pulls.Commits.list "elixir-lang", "elixir", "2974" Tentacat.Pulls.Commits.list "elixir-lang", "elixir", "2974", client More info at: https://developer.github....
29.25
85
0.68547
74ac3087263834bf7835a28598665e2d3e400559
2,288
ex
Elixir
apps/ewallet/lib/ewallet/fetchers/account_fetcher.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/fetchers/account_fetcher.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/fetchers/account_fetcher.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.AccountFetcher do @moduledoc """ Handles retrieval of accounts from params for transactions. """ alias EWallet.WalletFetcher alias EWalletDB.{Repo, Account} def fetch_exchange_account( %{ "token_id" => _token_id }, exchange ) do {:ok, exchange} ...
26
89
0.605332
74ac56addf0d15cd99b48063a7595c35de3df694
1,487
exs
Elixir
test/from_fsharp_test.exs
bryanhunter/fsharpy
5c8bb2620f1a69343f5a766d448e83f7b805164d
[ "MIT" ]
15
2017-01-25T14:13:55.000Z
2022-03-03T14:56:37.000Z
test/from_fsharp_test.exs
bryanhunter/fsharpy
5c8bb2620f1a69343f5a766d448e83f7b805164d
[ "MIT" ]
null
null
null
test/from_fsharp_test.exs
bryanhunter/fsharpy
5c8bb2620f1a69343f5a766d448e83f7b805164d
[ "MIT" ]
null
null
null
defmodule FromFsharpTest do use ExUnit.Case alias Fsharpy.FromFsharp doctest FromFsharp test "get_val for `let x = 5`" do code = "val x : int = 5" assert %{"x" => 5} == FromFsharp.get_val(code) end test "get_val for `let pi = 3.14`" do code = "val pi : float = 3.14" ...
29.156863
81
0.501681
74ac5d475e6edecfda145ccf17ef18134f375621
40
ex
Elixir
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/AtUnqualifiedParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/AtUnqualifiedParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/AtUnqualifiedParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@one(two) do end @one(two)(three) do end
20
23
0.675
74ac955752f675fb54a39369aaea9a61e2aff96e
1,143
ex
Elixir
lib/xdr/types/opaque12.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/types/opaque12.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/types/opaque12.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Opaque12 do @moduledoc """ Representation of Stellar `Opaque12` type. """ @behaviour XDR.Declaration @type t :: %__MODULE__{opaque: binary()} defstruct [:opaque] @length 12 @opaque_spec XDR.FixedOpaque.new(nil, @length) @spec new(opaque :: binary()) :: t() def new(opaqu...
25.4
87
0.67979
74ac9fa36013213ef07c10d35023946a8dabd489
5,366
ex
Elixir
server/lib/realtime/subscribers_notification.ex
gustavoarmoa/realtime
e8075779ed19bfb8c22541dc1e5e8ea032d5b823
[ "Apache-2.0" ]
4,609
2019-10-25T12:28:35.000Z
2022-03-31T23:05:06.000Z
server/lib/realtime/subscribers_notification.ex
gustavoarmoa/realtime
e8075779ed19bfb8c22541dc1e5e8ea032d5b823
[ "Apache-2.0" ]
223
2019-09-27T03:21:45.000Z
2022-03-29T23:04:03.000Z
server/lib/realtime/subscribers_notification.ex
gustavoarmoa/realtime
e8075779ed19bfb8c22541dc1e5e8ea032d5b823
[ "Apache-2.0" ]
187
2019-10-27T07:44:15.000Z
2022-03-29T19:34:52.000Z
defmodule Realtime.SubscribersNotification do require Logger alias Realtime.Adapters.Changes.Transaction alias Realtime.Configuration.Configuration alias Realtime.ConfigurationManager alias RealtimeWeb.RealtimeChannel @topic "realtime" def notify(%Transaction{changes: changes} = txn) when is_list(chang...
36.013423
141
0.600261
74aca85a144f866c9165973e43ca712a5e10f929
791
exs
Elixir
elixir/config/test.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
elixir/config/test.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
elixir/config/test.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
# use Mix.Config import Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :homework, Homework.Repo, username: System.get_env("POSTGRES_USER") || "postgres", passw...
32.958333
67
0.749684
74acb138e545d8a4367ca491ed5b972323557bdc
1,491
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_disable_processor_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_disable_processor_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_disable_processor_response.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...
31.723404
107
0.777331
74acf214efb9ea4995405e540ba64338d97b303a
2,249
ex
Elixir
lib/utilities.ex
hlongvu/elixium_core
9d01e0bfea44d5014f44e1417ab84c81222a914d
[ "MIT" ]
164
2018-06-23T01:17:51.000Z
2021-08-19T03:16:31.000Z
lib/utilities.ex
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
37
2018-06-28T18:07:27.000Z
2019-08-22T18:43:43.000Z
lib/utilities.ex
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
26
2018-06-22T00:58:34.000Z
2021-08-19T03:16:40.000Z
defmodule Elixium.Utilities do @moduledoc """ Various functions that don't need their own module, since theyre used in multiple places for different things """ def sha256(data), do: hash(data, :sha256) defp hash(data, algorithm), do: :crypto.hash(algorithm, data) def sha_base16(input) do ...
26.77381
131
0.619386
74ad4ccfd53aa292763f631ea426a4d1682d9f2c
657
exs
Elixir
test/oauth_mock_server/conn_test.exs
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
test/oauth_mock_server/conn_test.exs
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
test/oauth_mock_server/conn_test.exs
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
defmodule OauthMockServer.ConnTest do use ExUnit.Case, async: true use OauthMockServer.Conn # import OauthMockServer.ConnHelper use Plug.Test setup do %{conn: conn(:get, "/")} end test "redirects to an external url", %{conn: conn} do assert %{ resp_body: "<html><body...
26.28
97
0.543379
74ad75c8d034740a914f6eb623f198d183589082
409
ex
Elixir
lib/list_filter.ex
cassiofariasmachado/list-filter
7734014b916a8c54ede2141a41d2733ee4c23906
[ "MIT" ]
1
2021-03-13T00:07:56.000Z
2021-03-13T00:07:56.000Z
lib/list_filter.ex
cassiofariasmachado/list-filter
7734014b916a8c54ede2141a41d2733ee4c23906
[ "MIT" ]
null
null
null
lib/list_filter.ex
cassiofariasmachado/list-filter
7734014b916a8c54ede2141a41d2733ee4c23906
[ "MIT" ]
null
null
null
defmodule ListFilter do require Integer def call(list) do list |> Enum.map(fn x -> parse_integer(x) end) |> Enum.filter(fn x -> not is_error(x) end) |> Enum.filter(fn x -> Integer.is_odd(x) end) |> Enum.count() end defp parse_integer(str) do case Integer.parse(str) do {number, _}...
19.47619
49
0.599022
74ad872d20c4e938e6b9f57eea960bf678988c9f
1,898
ex
Elixir
lib/hydra/router/admin.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
71
2016-01-18T11:30:59.000Z
2021-02-15T04:15:31.000Z
lib/hydra/router/admin.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
7
2016-01-21T22:31:42.000Z
2018-04-06T17:03:59.000Z
lib/hydra/router/admin.ex
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
5
2016-06-13T15:19:27.000Z
2019-12-06T23:07:52.000Z
defmodule Hydra.Router.Admin do @moduledoc """ Plug Router for Route management """ use Plug.Router alias Hydra.{Error, Request, Route, Storage} alias Plug.Conn @endpoint_fields ["path", "description", "requests"] @request_fields ["url"] plug Plug.Parsers, parsers: [:urlencoded, :json], ...
24.333333
89
0.633298
74ada35224df4535a8ec7dd90c0a9bf8743c4178
471
exs
Elixir
priv/repo/migrations/20200610190258_create_payment_history_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20200610190258_create_payment_history_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20200610190258_create_payment_history_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.CreatePaymentHistoryTable do use Ecto.Migration def change do create table(:dc_purchases) do add :dc_purchased, :bigint, null: false add :cost, :int, null: false add :card_type, :string, null: false add :last_4, :string, null: false add :user_id, ...
27.705882
91
0.683652
74adc8c1857b8be222bb4076ca4fc9c7e74dbd34
3,333
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/expr.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.626374
129
0.706571
74addfae36fa48c5627cfe6ddac8fd0f6216e157
2,479
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/products_approve_request.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/products_approve_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/products_approve_request.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 ...
49.58
472
0.771682
74ae01b1b8657af8a6228a700c45683ed612ccdd
1,482
ex
Elixir
lib/taskasync_web/views/error_helpers.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
lib/taskasync_web/views/error_helpers.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
lib/taskasync_web/views/error_helpers.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
defmodule TaskasyncWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_ta...
32.933333
78
0.672065
74ae0a643c885356368da85516dadcaf2b49fbe5
2,553
ex
Elixir
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Pow.Extension.Phoenix.Gen.Templates do @shortdoc "Generates views and templates for extensions" @moduledoc """ Generates views and templates for extensions. mix pow.extension.phoenix.gen.templates --extension PowResetPassword --extension PowEmailConfirmation mix pow.extension.ph...
32.730769
150
0.700353
74ae40d9f3e7c1724d23f0e8fea6f2f266e49933
8,707
exs
Elixir
test/ecto_resource/defaults_test.exs
joseph-lozano/ecto_resource
6c30590d1ec6e0d770cfb77d765dc4a84d65b6f8
[ "Apache-2.0" ]
19
2019-11-05T22:22:27.000Z
2022-01-29T08:35:35.000Z
test/ecto_resource/defaults_test.exs
daytonn/ecto_resource
6c30590d1ec6e0d770cfb77d765dc4a84d65b6f8
[ "Apache-2.0" ]
3
2021-02-06T05:49:43.000Z
2021-07-07T18:22:43.000Z
test/ecto_resource/defaults_test.exs
daytonn/ecto_resource
6c30590d1ec6e0d770cfb77d765dc4a84d65b6f8
[ "Apache-2.0" ]
4
2020-03-20T02:12:27.000Z
2022-03-20T21:01:12.000Z
defmodule EctoResource.DefaultsTestContext.People do @moduledoc false alias EctoResource.TestRepo alias EctoResource.TestSchema.Person use EctoResource using_repo TestRepo do resource(Person) end end defmodule EctoResource.DefaultsTest do use EctoResource.RepoCase alias EctoResource.TestSchema....
25.991045
93
0.63983
74ae944688d3219b4bb6166102f3d58fe28b0933
4,766
ex
Elixir
deps/earmark/lib/earmark/scanner.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/earmark/lib/earmark/scanner.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
107
2016-08-03T18:16:51.000Z
2021-07-23T08:42:51.000Z
deps/earmark/lib/earmark/scanner.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
10
2017-10-31T16:16:05.000Z
2022-02-16T10:31:04.000Z
defmodule Earmark.Scanner do import Earmark.Helpers.StringHelpers, only: [behead: 2] @backtix_rgx ~r/\A(`+)(.*)/ @blockquote_rgx ~r/\A>(?!\S)/ @code_fence_rgx ~r/\A(\s*)~~~/ @headline_rgx ~r/\A(\#{1,6})(\s+)(.*)/ # @id_close_rgx ~r/\[(.*?)\](?!:)/ @id_open_rgx ~r/\A(\s{0,3})\[(.*?)\]:\s+(.*)\z/...
31.986577
198
0.579522
74aeab668bb6516a875cb7bf48273366f8320163
477
exs
Elixir
test/ory/hydra/helpers/headers_test.exs
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
12
2020-01-13T22:36:57.000Z
2021-09-01T04:11:22.000Z
test/ory/hydra/helpers/headers_test.exs
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
8
2020-06-09T17:52:27.000Z
2022-02-21T22:01:29.000Z
test/ory/hydra/helpers/headers_test.exs
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
4
2020-07-17T01:56:47.000Z
2020-10-26T10:38:26.000Z
defmodule ORY.Hydra.Helpers.HeadersTest do use ExUnit.Case, async: true alias ORY.Hydra.{ Helpers, Operation } test "content_type/1 when :content_type is :form_urlencoded" do assert "application/x-www-form-urlencoded" == Helpers.Headers.content_type(%Operation{ content_type: :form_urlencoded }) end tes...
34.071429
124
0.752621
74aebc0bffeeeff4c5d7ea2475c5dde7bf735eab
1,528
exs
Elixir
test/credo/check/refactor/append_single_item_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/refactor/append_single_item_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/refactor/append_single_item_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Check.Refactor.AppendSingleItemTest do use Credo.TestHelper @described_check Credo.Check.Refactor.AppendSingleItem test "it should NOT report appending 2 items" do """ defmodule CredoSampleModule do def some_function(parameter1, parameter2) do [parameter1] ++ [parameter2] ...
23.151515
73
0.657723
74aece1ebcffcb99cb62411829f8c1619276afc3
4,326
ex
Elixir
apps/datapio_mq/lib/datapio_mq/queue.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
5
2021-05-14T22:01:08.000Z
2021-09-21T16:28:09.000Z
apps/datapio_mq/lib/datapio_mq/queue.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
198
2019-10-17T12:22:25.000Z
2022-03-16T02:14:14.000Z
apps/datapio_mq/lib/datapio_mq/queue.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
1
2022-03-10T08:54:36.000Z
2022-03-10T08:54:36.000Z
defmodule Datapio.MQ.Queue do @moduledoc """ Distributed in-memory queue with multiple consumers. """ use GenServer require Logger @typedoc "Queue name" @type queue_name :: atom() | String.t() defstruct [:name, :queue, :sinks] defp via_tuple(queue_name) do name = "queue-#{queue_name}" {:vi...
27.0375
99
0.611419
74aed93e1f8a908efd4808b98c94c22dd5bc9861
437
exs
Elixir
test/models/user_test.exs
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
test/models/user_test.exs
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
test/models/user_test.exs
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
defmodule BluntApi.UserTest do use BluntApi.ModelCase alias BluntApi.User @valid_attrs %{email: "some content", name: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = User.changeset(%User{}, @valid_attrs) assert changeset.valid? end test "changeset with ...
23
61
0.718535
74aef1899750289e8b792d8c8bb12d8dea41c646
7,905
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.Compile.ElixirTest do use MixTest.Case setup do Mix.Project.push MixTest.Case.Sample :ok end test "compiles a project without per environment build" do Mix.Project.pop Mix.ProjectStack.post_config [build_per_environment: f...
33.638298
135
0.627451
74aefa01d59f8da2e6008506e8ad5ced92262765
110
ex
Elixir
lib/gradient/fmt.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
lib/gradient/fmt.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
lib/gradient/fmt.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule Gradient.Fmt do @callback format_type_error(error :: any(), opts :: any()) :: :io_lib.chars() end
27.5
79
0.690909
74af4650632ca5721783721b1c8d3ce609bd2b0a
563
exs
Elixir
test/views/error_view_test.exs
korczis/web-spa
0e8d684fbd8c91b9c745c75c757517821fc24a3a
[ "MIT" ]
1
2021-01-17T21:57:46.000Z
2021-01-17T21:57:46.000Z
test/views/error_view_test.exs
korczis/web-spa
0e8d684fbd8c91b9c745c75c757517821fc24a3a
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
korczis/web-spa
0e8d684fbd8c91b9c745c75c757517821fc24a3a
[ "MIT" ]
1
2017-07-13T08:34:20.000Z
2017-07-13T08:34:20.000Z
defmodule WebSpa.ErrorViewTest do use WebSpa.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(WebSpa.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.590909
66
0.673179
74af8056dfcd0b414d0166bc7253a5bcd90144a4
26,083
ex
Elixir
lib/logger/lib/logger.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
defmodule Logger do @moduledoc ~S""" A logger for Elixir applications. It includes many features: * Provides debug, info, warn, and error levels. * Supports multiple backends which are automatically supervised when plugged into `Logger`. * Formats and truncates messages on the client t...
33.016456
101
0.680367
74af9c7557739c8b1e45d37edc6adf504081c3b8
171
exs
Elixir
apps/astarte_housekeeping/config/dev.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_housekeeping/config/dev.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_housekeeping/config/dev.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
use Mix.Config config :logger, :console, format: {PrettyLog.LogfmtFormatter, :format}, metadata: [:realm, :datacenter, :replication_factor, :module, :function, :tag]
28.5
80
0.730994
74afa9e2410abc5dcf4ddd9d9a78d38b90acf1ed
2,676
ex
Elixir
lib/2021/12.ex
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
lib/2021/12.ex
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
lib/2021/12.ex
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
import AOC aoc 2021, 12 do def generate_graph(input) do steps = input |> String.trim() |> String.replace(~r/[\s]+/, ",") |> String.split(",") |> Enum.map(&String.split(&1, "-")) Enum.map(steps, fn [src, dest] -> {src, dest} end) |> Enum.reduce(%{}, fn {src, dest},...
24.777778
96
0.559791
74afaa60e12b8cf7a873eadcb28592fc2966606c
4,237
ex
Elixir
lib/elixir_mod_event/packet.ex
evangilo/elixir_mod_event
833d7ed18d7e06769f10ed8bd5eab4170e2408ca
[ "Apache-2.0" ]
null
null
null
lib/elixir_mod_event/packet.ex
evangilo/elixir_mod_event
833d7ed18d7e06769f10ed8bd5eab4170e2408ca
[ "Apache-2.0" ]
null
null
null
lib/elixir_mod_event/packet.ex
evangilo/elixir_mod_event
833d7ed18d7e06769f10ed8bd5eab4170e2408ca
[ "Apache-2.0" ]
1
2019-09-10T00:07:58.000Z
2019-09-10T00:07:58.000Z
defmodule FSModEvent.Packet do @moduledoc """ Parses FreeSWITCH packets. Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> 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...
25.220238
95
0.579183
74afcd6d44a96d949160975a8c25a7e0e9badea3
536
ex
Elixir
lib/crawler/fetcher/url_filter.ex
fredwu/crawler
aadf912600f3e840e3330084bac6b7b3cdb3544e
[ "MIT" ]
884
2016-08-08T17:07:02.000Z
2022-03-17T10:11:42.000Z
lib/crawler/fetcher/url_filter.ex
fredwu/crawler
aadf912600f3e840e3330084bac6b7b3cdb3544e
[ "MIT" ]
28
2017-08-04T14:11:42.000Z
2021-01-02T22:40:20.000Z
lib/crawler/fetcher/url_filter.ex
fredwu/crawler
aadf912600f3e840e3330084bac6b7b3cdb3544e
[ "MIT" ]
86
2017-01-12T15:13:49.000Z
2022-01-12T21:24:52.000Z
defmodule Crawler.Fetcher.UrlFilter do @moduledoc """ A placeholder module that lets all URLs pass through. """ defmodule Spec do @moduledoc """ Spec for defining an url filter. """ @type url :: String.t() @type opts :: map @callback filter(url, opts) :: {:ok, boolean} | {:error, term...
19.851852
66
0.630597
74afe01c40e0b864daae046a0ad325bc42c85764
2,133
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_import_data_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_import_data_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_import_data_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.55
183
0.752461
74affd8066d5cd4249b14363983add7c739468fc
274
ex
Elixir
priv/templates/lib/web/views/veil/session_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
164
2018-02-10T21:33:40.000Z
2022-03-15T06:10:50.000Z
priv/templates/lib/web/views/veil/session_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
21
2018-02-15T02:31:40.000Z
2021-04-04T07:16:43.000Z
priv/templates/lib/web/views/veil/session_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
14
2018-03-24T11:15:07.000Z
2020-06-28T12:33:38.000Z
defmodule <%= web_module %>.Veil.SessionView do use <%= web_module %>, :view <%= unless html? do %> def render("ok.json", _assigns) do %{ok: true} end def render("show.json", %{session: session}) do %{session_id: session.unique_id} end <% end %> end
19.571429
49
0.609489
74b0278e235fcc473b85c29ffb2426a4aa164f70
1,642
exs
Elixir
test/ueberauth/strategy/cas/user_test.exs
yannvery/ueberauth_cas
1eb6b9fba5abddb6f4d838312abee3c64f202989
[ "MIT" ]
12
2016-06-30T20:38:41.000Z
2020-05-26T21:42:12.000Z
test/ueberauth/strategy/cas/user_test.exs
yannvery/ueberauth_cas
1eb6b9fba5abddb6f4d838312abee3c64f202989
[ "MIT" ]
13
2018-05-16T14:44:43.000Z
2022-03-24T08:12:05.000Z
test/ueberauth/strategy/cas/user_test.exs
yannvery/ueberauth_cas
1eb6b9fba5abddb6f4d838312abee3c64f202989
[ "MIT" ]
13
2016-07-29T05:13:53.000Z
2022-03-21T11:34:50.000Z
defmodule Ueberauth.Strategy.CAS.User.Test do use ExUnit.Case alias Ueberauth.Strategy.CAS.User test "response without custom attributes works" do xml = """ <cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas"> <cas:authenticationSuccess> <cas:user>mail@marceldegraaf.net</cas:user...
29.854545
79
0.590134
74b028ff79716ec76556f3eb18d0640041883b0e
272
exs
Elixir
AnonymousFunctions/5.3.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
2
2015-11-14T21:35:01.000Z
2017-07-12T07:09:40.000Z
AnonymousFunctions/5.3.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
null
null
null
AnonymousFunctions/5.3.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
null
null
null
print_fizz_buzz = fn n -> fizz_buzz.(rem(n, 3), rem(n, 5), n) end IO.puts print_fizz_buzz.(10) IO.puts print_fizz_buzz.(11) IO.puts print_fizz_buzz.(12) IO.puts print_fizz_buzz.(13) IO.puts print_fizz_buzz.(14) IO.puts print_fizz_buzz.(15) IO.puts print_fizz_buzz.(16)
22.666667
36
0.742647
74b0644971e74374238cf6cbfb8592138d33e9c9
7,005
exs
Elixir
.credo.exs
brainn-co/xcribe
06e66df0ac28d5b3e525f54bc52ed21722701a06
[ "Apache-2.0" ]
30
2019-12-17T20:09:41.000Z
2021-01-11T13:58:24.000Z
.credo.exs
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
36
2019-12-17T20:32:04.000Z
2020-12-02T17:50:49.000Z
.credo.exs
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
3
2020-02-21T18:13:59.000Z
2020-10-20T07:59:05.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
39.353933
97
0.622413
74b06a940025f59ebe60e68e207c1d25393d6580
3,808
exs
Elixir
test/schema/aggregate_transaction_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
1
2018-10-01T23:57:04.000Z
2018-10-01T23:57:04.000Z
test/schema/aggregate_transaction_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
test/schema/aggregate_transaction_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
defmodule Exnem.Schema.AggregateTransactionTest do use Exnem.Case import Exnem.Transaction, only: [transfer: 3, mosaic: 2, convert_to_inner: 2, aggregate: 1, pack: 1] alias Exnem.Crypto.KeyPair describe "Aggregate Transaction" do setup do %{ test_keypair: %{ public_key: "846B4...
34.93578
111
0.707458
74b087e0b4caf8f04181fb79b20781affaa34910
1,018
exs
Elixir
ex/config/dev.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/config/dev.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/config/dev.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :reef, Reef.Endpoint, http: [port: 80], debug_...
26.102564
56
0.692534
74b0959d7e6c1a8e5af7c1b54ddf342fe87dbd08
1,065
ex
Elixir
lib/absinthe/type/built_ins/directives.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/type/built_ins/directives.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/type/built_ins/directives.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Type.BuiltIns.Directives do @moduledoc false use Absinthe.Schema.Notation alias Absinthe.Blueprint directive :include do description """ Directs the executor to include this field or fragment only when the `if` argument is true. """ arg :if, non_null(:boolean), description:...
22.659574
95
0.657277
74b0baa2039a889112e0cc0fcfc6c432d40f834f
560
ex
Elixir
lib/rgb_matrix/animation/solid_color.ex
nerves-keyboard/rgb_matrix
7e53c58936afd27a95b0995db1aebe99061b1a9d
[ "MIT" ]
2
2020-10-16T05:15:19.000Z
2020-10-17T04:34:32.000Z
lib/rgb_matrix/animation/solid_color.ex
nerves-keyboard/rgb_matrix
7e53c58936afd27a95b0995db1aebe99061b1a9d
[ "MIT" ]
44
2020-10-17T04:55:27.000Z
2022-03-23T14:33:52.000Z
lib/rgb_matrix/animation/solid_color.ex
nerves-keyboard/rgb_matrix
7e53c58936afd27a95b0995db1aebe99061b1a9d
[ "MIT" ]
null
null
null
defmodule RGBMatrix.Animation.SolidColor do @moduledoc """ All LEDs are a solid color. """ use RGBMatrix.Animation alias Chameleon.HSV defmodule State do @moduledoc false defstruct [:color, :led_ids] end @impl true def new(leds, _config) do color = HSV.new(120, 100, 100) %State{col...
18.666667
58
0.648214
74b12183e1fe772c1081331e9be59fd1154240e8
251
ex
Elixir
lib/goodbot.ex
gurschitz/goodbot_phoenix
9b42edd2dbabc2d69f7e93a33f9a58c48b4a2203
[ "MIT" ]
null
null
null
lib/goodbot.ex
gurschitz/goodbot_phoenix
9b42edd2dbabc2d69f7e93a33f9a58c48b4a2203
[ "MIT" ]
null
null
null
lib/goodbot.ex
gurschitz/goodbot_phoenix
9b42edd2dbabc2d69f7e93a33f9a58c48b4a2203
[ "MIT" ]
null
null
null
defmodule Goodbot do @moduledoc """ Goodbot keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
74b1c5238fa1a9cce995dac07a7dc2160726fe05
67
ex
Elixir
elixir/quick-elixir-blog/blog_phoenix/web/views/page_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/web/views/page_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/web/views/page_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
defmodule BlogPhoenix.PageView do use BlogPhoenix.Web, :view end
16.75
33
0.80597
74b1cabe1cefba61d1ce85f53307874976dbdd1b
5,314
ex
Elixir
lib/type/_spec.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
lib/type/_spec.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
lib/type/_spec.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule Type.Spec do @moduledoc false import Type, only: :macros @builtins Type.builtins() def parse(spec, assigns \\ %{}) # fix assigns def parse({:var, _, name}, assigns) when is_map_key(assigns, name) do assigns[name] end def parse({:var, _, :_}, _assigns) do any() end def parse({:...
37.957143
104
0.620625
74b1d0cb2ad243dd2f3a3d5a4bf1c2fdf95cde28
2,190
ex
Elixir
lib/gitlab/oauth2.ex
diskshima/git_web_cli
45bcbfe4b63a37cadd3d948dedf14b36a9e3f9a3
[ "MIT" ]
null
null
null
lib/gitlab/oauth2.ex
diskshima/git_web_cli
45bcbfe4b63a37cadd3d948dedf14b36a9e3f9a3
[ "MIT" ]
6
2016-06-26T15:27:35.000Z
2016-06-26T15:28:00.000Z
lib/gitlab/oauth2.ex
diskshima/git_web_cli
45bcbfe4b63a37cadd3d948dedf14b36a9e3f9a3
[ "MIT" ]
null
null
null
defmodule GitLab.OAuth2 do @moduledoc """ Holds OAuth2 related functions for GitLab. """ def oauth2_token do case existing_token do {:ok, token} -> token |> save_tokens _ -> client = oauth2_client input = IO.gets("Please specify GitLab username > ") use...
26.071429
83
0.620548
74b22042f5090b381d4a7e6d10a2eb507f09022a
1,490
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.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...
29.8
76
0.709396
74b27109d9d95aa20eb2f94672ed1d0d423de454
2,246
exs
Elixir
test/test_helper.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
# Do not run the SSL tests on Travis if System.get_env("CI") do ExUnit.configure exclude: [ssl: true] end ExUnit.start() {string, 0} = System.cmd("mongod", ~w'--version') ["db version v" <> version, _] = String.split(string, "\n", parts: 2) IO.puts "[mongod v#{version}]" {_, 0} = System.cmd("mongo", ~w'mongodb_t...
37.433333
199
0.664292
74b2728bff62f08ae1d3b1187a4811faf7dd3e9d
1,893
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__face_segment.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__face_segment.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__face_segment.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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...
34.418182
178
0.772319
74b2a83b694fd19c97599ac46049756da691f0b0
4,795
exs
Elixir
apps/cms/test/page/event_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/test/page/event_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/test/page/event_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.Page.EventTest do use ExUnit.Case, async: true import CMS.Page.Event import Phoenix.HTML, only: [safe_to_string: 1] alias CMS.API.Static alias CMS.Page.Event alias Phoenix.HTML setup do %{ api_event_without_path_alias: Static.events_response() |> Enum.at(0), api_event_with...
28.372781
99
0.588738
74b2fd0bd87a33231d3d7395a066d3cf88c86742
2,942
exs
Elixir
test/stellar/base/signer_test.exs
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
1
2019-12-19T14:12:20.000Z
2019-12-19T14:12:20.000Z
test/stellar/base/signer_test.exs
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
null
null
null
test/stellar/base/signer_test.exs
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
4
2019-10-09T20:58:35.000Z
2021-12-06T23:00:46.000Z
defmodule Stellar.Signer.Test do use ExUnit.Case, async: true alias Stellar.Base.Signer setup_all do with {:ok, seed} <- "1123740522f11bfef6b3671f51e159ccf589ccf8965262dd5f97d1721d383dd4" |> Base.decode16(case: :lower), {:ok, public_key} <- "ffbdd7ef9933fe7249dc5ca1e...
40.861111
141
0.670972
74b3265a9468e2f4c97e21fc45d227a5f9252113
692
ex
Elixir
chp5/stateful_database_server.ex
AJPcodes/elixir_in_action
d9c9b0aeea13bf48cd65af7c2de6ba5cf30e5d26
[ "MIT" ]
null
null
null
chp5/stateful_database_server.ex
AJPcodes/elixir_in_action
d9c9b0aeea13bf48cd65af7c2de6ba5cf30e5d26
[ "MIT" ]
null
null
null
chp5/stateful_database_server.ex
AJPcodes/elixir_in_action
d9c9b0aeea13bf48cd65af7c2de6ba5cf30e5d26
[ "MIT" ]
null
null
null
defmodule DatabaseServer do def start do spawn(fn -> connection = :random.uniform(1000) loop(connection) end) end def run_async(server_pid, query_def) do send(server_pid, {:run_query, self, query_def}) end def get_result do receive do {:query_result, result} -> result a...
20.352941
71
0.647399
74b349dabba7f33136e8d627066f7e72c309564c
122
exs
Elixir
test/milkpotion_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
1
2017-01-20T05:29:22.000Z
2017-01-20T05:29:22.000Z
test/milkpotion_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
null
null
null
test/milkpotion_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
null
null
null
defmodule MilkpotionTest do use ExUnit.Case doctest Milkpotion test "the truth" do assert 1 + 1 == 2 end end
13.555556
27
0.688525
74b35da85edb0b17b40a59f81daffd5ae2ac56c9
341
ex
Elixir
lib/todo/database/client.ex
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "MIT" ]
null
null
null
lib/todo/database/client.ex
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "MIT" ]
null
null
null
lib/todo/database/client.ex
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "MIT" ]
null
null
null
defmodule Todo.Database.Client do def store(key, data) do :poolboy.transaction(Todo.Database.Server, fn worker_pid -> GenServer.call(worker_pid, {:store, key, data}) end) end def get(key) do :poolboy.transaction(Todo.Database.Server, fn worker_pid -> GenServer.call(worker_pid, {:get, key}...
24.357143
63
0.680352
74b371624b48deeef0a7c880745dc562c11fa2b1
5,748
exs
Elixir
test/wallaby/chrome/chromedriver/server_test.exs
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
926
2016-03-28T17:01:54.000Z
2019-11-05T11:59:58.000Z
test/wallaby/chrome/chromedriver/server_test.exs
marcandre/wallaby
d351c46f1a272bbcf8333c8327d154be3bd12c5c
[ "MIT" ]
377
2016-03-17T00:35:56.000Z
2019-11-03T07:15:24.000Z
test/wallaby/chrome/chromedriver/server_test.exs
marcandre/wallaby
d351c46f1a272bbcf8333c8327d154be3bd12c5c
[ "MIT" ]
144
2016-03-29T15:28:28.000Z
2019-10-31T00:48:42.000Z
defmodule Wallaby.Chrome.Chromedriver.ServerTest do use ExUnit.Case, async: true alias Wallaby.TestSupport.Chrome.ChromeTestScript alias Wallaby.TestSupport.TestScriptUtils alias Wallaby.TestSupport.TestWorkspace alias Wallaby.TestSupport.Utils alias Wallaby.Chrome alias Wallaby.Chrome.Chromedriver.Serv...
31.07027
97
0.728949
74b3749bd1facfc420c5eb1eed1d211c04aca26f
4,557
exs
Elixir
test/hello/accounts/accounts_test.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
test/hello/accounts/accounts_test.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
test/hello/accounts/accounts_test.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
defmodule Hello.AccountsTest do use Hello.DataCase alias Hello.Accounts describe "users" do alias Hello.Accounts.User @valid_attrs %{active: true, crypted_password: "some crypted_password", first_name: "some first_name", last_name: "some last_name", username: "some username"} @update_attrs %{active...
33.507353
196
0.662497
74b39e5ec68357989f232d292914f5855910d253
706
ex
Elixir
apps/gapi_web/lib/gapi_web/gettext.ex
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
apps/gapi_web/lib/gapi_web/gettext.ex
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
apps/gapi_web/lib/gapi_web/gettext.ex
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
defmodule GapiWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import GapiWeb.Gettext # Simple translation gettext("Here is the str...
28.24
72
0.675637
74b3bc127645d35fb699caed6c53b2b76a570062
1,834
ex
Elixir
apps/customer/lib/customer/web/controllers/api/v1/favorite_job_controller.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/lib/customer/web/controllers/api/v1/favorite_job_controller.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/lib/customer/web/controllers/api/v1/favorite_job_controller.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defmodule Customer.Web.Api.V1.FavoriteJobController do use Customer.Web, :controller alias Customer.Converter alias Customer.Web.Command alias Customer.Web.Query action_fallback Customer.Web.Api.FallbackController def index(conn, _params, current_user, _claims) do favorite_jobs = Query.FavoriteJob.all_...
33.962963
143
0.674482
74b3c8b2f8887d6096050305bb4c8b55422a3fd7
20,076
ex
Elixir
lib/elixir/lib/code.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule Code do @moduledoc """ Utilities for managing code compilation, code evaluation and code loading. This module complements Erlang's [`:code` module](http://www.erlang.org/doc/man/code.html) to add behaviour which is specific to Elixir. Almost all of the functions in this module have global side effe...
30.372163
110
0.681012
74b3e317f0e00f0afdbc86c2c149d3fc373d6e3f
991
ex
Elixir
lib/chatsnek/vote_manager/state.ex
xtagon/chatsnek
a2bc762da02467631d17ddc8b47217f4a49b740b
[ "MIT" ]
3
2020-12-13T15:24:40.000Z
2021-09-22T17:45:40.000Z
lib/chatsnek/vote_manager/state.ex
xtagon/chatsnek
a2bc762da02467631d17ddc8b47217f4a49b740b
[ "MIT" ]
8
2020-12-14T01:25:44.000Z
2021-10-03T16:12:23.000Z
lib/chatsnek/vote_manager/state.ex
xtagon/chatsnek
a2bc762da02467631d17ddc8b47217f4a49b740b
[ "MIT" ]
null
null
null
defmodule ChatSnek.VoteManager.State do defstruct [ votes: %{}, last_move_played: nil ] alias __MODULE__ def new do %State{} end def cast_vote(%State{} = state, move, voter) do next_votes = Map.put(state.votes, voter, move) %State{state | votes: next_votes} end def count_votes(%S...
23.046512
96
0.636731
74b4096a4fe4ff438bcd7f16a3b1acd6c1d0a270
711
ex
Elixir
lib/elexeum_web/gettext.ex
elexeum/elexeum
a38bccdd21035e47b286e2ec128b3d217cc4d0bf
[ "Apache-2.0" ]
2
2022-02-16T11:07:01.000Z
2022-03-14T08:29:48.000Z
lib/elexeum_web/gettext.ex
elexeum/elexeum
a38bccdd21035e47b286e2ec128b3d217cc4d0bf
[ "Apache-2.0" ]
null
null
null
lib/elexeum_web/gettext.ex
elexeum/elexeum
a38bccdd21035e47b286e2ec128b3d217cc4d0bf
[ "Apache-2.0" ]
null
null
null
defmodule ElexeumWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import ElexeumWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
74b41a2d9be64309e224d31e90be54bf999cca0d
2,018
exs
Elixir
test/google_certs_test.exs
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
25
2017-03-15T15:54:39.000Z
2021-04-26T08:23:01.000Z
test/google_certs_test.exs
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
12
2016-09-10T04:08:46.000Z
2020-06-15T08:15:03.000Z
test/google_certs_test.exs
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
26
2017-06-02T00:14:32.000Z
2022-03-17T14:48:14.000Z
defmodule GoogleCertsTest do use ExUnit.Case, async: true @mod "zkSRsA8npcga4dKSt91-OtSXA481Y94jt5tn64h2MUtUnQ_1JP-4xcDBYVG52m1Cdc7Fq2_cpUOvm27jAxIc4oYxLk1YtyJX9ce5p2rkbKyC71nSq5om3rBE4n3hYUa0nPCcXNC0uC_G0UTVY_OsiYS6hSNVSnHqySn50yid8EBWY8sHHCsqEtlk4uwXXalgnpZ5BXI22yQWQASnZdeIiRKhxSWdkDrbLUq1FmyfNn9vabhIADZsdjCL3iC...
96.095238
740
0.908821
74b42153006b45574c8dcd75d82b42d8e7a41153
1,493
exs
Elixir
apps/nerves_hub_api/mix.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_api/mix.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_api/mix.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubAPI.Mixfile do use Mix.Project def project do [ app: :nerves_hub_api, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.12", elixirc_paths: e...
26.192982
66
0.561956
74b44e972a14866442fa291ef675bca565138c3e
16,277
ex
Elixir
lib/phoenix_live_view/helpers.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Helpers do @moduledoc """ A collection of helpers to be imported into your views. """ alias Phoenix.LiveView.{Component, Socket, Static} @doc false def live_patch(opts) when is_list(opts) do live_link("patch", Keyword.fetch!(opts, :do), Keyword.delete(opts, :do)) end @d...
31.978389
100
0.649014
74b451c1d73bd8b09f85722ba52953d27c31d968
4,896
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_search_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_search_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_search_result.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...
75.323077
705
0.735907
74b46627deb39125ba9bb6604fb4db146bbf1d68
89
ex
Elixir
lib/balalaika_bear/secure.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
5
2018-04-30T09:48:17.000Z
2020-05-01T10:20:15.000Z
lib/balalaika_bear/secure.ex
BalalaikaIndustries/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
7
2018-04-28T06:39:10.000Z
2018-04-28T07:31:59.000Z
lib/balalaika_bear/secure.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
2
2018-04-27T19:42:04.000Z
2020-05-01T10:20:02.000Z
defmodule BalalaikaBear.Secure do use BalalaikaBear.Macro.API, namespace: "secure" end
22.25
50
0.808989
74b46ee4c6038cdb80c8750b10077a4a524d378f
4,574
ex
Elixir
lib/ecto_enum.ex
pmarreck/ecto_enum
f7b65534e11545d23c626c655ce26c73e43117f0
[ "MIT" ]
null
null
null
lib/ecto_enum.ex
pmarreck/ecto_enum
f7b65534e11545d23c626c655ce26c73e43117f0
[ "MIT" ]
null
null
null
lib/ecto_enum.ex
pmarreck/ecto_enum
f7b65534e11545d23c626c655ce26c73e43117f0
[ "MIT" ]
null
null
null
defmodule EctoEnum do @moduledoc """ Provides `defenum/2` and `defenum/3` macro for defining an Enum Ecto type. This module can also be `use`d to create an Ecto Enum like: defmodule CustomEnum do use EctoEnum, ready: 0, set: 1, go: 2 end Or in place of using `EctoEnum.Postgres` like: ...
30.905405
95
0.636205
74b4b89ad4adf96275538438a9dfa63566ff9ffc
70,310
ex
Elixir
lib/aws/glacier.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
null
null
null
lib/aws/glacier.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
null
null
null
lib/aws/glacier.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.Glacier do @moduledoc """ Amazon Glacier is a storage solution for "cold data." Amazon Glacier is an extremely low-cost storage service that provides secure, durable, and easy-to-use storag...
48.025956
114
0.731347
74b4d7f3c8361b1d4bc98d143ec14d990d7bd1ee
1,371
ex
Elixir
lib/scenic/primitive/style/join.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
1,716
2018-09-07T21:55:43.000Z
2022-03-31T16:16:30.000Z
lib/scenic/primitive/style/join.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
220
2018-09-08T01:28:00.000Z
2022-03-22T03:55:17.000Z
lib/scenic/primitive/style/join.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
137
2018-09-07T21:55:56.000Z
2022-03-26T04:07:27.000Z
# # Created by Boyd Multerer on 2018-06-04. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.Join do @moduledoc """ Set how to connect two lines in a path. Works with primitives that have clear joints, such as Rectangle, Quad, Triangle, and Path. Example: ...
23.637931
80
0.4938
74b5053c00ec2452c528abaf36a5372fba3048f7
681
exs
Elixir
test/fixtures/umbrella/config/config.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
3,097
2016-07-18T13:59:00.000Z
2022-03-29T00:27:23.000Z
test/fixtures/umbrella/config/config.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
1,413
2017-09-14T18:18:14.000Z
2020-09-28T08:10:30.000Z
test/fixtures/umbrella/config/config.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
483
2016-07-22T14:08:49.000Z
2022-03-21T09:35:23.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # By default, the umbrella project as well as each child # application will require this configuration file, ensuring # they all use the same configuration. While one could # configu...
37.833333
68
0.741557
74b52fd616e05fd0876619296e03e18d8dce7630
776
ex
Elixir
web/router.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
web/router.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
web/router.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
defmodule Cellar.Router do use Cellar.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/api", Cellar do pipe_throu...
22.823529
65
0.67268
74b59d5d9748405f89f9de54e7d9b5d93454ed00
4,841
exs
Elixir
test/stats_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
1
2020-05-06T15:16:11.000Z
2020-05-06T15:16:11.000Z
test/stats_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
null
null
null
test/stats_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
null
null
null
defmodule ExCoveralls.StatsTest do use ExUnit.Case import Mock alias ExCoveralls.Stats alias ExCoveralls.Cover alias ExCoveralls.Settings @stats [{{Stats, 1}, 0}, {{Stats, 2}, 1}] @source "test/fixtures/test.ex" @content "defmodule Test do\n def test do\n end\nend\n" @tri...
34.827338
121
0.642016
74b59ea44abf58c14a87d9042d36096b421d0451
1,592
ex
Elixir
lib/mix/tasks/ecto.rollback.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
1
2016-08-15T21:23:28.000Z
2016-08-15T21:23:28.000Z
lib/mix/tasks/ecto.rollback.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.rollback.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto.Rollback do use Mix.Task import Mix.Ecto @shortdoc "Reverts migrations down on a repo" @moduledoc """ Reverts applied migrations in the given repository. Migrations are expected to be found inside the migrations directory returned by the priv function defined in the repositor...
28.945455
79
0.671482
74b5dd397ec433d8dd18808c7a9fd9b23601fdd6
299
ex
Elixir
lib/leetcode_leaderboard_web/views/layout_view.ex
BlueForeverI/leetcode_leaderboard
18a97c006b6e359a1148132d87be965e9f6ef305
[ "MIT" ]
null
null
null
lib/leetcode_leaderboard_web/views/layout_view.ex
BlueForeverI/leetcode_leaderboard
18a97c006b6e359a1148132d87be965e9f6ef305
[ "MIT" ]
null
null
null
lib/leetcode_leaderboard_web/views/layout_view.ex
BlueForeverI/leetcode_leaderboard
18a97c006b6e359a1148132d87be965e9f6ef305
[ "MIT" ]
null
null
null
defmodule LeetcodeLeaderboardWeb.LayoutView do use LeetcodeLeaderboardWeb, :view # Phoenix LiveDashboard is available only in development by default, # so we instruct Elixir to not warn if the dashboard route is missing. @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end
37.375
72
0.792642
74b5ee3ad8d521e7282b1545fdfbcf9fe757643e
160
exs
Elixir
priv/repo/migrations/20200415193811_add_exit_to_snap.exs
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
5
2020-04-23T21:12:17.000Z
2020-09-30T00:16:58.000Z
priv/repo/migrations/20200415193811_add_exit_to_snap.exs
joshchernoff/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
232
2020-04-24T00:52:24.000Z
2021-08-05T17:23:12.000Z
priv/repo/migrations/20200415193811_add_exit_to_snap.exs
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
1
2020-04-04T02:19:44.000Z
2020-04-04T02:19:44.000Z
defmodule MorphicPro.Repo.Migrations.AddExitToSnap do use Ecto.Migration def change do alter table("snaps") do add :exif, :map end end end
16
53
0.69375
74b6162526795866c2f1836dc8abaaab3f5b7dea
267
ex
Elixir
lib/documents_design.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
defmodule DocumentsDesign do @moduledoc """ DocumentsDesign keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.7
66
0.76779
74b617fdfcbbcf4e7333ec6c8350889208a91713
1,676
exs
Elixir
lib/mix/test/mix/dep/lock_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/mix/test/mix/dep/lock_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep/lock_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Dep.LockTest do use MixTest.Case setup do Mix.Project.push(MixTest.Case.Sample) :ok end test "creates new lock and manifest files", context do in_tmp context.test, fn -> Mix.Dep.Lock.write(%{foo: :bar}) assert File.regu...
25.784615
82
0.529833
74b61b309e207ab4a2c78f7376346262a141b90b
2,702
exs
Elixir
apps/astarte_appengine_api/test/astarte_appengine_api/rooms_amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_appengine_api/test/astarte_appengine_api/rooms_amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_appengine_api/test/astarte_appengine_api/rooms_amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
30.704545
84
0.740933
74b6306434ecba3161bee4206f8af77e88a2f88e
2,282
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tpu/lib/google_api/tpu/v1/model/status.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...
43.056604
427
0.717791