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
03065e373c7ea09cf3dc5fc959690fa4b9276145
195
exs
Elixir
test/web/controllers/page_controller_test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
test/web/controllers/page_controller_test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
test/web/controllers/page_controller_test.exs
ShaneKilkelly/teal
494de9b9a3848ab57a5c3731c9d462bad335a3c0
[ "MIT" ]
null
null
null
defmodule Teal.Web.PageControllerTest do use Teal.Web.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.666667
60
0.666667
03066caee841d849bcd75bb44cc5e084c2f05543
494
exs
Elixir
test/credo/check/readability/semicolons_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
test/credo/check/readability/semicolons_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
test/credo/check/readability/semicolons_test.exs
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.SemicolonsTest do use Credo.TestHelper @described_check Credo.Check.Readability.Semicolons @moduletag :to_be_implemented test "it should NOT report expected code" do """ def fun_name do statement1 statement2 end """ |> to_source_file |> refute_issues(@described_check...
16.466667
53
0.738866
0306b042525c9353cfc989d3ce03e32304ac63c8
56
ex
Elixir
test/support/payment.ex
TORIFUKUKaiou/ex-r_enum
5fd99b61dae3c7fe8fc3838158af342ff308dff1
[ "Apache-2.0" ]
24
2022-01-13T23:13:11.000Z
2022-03-27T18:02:39.000Z
test/support/payment.ex
TORIFUKUKaiou/ex-r_enum
5fd99b61dae3c7fe8fc3838158af342ff308dff1
[ "Apache-2.0" ]
16
2022-01-16T09:18:17.000Z
2022-02-08T01:10:09.000Z
test/support/payment.ex
TORIFUKUKaiou/ex-r_enum
5fd99b61dae3c7fe8fc3838158af342ff308dff1
[ "Apache-2.0" ]
6
2022-01-16T04:40:42.000Z
2022-02-07T14:56:26.000Z
defmodule Payment do defstruct [:dollars, :cents] end
14
30
0.75
0306bbc67fe2d486979364e1ccf1bb4107865a68
160
ex
Elixir
lib/quasar/web/views/api/v1/user_view.ex
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
11
2017-07-10T10:13:42.000Z
2021-12-19T16:46:20.000Z
lib/quasar/web/views/api/v1/user_view.ex
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
null
null
null
lib/quasar/web/views/api/v1/user_view.ex
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
3
2017-07-18T20:03:34.000Z
2019-07-28T13:32:49.000Z
defmodule Quasar.Web.Api.V1.UserView do use Quasar.Web, :view attributes [ :email, :name, :settings, :inserted_at, :updated_at ] end
13.333333
39
0.625
0306c6a18d6c8113286f2cdf449211257d567416
35,150
ex
Elixir
lib/ecto/query/builder.ex
Qqwy/ecto
c25ab093adcee031a36484ed86e576a4c28b2c6f
[ "Apache-2.0" ]
1
2019-05-03T08:51:16.000Z
2019-05-03T08:51:16.000Z
lib/ecto/query/builder.ex
Qqwy/ecto
c25ab093adcee031a36484ed86e576a4c28b2c6f
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder.ex
Qqwy/ecto
c25ab093adcee031a36484ed86e576a4c28b2c6f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.Builder do @moduledoc false alias Ecto.Query @comparisons [ is_nil: 1, ==: 2, !=: 2, <: 2, >: 2, <=: 2, >=: 2 ] @dynamic_aggregates [ max: 1, min: 1, first_value: 1, last_value: 1, nth_value: 2, lag: 3, lead: 3, lag: 2, le...
34.596457
116
0.629929
0306f1dd11584d83bb9bd0cda5585ae264913e3a
38,430
exs
Elixir
lib/elixir/test/elixir/stream_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/elixir/test/elixir/stream_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule StreamTest do use ExUnit.Case, async: true doctest Stream defmodule Pdict do defstruct [] defimpl Collectable do def into(struct) do fun = fn _, {:cont, x} -> Process.put(:stream_cont, [x | Process.get(:stream_cont)]) ...
31.5
97
0.566042
0306f636da20266c17626875d3ad78a16a2836a2
4,805
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__job.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__job.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__job.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...
55.872093
536
0.714048
0306f7fa07449f279330e0f85b69c6e04e617912
36,047
ex
Elixir
lib/phoenix_live_view/engine.ex
whitepaperclip/phoenix_live_view
750ad38fce23ae09aa80fbaea9bc696bc6645f22
[ "MIT" ]
null
null
null
lib/phoenix_live_view/engine.ex
whitepaperclip/phoenix_live_view
750ad38fce23ae09aa80fbaea9bc696bc6645f22
[ "MIT" ]
null
null
null
lib/phoenix_live_view/engine.ex
whitepaperclip/phoenix_live_view
750ad38fce23ae09aa80fbaea9bc696bc6645f22
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Component do @moduledoc """ The struct returned by components in .heex templates. This component is never meant to be output directly into the template. It should always be handled by the diffing algorithm. """ defstruct [:id, :component, :assigns] @type t :: %__MODULE__{ ...
31.427201
100
0.630094
0306fd573fe5653ff6dc3bd34658eea3b4e7750f
2,462
ex
Elixir
clients/content/lib/google_api/content/v2/model/test_order_line_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_line_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_line_item.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...
41.033333
125
0.748578
030710ddece3339dcd1e7a07410de49b0d9d27b7
88
ex
Elixir
test/support/web/views/live2_view.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
test/support/web/views/live2_view.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
test/support/web/views/live2_view.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule DrabTestApp.Live2View do @moduledoc false use DrabTestApp.Web, :view end
14.666667
34
0.784091
030710f9bf532a7588aaa3998cd9d7ddd4ccdc22
417
ex
Elixir
lib/go_champs_api/recently_views/recently_view.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
null
null
null
lib/go_champs_api/recently_views/recently_view.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
2
2019-08-30T04:44:20.000Z
2019-08-30T04:44:28.000Z
lib/go_champs_api/recently_views/recently_view.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
null
null
null
defmodule GoChampsApi.RecentlyViews.RecentlyView do use Ecto.Schema use GoChampsApi.Schema import Ecto.Changeset alias GoChampsApi.Tournaments.Tournament schema "recently_view" do belongs_to :tournament, Tournament timestamps() end @doc false def changeset(recently_view, attrs) do recentl...
20.85
51
0.745803
03071aff19b50d4e19e952684793c7a5f776aa2b
4,792
exs
Elixir
elixir/test/homework/transactions_test.exs
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
null
null
null
elixir/test/homework/transactions_test.exs
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
8
2022-01-17T20:50:29.000Z
2022-01-17T20:54:41.000Z
elixir/test/homework/transactions_test.exs
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
1
2022-01-19T06:55:41.000Z
2022-01-19T06:55:41.000Z
defmodule Homework.TransactionsTest do use Homework.DataCase alias Ecto.UUID alias Homework.Merchants alias Homework.Transactions alias Homework.Users describe "transactions" do alias Homework.Transactions.Transaction setup do {:ok, merchant1} = Merchants.create_merchant(%{descripti...
30.522293
99
0.651294
03071b703eb52783e6f2d3b37d771efc55abf891
1,213
exs
Elixir
mix.exs
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
2
2016-04-20T22:29:24.000Z
2021-01-20T04:40:41.000Z
mix.exs
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
null
null
null
mix.exs
kentdahl/tiled_map
f1fd98c0f56c4f7676a53fdece0ef511d12787f4
[ "MIT" ]
1
2019-09-27T11:10:18.000Z
2019-09-27T11:10:18.000Z
defmodule TiledMap.Mixfile do use Mix.Project def project do [app: :tiled_map, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: "Basic parsing of JSON Map Format from Tiled map editor", package: package, so...
23.326923
77
0.580379
03072e3c7da4b9830244d3ccd977df9ddb3cfc64
12,009
exs
Elixir
lib/iex/test/iex/helpers_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers test "clear helper" do Application.put_env(:elixir, :ansi_enabled, true) assert capture_iex("clear") == "\e[H\e[2J" Application.put_env(:elixir, :ansi_enabled, false) assert capture_iex...
29.077482
126
0.619702
0307828e8d1eeadebb0a56c4440317480a232ddd
2,289
exs
Elixir
test/shopmap/location/location_test.exs
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
test/shopmap/location/location_test.exs
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
test/shopmap/location/location_test.exs
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
defmodule Shopmap.LocationTest do use Shopmap.DataCase alias Shopmap.Location describe "shops" do alias Shopmap.Location.Shop @valid_attrs %{info: "some info", lat: 120.5, lng: 120.5, name: "some name", rank: 42} @update_attrs %{info: "some updated info", lat: 456.7, lng: 456.7, name: "some updated...
31.356164
107
0.638707
0307995d995e5ea70ef41e3dc47994ab18990d66
125
ex
Elixir
lib/excommerce/commands/product_option_type.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
lib/excommerce/commands/product_option_type.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
lib/excommerce/commands/product_option_type.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Command.ProductOptionType do use Excommerce.Command, schema: Excommerce.Catalog.ProductOptionType end
31.25
70
0.864
03079fe58405ab053c5c95ec50d795040b424efc
257
ex
Elixir
lib/tablespoon.ex
paulswartz/tablespoon
3637ee22cce16755fa50461058a079fa18d33b1b
[ "MIT" ]
2
2020-04-03T14:39:23.000Z
2020-12-17T23:12:58.000Z
lib/tablespoon.ex
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
107
2019-09-16T12:52:17.000Z
2022-02-28T10:25:15.000Z
lib/tablespoon.ex
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
null
null
null
defmodule Tablespoon do @moduledoc """ Tablespoon keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
0307a3274c93960fe5383760548762d0bfa659c5
5,454
exs
Elixir
test/zxcvbn/feedback_test.exs
KrisLamote/zxcvbn-ex
26ad9e6f177b6314dc91069137184e7235430e5e
[ "MIT" ]
2
2018-10-09T20:17:08.000Z
2018-10-18T23:30:49.000Z
test/zxcvbn/feedback_test.exs
KrisLamote/zxcvbn-ex
26ad9e6f177b6314dc91069137184e7235430e5e
[ "MIT" ]
13
2018-10-06T08:03:23.000Z
2019-10-02T18:50:43.000Z
test/zxcvbn/feedback_test.exs
KrisLamote/zxcvbn-ex
26ad9e6f177b6314dc91069137184e7235430e5e
[ "MIT" ]
7
2018-10-06T10:14:41.000Z
2019-10-01T09:29:44.000Z
defmodule Zxcvbn.FeedbackTest do use ExUnit.Case alias Zxcvbn.Feedback describe "get_dictionary_match_feedback/2" do setup do %{ token: "", l33t: false, reversed: false, rank: 0, dictionary_name: "", guesses_log10: 0 } end test "warns when ...
35.647059
88
0.67125
0307c8ec7241017ad799f8e43d27b69b087a6cff
544
ex
Elixir
lib/kiq/running_job.ex
locaweb/kiq
fa561b9a1a2361e99b4af5eafc4d3c7ece576ea9
[ "MIT" ]
59
2018-07-13T23:17:00.000Z
2021-12-21T07:03:03.000Z
lib/kiq/running_job.ex
locaweb/kiq
fa561b9a1a2361e99b4af5eafc4d3c7ece576ea9
[ "MIT" ]
5
2019-08-05T13:14:42.000Z
2022-03-09T12:38:46.000Z
lib/kiq/running_job.ex
locaweb/kiq
fa561b9a1a2361e99b4af5eafc4d3c7ece576ea9
[ "MIT" ]
6
2018-09-24T13:16:21.000Z
2021-05-03T08:26:52.000Z
defmodule Kiq.RunningJob do @moduledoc false alias Kiq.{Encoder, Job, Timestamp} @type t :: %__MODULE__{key: binary(), encoded: binary()} defstruct [:key, :encoded] @spec new(job :: Job.t()) :: t() def new(%Job{pid: pid, queue: queue} = job) do details = %{queue: queue, payload: Job.to_map(job), run...
25.904762
85
0.663603
0307d8e5abacbb7b43fc621d00fc16683b5099c2
1,243
exs
Elixir
apps/admin_api/test/admin_api/v1/views/reset_password_view_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/views/reset_password_view_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/views/reset_password_view_test.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 ...
30.317073
82
0.69107
0307e34ff5f5153e1ea57ab39edf9ebcaa8f2a94
328
ex
Elixir
languages/elixir/exercises/concept/dna-encoding/lib/dna.ex
evelynstender/v3
f002a8c620107f6bf8a5c6d685654b95294963ce
[ "MIT" ]
null
null
null
languages/elixir/exercises/concept/dna-encoding/lib/dna.ex
evelynstender/v3
f002a8c620107f6bf8a5c6d685654b95294963ce
[ "MIT" ]
null
null
null
languages/elixir/exercises/concept/dna-encoding/lib/dna.ex
evelynstender/v3
f002a8c620107f6bf8a5c6d685654b95294963ce
[ "MIT" ]
null
null
null
defmodule DNA do def encode_nucleotide(code_point), do: raise "Please implement encode_nucleotide/1" def decode_nucleotide(encoded_code), do: raise "Please implement decode_nucleotide/1" def encode(dna) do raise "Please implement encode/1" end def decode(dna) do raise "Please implement decode/1" ...
23.428571
87
0.753049
03080e6b0bc0a92fdc91091c6b15af1bc7486ba7
9,272
ex
Elixir
lib/live_qchatex_web/live/chat.ex
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
8
2019-06-01T18:45:47.000Z
2021-11-10T07:56:20.000Z
lib/live_qchatex_web/live/chat.ex
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
3
2020-04-19T15:59:27.000Z
2021-05-09T00:33:11.000Z
lib/live_qchatex_web/live/chat.ex
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
3
2019-10-25T16:03:12.000Z
2021-11-10T07:53:14.000Z
defmodule LiveQchatexWeb.LiveChat.Chat do use LiveQchatexWeb, :live_view @view_name "chat-room" def mount(%{sid: sid}, socket) do setup_logger(socket, @view_name) {:ok, socket |> fetch_user(sid)} end def handle_params(%{"id" => id}, _uri, socket) do try do socket = socket |> fetch_chat!(i...
29.341772
92
0.624137
030818d40cde9d51ef8ef35e0355200726069e09
1,328
exs
Elixir
config/config.exs
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
null
null
null
config/config.exs
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
4
2017-10-18T15:52:20.000Z
2017-10-19T00:18:38.000Z
config/config.exs
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :pton, ecto_repos: [Pton.Repo], max_li...
34.051282
86
0.752259
030842fb95ad8b026dab5352ec090a03cc30680e
1,568
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.361702
214
0.760842
030872a9f6063d9e135b03e1b4a14e1748b7891f
1,742
ex
Elixir
apps/elixir_ls_utils/lib/wire_protocol.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_utils/lib/wire_protocol.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_utils/lib/wire_protocol.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.Utils.WireProtocol do @moduledoc """ Reads and writes packets using the Language Server Protocol's wire protocol """ alias ElixirLS.Utils.{PacketStream, OutputDevice} @separator "\r\n\r\n" def send(packet) do pid = io_dest() body = JasonVendored.encode_to_iodata!(packet) ca...
27.650794
88
0.677956
03087d904d4320de31047ff48a39daa62e7a8223
201
ex
Elixir
lib/phone/lu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/lu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/lu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.LU do @moduledoc false use Helper.Country def regex, do: ~r/^(352)()(.+)/ def country, do: "Luxembourg" def a2, do: "LU" def a3, do: "LUX" matcher(:regex, ["352"]) end
15.461538
33
0.60199
0308879c837e1a00db7875a81a207fe2566e1f49
428
exs
Elixir
config/config.exs
NFIBrokerage/volley
592dc5cbf7cbcfb8648f779fea433c721f3893c0
[ "Apache-2.0" ]
3
2021-05-03T16:33:37.000Z
2021-09-12T08:03:23.000Z
config/config.exs
NFIBrokerage/volley
592dc5cbf7cbcfb8648f779fea433c721f3893c0
[ "Apache-2.0" ]
1
2021-09-08T15:18:58.000Z
2021-09-08T15:19:50.000Z
config/config.exs
NFIBrokerage/volley
592dc5cbf7cbcfb8648f779fea433c721f3893c0
[ "Apache-2.0" ]
null
null
null
import Config case System.get_env("EVENTSTORE_HOST") do nil -> config :volley, Volley.SpearClient, connection_string: "esdb://admin:changeit@localhost:2113?tls=true", mint_opts: [ transport_opts: [ cacertfile: Path.join([__DIR__ | ~w[.. certs ca ca.crt]]) ] ] host -...
25.176471
73
0.633178
0308ade9109f690aac5ced1c45e16e9eed97798c
673
ex
Elixir
phoenix_maru/web/router.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
27
2016-12-28T15:00:19.000Z
2021-11-09T12:55:23.000Z
phoenix_maru/web/router.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
5
2017-02-13T13:11:55.000Z
2019-07-22T19:38:09.000Z
phoenix_maru/web/router.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
8
2017-02-08T10:18:50.000Z
2020-06-01T11:42:04.000Z
defmodule PhoenixMaru.Router do use PhoenixMaru.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 "/", PhoenixMaru do ...
18.694444
57
0.66419
0308c3a446735c235fc6b37edbf677ad4dbf92c8
8,130
exs
Elixir
integration_test/cases/type.exs
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
photomattmills/ecto
ad3a455aa3d5e4f932a5bb8ae1590b21d95cce54
[ "Apache-2.0" ]
null
null
null
Code.require_file "../support/types.exs", __DIR__ defmodule Ecto.Integration.TypeTest do use Ecto.Integration.Case alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Tag alias Ecto.Integration.Custom alias Ecto.Integration.Order alias Ecto.Integration...
36.78733
111
0.603567
0308caa5503ef217a91e3790238832626df84300
72
ex
Elixir
lib/helloworld.ex
OliverLeitner/elixirdemo
4d2f9e4908974e99026dd36df2c23a426ee972b7
[ "Apache-2.0" ]
null
null
null
lib/helloworld.ex
OliverLeitner/elixirdemo
4d2f9e4908974e99026dd36df2c23a426ee972b7
[ "Apache-2.0" ]
null
null
null
lib/helloworld.ex
OliverLeitner/elixirdemo
4d2f9e4908974e99026dd36df2c23a426ee972b7
[ "Apache-2.0" ]
null
null
null
defmodule Hello do def sample do IO.puts "Hello World!" end end
12
26
0.680556
0308ec3564ec9868008fbf534604646ca00c1dcf
520
ex
Elixir
lib/wechat/plugs/request_validator.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
lib/wechat/plugs/request_validator.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
lib/wechat/plugs/request_validator.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
defmodule Wechat.Plugs.RequestValidator do @moduledoc false import Plug.Conn import Wechat.Config, only: [token: 0] alias Wechat.Utils.SignatureVerifier def init(opts) do opts end def call(conn, _opts) do conn = fetch_query_params(conn) %{"timestamp" => timestamp, "nonce" => nonce, "...
21.666667
75
0.663462
0308ff8acb0ac398cdb3696f8d29b9014e9c46e0
1,565
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/test_iam_permissions_response.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/test_iam_permissions_response.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...
33.297872
143
0.752716
030909aabe6e5b3889e4f0d080a64a865117b8ce
767
ex
Elixir
play_web/test/support/channel_case.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
31
2018-12-25T19:52:35.000Z
2022-03-20T01:06:46.000Z
play_web/test/support/channel_case.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
4
2018-12-23T18:34:20.000Z
2021-05-10T04:05:45.000Z
play_web/test/support/channel_case.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
2
2019-04-09T18:35:51.000Z
2020-12-22T15:19:18.000Z
defmodule PlayWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts with...
23.96875
59
0.724902
030920306af9b3f9364bbee589bf864617047edd
2,168
ex
Elixir
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.36
318
0.761531
03094456d4b811ea0090f7ece1e8df7304c3aadf
4,211
exs
Elixir
test/acceptance/ast/footnotes_test.exs
michaelforrest/earmark_parser
b18245339cbbe2d6bad2431db8b8cf2df9195da9
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/footnotes_test.exs
michaelforrest/earmark_parser
b18245339cbbe2d6bad2431db8b8cf2df9195da9
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/footnotes_test.exs
michaelforrest/earmark_parser
b18245339cbbe2d6bad2431db8b8cf2df9195da9
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.FootnotesTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 2] import EarmarkAstDsl describe "Correct Footnotes" do test "plain text" do markdown = "foo[^1] again\n\n[^1]: bar baz" ast = [ {"p", '', [ "foo", ...
26.484277
88
0.367371
03094fcfa118d1a4863cd1c494ec30e04cda3635
558
exs
Elixir
priv/repo/migrations/20191027221057_create_workbench_balances.exs
fremantle-industries/back_office
e5aeda7abd72ccffabe5b21f26d48b5c573f9670
[ "MIT" ]
85
2020-05-03T22:23:18.000Z
2022-02-22T14:45:37.000Z
priv/repo/migrations/20191027221057_create_workbench_balances.exs
fremantle-industries/workbench
5d299c77f0271332651b4f0510265f676301a5f3
[ "MIT" ]
101
2020-04-26T03:07:51.000Z
2022-03-27T06:17:52.000Z
priv/repo/migrations/20191027221057_create_workbench_balances.exs
fremantle-capital/back_office
91474fad1bf27d913aecd6b36b898eff5d29a831
[ "MIT" ]
18
2020-04-26T10:57:55.000Z
2022-01-26T01:50:03.000Z
defmodule Workbench.Repo.Migrations.CreateWorkbenchBalances do use Ecto.Migration def change do create table(:balances) do add(:usd, :decimal, null: false) add(:start_time, :utc_datetime, null: false) add(:finish_time, :utc_datetime, null: false) add(:btc_usd_venue, :string, null: false...
29.368421
62
0.673835
03095fce3f23f7d26f75513b18b2a57937323264
29
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_addition_operation_parsing_test_case/UnaryNonNumericOperation.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_addition_operation_parsing_test_case/UnaryNonNumericOperation.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_addition_operation_parsing_test_case/UnaryNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
!one + not two !one - not two
14.5
14
0.62069
030975da59e9a453d1f99409692d7dabf61c8175
2,673
exs
Elixir
test/foundation/log_test.exs
clangley/foundation
ed75c1adf1f4c9a237056a82f4c7720d87c2458c
[ "MIT" ]
null
null
null
test/foundation/log_test.exs
clangley/foundation
ed75c1adf1f4c9a237056a82f4c7720d87c2458c
[ "MIT" ]
null
null
null
test/foundation/log_test.exs
clangley/foundation
ed75c1adf1f4c9a237056a82f4c7720d87c2458c
[ "MIT" ]
null
null
null
defmodule FoundationTest.Log do use ExUnit.Case alias Foundation.Log test "Bucket Test" do db = :erlfdb_util.get_test_db(empty: true) ledger_events = [ {["bank_account", "sally"], {:deposit, 100}}, {["bank_account", "bob"], {:withdraw, 10}} ] Foundation.trans(db, fn tx -> Enum...
32.597561
120
0.548447
03097858a8e639531f6e63d976bf65c32f66cef6
1,002
exs
Elixir
apps/mishka_api/config/config.exs
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_api/config/config.exs
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_api/config/config.exs
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint # config :mishka_api, ...
34.551724
88
0.764471
03097fb9e511af3e0bdeac3ef8d5d6f312703655
192
ex
Elixir
example/lib/phoenix_datatables_example_web/controllers/page_controller.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
example/lib/phoenix_datatables_example_web/controllers/page_controller.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
example/lib/phoenix_datatables_example_web/controllers/page_controller.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
defmodule PhoenixDatatablesExampleWeb.PageController do use PhoenixDatatablesExampleWeb, :controller def index(conn, _params) do redirect(conn, to: item_path(conn, :index)) end end
24
55
0.786458
0309a7a97e56ab127868c58c0540f50905666be0
1,905
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/file_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/file_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/file_info.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.943396
198
0.710236
0309b280c8c51550d4b1fb8ebfb5bb09a70de0ec
4,046
ex
Elixir
lib/hand.ex
pkhodakovsky/elixir-poker-game
4191283f31b236d311e412c37045ad5d4fdc4f9e
[ "MIT" ]
null
null
null
lib/hand.ex
pkhodakovsky/elixir-poker-game
4191283f31b236d311e412c37045ad5d4fdc4f9e
[ "MIT" ]
null
null
null
lib/hand.ex
pkhodakovsky/elixir-poker-game
4191283f31b236d311e412c37045ad5d4fdc4f9e
[ "MIT" ]
null
null
null
defmodule Hand do @moduledoc """ A single poker hand of cards. """ def name(hand) do cond do Hand.is_straight_flush_ace_high(hand) -> "straight flush" Hand.is_straight_flush_ace_low(hand) -> "straight flush" Hand.is_four_of_a_kind(hand) -> "four of a kind" Hand.is_full_house(hand) -...
29.107914
104
0.645823
0309b6f6fcd01d759e11e12953b1d22af48ae1c7
708
ex
Elixir
discuss/lib/discuss_web/gettext.ex
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
discuss/lib/discuss_web/gettext.ex
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
discuss/lib/discuss_web/gettext.ex
ivoferro/elixir_phoenix_bootcamp
e3445dbf90c1eea81e8aa34cc7801934a516d7d7
[ "MIT" ]
null
null
null
defmodule DiscussWeb.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 DiscussWeb.Gettext # Simple translation gettext "Here is t...
28.32
72
0.680791
0309d1a7d6be417a2620a8f82bc4ab956f35980e
4,041
ex
Elixir
lib/simple_pool/v2/behaviours/service_management_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
12
2018-07-03T10:14:54.000Z
2020-04-07T02:04:39.000Z
lib/simple_pool/v2/behaviours/service_management_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
1
2018-12-02T06:05:59.000Z
2018-12-02T06:05:59.000Z
lib/simple_pool/v2/behaviours/service_management_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
2
2018-03-05T12:01:51.000Z
2018-07-03T10:15:04.000Z
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2019 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.SimplePool.V2.ServiceManagementBehaviour do require Logge...
31.818898
200
0.611235
0309f3bb97bad039864b3b0ea2c455021c95bd3b
1,115
ex
Elixir
lib/noven/application.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
8
2020-09-10T09:18:17.000Z
2022-03-25T03:43:25.000Z
lib/noven/application.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
null
null
null
lib/noven/application.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
4
2020-12-28T06:13:51.000Z
2021-04-27T18:00:06.000Z
defmodule Noven.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Noven.Repo, # Start the Telemetry supervisor NovenWeb.Te...
29.342105
65
0.69417
0309f5c740a2aae5de41bd9b8c0772de2b883dbb
736
ex
Elixir
oeml-sdk/elixir/lib/oeml_restapi/model/message.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
1
2020-07-23T05:47:52.000Z
2020-07-23T05:47:52.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/message.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
null
null
null
oeml-sdk/elixir/lib/oeml_restapi/model/message.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OEML-RESTAPI.Model.Message do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"type", :"severity", :"exchange_id", ...
21.647059
91
0.649457
030a0a76fc836eff3fe4f7b72b49649d55654d38
604
exs
Elixir
yaki_core/mix.exs
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
yaki_core/mix.exs
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
yaki_core/mix.exs
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
defmodule YakiCore.MixProject do use Mix.Project def project do [ app: :yaki_core, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
20.133333
87
0.567881
030a5a31ab0eeb30be8e0e98c1151d184d58b1d7
2,006
ex
Elixir
lib/odd_job/job.ex
msimonborg/odd_job
99c662b21e7a6ed34ebae6bdd79cb6ad997e9724
[ "MIT" ]
3
2022-02-01T13:49:51.000Z
2022-02-04T05:56:34.000Z
lib/odd_job/job.ex
msimonborg/odd_job
99c662b21e7a6ed34ebae6bdd79cb6ad997e9724
[ "MIT" ]
null
null
null
lib/odd_job/job.ex
msimonborg/odd_job
99c662b21e7a6ed34ebae6bdd79cb6ad997e9724
[ "MIT" ]
null
null
null
defmodule OddJob.Job do @moduledoc """ The `OddJob.Job` struct holds all of the useful information about a job. """ @moduledoc since: "0.1.0" @spec __struct__ :: OddJob.Job.t() defstruct [:ref, :owner, :function, :results, :proxy, async: false] @typedoc """ The `OddJob.Job` struct is the datatype that...
40.938776
113
0.684447
030a6197d92af8935eae1b1f4774ad51be315812
1,154
ex
Elixir
lib/web/controllers/api/document_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/controllers/api/document_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/controllers/api/document_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.Api.DocumentController do use Web, :controller alias ChallengeGov.Challenges alias ChallengeGov.SupportingDocuments alias Web.ErrorView action_fallback(Web.FallbackController) def create(conn, %{"challenge_id" => challenge_id, "document" => params}) do with {:ok, challenge} <- Challenge...
27.47619
79
0.602253
030a8b56d8d76bcbba032a4790bf67172e8f3c35
1,809
exs
Elixir
mix.exs
codelation/elixir-messenger
4d83e5dd3de5331a771e0960c9613336fe6be90b
[ "MIT" ]
null
null
null
mix.exs
codelation/elixir-messenger
4d83e5dd3de5331a771e0960c9613336fe6be90b
[ "MIT" ]
null
null
null
mix.exs
codelation/elixir-messenger
4d83e5dd3de5331a771e0960c9613336fe6be90b
[ "MIT" ]
null
null
null
defmodule CodelationMessenger.Mixfile do use Mix.Project def project do [app: :codelation_messenger, name: "Codelation Messenger", description: description(), package: package(), source_url: "https://github.com/codelation/elixir-messenger", version: "0.1.1", elixir: "~> 1.4", ...
26.602941
131
0.616363
030aa64c03f985c78da88a6e3b5d189f045b8089
2,140
ex
Elixir
lib/versioned/absinthe.ex
rossvz/versioned
22fd40ce7833d0ede80ac9c3dd2e2b8482b50322
[ "MIT" ]
null
null
null
lib/versioned/absinthe.ex
rossvz/versioned
22fd40ce7833d0ede80ac9c3dd2e2b8482b50322
[ "MIT" ]
null
null
null
lib/versioned/absinthe.ex
rossvz/versioned
22fd40ce7833d0ede80ac9c3dd2e2b8482b50322
[ "MIT" ]
null
null
null
defmodule Versioned.Absinthe do @moduledoc """ Helpers for Absinthe schemas. """ @doc """ Declare an object, versioned compliment, and interface, based off name `name`. The caller should `use Absinthe.Schema.Notation` as here we return code which invokes its `object` macro. Both objects belong to an ...
32.923077
84
0.65
030ac4bec345b6674d0c6555a7d5859a62ec21aa
226
ex
Elixir
lib/apus/adapters/local_adapter.ex
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
lib/apus/adapters/local_adapter.ex
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
lib/apus/adapters/local_adapter.ex
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
defmodule Apus.LocalAdapter do @moduledoc """ """ @behaviour Apus.Adapter alias Apus.SentMessages def deliver(message, _config) do SentMessages.push(message) end def handle_config(config), do: config end
15.066667
39
0.716814
030acd78cc8a2df3d9d09de1878ecdd5c5696492
1,570
ex
Elixir
web/controllers/admin_controller.ex
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
1
2018-08-30T20:20:56.000Z
2018-08-30T20:20:56.000Z
web/controllers/admin_controller.ex
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
null
null
null
web/controllers/admin_controller.ex
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
null
null
null
defmodule ExAdmin.AdminController do @moduledoc false use ExAdmin.Web, :controller require Logger plug :set_theme plug :set_layout def page(conn, params) do page = Map.get(params, "page", "dashboard") defn = get_registered_by_controller_route!(conn, page) conn = assign(conn, :defn, defn) ...
33.404255
85
0.663057
030adc48e017f4075cfaf265a17c6fb2c1c92dc1
321
exs
Elixir
test/test_helper.exs
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
2
2021-11-17T17:16:17.000Z
2021-12-08T04:39:42.000Z
test/test_helper.exs
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
null
null
null
test/test_helper.exs
rebpdx/eeyeore
944ddbfe8fafd67137658948c03492baa340d4de
[ "MIT" ]
null
null
null
# Used as a mock GenServer to catch casts defmodule ProcessGenServerCasts do def init(state) do {:ok, state} end def handle_cast(message, _) do {:noreply, message} end end ExUnit.start() Mox.defmock(Tortoise.BaseMock, for: Tortoise.Base) Application.put_env(:eeyeore, :mqtt_client, Tortoise.BaseMock)...
18.882353
62
0.735202
030b012e207a4a018c8474c4824c8d24256b91eb
2,514
exs
Elixir
test/wanikani/review_statistic_test.exs
eltercero/wanikani
5ed47f315ee9800ab5dbbc21848a337d24d52778
[ "MIT" ]
2
2018-01-29T02:02:05.000Z
2018-07-09T18:24:28.000Z
test/wanikani/review_statistic_test.exs
eltercero/wanikani
5ed47f315ee9800ab5dbbc21848a337d24d52778
[ "MIT" ]
null
null
null
test/wanikani/review_statistic_test.exs
eltercero/wanikani
5ed47f315ee9800ab5dbbc21848a337d24d52778
[ "MIT" ]
null
null
null
defmodule Wanikani.ReviewStatisticTest do use ExUnit.Case defmodule MockApi do def request(_params, _paths) do {:ok, %{"data" => [%{"data" => %{"created_at" => "2017-04-20T21:31:10.806649Z", "meaning_correct" => 11, "meaning_current_streak" => 11, "meaning_incorrect" => 1, "m...
44.105263
84
0.584726
030b017f588df34382006dd66744a33474186307
218
ex
Elixir
lib/phone/ba.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/ba.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/ba.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.BA do @moduledoc false use Helper.Country def regex, do: ~r/^(387)(..)(.{5,6})/ def country, do: "Bosnia and Herzegovina" def a2, do: "BA" def a3, do: "BIH" matcher :regex, ["387"] end
16.769231
43
0.610092
030b0c4f1f23cb5f2a09c1a4f7e7b6ff08190b9f
2,795
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_public_delegated_sub_prefix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_public_delegated_sub_prefix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_public_delegated_sub_prefix.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...
39.928571
171
0.699821
030b2aa8bef33b5a149d2da11fe6f772e095031c
6,151
ex
Elixir
lib/cldr/number/symbol.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
21
2019-12-21T23:25:14.000Z
2022-03-22T00:40:34.000Z
lib/cldr/number/symbol.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
15
2019-06-14T16:29:23.000Z
2022-03-02T07:56:33.000Z
lib/cldr/number/symbol.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
5
2019-06-14T16:10:26.000Z
2022-02-28T15:32:01.000Z
defmodule Cldr.Number.Symbol do @moduledoc """ Functions to manage the symbol definitions for a locale and number system. """ alias Cldr.Locale alias Cldr.LanguageTag alias Cldr.Number.System defstruct [ :decimal, :group, :exponential, :infinity, :list, :minus_sign, :nan, ...
25.953586
92
0.623151
030b429056ce6fb0db3936be476ce232502bd8b9
2,163
ex
Elixir
lib/cards.ex
shahnCM/card_game
e9aa8c3074c395886b6e082a2e3dd1338f9b8dd1
[ "MIT" ]
null
null
null
lib/cards.ex
shahnCM/card_game
e9aa8c3074c395886b6e082a2e3dd1338f9b8dd1
[ "MIT" ]
null
null
null
lib/cards.ex
shahnCM/card_game
e9aa8c3074c395886b6e082a2e3dd1338f9b8dd1
[ "MIT" ]
null
null
null
defmodule Cards do @moduledoc """ Provides methods for creating and handling a deck of cards """ @doc """ Returns a list of strings representing a deck of playing cards """ def create_deck do values = ["Ace", "Two", "Three", "Four", "Five"] suits = ["Spades", "Clubs", "Hearts", "Diamonds"] ...
21.205882
84
0.580213
030b5995073cdb879c044f810e81c2997f7e0828
19,649
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/comments.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comments.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comments.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...
47.007177
196
0.622983
030b6fc25cb11bf78338f76c6269a9e7e5097dc9
4,645
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router.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/model/router.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router.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 ...
56.646341
490
0.700108
030b89a920e6831f050476a7e5ef78d5c91dbc94
8,721
exs
Elixir
apps/re_web/test/graphql/developments/mutation_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/test/graphql/developments/mutation_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_web/test/graphql/developments/mutation_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.GraphQL.Developments.MutationTest do use ReWeb.{AbsintheAssertions, ConnCase} import Re.Factory alias ReWeb.{ AbsintheHelpers } setup %{conn: conn} do conn = put_req_header(conn, "accept", "application/json") admin_user = insert(:user, email: "admin@email.com", role: "admin") ...
31.828467
98
0.651645
030b8e6920f6cb26bd837757ae909abd3064115f
1,032
ex
Elixir
lib/surface/components/form/text_input.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
lib/surface/components/form/text_input.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
lib/surface/components/form/text_input.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.TextInput do @moduledoc """ An input field that let the user enter a **single-line text**. Provides a wrapper for Phoenix.HTML.Form's `text_input/3` function. All options passed via `opts` will be sent to `text_input/3`, `value` and `class` can be set directly and will over...
28.666667
81
0.69186
030bd018d0df88a936ca4c09e834e5e3ccebc601
83
ex
Elixir
lib/powit_web/views/pow_reset_password/reset_password_view.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
lib/powit_web/views/pow_reset_password/reset_password_view.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
lib/powit_web/views/pow_reset_password/reset_password_view.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
defmodule PowitWeb.PowResetPassword.ResetPasswordView do use PowitWeb, :view end
20.75
56
0.843373
030be5a773d5ee540de0306954f5022811de4e43
1,270
exs
Elixir
test/journal_test.exs
Nimor111/TheElixir
ef6e4cc5a59ce064b85f1f50acac309b606f7ab0
[ "MIT" ]
1
2019-04-27T16:14:50.000Z
2019-04-27T16:14:50.000Z
test/journal_test.exs
Nimor111/TheElixir
ef6e4cc5a59ce064b85f1f50acac309b606f7ab0
[ "MIT" ]
2
2019-03-21T20:26:14.000Z
2019-03-21T20:26:20.000Z
test/journal_test.exs
Nimor111/TheElixir
ef6e4cc5a59ce064b85f1f50acac309b606f7ab0
[ "MIT" ]
null
null
null
defmodule TheElixirJournalTest do use ExUnit.Case, async: true alias TheElixir.Components.Journal alias TheElixir.Models.Quest setup context do {:ok, _} = Journal.start_link(context.test) quest = %Quest{name: "Function defs", description: "Examples of function defs"} {:ok, journal: context.test, q...
31.75
85
0.685039
030bf73b6177e69150592806acb588d4378b0a54
1,621
ex
Elixir
sphinx_ex/lib/sphinx_ex_web/endpoint.ex
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
sphinx_ex/lib/sphinx_ex_web/endpoint.ex
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
sphinx_ex/lib/sphinx_ex_web/endpoint.ex
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
defmodule SphinxExWeb.Endpoint do use Phoenix.Endpoint, otp_app: :sphinx_ex # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_sphinx...
29.472727
97
0.720543
030c2fe5138a00ca902eee4dd49f7e320de06650
1,033
ex
Elixir
kboard/test/support/conn_case.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
1
2018-04-28T16:55:05.000Z
2018-04-28T16:55:05.000Z
kboard/test/support/conn_case.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
kboard/test/support/conn_case.ex
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
defmodule KboardWeb.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 datastructures and query the data layer. Finally, if the ...
26.487179
68
0.718296
030c393c8ceb96745816485e3b74241102d6451c
7,463
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_http_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...
126.491525
2,556
0.767654
030c436647a72a3a29e4c99b4da26fc299645b71
10,166
exs
Elixir
practica4/ServicioVistas/servicio_vistas_tests.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica4/ServicioVistas/servicio_vistas_tests.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica4/ServicioVistas/servicio_vistas_tests.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
# Compilar y cargar ficheros con modulos necesarios Code.require_file("nodo_remoto.exs", __DIR__) Code.require_file("servidor_gv.exs", __DIR__) Code.require_file("cliente_gv.exs", __DIR__) # Poner en marcha el servicio de tests unitarios con : # timeout : ajuste de tiempo máximo de ejecución de todos los tests, en mil...
30.255952
94
0.670175
030c5682594c3bceb8da8d875c7c5e788b650804
7,768
exs
Elixir
test/phoenix/socket/transport_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
test/phoenix/socket/transport_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
test/phoenix/socket/transport_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
System.put_env("TRANSPORT_TEST_HOST", "host.com") defmodule Phoenix.Socket.TransportTest do use ExUnit.Case, async: true use RouterHelper import ExUnit.CaptureLog alias Phoenix.Socket.Transport Application.put_env :phoenix, __MODULE__.Endpoint, force_ssl: [], url: [host: {:system, "TRANSPORT_TEST_...
32.366667
103
0.652291
030c58fedbf7a4d5c2e8dfebec335ecf5181539c
1,383
exs
Elixir
test/log_test.exs
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
test/log_test.exs
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
test/log_test.exs
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
1
2018-12-04T03:50:36.000Z
2018-12-04T03:50:36.000Z
defmodule Verk.LogTest do use ExUnit.Case import ExUnit.CaptureLog alias Verk.Time describe "start/2" do test "logs start" do worker = self() job = %Verk.Job{} assert capture_log(fn -> Verk.Log.start(job, worker) end) =~ ~r/start/ end end describe "done/3" do test "logs don...
22.306452
76
0.574114
030cd86f4709e7ae69bc9fa3185e23db46d9cedc
1,993
ex
Elixir
lib/receptar/orderables.ex
johannes-mueller/receptar
6ab2cbf93c5da01409a9d8ed3d56a825e8350a1e
[ "Apache-2.0" ]
null
null
null
lib/receptar/orderables.ex
johannes-mueller/receptar
6ab2cbf93c5da01409a9d8ed3d56a825e8350a1e
[ "Apache-2.0" ]
null
null
null
lib/receptar/orderables.ex
johannes-mueller/receptar
6ab2cbf93c5da01409a9d8ed3d56a825e8350a1e
[ "Apache-2.0" ]
null
null
null
defmodule Receptar.Orderables do def append(orderables, new_item) do new_number = length(orderables) + 1 {new_number, [Map.put(new_item, :number, new_number) | orderables] |> Enum.sort(& &1.number < &2.number) } end def insert_before(orderables, new_item, target_item) do number = targe...
24.012048
68
0.585549
030ce8a507e4396ee878a0bf2494db7caf1cec33
590
ex
Elixir
web/views/person_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/person_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/person_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
defmodule Otherpool.PersonView do use Otherpool.Web, :view def render("index.json", %{persons: persons}) do %{data: render_many(persons, Otherpool.PersonView, "person.json")} end def render("show.json", %{person: person}) do %{data: render_one(person, Otherpool.PersonView, "person.json")} end def...
26.818182
70
0.672881
030d12a9888ff0a7fad8e739d2c04ab12fb9edc2
16,508
exs
Elixir
test/absinthe/schema/notation/experimental/import_sdl_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
test/absinthe/schema/notation/experimental/import_sdl_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
test/absinthe/schema/notation/experimental/import_sdl_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Notation.Experimental.ImportSdlTest do use Absinthe.Case import ExperimentalNotationHelpers @moduletag :experimental @moduletag :sdl defmodule WithFeatureDirective do use Absinthe.Schema.Prototype directive :feature do arg :name, non_null(:string) on [:interfac...
26.755267
120
0.595166
030d188ab527387c6cab22be1517eadd305f9086
712
ex
Elixir
elixir/kyu6/unique_strings.ex
stallmanifold/codewars
28313881ab1ead1bdfbb6e0724c3794ee14455f3
[ "Apache-2.0", "MIT" ]
null
null
null
elixir/kyu6/unique_strings.ex
stallmanifold/codewars
28313881ab1ead1bdfbb6e0724c3794ee14455f3
[ "Apache-2.0", "MIT" ]
null
null
null
elixir/kyu6/unique_strings.ex
stallmanifold/codewars
28313881ab1ead1bdfbb6e0724c3794ee14455f3
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Util do def factorial(n) do case n do n when n <= 1 -> 1 _ -> n * factorial(n - 1) end end def product(ns) do Enum.reduce(ns, 1, fn acc, n -> acc * n end) end end defmodule UniqueStrings do def uniq_count(string) do IO.puts(string) char_counts = String.upcase(string...
24.551724
58
0.543539
030d1978384e8597c8d05f9c9df401a249e3aeb3
2,589
exs
Elixir
apps/service_receive/test/receive_test.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/service_receive/test/receive_test.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/service_receive/test/receive_test.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule ReceiveTest do use ExUnit.Case import Events, only: [accept_start: 0] import Definition, only: [identifier: 1] import AssertAsync require Temp.Env @instance Receive.Application.instance() Temp.Env.modify([ %{ app: :service_receive, key: Receive.SocketManager, set: [batch_...
23.752294
95
0.609502
030d2795c6f939b04ac5f8de164e14454da73aca
8,342
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/tokens.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/tokens.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/tokens.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...
45.584699
187
0.645768
030d2b9f19947540d453c8fd532e74f9d5f07d74
1,235
ex
Elixir
lib/quarto/ecto/cursor_fields.ex
daskycodes/quarto
5169efd8d4816044fdca8a95b8fc5b4c4f0d1de9
[ "MIT" ]
25
2020-04-25T13:43:26.000Z
2022-03-27T22:05:33.000Z
lib/quarto/ecto/cursor_fields.ex
daskycodes/quarto
5169efd8d4816044fdca8a95b8fc5b4c4f0d1de9
[ "MIT" ]
28
2020-05-20T05:28:02.000Z
2022-02-28T04:03:07.000Z
lib/quarto/ecto/cursor_fields.ex
daskycodes/quarto
5169efd8d4816044fdca8a95b8fc5b4c4f0d1de9
[ "MIT" ]
3
2021-04-10T23:06:02.000Z
2021-09-06T04:05:49.000Z
defmodule Quarto.Ecto.CursorFields do @moduledoc """ Derive the cursor fields from a given queryable """ @type field :: atom() @type position :: pos_integer() @type direction :: :asc | :desc @doc """ build/2 accepts an Ecto.Query and inspects the Ecto AST to retrieve the fields the query will ord...
30.121951
94
0.610526
030d33c22cd3584a59e74c493f9c0397d2def8e1
603
ex
Elixir
lib/stripe/subscriptions/discount.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
2
2019-05-02T10:42:09.000Z
2019-12-02T21:29:17.000Z
lib/stripe/subscriptions/discount.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
1
2020-05-20T21:04:19.000Z
2020-05-20T21:04:19.000Z
lib/stripe/subscriptions/discount.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
1
2021-12-01T21:49:27.000Z
2021-12-01T21:49:27.000Z
defmodule Stripe.Discount do @moduledoc """ Work with Stripe discounts. Stripe API reference: https://stripe.com/docs/api#discounts """ use Stripe.Entity @type t :: %__MODULE__{ object: String.t(), coupon: Stripe.Coupon.t(), customer: Stripe.id() | Stripe.Customer.t() | nil,...
20.1
61
0.565506
030d3de3e0ac3af7b0910070ab73b6c29334bf4b
1,681
ex
Elixir
apps/core/lib/core/schema/docker_image.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/docker_image.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/docker_image.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Schema.DockerImage do use Piazza.Ecto.Schema alias Core.Schema.{DockerRepository, Vulnerability} defenum Grade, a: 0, b: 1, c: 2, d: 3, f: 4 schema "docker_images" do field :tag, :string field :digest, :string field :grade, Grade field :scanned_at, :utc_datetime_...
28.982759
96
0.669839
030d60c628b001dfa26fb664ece07ca61896055f
1,550
ex
Elixir
lib/birdcage_web/views/error_helpers.ex
forest/birdcage
4c1d851d9ae01ebe94c0366a6e2d932db7435d19
[ "Apache-2.0" ]
2
2020-10-04T16:07:25.000Z
2020-12-25T14:28:28.000Z
lib/birdcage_web/views/error_helpers.ex
cognizant-softvision/birdcage
2f766c7bc6d70f1243aab56ad9ac7f7d4c5014fb
[ "Apache-2.0" ]
11
2020-07-10T16:05:17.000Z
2020-08-25T23:44:34.000Z
lib/birdcage_web/views/error_helpers.ex
forest/birdcage
4c1d851d9ae01ebe94c0366a6e2d932db7435d19
[ "Apache-2.0" ]
1
2020-08-06T18:56:52.000Z
2020-08-06T18:56:52.000Z
defmodule BirdcageWeb.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_tag...
32.291667
77
0.665806
030d6463191c4b9e399647b2c23da802be384d06
1,133
ex
Elixir
lib/multiauth_web/controllers/page_controller.ex
drapadubok/multiauth
9ca9294402311c06a082e6972144a2eb8935a797
[ "MIT" ]
1
2018-06-01T02:08:12.000Z
2018-06-01T02:08:12.000Z
lib/multiauth_web/controllers/page_controller.ex
drapadubok/multiauth
9ca9294402311c06a082e6972144a2eb8935a797
[ "MIT" ]
null
null
null
lib/multiauth_web/controllers/page_controller.ex
drapadubok/multiauth
9ca9294402311c06a082e6972144a2eb8935a797
[ "MIT" ]
null
null
null
defmodule MultiauthWeb.PageController do use MultiauthWeb, :controller alias Multiauth.Auth alias Multiauth.Auth.User alias Multiauth.Auth.Guardian def index(conn, _params) do changeset = Auth.change_user(%User{}) maybe_user = Guardian.Plug.current_resource(conn) message = case maybe_user do ...
25.177778
106
0.620477
030d72421aae91ddc226399787651f358728a626
1,046
ex
Elixir
lib/signinsheet/application.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
lib/signinsheet/application.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
lib/signinsheet/application.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
defmodule Signinsheet.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Signinsheet.Repo, # Start the Telemetry supervisor ...
29.885714
69
0.712237
030db974ee59b5473655ed456b994521be3bcb6a
645
ex
Elixir
lib/os/sys_calls/set_pin_io_mode.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_os/lib/farmbot_os/sys_calls/set_pin_io_mode.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_os/lib/farmbot_os/sys_calls/set_pin_io_mode.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.SysCalls.SetPinIOMode do @moduledoc false alias FarmbotCore.Firmware.Command def set_pin_io_mode(pin_number, mode) do mode = extract_set_pin_mode(mode) case Command.set_pin_io_mode(pin_number, mode) do {:ok, _} -> :ok reason -> FarmbotOS.SysCalls.give_fir...
26.875
74
0.724031
030dbab0cf756f92a7da9967d4f42a8ef01b285c
2,328
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/model/circle.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/plus_domains/lib/google_api/plus_domains/v1/model/circle.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/circle.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.815385
121
0.675258
030dcddb9dca076e5621362a138bbab3f487b39c
64
ex
Elixir
web/views/user_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
web/views/user_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
web/views/user_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
defmodule DevQuotes.UserView do use DevQuotes.Web, :view end
12.8
31
0.78125
030dd359f830a1bc668b94c072175f54041c51da
1,139
exs
Elixir
clients/dataproc/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataproc/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataproc/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.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.741935
73
0.755926
030de70575c83f8be5ab14512711d7d240250745
1,284
exs
Elixir
test/freddy/integration/notifications/broadcaster_test.exs
salemove/ex_freddy
78e255121bc722fe3266ceaf04884aadf2f8e2db
[ "MIT" ]
10
2017-06-28T11:39:39.000Z
2021-11-19T23:23:16.000Z
test/freddy/integration/notifications/broadcaster_test.exs
salemove/ex_freddy
78e255121bc722fe3266ceaf04884aadf2f8e2db
[ "MIT" ]
16
2017-01-07T15:34:36.000Z
2021-05-05T11:07:31.000Z
test/freddy/integration/notifications/broadcaster_test.exs
salemove/ex_freddy
78e255121bc722fe3266ceaf04884aadf2f8e2db
[ "MIT" ]
4
2018-10-08T19:54:46.000Z
2021-05-05T10:49:10.000Z
defmodule Freddy.Integration.Notifications.BroadcasterTest do use Freddy.IntegrationCase defmodule TestBroadcaster do use Freddy.Notifications.Broadcaster, warn: false def start_link(conn) do Freddy.Notifications.Broadcaster.start_link(__MODULE__, conn, nil) end end defmodule TestListener d...
25.68
83
0.685358
030dfacf7275db5b5c3aae1e695ab2b314c8875e
2,465
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/enum.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/enum.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/enum.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 ...
41.779661
136
0.727789
030e3f9841d054fcb62010b90690f392a8cbfd16
1,079
ex
Elixir
lib/tap_racer/application.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
7
2016-06-04T09:24:24.000Z
2017-09-03T16:26:21.000Z
lib/tap_racer/application.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
10
2020-07-25T02:04:03.000Z
2021-07-28T12:01:20.000Z
lib/tap_racer/application.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
1
2019-05-17T03:37:43.000Z
2019-05-17T03:37:43.000Z
defmodule TapRacer.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ TapRacer.RoomRegistry, TapRacer.RoomSupervisor, # Start the Ecto repository TapRa...
29.162162
66
0.704356
030e42d305f67e0272b85ed01112febd6c04784b
76
exs
Elixir
test/expyplotplot_test.exs
sezaru/expyplot
17dedaed998042d96293f5912d007d5ad3d0a4df
[ "MIT" ]
30
2017-04-17T09:52:59.000Z
2022-03-28T09:55:05.000Z
test/expyplotplot_test.exs
sezaru/expyplot
17dedaed998042d96293f5912d007d5ad3d0a4df
[ "MIT" ]
1
2020-08-25T17:23:51.000Z
2020-08-27T23:53:19.000Z
test/expyplotplot_test.exs
sezaru/expyplot
17dedaed998042d96293f5912d007d5ad3d0a4df
[ "MIT" ]
4
2019-02-01T07:12:37.000Z
2020-08-24T13:24:07.000Z
defmodule ExpyplotPlotTest do use ExUnit.Case doctest Expyplot.Plot end
15.2
29
0.815789
030e6091094367f3bc7265919fd8ead8585b3b25
331
ex
Elixir
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/academic_group/delete.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/academic_group/delete.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/academic_group/delete.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2.Interactions.AcademicGroup.Delete do @moduledoc false alias StudentsCrmV2.Models.AcademicGroup alias StudentsCrmV2.Repo @spec execute(id :: term()) :: {:ok, AcademicGroup.t()} | {:error, Ecto.Changeset.t()} def execute(id) do AcademicGroup |> Repo.get(id) |> Repo.delete()...
23.642857
88
0.700906
030e78b68108af22be0818cc768ba16843366737
235
ex
Elixir
debian/arakoon.default.ex
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
41
2015-02-11T03:23:36.000Z
2020-12-27T12:13:52.000Z
debian/arakoon.default.ex
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
36
2015-01-04T16:58:51.000Z
2020-11-12T12:05:37.000Z
debian/arakoon.default.ex
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
7
2015-07-10T08:04:01.000Z
2021-09-28T08:09:23.000Z
# Defaults for arakoon initscript # sourced by /etc/init.d/arakoon # installed at /etc/default/arakoon by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. DAEMON_OPTS=""
21.363636
61
0.761702
030e8fad5c2d6e2fbb8ed38bb60168aea6769ee1
4,669
exs
Elixir
apps/fz_http/test/fz_http_web/live/user_live/show_test.exs
athulspeaks/firezone
98f4709c4d2c03f1ade5167494547ef240a09aed
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/fz_http_web/live/user_live/show_test.exs
athulspeaks/firezone
98f4709c4d2c03f1ade5167494547ef240a09aed
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/fz_http_web/live/user_live/show_test.exs
athulspeaks/firezone
98f4709c4d2c03f1ade5167494547ef240a09aed
[ "Apache-2.0" ]
null
null
null
defmodule FzHttpWeb.UserLive.ShowTest do use FzHttpWeb.ConnCase, async: true describe "authenticated show" do setup :create_device test "includes the device name", %{authed_conn: conn, device: device} do path = Routes.user_show_path(conn, :show, device.user_id) {:ok, _view, html} = live(conn, ...
28.644172
100
0.613836
030ea14035c2513000e3bcbe0a4ef316efdc8c1b
1,953
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/field.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/field.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/field.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...
34.875
116
0.697389
030ec4c35a7870833ad01c78817b8781ec8e09d6
1,720
exs
Elixir
test/elexir_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
null
null
null
test/elexir_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
null
null
null
test/elexir_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
2
2021-03-06T19:04:53.000Z
2021-03-07T12:27:54.000Z
defmodule ElexirTest do use ExUnit.Case @moduletag :integrated import Elexir test "generates pattern from line" do string = "access-list outside-ingress extended permit icmp any any log" assert generate_patterns(string, 0) == [~r/^access-list outside-ingress extended permit icmp any any log$/]...
31.272727
95
0.69186
030edb479208f2ed552743cfd1738d5d5a63dc1d
346
exs
Elixir
sources/Chapter7/mylist1.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
sources/Chapter7/mylist1.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
sources/Chapter7/mylist1.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
defmodule MyList do def len([]), do: 0 def len([_head|tail]), do: 1 + len(tail) def square([]), do: [] def square([head|tail]), do: [head*head | square(tail)] def add_1([]), do: [] def add_1([head|tail]), do: [head+1 | add_1(tail)] def map([], _func), do: [] def map([head|tail], func), do: [func.(hea...
24.714286
65
0.566474
030f085a5c7969856d3617d18802df128ccefd43
802
exs
Elixir
test/strkey/strkey_error_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/strkey/strkey_error_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/strkey/strkey_error_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.StrKeyErrorTest do use ExUnit.Case alias StellarBase.StrKeyError test "invalid_binary" do assert_raise StrKeyError, "cannot encode nil data", fn -> raise StrKeyError, :invalid_binary end end test "invalid_data" do assert_raise StrKeyError, "cannot decode nil data", f...
22.277778
66
0.703242
030f2063b8fe31f98d4f661d4db82763b6f2ae5d
513
ex
Elixir
exercises/concept/newsletter/lib/newsletter.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
200
2019-12-12T13:50:59.000Z
2022-02-20T22:38:42.000Z
exercises/concept/newsletter/lib/newsletter.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
1,938
2019-12-12T08:07:10.000Z
2021-01-29T12:56:13.000Z
exercises/concept/newsletter/lib/newsletter.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
239
2019-12-12T14:09:08.000Z
2022-03-18T00:04:07.000Z
defmodule Newsletter do def read_emails(path) do raise "Please implement the read_emails/1 function" end def open_log(path) do raise "Please implement the open_log/1 function" end def log_sent_email(pid, email) do raise "Please implement the log_sent_email/2 function" end def close_log(pid)...
23.318182
59
0.748538
030f396e09701a390abdd3c97557ad24cececde4
15,780
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/api/inappproducts.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/api/inappproducts.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/api/inappproducts.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
41.09375
261
0.672243