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
744ead52f67f171b54fb6c6a4d86278956c52042
2,909
exs
Elixir
test/arbor/descendants_test.exs
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
test/arbor/descendants_test.exs
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
test/arbor/descendants_test.exs
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
defmodule Arbor.DescendantsTest do use Arbor.TestCase describe "descendants/1 with an integer PK" do test "given a struct w/ returns its descendants" do [root | tail] = create_chatter("pupperinos") _cat_comments = create_chatter("kittehs") dog_thread = root |> Comment.descend...
26.445455
81
0.60605
744f332c23fda1700e005e0e1e40f3bc7962107c
4,302
ex
Elixir
lib/livebook_web/live/session_live/package_search_live.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/package_search_live.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/package_search_live.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.PackageSearchLive do use LivebookWeb, :live_view @impl true def mount( _params, %{"session" => session, "runtime" => runtime, "return_to" => return_to}, socket ) do socket = assign(socket, session: session, runtime: runtime...
28.872483
132
0.561832
744f66c07dbda83e7fb0f2b39c17b1f65305a911
355
ex
Elixir
lib/syn_osc/control/tempo.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
1
2020-12-08T01:44:03.000Z
2020-12-08T01:44:03.000Z
lib/syn_osc/control/tempo.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
lib/syn_osc/control/tempo.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
defmodule SynOSC.Control.Tempo do defstruct id: nil, relative: false, value: nil end defimpl OSC.Encoder, for: SynOSC.Control.Tempo do use SynOSC def encode(message, options) do message |> call("TEMPO") |> set_arguments(format_value(message)) |> OSC.Encoder.encode(options...
18.684211
49
0.642254
744f6b60048c9511d89778d55102ef6500f0557f
2,983
exs
Elixir
elixir/robot-simulator/robot_simulator_test.exs
djquan/exercism
b0a02da0c90a1f66f430b0b5dd12d758f1be0fc7
[ "MIT" ]
null
null
null
elixir/robot-simulator/robot_simulator_test.exs
djquan/exercism
b0a02da0c90a1f66f430b0b5dd12d758f1be0fc7
[ "MIT" ]
null
null
null
elixir/robot-simulator/robot_simulator_test.exs
djquan/exercism
b0a02da0c90a1f66f430b0b5dd12d758f1be0fc7
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("robot_simulator.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule RobotSimulatorTest do use ExUnit.Case test "create has sensible defaults" do robot = RobotSimulator.create() assert RobotSimulator...
36.82716
93
0.712035
744f6f6d53326c7e573f5ed95aaee97475f7284d
5,179
ex
Elixir
lib/ellie/adapters/workspace/local.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
377
2018-04-05T03:36:00.000Z
2022-03-30T19:12:44.000Z
lib/ellie/adapters/workspace/local.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
91
2018-05-24T21:56:06.000Z
2022-02-26T03:54:04.000Z
lib/ellie/adapters/workspace/local.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
34
2018-05-29T03:54:35.000Z
2022-01-13T07:12:46.000Z
defmodule Ellie.Adapters.Workspace.Local do alias Elm.Platform alias Elm.Version alias Elm.Package alias Elm.Project alias Elm.Error alias Data.Uuid use GenServer defstruct [:location, :packages, :elm_hash, :error, :version] # API @base_path Path.join(".", ".local_tmp/workspaces") @behaviour E...
23.434389
91
0.569608
744f74fff237faf559dadb4c5accaad187867fc9
1,264
ex
Elixir
lib/freegiving/fundraisers/payment_method.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
lib/freegiving/fundraisers/payment_method.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
lib/freegiving/fundraisers/payment_method.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
defmodule Freegiving.Fundraisers.PaymentMethod do use Ecto.Schema import Ecto.Changeset, warn: false alias Freegiving.Fundraisers.{Payment, PaymentService, Fundraiser} alias __MODULE__ use Freegiving.Eventing alias Freegiving.Repo schema "payment_methods" do field :payable_to, :string has_many :p...
28.088889
90
0.741297
744f8229dc1a04362e337f82bc81a52a870e665e
1,548
ex
Elixir
lib/techblog_web/live/hanoi_live.ex
aforward/anunknown
67838fe6f60825fd8c057c825f497ce7ef046083
[ "MIT" ]
null
null
null
lib/techblog_web/live/hanoi_live.ex
aforward/anunknown
67838fe6f60825fd8c057c825f497ce7ef046083
[ "MIT" ]
null
null
null
lib/techblog_web/live/hanoi_live.ex
aforward/anunknown
67838fe6f60825fd8c057c825f497ce7ef046083
[ "MIT" ]
null
null
null
defmodule TechblogWeb.HanoiLive do use TechblogWeb, :live_view def render(assigns) do Phoenix.View.render(TechblogWeb.HanoiView, "index.html", assigns) end def mount(_params, _session, socket) do {:ok, socket |> assign_game()} end def handle_event("start_game", _, socket) do socket |> upd...
23.104478
69
0.631137
744f8965ef7d4f393e3f6d726e2e816241634bbd
1,603
ex
Elixir
apps/thundermoon_web/lib/thundermoon_web/endpoint.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/thundermoon_web/lib/thundermoon_web/endpoint.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/thundermoon_web/lib/thundermoon_web/endpoint.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule ThundermoonWeb.Endpoint do use Sentry.PlugCapture use Phoenix.Endpoint, otp_app: :thundermoon_web @session_options [ store: :cookie, key: "_thundermoon_web_key", signing_salt: "YR1DX9Zy" ] socket "/socket", ThundermoonWeb.UserSocket, websocket: true, longpoll: false socket "...
27.169492
97
0.724267
744f912c21e7cbabcbbd68d56dc62018a1f34309
1,064
ex
Elixir
lib/banking_api_web/endpoint.ex
jpbrab0/banking_api
2614b61225e58a60fed1ecb767870f7e1ac3a621
[ "Apache-2.0" ]
2
2021-04-20T22:27:53.000Z
2021-05-13T17:16:15.000Z
lib/banking_api_web/endpoint.ex
jpbrab0/banking_api
2614b61225e58a60fed1ecb767870f7e1ac3a621
[ "Apache-2.0" ]
null
null
null
lib/banking_api_web/endpoint.ex
jpbrab0/banking_api
2614b61225e58a60fed1ecb767870f7e1ac3a621
[ "Apache-2.0" ]
null
null
null
defmodule BankingApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :banking_api @session_options [ store: :cookie, key: "_banking_api_key", signing_salt: "7W9HpYp8" ] socket "/socket", BankingApiWeb.UserSocket, websocket: true, longpoll: false socket "/live", Phoenix.LiveView.Socket, we...
24.181818
97
0.709586
744fa103258a4a7dc9eb608063aa7f4a1af72965
714
exs
Elixir
{{APP_NAME}}_umbrella/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
defmodule {{MODULE_NAME}}.Umbrella.Mixfile do use Mix.Project def project do [ apps_path: "apps", version: "0.0.1", build_embedded: (Mix.env == :prod || Mix.env == :staging), start_permanent: (Mix.env == :prod || Mix.env == :staging), deps: deps() ] end # Dependencies can...
23.8
77
0.610644
744fc3fa4d8f952fe71e8af764921181a222fbbb
573
exs
Elixir
test/00_nouns/een_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/00_nouns/een_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/00_nouns/een_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Nouns.EENTest do use EctoTestDSL.Case test "there are three special ways to create an EEN" do expect = fn een, kvs -> assert Map.from_struct(een) == Enum.into(kvs, %{}) end een( example_name: Module) |> expect.(name: :example_name, module: Module) een(:example_name, Module) |> ex...
31.833333
82
0.661431
744fed45ea661b9698c7bce66c12bf03341490a4
2,231
ex
Elixir
lib/ex_jenga/send_money/eft.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
1
2021-09-14T09:50:22.000Z
2021-09-14T09:50:22.000Z
lib/ex_jenga/send_money/eft.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
15
2021-04-23T11:28:49.000Z
2021-06-23T04:42:35.000Z
lib/ex_jenga/send_money/eft.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
null
null
null
defmodule ExJenga.SendMoney.EFT do @moduledoc """ This module enables you to Send Money To Other Banks Via Electronic Funds Transfer (EFT) """ import ExJenga.JengaBase alias ExJenga.Signature @doc """ Send Money To Other Banks Via Electronic Funds Transfer (EFT) ## Parameters attrs: - a map contain...
34.859375
403
0.593904
744ffeb8135805a8d29eccee3c5a9ef0fc03d4e4
1,062
ex
Elixir
lib/honeybadger/breadcrumbs/breadcrumb.ex
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
175
2015-07-04T16:01:53.000Z
2022-03-30T10:18:03.000Z
lib/honeybadger/breadcrumbs/breadcrumb.ex
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
225
2015-07-03T22:08:58.000Z
2022-02-03T14:16:20.000Z
lib/honeybadger/breadcrumbs/breadcrumb.ex
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
69
2015-09-17T13:56:28.000Z
2022-03-20T17:49:17.000Z
defmodule Honeybadger.Breadcrumbs.Breadcrumb do @moduledoc false @derive Jason.Encoder @type t :: %__MODULE__{ message: String.t(), category: String.t(), timestamp: DateTime.t(), metadata: map() } @type opts :: [{:metadata, map()} | {:category, String.t()}] @...
24.136364
62
0.621469
7450045f8c7cedabc8b7162ec074f00d5f7092c5
2,644
exs
Elixir
test/chat_api_web/controllers/user_profile_controller_test.exs
jefferycline1/papercups
509a9e1c14808cef7eac362349bfa9044c4f4f6a
[ "MIT" ]
2
2020-09-21T07:27:13.000Z
2021-12-20T13:23:56.000Z
test/chat_api_web/controllers/user_profile_controller_test.exs
davgit/papercups
509a9e1c14808cef7eac362349bfa9044c4f4f6a
[ "MIT" ]
null
null
null
test/chat_api_web/controllers/user_profile_controller_test.exs
davgit/papercups
509a9e1c14808cef7eac362349bfa9044c4f4f6a
[ "MIT" ]
1
2021-08-29T14:10:18.000Z
2021-08-29T14:10:18.000Z
defmodule ChatApiWeb.UserProfileControllerTest do use ChatApiWeb.ConnCase alias ChatApi.{Accounts, UserProfiles, Repo} alias ChatApi.Users.User @password "supersecret123" @create_attrs %{ display_name: "some display_name", full_name: "some full_name", profile_photo_url: "some profile_photo_url"...
29.377778
83
0.660363
74502f71a0c5082f84319c36d0031c0c5e3789a0
1,946
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_package_resource_rpm.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_package_resource_rpm.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_package_resource_rpm.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.92
254
0.743577
745047eb1a83b1fd825ce76ac874c52a25d7da1c
431
exs
Elixir
community/samples/serving/helloworld-elixir/test/hello_web/views/error_view_test.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
3,383
2018-07-23T21:00:17.000Z
2022-03-30T17:13:52.000Z
community/samples/serving/helloworld-elixir/test/hello_web/views/error_view_test.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
4,617
2018-07-23T21:55:06.000Z
2022-03-31T21:52:36.000Z
community/samples/serving/helloworld-elixir/test/hello_web/views/error_view_test.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
1,240
2018-07-23T20:36:04.000Z
2022-03-30T20:03:07.000Z
defmodule HelloWeb.ErrorViewTest do use HelloWeb.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(HelloWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
25.352941
66
0.691415
7450496c6ef8211d16c86914a042b2a6dc1cfb2c
1,267
ex
Elixir
lib/new_relixir/transaction.ex
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
lib/new_relixir/transaction.ex
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
lib/new_relixir/transaction.ex
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
defmodule NewRelixir.Transaction do @moduledoc """ Records information about an instrumented web transaction. """ alias NewRelixir.Collector @doc """ Records the total time of a web transaction. """ @spec record_web(transaction :: binary, elapsed_time :: integer) :: :ok def record_web(transaction, e...
31.675
94
0.710339
74505a8d419068887a65df3362b4ef89f3aeeb3e
7,373
exs
Elixir
.credo.exs
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
1
2022-01-06T22:43:40.000Z
2022-01-06T22:43:40.000Z
.credo.exs
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
8
2021-07-05T19:03:33.000Z
2021-11-10T17:14:01.000Z
.credo.exs
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
3
2022-01-06T22:43:24.000Z
2022-03-04T21:40:37.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 ...
38.805263
97
0.613861
7450699ff1d50dd6259172cc6b2f23275947efbf
1,199
exs
Elixir
mix.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
555
2015-01-19T18:56:37.000Z
2022-03-17T21:22:16.000Z
mix.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
130
2015-02-12T16:48:54.000Z
2021-12-15T17:54:18.000Z
mix.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
100
2015-04-21T17:55:47.000Z
2022-01-25T21:03:10.000Z
defmodule Geo.Mixfile do use Mix.Project @source_url "https://github.com/bryanjos/geo" @version "3.4.3" def project do [ app: :geo, version: @version, elixir: "~> 1.6", deps: deps(), description: description(), package: package(), docs: docs(), name: "Geo" ...
19.983333
61
0.542952
745078542f75ca199b1d98ae70063b2f43da96e7
1,815
ex
Elixir
test/support/cases/mix_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
test/support/cases/mix_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
test/support/cases/mix_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
null
null
null
defmodule Torch.MixCase do @moduledoc false use ExUnit.CaseTemplate using do quote do import Torch.MixCase end end @doc false # Generates tests on the given mix task to ensure it handles errors properly defmacro test_mix_config_errors(task) do quote location: :keep do test "rais...
30.25
86
0.474931
74507e0a8225fab8bf368f13f2fa8dc6a749b7c3
4,285
ex
Elixir
lib/tirexs/resources/search.ex
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
lib/tirexs/resources/search.ex
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
lib/tirexs/resources/search.ex
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
defmodule Tirexs.Resources.Search do @moduledoc false import Tirexs.Resources, only: [urn: 1, __c: 2] @doc false @r [action: "/_explain", bump: :post, bump!: :post!] def _explain(a, b, c, d), do: __c(urn([a, b, c, @r[:action], d]), @r) def _explain(a, b, c), do: __c(urn([a, b, c, @r[:action]]), @r) def...
45.105263
79
0.551459
74508028c4a805e37436977b6a041fa755f74c4a
1,992
exs
Elixir
test/integration/resiliency_test.exs
pthompson/oban
b05dbdd4dc69c0755443a9683f65f742741d02be
[ "Apache-2.0" ]
null
null
null
test/integration/resiliency_test.exs
pthompson/oban
b05dbdd4dc69c0755443a9683f65f742741d02be
[ "Apache-2.0" ]
null
null
null
test/integration/resiliency_test.exs
pthompson/oban
b05dbdd4dc69c0755443a9683f65f742741d02be
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Integration.ResiliencyTest do use Oban.Case @moduletag :integration @oban_opts repo: Repo, queues: [alpha: 1], poll_interval: 10 defmodule Handler do def handle([:oban, :trip_circuit], %{}, meta, pid) do send(pid, {:tripped, meta}) end end setup do :telemetry.attach("cir...
23.435294
91
0.674699
7450b4effb5cea5db2dd47daa16d0856b18ab220
759
ex
Elixir
lib/command_line/composite_classifier.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/command_line/composite_classifier.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/command_line/composite_classifier.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
defmodule CommandLine.CompositeClassifier do alias CommandLine.ImageClassifier alias CommandLine.GenericClassifier alias CommandLine.ClassifierHelper def run(json, options) do configuration = Poison.decode!(json) preprocess(configuration, options) |> classify(configuration) end def preprocess(con...
26.172414
65
0.716733
7450bbd55cd35001c9737bc8c25711d41477acad
1,617
ex
Elixir
apps/reaper/lib/reaper/decoder/geojson.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/reaper/lib/reaper/decoder/geojson.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/reaper/lib/reaper/decoder/geojson.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Reaper.Decoder.GeoJson do @moduledoc """ Decoder implementation that will decode GeoJSON """ @behaviour Reaper.Decoder alias Reaper.Decoder.Json @impl Reaper.Decoder def decode({:file, filename}, %{technical: %{topLevelSelector: top_level_selector}} = _dataset) when not is_nil(top_level_...
29.4
97
0.675943
7450cee21bf91c0263bf1be3c957198879711847
1,356
exs
Elixir
test/parsers/jwt_test.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
test/parsers/jwt_test.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
test/parsers/jwt_test.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
defmodule ServerUtils.Parsers.JwtTest do @moduledoc false use ExUnit.Case alias ServerUtils.Support.Jwt.JwtMocker alias ServerUtils.Parsers.Jwt, as: JwtParser @moduletag :unit @fake_username "fake_user" test "Given a jwt and a claim key when it exists then the claim value is returned" do claim_va...
26.076923
105
0.675516
7450e2280ec3892ae29142c301862d7d92990bd2
1,965
exs
Elixir
config/dev.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
config/dev.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
config/dev.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "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 brunch.io to recompile .js and .css sources. config :telcofinder, TelcofinderWeb.Endpoint, http: [...
33.305085
170
0.708397
7451616fe0a16e5b0d7a6d199adca5dd07316bd9
3,187
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/grid_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/grid_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/grid_range.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.632184
134
0.67085
745176a1a210d7d2f39fb1640b93d7133a63e091
4,147
exs
Elixir
test/webapp_web/controllers/machine_controller_test.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
test/webapp_web/controllers/machine_controller_test.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
test/webapp_web/controllers/machine_controller_test.exs
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.MachineControllerTest do use WebappWeb.ConnCase # @create_attrs %{name: "some name", template: "some template"} # @update_attrs %{name: "some updated name", template: "some updated template"} # @invalid_attrs %{name: nil, template: nil} # setup do # conn = build_conn() |> bypass_t...
33.715447
100
0.601881
74519364f82f477af3eeb62c79cf37e49b9a2fff
3,122
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_photo.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_photo.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_photo.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...
45.911765
665
0.676489
7451a82405053afc0524172a092c0612c5295ee5
32,536
ex
Elixir
lib/cldr/locale.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
lib/cldr/locale.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
lib/cldr/locale.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Locale do @moduledoc """ Functions to parse and normalize locale names into a structure locale represented by a `Cldr.LanguageTag`. CLDR represents localisation data organized into locales, with each locale being identified by a locale name that is formatted according to [RFC5646](https://to...
31.58835
124
0.665417
7451d378e4424143e3145dcaeef7650db2354b92
715
ex
Elixir
lib/adyen_checkout_ex/model/response_additional_data_network_tokens.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/response_additional_data_network_tokens.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/response_additional_data_network_tokens.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "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 AdyenCheckoutEx.Model.ResponseAdditionalDataNetworkTokens do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"networkToken.av...
23.833333
91
0.709091
7451eb7deded62b5fb57cf47713b67461f9b5df9
187
exs
Elixir
priv/repo/migrations/20180630061546_add_timestamp_to_publish_throttle.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180630061546_add_timestamp_to_publish_throttle.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180630061546_add_timestamp_to_publish_throttle.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.AddTimestampToPublishThrottle do use Ecto.Migration def change do alter table(:publish_throttles) do timestamps() end end end
18.7
72
0.759358
7451f42493a4f0daed3341914ea056805fcef215
123
ex
Elixir
lib/google_fit/activity_type/boxing.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/boxing.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/boxing.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.Boxing do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
20.5
55
0.804878
7451fb5db0357e8b90cdec4c5ca6376bbb6cea75
43,496
exs
Elixir
test/mixin/search_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
test/mixin/search_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
test/mixin/search_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
defmodule ExAliyunOts.MixinTest.Search do use ExUnit.Case @instance_key EDCEXTestInstance use ExAliyunOts, instance: @instance_key require Logger alias ExAliyunOts.Client alias ExAliyunOts.Var.Search alias ExAliyunOtsTest.Support.Search, as: TestSupportSearch @table "test_search" @indexes ["test_sear...
26.393204
98
0.535153
74521c3d5256e1e67e351a60ae70eeb30ace7422
7,944
ex
Elixir
lib/sanbase/billing/plan/access_checker.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
lib/sanbase/billing/plan/access_checker.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
lib/sanbase/billing/plan/access_checker.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule Sanbase.Billing.Plan.AccessChecker do @moduledoc """ Module that contains functions for determining access based on the subscription plan. Adding new queries or updating the subscription plan does not require this module to be changed. The subscription plan needed for a given query is given in t...
37.295775
93
0.737538
74523ef0eeb53581906b846f4402e6490723d0ee
902
ex
Elixir
lib/awesome_phoenix.ex
harryji168/Phoenix-resources
57a6bb3155482029b8055e776ed1e9ef6322e484
[ "MIT" ]
564
2017-03-22T20:58:14.000Z
2022-02-18T20:01:48.000Z
lib/awesome_phoenix.ex
oestrich/awesome-phoenix
e9a3d19cccface22d95f3a92aa453fb3d3da632c
[ "MIT" ]
12
2017-03-23T16:00:01.000Z
2021-03-13T15:30:06.000Z
lib/awesome_phoenix.ex
oestrich/awesome-phoenix
e9a3d19cccface22d95f3a92aa453fb3d3da632c
[ "MIT" ]
41
2017-03-23T16:00:22.000Z
2021-11-27T06:28:44.000Z
defmodule AwesomePhoenix do @input "README.md" @output "docs/README.md" @regex ~r/https:\/\/github.com\/([a-zA-Z0-9\-\_\.]+)\/([a-zA-Z0-9\-\_\.]+)/ alias AwesomePhoenix.Repo alias AwesomePhoenix.Template def main([]) do IO.puts "GitHub personal access token is missing." end def main(args) do ...
25.055556
77
0.588692
74525a00360c202109b88b2176bffcf9f6fb83a4
667
ex
Elixir
lib/segment/http.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
lib/segment/http.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
lib/segment/http.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
defmodule Segment.Analytics.Http do use HTTPoison.Base alias Segment.Keychain @base_url "https://api.segment.io/v1/" def process_url(url) do @base_url <> url end def post(url, body, headers, options \\ []) do options_with_auth = Keyword.merge(options, hackney: [basic_auth: {Keychain.write_key(), ...
24.703704
97
0.691154
745261a0b73b67f23c23db9a54b445e456fdd2e4
389
exs
Elixir
082.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
082.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
082.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
with {:ok, f} <- File.read("p082_matrix.txt") do m = Matrix.from_csv(f) |> Matrix.transpose Enum.reverse(m.m) |> Enum.reduce(fn col, right -> z = Enum.zip(col, right) Enum.reverse(z) |> Euler.min_grid_path |> Enum.reverse |> Enum.zip(Euler.min_grid_path(z)) |> Enum.map(fn...
27.785714
48
0.562982
745275c07c0aafdd7470406e172085df948645d4
212
ex
Elixir
lib/binlist/country.ex
javierjulio/binlist-elixir
1c85f7a7c54a96c6abe06e5e1572e2e09601786c
[ "MIT" ]
1
2020-12-08T14:47:16.000Z
2020-12-08T14:47:16.000Z
lib/binlist/country.ex
javierjulio/binlist-elixir
1c85f7a7c54a96c6abe06e5e1572e2e09601786c
[ "MIT" ]
10
2020-10-05T16:16:13.000Z
2021-08-04T16:41:12.000Z
lib/binlist/country.ex
javierjulio/binlist-elixir
1c85f7a7c54a96c6abe06e5e1572e2e09601786c
[ "MIT" ]
null
null
null
defmodule Binlist.Country do defstruct numeric: nil, alpha2: nil, name: nil, emoji: nil, currency: nil, latitude: nil, longitude: nil end
21.2
28
0.495283
7452b3f5fdc3e6e4aea22775e650ea8310498634
1,762
exs
Elixir
community/samples/serving/helloworld-elixir/rel/config.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
3,383
2018-07-23T21:00:17.000Z
2022-03-30T17:13:52.000Z
community/samples/serving/helloworld-elixir/rel/config.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
4,617
2018-07-23T21:55:06.000Z
2022-03-31T21:52:36.000Z
community/samples/serving/helloworld-elixir/rel/config.exs
brunoborges/docs
a4d3e3af4e3b6510f9812082e9f92e5853067eea
[ "Apache-2.0" ]
1,240
2018-07-23T20:36:04.000Z
2022-03-30T20:03:07.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
32.62963
81
0.730988
7452bf5e758458f0c8564dbcd203456aef47a582
2,138
ex
Elixir
lib/chat_api_web/controllers/page_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/page_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/page_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.PageController do use ChatApiWeb, :controller @spec index(Plug.Conn.t(), map()) :: Plug.Conn.t() def index(conn, _params) do file = "./priv/static/index.html" |> File.read!() |> String.replace( "__SERVER_ENV_DATA__", Jason.encode!(server_env_data(), esca...
45.489362
106
0.737138
7452cad626fac90a61d46b9a0f7c4505172aba25
3,422
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_conversation_dataset.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_conversation_dataset.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_conversation_dataset.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...
45.026316
251
0.729982
745321984abd8b7fbf121d81b026d0e3e6a7c0b5
2,868
ex
Elixir
lib/euros/core.ex
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
2
2017-12-18T00:10:14.000Z
2017-12-18T03:25:26.000Z
lib/euros/core.ex
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
26
2017-12-15T09:49:16.000Z
2018-01-13T09:11:48.000Z
lib/euros/core.ex
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
2
2017-12-18T00:10:18.000Z
2019-03-10T09:29:56.000Z
defmodule Euros.Core do @moduledoc """ Provides the function for crawl web page """ @doc """ crawl web page ## Example iex> url = "https://euros-test.blogspot.jp/" iex> Euros.Core.crawl(url, fn(page) -> page |> inspect |> IO.puts end) if set depth limit iex> url = "https://euros-te...
29.56701
93
0.653068
74535e3d204697d5b3a388c83f9fc20db06b7bab
1,024
ex
Elixir
lib/rocketpay/user.ex
luiseufrasio/rocketpay
1771352702a2901a4d4aea704ff7e630a8d3ab6c
[ "Apache-2.0" ]
null
null
null
lib/rocketpay/user.ex
luiseufrasio/rocketpay
1771352702a2901a4d4aea704ff7e630a8d3ab6c
[ "Apache-2.0" ]
null
null
null
lib/rocketpay/user.ex
luiseufrasio/rocketpay
1771352702a2901a4d4aea704ff7e630a8d3ab6c
[ "Apache-2.0" ]
null
null
null
defmodule Rocketpay.User do use Ecto.Schema import Ecto.Changeset alias Rocketpay.Account alias Ecto.Changeset @required_params [:name, :age, :email, :password, :nickname] schema "users" do field :name, :string field :age, :integer field :email, :string field :password, :string, virtual: ...
25.6
97
0.69043
745371ffa6a1779f45ba32533f1fa5ec5e302fa1
1,294
ex
Elixir
lib/white_bread/outputers/html/formatter.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
lib/white_bread/outputers/html/formatter.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
lib/white_bread/outputers/html/formatter.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.Outputers.HTML.Formatter do @moduledoc "HTML formatter" def document(content) when is_binary(content) do "<!DOCTYPE html><html>#{content}</html>" end def body(content) when is_binary(content) do "<body>#{head "White Bread Results"}#{content}</body>" end defp head(content) do ...
22.701754
60
0.626739
7453874948ad1e5bd51ad1d94b4675b8fed417ff
1,164
exs
Elixir
config/config.exs
vog3l/ldap_ecto
807e11688d9ed67e9c52472df84b32ebb6e24047
[ "MIT" ]
1
2017-10-03T11:35:08.000Z
2017-10-03T11:35:08.000Z
config/config.exs
vog3l/bitq_ldap
807e11688d9ed67e9c52472df84b32ebb6e24047
[ "MIT" ]
null
null
null
config/config.exs
vog3l/bitq_ldap
807e11688d9ed67e9c52472df84b32ebb6e24047
[ "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.375
73
0.758591
745390c2137a47eee911e8ff6570b501eca4e938
1,244
exs
Elixir
config/config.exs
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
config/config.exs
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
config/config.exs
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :rocketpay, ecto_repos: [Rocketpay.Repo...
31.1
86
0.769293
7453b358c12b5c0f2ba44442312631f411400dd6
1,322
ex
Elixir
clients/data_migration/lib/google_api/data_migration/v1/model/restart_migration_job_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_migration/lib/google_api/data_migration/v1/model/restart_migration_job_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_migration/lib/google_api/data_migration/v1/model/restart_migration_job_request.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.47619
91
0.772315
7453d8e3563b7c2f5f59c8d99675c07bced0d6be
841
ex
Elixir
lib/serum/build/file_loader/posts.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
lib/serum/build/file_loader/posts.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
lib/serum/build/file_loader/posts.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
defmodule Serum.Build.FileLoader.Posts do @moduledoc false _moduledocp = "A module for loading posts from a project." import Serum.Build.FileLoader.Common import Serum.IOProxy alias Serum.Plugin alias Serum.Result @doc false @spec load(binary(), binary()) :: Result.t([Serum.File.t()]) def load(src,...
24.028571
91
0.630202
7453f05ea3707017c1de67a6ac95df9536fb4db8
4,761
exs
Elixir
test/noa/web/controllers/issue_controller_test.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
9
2017-08-16T14:55:48.000Z
2019-03-06T15:06:49.000Z
test/noa/web/controllers/issue_controller_test.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
null
null
null
test/noa/web/controllers/issue_controller_test.exs
handnot2/noa
c071798e2baf4649466ba37190070c3192c7c2c2
[ "MIT" ]
1
2022-03-17T18:32:59.000Z
2022-03-17T18:32:59.000Z
defmodule NoaWeb.IssueControllerTest do use NoaWeb.ConnCase alias Noa.Tokens.{Scopes} import Noa.{NoaHelper} setup %{conn: conn} do conn = conn |> put_req_header("accept", "application/json") seed_test_context(conn: conn) end defp assert_token_ok_resp(conn, opts \\ []) do resp = json_response(...
29.388889
89
0.590632
74540474a7c036aecd829c565f2026f9c728cca0
4,244
exs
Elixir
test/leaderboard_test.exs
jur0/leaderboard
644e0ba4e7596298655215d573c937178fc00498
[ "MIT" ]
5
2017-02-15T19:45:54.000Z
2018-11-04T15:36:56.000Z
test/leaderboard_test.exs
jur0/leaderboard
644e0ba4e7596298655215d573c937178fc00498
[ "MIT" ]
null
null
null
test/leaderboard_test.exs
jur0/leaderboard
644e0ba4e7596298655215d573c937178fc00498
[ "MIT" ]
3
2017-11-30T20:54:20.000Z
2021-07-19T20:07:42.000Z
defmodule LeaderboardTest do use ExUnit.Case, async: true @table Leaderboard.Test test "start leaderboard" do {:ok, _pid} = Leaderboard.start_link(@table) assert 0 == Leaderboard.size(@table) end test "delete single" do {:ok, _pid} = Leaderboard.start_link(@table) Leaderboard.insert(@table,...
38.234234
68
0.596136
745453d860deedb151be67852e0e73b40edb8f39
2,030
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1alpha1_label_video_object_detection_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1alpha1_label_video_object_detection_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1alpha1_label_video_object_detection_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.614035
199
0.784236
74545e2db11b6b971422b14b566d87ee9db5c4e7
2,352
ex
Elixir
lib/fernet_ecto.ex
jkakar/fernet-ecto
39fd365bf8aa92d34d30a44faea995f3d5e65ea2
[ "Apache-2.0" ]
3
2018-12-14T21:46:38.000Z
2020-05-01T23:26:17.000Z
lib/fernet_ecto.ex
jkakar/fernet-ecto
39fd365bf8aa92d34d30a44faea995f3d5e65ea2
[ "Apache-2.0" ]
4
2017-03-19T16:29:15.000Z
2019-10-14T17:43:35.000Z
lib/fernet_ecto.ex
jkakar/fernet-ecto
39fd365bf8aa92d34d30a44faea995f3d5e65ea2
[ "Apache-2.0" ]
3
2017-04-29T05:20:08.000Z
2018-12-14T21:46:40.000Z
defmodule Fernet.Ecto do @moduledoc """ [Fernet](https://github.com/kennyp/fernetex)-encrypted fields for Ecto. ## Defining a Fernet-encrypted field A Fernet-encrypted field can be defined on a schema just like any other Ecto field: defmodule MyApp.User do use Ecto.Schema schema "use...
32.219178
80
0.680272
74548b254de41b154c70fc069f10a28e30278d20
245
ex
Elixir
lib/abbr.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
14
2020-03-25T22:10:42.000Z
2021-02-04T01:31:40.000Z
lib/abbr.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
lib/abbr.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
defmodule Abbr do @moduledoc """ Abbr 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
24.5
66
0.746939
74548ebbff08f3b93b4b4af3c36b36c87e74aa70
466
exs
Elixir
config/test.exs
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
config/test.exs
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
config/test.exs
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :songmate, Songmate.Repo, username: "postgres", password: "postgres", database: "spotumwise_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server option below. config ...
24.526316
56
0.736052
7454aa929f93f367dd548eee898830718af4fd41
3,737
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/monitored_resource_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/logging/lib/google_api/logging/v2/model/monitored_resource_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/monitored_resource_descriptor.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 ...
60.274194
483
0.742307
7454fa19bfb0f43434858c50be3307fecb647604
1,763
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/commit_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/commit_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/commit_request.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...
34.568627
112
0.740216
74551c4c5270cd045ca15c1c9b8737b23b661ef7
3,024
exs
Elixir
apps/artemis/test/artemis/schemas/incident_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/schemas/incident_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/schemas/incident_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.IncidentTest do use Artemis.DataCase use ExUnit.Case, async: true import Ecto.Repo import Artemis.Factories alias Artemis.Incident alias Artemis.Repo alias Artemis.Tag @preload [:tags] describe "attributes - constraints" do test "compound source uid value must be unique" do ...
24.786885
108
0.603175
74557ea889d40f145d116624675cd583b822dabd
201
ex
Elixir
lib/phone/pt.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/pt.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/pt.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.PT do @moduledoc false use Helper.Country def regex, do: ~r/^(351)()(.{9})/ def country, do: "Portugal" def a2, do: "PT" def a3, do: "PRT" matcher(:regex, ["351"]) end
15.461538
35
0.597015
74558fd00f9fe5f81a87d73aa5af7df38d426c57
2,152
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_carrier.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_carrier.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_carrier.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.474576
149
0.693773
7455a1dc83ae578b8113b3e19d70be6f13c04cec
3,031
ex
Elixir
lib/new_relic/span/event.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
lib/new_relic/span/event.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
lib/new_relic/span/event.ex
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Span.Event do # Struct for a Span Event # # * trace_id: Distributed Trace ID # - trace_id from Transaction # * guid: Segment Identifier # * parent_id: Segment's Parent's GUID # - id of incoming DT payload OR `guid` of parent segment # * transaction_id: Transaction's guid # * tim...
29.427184
94
0.612339
7455b25407a480cc23721d7a5b81a3cb39658f90
1,176
ex
Elixir
web/channels/user_socket.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
defmodule FunInTheSun.UserSocket do use Phoenix.Socket ## Channels channel "room:*", FunInTheSun.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and a...
30.947368
84
0.705782
7455d8b186cb0436612cb82249b440265f5d76c5
80
exs
Elixir
phoenix/kth_chat/test/kth_chat_web/views/page_view_test.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
phoenix/kth_chat/test/kth_chat_web/views/page_view_test.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
phoenix/kth_chat/test/kth_chat_web/views/page_view_test.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
defmodule KthChatWeb.PageViewTest do use KthChatWeb.ConnCase, async: true end
20
38
0.825
7455f07f422065b126cae45042f02bff3a38bdad
5,485
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_face_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_face_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_face_annotation.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...
57.736842
536
0.722516
74560bad85cfe03e27b9882a5fbe96762386ef11
2,229
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/model/time_of_day.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/model/time_of_day.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/memcache/lib/google_api/memcache/v1beta2/model/time_of_day.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.803571
214
0.706146
74562b42b3b109737cfdd487f696f5b0bc112fd6
259
ex
Elixir
lib/ex_ftx/lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
lib/ex_ftx/lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
lib/ex_ftx/lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.LendingHistory do alias __MODULE__ @type t :: %LendingHistory{ coin: String.t(), rate: number, size: number, time: String.t() } defstruct ~w[ coin rate size time ]a end
14.388889
33
0.525097
74568619d79dca5d14096cceb525b530e132d7b2
1,121
ex
Elixir
lib/football_api_web/schemas/paginator.ex
afatsini/football_api
c17af14733fc7a649c38516045867c72ecab469f
[ "MIT" ]
null
null
null
lib/football_api_web/schemas/paginator.ex
afatsini/football_api
c17af14733fc7a649c38516045867c72ecab469f
[ "MIT" ]
null
null
null
lib/football_api_web/schemas/paginator.ex
afatsini/football_api
c17af14733fc7a649c38516045867c72ecab469f
[ "MIT" ]
null
null
null
defmodule FootballApiWeb.Schemas.Paginator do @moduledoc """ Parameter filter for pagination """ use Ecto.Schema import Ecto.Changeset alias __MODULE__ @allowed_fields ~w(page_number page_size)a @required_fields ~w()a embedded_schema do field(:page_number, :integer) field(:page_size, :int...
23.354167
80
0.699376
74568943763749b8870ccd02e9bb25477631cf6f
518
exs
Elixir
test/table_parser_test.exs
ggarnier/tzdata
f67057093ae60abd0401e480cbda75c2a63f137d
[ "MIT" ]
null
null
null
test/table_parser_test.exs
ggarnier/tzdata
f67057093ae60abd0401e480cbda75c2a63f137d
[ "MIT" ]
1
2018-12-30T12:15:35.000Z
2018-12-30T12:15:35.000Z
test/table_parser_test.exs
koan-ci/tzdata
bc9003ec5d23fe7c5dcdbfe0858b16d1080a7a09
[ "MIT" ]
null
null
null
defmodule TableParserTest do use ExUnit.Case, async: true alias Tzdata.TableParser @source_data_dir "test/tzdata_fixtures/source_data" test "should process file and return list of elements with comments, timezone, country codes, latlong" do processed = TableParser.read_file(@source_data_dir) |> Enum.to_lis...
37
107
0.735521
74568de551ceb57c13c7fab44e30f2387fbadeb3
40,732
ex
Elixir
deps/ecto/lib/ecto/query.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/query.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/query.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
defmodule Ecto.SubQuery do @moduledoc """ Stores subquery information. """ defstruct [:query, :params, :fields, :meta, :cache] end defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data from a repository (see `Ecto.Repo`). Ecto queries come in...
32.690209
139
0.663164
7456a6961beae9a2d4b9afb1fcb069d7afd94f62
2,147
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/menu_value.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/mirror/lib/google_api/mirror/v1/model/menu_value.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/menu_value.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 ...
38.339286
224
0.711225
7456d3cfdbf0110697af339f6a1a83464eb7c59a
1,110
exs
Elixir
config/config.exs
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
null
null
null
config/config.exs
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
2
2021-03-10T11:28:36.000Z
2021-05-11T07:00:39.000Z
config/config.exs
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :foundation_phoenix, ecto_repos: [Found...
34.6875
86
0.781081
74570b512fd5ae2c870198cf9de4847795f6f552
6,740
ex
Elixir
lib/ecto_autoslug_field/slug.ex
kianmeng/ecto_autoslug_field
38d83fa3cd7ae925f816b96dd3778554c70e3c84
[ "MIT" ]
null
null
null
lib/ecto_autoslug_field/slug.ex
kianmeng/ecto_autoslug_field
38d83fa3cd7ae925f816b96dd3778554c70e3c84
[ "MIT" ]
null
null
null
lib/ecto_autoslug_field/slug.ex
kianmeng/ecto_autoslug_field
38d83fa3cd7ae925f816b96dd3778554c70e3c84
[ "MIT" ]
null
null
null
defmodule EctoAutoslugField.SlugBase do @moduledoc """ This module defines all functions `Slug` module uses. """ alias Ecto.Changeset alias EctoAutoslugField.SlugGenerator @doc """ This function is used to generate slug. It is called 'maybe' since it may not generate slug for several reasons: 1....
29.69163
82
0.668694
7457115077de27805fde35287c6691f494abb438
7,602
ex
Elixir
lib/elixir/lib/config.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
1
2015-11-24T23:39:25.000Z
2015-11-24T23:39:25.000Z
lib/elixir/lib/config.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/config.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
null
null
null
defmodule Config do @moduledoc ~S""" A simple keyword-based configuration API. ## Example This module is most commonly used to define application configuration, typically in `config/config.exs`: import Config config :some_app, key1: "value1", key2: "value2" import_config...
28.47191
95
0.676664
745713f8a3233b80c32d23599ef52a3f7fee61d1
119
ex
Elixir
lib/kitten_graphql/repo.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2020-02-25T16:49:06.000Z
2020-04-24T03:14:11.000Z
lib/kitten_graphql/repo.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2021-03-09T03:17:50.000Z
2021-09-01T04:37:12.000Z
lib/kitten_graphql/repo.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
2
2019-05-06T08:27:54.000Z
2021-10-05T20:33:30.000Z
defmodule KittenGraphql.Repo do use Ecto.Repo, otp_app: :kitten_graphql, adapter: Ecto.Adapters.Postgres end
19.833333
35
0.756303
74572fdff4912252062079fe7f2357cf1f0ae3f0
951
ex
Elixir
lib/rocketpay/users/create.ex
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
80
2021-02-26T13:26:00.000Z
2022-01-31T15:13:18.000Z
lib/rocketpay/users/create.ex
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
null
null
null
lib/rocketpay/users/create.ex
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
42
2021-02-26T13:26:19.000Z
2021-12-11T16:32:47.000Z
defmodule Rocketpay.Users.Create do alias Ecto.Multi alias Rocketpay.{Account, Repo, User} def call(params) do Multi.new() |> Multi.insert(:create_user, User.changeset(params)) |> Multi.run(:create_account, fn repo, %{create_user: user} -> insert_account(repo, user) end) |> Multi.run(:p...
23.775
66
0.646688
745742d68efb52b90c75cc70c2053608e6a62b2b
1,637
exs
Elixir
mix.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
mix.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
mix.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
defmodule Todo.Mixfile do use Mix.Project def project do [app: :todo, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: ali...
29.763636
89
0.599878
7457548b1bd11a88325efa5a6ffda6f9a566c34e
899
exs
Elixir
config/test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
config/test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
config/test.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
import Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # 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. co...
29.966667
91
0.764182
745761c267f474edc9d988b4fa6d182c92143bec
2,170
ex
Elixir
lib/inquisitor/jsonapi/filter.ex
DockYard/inquisitor_jsonapi
8dad9b0b59f617bf0882465b0cc8be255720e320
[ "MIT" ]
13
2017-03-12T17:23:01.000Z
2018-08-15T20:13:43.000Z
lib/inquisitor/jsonapi/filter.ex
DockYard/inquisitor_jsonapi
8dad9b0b59f617bf0882465b0cc8be255720e320
[ "MIT" ]
null
null
null
lib/inquisitor/jsonapi/filter.ex
DockYard/inquisitor_jsonapi
8dad9b0b59f617bf0882465b0cc8be255720e320
[ "MIT" ]
2
2021-03-30T01:32:10.000Z
2022-01-27T16:04:45.000Z
defmodule Inquisitor.JsonApi.Filter do @moduledoc """ Inquisitor query handlers for JSON API filters [JSON API Spec](http://jsonapi.org/format/#fetching-filtering) #### Usage `use` the module *after* the `Inquisitor` module: defmodule MyApp do use Inquisitor use Inquisitor.JsonApi.Fi...
29.324324
102
0.675576
74579da6ef89aab57f110c18c149421199489f6d
4,040
ex
Elixir
lib/mix/lib/mix/shell/process.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/process.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/process.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell.Process do @moduledoc """ Mix shell that uses the current process mailbox for communication. This module provides a Mix shell implementation that uses the current process mailbox for communication instead of IO. As an example, when `Mix.shell.info("hello")` is called, the following me...
25.408805
84
0.64505
7457b46d0ff7d7d0b5ea61cc82e5b11603cb183b
1,909
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_page_detected_language.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_page_detected_language.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_page_detected_language.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...
34.709091
207
0.744893
74581899ea24423108aa679a7b4eb5e6b6a6e9bf
1,515
ex
Elixir
lib/wikihex/api_client.ex
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
lib/wikihex/api_client.ex
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
lib/wikihex/api_client.ex
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
defmodule Wikihex.ApiClient do @moduledoc """ This is a very thin client to the Wikipedia API. See notes on API at https://www.mediawiki.org/wiki/API:Query """ @default_arguments %{ format: "json", formatversion: 2 } @api_endpoint "https://en.wikipedia.org/w/api.php" @doc """ Query the Wikiped...
25.25
124
0.59934
7458269e2cfe3c7bdab4f7a6bbae782d6f8e537b
2,089
exs
Elixir
config/dev.exs
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "MIT" ]
null
null
null
config/dev.exs
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "MIT" ]
null
null
null
config/dev.exs
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "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 :telepath, TelepathWeb.Endpoint, http: [port: 40...
27.486842
68
0.687889
74583f2d9b9182cd043202c8bec2ee74e01fd2cb
2,522
ex
Elixir
lib/comeonin/behaviour_test_helper.ex
jamesvl/comeonin
67bea7ad3c37ba2b1a81e42641b22f25479dacb0
[ "BSD-3-Clause" ]
null
null
null
lib/comeonin/behaviour_test_helper.ex
jamesvl/comeonin
67bea7ad3c37ba2b1a81e42641b22f25479dacb0
[ "BSD-3-Clause" ]
null
null
null
lib/comeonin/behaviour_test_helper.ex
jamesvl/comeonin
67bea7ad3c37ba2b1a81e42641b22f25479dacb0
[ "BSD-3-Clause" ]
null
null
null
defmodule Comeonin.BehaviourTestHelper do @moduledoc """ Test helper functions for Comeonin behaviours. """ @doc """ List of passwords that just contain basic ascii characters. """ def ascii_passwords do ["passw0rd", "hard2guess", "!@#$%^&* ", "1q2w3e4r5t"] end @doc """ List of passwords that ...
29.325581
80
0.681205
74583f770b81e509597f72cad2379e40afaad483
646
ex
Elixir
examples/bank/lib/bank/commands/deposit_money.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/commands/deposit_money.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/commands/deposit_money.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
defmodule Bank.Commands.DepositMoney do @moduledoc """ Deposit Money command using `Ecto.Schema` and `Ecto.Changeset` to define and validate fields. """ @behaviour Incident.Command use Ecto.Schema import Ecto.Changeset @primary_key false embedded_schema do field(:aggregate_id, :string) field(...
21.533333
95
0.701238
74583fd117022749681312f82241677931bb7cb6
520
ex
Elixir
test/fixtures/schemas/test_mutation_schema.ex
matelau/absinthe_sorting_codec
cf21760d371e2558f88c4f1b8e8428fb32e423d3
[ "MIT" ]
9
2019-01-25T22:37:54.000Z
2020-05-21T18:05:55.000Z
test/fixtures/schemas/test_mutation_schema.ex
matelau/absinthe_sorting_codec
cf21760d371e2558f88c4f1b8e8428fb32e423d3
[ "MIT" ]
1
2020-05-21T02:03:43.000Z
2020-08-10T00:03:53.000Z
test/fixtures/schemas/test_mutation_schema.ex
matelau/absinthe_sorting_codec
cf21760d371e2558f88c4f1b8e8428fb32e423d3
[ "MIT" ]
3
2020-05-21T01:43:19.000Z
2020-11-09T20:49:04.000Z
defmodule TestMutationSchema do use Absinthe.Schema query do end input_object :contact_input do field(:name, non_null(:float), default_value: 1.2) field(:value, non_null(:string)) end mutation do @desc "Create a book" field :create_book, type: :string do arg(:body, non_null(:string)...
21.666667
58
0.640385
74584f3a9d65f8ea1c04fb1f498510269916a465
191
ex
Elixir
test/support/assets.ex
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
null
null
null
test/support/assets.ex
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
null
null
null
test/support/assets.ex
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
null
null
null
defmodule USGovData.Test.Support.Assets do def path_to(asset) do Path.join(assets_path(), asset) end defp assets_path() do Path.join([File.cwd!(), "test", "assets"]) end end
19.1
46
0.675393
745882e8e1e0acf86fc7609cd594f3d82216c6cf
8,112
exs
Elixir
test/chat_api/conversations_test.exs
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
defmodule ChatApi.ConversationsTest do use ChatApi.DataCase, async: true alias ChatApi.{Conversations, SlackConversationThreads} describe "conversations" do alias ChatApi.Conversations.Conversation alias ChatApi.SlackConversationThreads.SlackConversationThread @valid_attrs %{status: "open"} @up...
36.214286
129
0.698718
7458bfd0f0b3cfea9577df9877253eaca5e168cd
17,405
ex
Elixir
lib/absinthe/relay/connection.ex
KevinFarthing/absinthe_relay
376aaeb3dd790701f062653ba4a02a4f3aecdeb0
[ "MIT" ]
null
null
null
lib/absinthe/relay/connection.ex
KevinFarthing/absinthe_relay
376aaeb3dd790701f062653ba4a02a4f3aecdeb0
[ "MIT" ]
null
null
null
lib/absinthe/relay/connection.ex
KevinFarthing/absinthe_relay
376aaeb3dd790701f062653ba4a02a4f3aecdeb0
[ "MIT" ]
null
null
null
defmodule Absinthe.Relay.Connection.Options do @moduledoc false @typedoc false @type t :: %{ optional(:after) => nil | Connection.cursor(), optional(:before) => nil | Connection.cursor(), optional(:first) => nil | pos_integer(), optional(:last) => nil | pos_integer(), ...
27.670906
107
0.631026
7458c22960d12c092e41b921619ae50b3df38fa0
476
ex
Elixir
lib/axon_scenic.ex
joaohf/axon-scenic
33c449e1eb3487de4ad1bf03575ca25a6a013b89
[ "BSD-3-Clause" ]
null
null
null
lib/axon_scenic.ex
joaohf/axon-scenic
33c449e1eb3487de4ad1bf03575ca25a6a013b89
[ "BSD-3-Clause" ]
null
null
null
lib/axon_scenic.ex
joaohf/axon-scenic
33c449e1eb3487de4ad1bf03575ca25a6a013b89
[ "BSD-3-Clause" ]
null
null
null
defmodule AxonScenic do @moduledoc """ Starter application using the Scenic framework. """ def start(_type, _args) do # load the viewport configuration from config main_viewport_config = Application.get_env(:axon_scenic, :viewport) # start the application with the viewport children = [ A...
25.052632
71
0.718487
7458c53f64c6b1b6f0208092243ffbc56beeccb1
4,000
ex
Elixir
lib/olm/session.ex
kianmeng/olm-elixir
7e68a76d84a25c1c3a92af44c8a62bbf4ebcacb4
[ "MIT" ]
1
2020-08-17T18:07:24.000Z
2020-08-17T18:07:24.000Z
lib/olm/session.ex
kianmeng/olm-elixir
7e68a76d84a25c1c3a92af44c8a62bbf4ebcacb4
[ "MIT" ]
11
2020-08-06T16:40:32.000Z
2020-08-27T16:03:29.000Z
lib/olm/session.ex
kianmeng/olm-elixir
7e68a76d84a25c1c3a92af44c8a62bbf4ebcacb4
[ "MIT" ]
1
2020-08-08T21:08:22.000Z
2020-08-08T21:08:22.000Z
defmodule Olm.Session do @moduledoc """ Functions for working with Olm Sessions. """ alias Olm.{NIF, NIFError} @doc """ Creates a new out-bound session for sending messages to a given peer identity key and one time key. """ def new_outbound(account_ref, peer_id_key, peer_one_time_key) when is_re...
31.746032
133
0.68875
7458dcd879dacb45fa1e317e76869867df92ed73
937
ex
Elixir
lib/deux/redis.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
lib/deux/redis.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
lib/deux/redis.ex
3zcurdia/deux
59e548fbd7e42b460ce624971dd1a0437d9c1df9
[ "MIT" ]
null
null
null
defmodule Deux.Redis do @moduledoc """ Handle the redis sources and services integirty checks """ alias Deux.Redis.Source @doc """ Adds the remote redis source, load local reports and start worker ## Params - name: the name of the given source - url: the url from the redis service to connect - fi...
29.28125
114
0.653148
745928bb06785c83147bc07ce1e6321c9be00509
41,687
exs
Elixir
config/badwords.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
config/badwords.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
config/badwords.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
import Config # # # ░░░░ # ██ # ██░░██ # ░░ ░░ ██░░░░░░██ ░░░░ # ██░░░░░░░░░░██ # ...
15.566468
84
0.453739
74597ee13b885f05fe17c08a3a1633d2cd526677
1,228
exs
Elixir
mix.exs
botsquad/speechmarkdown-ex
7c3c74fb15d3e7241e950f43e359394e2ba1d75c
[ "Apache-2.0" ]
null
null
null
mix.exs
botsquad/speechmarkdown-ex
7c3c74fb15d3e7241e950f43e359394e2ba1d75c
[ "Apache-2.0" ]
null
null
null
mix.exs
botsquad/speechmarkdown-ex
7c3c74fb15d3e7241e950f43e359394e2ba1d75c
[ "Apache-2.0" ]
null
null
null
defmodule SpeechMarkdown.Mixfile do use Mix.Project def project do [ app: :speechmarkdown, name: "SpeechMarkdown", version: "0.1.1", elixir: "~> 1.9", description: "SpeechMarkdown transpiler for Elixir", package: package(), deps: deps(), test_coverage: [tool: ExC...
24.56
70
0.531759
7459ad03d0756207969dafccff463735bab5d1aa
1,708
ex
Elixir
lib/fcmex/subscription.ex
fkore/fcmex
43f7f5589514503c975b6321bac20927aedbeff5
[ "MIT" ]
null
null
null
lib/fcmex/subscription.ex
fkore/fcmex
43f7f5589514503c975b6321bac20927aedbeff5
[ "MIT" ]
null
null
null
lib/fcmex/subscription.ex
fkore/fcmex
43f7f5589514503c975b6321bac20927aedbeff5
[ "MIT" ]
null
null
null
defmodule Fcmex.Subscription do @moduledoc """ This module manages subscritioins """ use Retry alias Fcmex.{Config, Util} @base_url "https://iid.googleapis.com/iid" @endpoint "/info" def get(token) do request(fn -> HTTPoison.get("#{@base_url}#{@endpoint}/#{token}?details=true", Config.new()...
22.473684
97
0.603044
7459b31c051404631bcf3ee4f9aa665ff1a13bb6
2,571
exs
Elixir
mix.exs
dognotdog/nerves_system_rpi0
191919aadfd48cd93cc99e26a9c0af0e553e084b
[ "Apache-2.0" ]
null
null
null
mix.exs
dognotdog/nerves_system_rpi0
191919aadfd48cd93cc99e26a9c0af0e553e084b
[ "Apache-2.0" ]
null
null
null
mix.exs
dognotdog/nerves_system_rpi0
191919aadfd48cd93cc99e26a9c0af0e553e084b
[ "Apache-2.0" ]
null
null
null
defmodule CustomRpi0.MixProject do use Mix.Project @app :custom_rpi0 @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() ++ [:nerves_package], ...
22.356522
77
0.584597
7459c6e79f9556884a71440d0218239b6fb178c7
312
exs
Elixir
test/test_helper.exs
yorunoR/mongo_ecto
70309dcf45690154a6979defed69a33d9f87fa3b
[ "MIT" ]
null
null
null
test/test_helper.exs
yorunoR/mongo_ecto
70309dcf45690154a6979defed69a33d9f87fa3b
[ "MIT" ]
null
null
null
test/test_helper.exs
yorunoR/mongo_ecto
70309dcf45690154a6979defed69a33d9f87fa3b
[ "MIT" ]
null
null
null
Code.require_file "./support/test_tools.ex", __DIR__ Code.require_file "./support/test_repo.exs", __DIR__ #tests use `accounts` table so we need to create it if not exists if MongoEcto.TestTools.findCollection("accounts") == nil do Mongo.run_command(MongoEcto, %{"create" => "accounts"}) end ExUnit.start()
34.666667
65
0.75
7459d9e1bc656457febff0b52abc7fabd82bcb0c
389
exs
Elixir
apps/aetestframework/mix.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aetestframework/mix.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aetestframework/mix.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
defmodule Aetestframework.MixProject do use Mix.Project def project do [ app: :aetestframework, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp dep...
14.961538
42
0.562982
7459e1f07e60ffd2f0c359505840cbb85e4e93f4
312
ex
Elixir
acronym/lib/bmi.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
acronym/lib/bmi.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
acronym/lib/bmi.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
defmodule BMI do def compute(height_in_m, weight_in_kg) do weight_in_kg/(height_in_m*height_in_m) end def test_bmi() do 22.395413419331717 = BMI.compute(1.83, 75) 37.10937499999999 = BMI.compute(1.60, 95) 82.64462809917354 = BMI.compute(1.10, 100) :ok end end :ok = BMI.test_bmi()
19.5
46
0.689103
7459f8445ff1dd1ae441540437f3f2518c74d23f
918
exs
Elixir
config/config.exs
saketmehta/elixir-poker
1cdad03fddc86bb7c4004f0741c6727c39f71dbc
[ "MIT" ]
null
null
null
config/config.exs
saketmehta/elixir-poker
1cdad03fddc86bb7c4004f0741c6727c39f71dbc
[ "MIT" ]
null
null
null
config/config.exs
saketmehta/elixir-poker
1cdad03fddc86bb7c4004f0741c6727c39f71dbc
[ "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 :poker, ecto_repos: [Poker.Repo] # Conf...
32.785714
86
0.760349
745a01940a0d3c0edeb98d2c7a870dc599dd8183
669
exs
Elixir
diamond/diamond_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
diamond/diamond_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
diamond/diamond_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("diamond.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule DiamondTest do use ExUnit.Case # @tag :pending test "letter A" do shape = Diamond.build_shape(?A) assert shape == "A\n" end @tag :pend...
14.866667
47
0.568012