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
9730aaeaf8bae17edc4334c111061e5daff6496b
3,948
ex
Elixir
lib/console_web/controllers/invitation_controller.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
lib/console_web/controllers/invitation_controller.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
1
2021-04-03T09:29:31.000Z
2021-04-03T09:29:31.000Z
lib/console_web/controllers/invitation_controller.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.InvitationController do use ConsoleWeb, :controller alias Console.Organizations alias Console.Organizations alias Console.Organizations.Invitation alias Console.Email alias Console.Mailer plug ConsoleWeb.Plug.AuthorizeAction when action not in [:accept, :redirect_to_register, :get_b...
40.285714
163
0.709726
9730d23b1fc1a29101d5cee2b6c24888088920a5
261
exs
Elixir
config/test.exs
itaym2/wiksir
a834ad95163e0b807dcba6d8ef17b998e312f396
[ "MIT" ]
null
null
null
config/test.exs
itaym2/wiksir
a834ad95163e0b807dcba6d8ef17b998e312f396
[ "MIT" ]
null
null
null
config/test.exs
itaym2/wiksir
a834ad95163e0b807dcba6d8ef17b998e312f396
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :wiksir, Wiksir.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
23.727273
56
0.731801
9730dabf3a4b5af9fea3cbedf6fcd163cd178c9f
25,099
ex
Elixir
apps/language_server/lib/language_server/server.ex
jjcarstens/elixir-ls
33d9d9953612638bc315ac5359c7ac6a90c657c6
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
jjcarstens/elixir-ls
33d9d9953612638bc315ac5359c7ac6a90c657c6
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
jjcarstens/elixir-ls
33d9d9953612638bc315ac5359c7ac6a90c657c6
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Server do @moduledoc """ Language Server Protocol server This server tracks open files, attempts to rebuild the project when a file changes, and handles requests from the IDE (for things like autocompletion, hover, etc.) Notifications from the IDE are handled synchronously,...
28.169473
100
0.647317
9730e09dd3316e4d6d32ddf4ea560831b3cbe9dd
767
ex
Elixir
lib/event_store/storage/lock.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
lib/event_store/storage/lock.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-08-23T16:47:17.000Z
2018-08-23T19:56:42.000Z
lib/event_store/storage/lock.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-07-30T18:25:06.000Z
2018-07-30T18:25:06.000Z
defmodule EventStore.Storage.Lock do @moduledoc false require Logger alias EventStore.Sql.Statements def try_acquire_exclusive_lock(conn, key, opts \\ []) do case Postgrex.query(conn, Statements.try_advisory_lock(), [key], opts) do {:ok, %Postgrex.Result{rows: [[true]]}} -> :ok {:ok,...
22.558824
77
0.58279
973106fba0842916775072160c10e6e24ae31096
8,366
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_service.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
71.504274
488
0.732847
973129d936d65ad4f4554377d35c0121e9ac1f1f
18,611
exs
Elixir
lib/elixir/test/elixir/module/checker_test.exs
kassio/elixir
78551c11c9c97bb608e4097d2e0c36458b11f535
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/test/elixir/module/checker_test.exs
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/test/elixir/module/checker_test.exs
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Module.CheckerTest do use ExUnit.Case import ExUnit.CaptureIO setup_all do previous = Application.get_env(:elixir, :ansi_enabled, false) Application.put_env(:elixir, :ansi_enabled, false) on_exit(fn -> Application.put_env(:elixir, :ansi_ena...
21.465975
117
0.50094
973129f5f359ac83fea53fea85f66555b3c9f666
1,533
exs
Elixir
mix.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
null
null
null
mix.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
null
null
null
mix.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
null
null
null
defmodule Premailex.Mixfile do use Mix.Project @version "0.3.12" def project do [ app: :premailex, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), # Hex description: "Add inline styling to your HTML emails, and transform them...
22.880597
115
0.562296
973147cef17d5bbba49b01bb7072afd6a8586e0b
235
exs
Elixir
test/simplemath_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
test/simplemath_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
70
2020-01-07T01:21:38.000Z
2021-06-18T02:57:39.000Z
test/simplemath_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
defmodule TestSimpleMath do use ExUnit.Case import SimpleMath, only: [double_integer: 1] test "double some nums" do assert double_integer(2) == 4 assert double_integer(4) == 8 assert double_integer(0) == 0 end end
21.363636
46
0.702128
973149f9531966bc8248d6e60e7e896372ad55ab
207
exs
Elixir
apps/data/priv/repo/migrations/20190322180429_add_undocked_to_gauges.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/priv/repo/migrations/20190322180429_add_undocked_to_gauges.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/priv/repo/migrations/20190322180429_add_undocked_to_gauges.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Repo.Migrations.AddUndockedToGauges do use Ecto.Migration def change do alter table(:gauges) do add(:is_docked, :boolean, default: true, null: false) end end end
20.7
62
0.724638
973164c71f3dc06ede90a66b04bd90a058f97724
2,317
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/resource_record_set.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/resource_record_set.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/resource_record_set.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
36.777778
144
0.70177
9731688981eb5d8ba792fd01bc117bd706815cf9
986
exs
Elixir
test/ex_doc/markdown_test.exs
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
test/ex_doc/markdown_test.exs
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
test/ex_doc/markdown_test.exs
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
defmodule ExDoc.MarkdownTest do use ExUnit.Case, async: true alias ExDoc.Markdown, as: Markdown test "add iex/elixir to markdown codeblocks" do with_empty_class = "<pre><code class=\"\">mix run --no-halt path/to/file.exs" without_class = "<pre><code>mix run --no-halt path/to/file.exs" iex_detected_w...
46.952381
81
0.679513
97316a3e85cf5f3fb3217c6f8786c46593c0c73d
2,842
ex
Elixir
apps/omg/lib/omg/wire_format_types.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg/lib/omg/wire_format_types.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg/lib/omg/wire_format_types.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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.891304
112
0.729768
973182e67de2a925ee93470f495adb993efbaa03
2,273
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/oidc_token.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/oidc_token.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/oidc_token.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.46
466
0.74879
97318672e27cff56a697ad20202d45f41ad9d9b8
970
exs
Elixir
mix.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
23
2018-03-02T19:50:19.000Z
2021-06-21T04:44:30.000Z
mix.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
null
null
null
mix.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
1
2018-12-10T15:53:00.000Z
2018-12-10T15:53:00.000Z
defmodule GenPrerender.MixProject do use Mix.Project @version "0.0.14-beta.3" @description "caching made fun!" def project do [ app: :gen_spoxy, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), descriptio...
20.208333
78
0.535052
9731ab1a4717d16c3e16b192a3b6cd59ae8e6a65
12,462
ex
Elixir
lib/garlic/network_status.ex
abiko-search/garlic
9e8aada63291ac9f2d6530741f3d139b2d191e42
[ "Apache-2.0" ]
null
null
null
lib/garlic/network_status.ex
abiko-search/garlic
9e8aada63291ac9f2d6530741f3d139b2d191e42
[ "Apache-2.0" ]
null
null
null
lib/garlic/network_status.ex
abiko-search/garlic
9e8aada63291ac9f2d6530741f3d139b2d191e42
[ "Apache-2.0" ]
null
null
null
defmodule Garlic.NetworkStatus do @moduledoc "Tor network status" # TODO: make autoupdate require Logger require Garlic.NetworkStatus.AuthorityList use GenServer alias Garlic.{Crypto, NetworkStatus.Document, Circuit, Mint.Client} defstruct [ :previous_shared_random, :current_shared_random, ...
29.956731
99
0.654951
97320c45a846067cc42fdf428f059220b1ebe8a4
332
exs
Elixir
scenic1/config/host.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
scenic1/config/host.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
scenic1/config/host.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
use Mix.Config config :scenic1, :viewport, %{ name: :main_viewport, # default_scene: {Scenic1.Scene.Crosshair, nil}, default_scene: {Scenic1.Scene.SysInfo, nil}, size: {800, 480}, opts: [scale: 1.0], drivers: [ %{ module: Scenic.Driver.Glfw, opts: [title: "MIX_TARGET=host, app = :scenic1"] ...
20.75
54
0.61747
973229b577a00a49346d541742fef02347a272a6
1,006
ex
Elixir
lib/changelog_web/views/post_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog_web/views/post_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog_web/views/post_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.PostView do use ChangelogWeb, :public_view alias Changelog.{Files, ListKit} alias ChangelogWeb.{Endpoint, NewsItemView, PersonView} def admin_edit_link(conn, %{admin: true}, post) do path = Routes.admin_post_path(conn, :edit, post, next: current_path(conn)) link("[edit]", to: pa...
27.944444
90
0.67495
97324c86fa2f9a6c47919a3a278178522cddcce9
4,402
ex
Elixir
lib/chat_api/forwarding_addresses.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api/forwarding_addresses.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api/forwarding_addresses.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
defmodule ChatApi.ForwardingAddresses do @moduledoc """ The ForwardingAddresses context. """ import Ecto.Query, warn: false alias ChatApi.{Repo, Accounts} alias ChatApi.Accounts.Account alias ChatApi.ForwardingAddresses.ForwardingAddress @spec list_forwarding_addresses(binary(), map()) :: [ForwardingA...
31.219858
91
0.684462
97326207a7f41f13e5e7c5d404b7b5678aeaf1ff
90
exs
Elixir
ch7/myList1.exs
lv12312/programmingElixir
7894c1dbfba9a70d87b2f82f841f2c6ed978148a
[ "MIT" ]
null
null
null
ch7/myList1.exs
lv12312/programmingElixir
7894c1dbfba9a70d87b2f82f841f2c6ed978148a
[ "MIT" ]
null
null
null
ch7/myList1.exs
lv12312/programmingElixir
7894c1dbfba9a70d87b2f82f841f2c6ed978148a
[ "MIT" ]
null
null
null
defmodule MyList do def len([]), do: 0 def len([_head | tail]), do: 1 + len(tail) end
18
44
0.6
9732691b0c9e539472a2e7bbea576e83c0714c78
138
ex
Elixir
test/support/phoenix/routes.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
test/support/phoenix/routes.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
test/support/phoenix/routes.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Pow.Test.Phoenix.Routes do @moduledoc false use Pow.Phoenix.Routes def after_sign_out_path(_conn), do: "/signed_out" end
19.714286
51
0.768116
9732a73f6b6614526252aded34663c96c781aa8c
213
exs
Elixir
priv/repo/migrations/20190315162658_add_status_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
priv/repo/migrations/20190315162658_add_status_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
priv/repo/migrations/20190315162658_add_status_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.Repo.Migrations.AddStatusToChallenges do use Ecto.Migration def change do alter table(:challenges) do add(:status, :string, default: "pending", null: false) end end end
21.3
63
0.723005
9732ac509f751a0af6bd38a7de6150d286d17448
1,654
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/check_valid_creds_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/check_valid_creds_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/check_valid_creds_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.755556
374
0.775695
9732c91e1101d04896afd16fc18ef879aeeecb08
5,063
exs
Elixir
apps/reaper/test/unit/reaper/data_extract/load_stage_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/reaper/test/unit/reaper/data_extract/load_stage_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/reaper/test/unit/reaper/data_extract/load_stage_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Reaper.DataExtract.LoadStageTest do use ExUnit.Case use Placebo use Properties, otp_app: :reaper alias Reaper.DataExtract.LoadStage alias Reaper.{Cache, Persistence} alias SmartCity.TestDataGenerator, as: TDG @message_size 218 @iso_output DateTime.utc_now() |> DateTime.to_iso8601() @cache ...
30.871951
112
0.636974
9732c9bd5d5c9145fc57f92c87b22ac560eb026f
79
ex
Elixir
lib/hook/producers/discord.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
1
2020-07-01T16:08:34.000Z
2020-07-01T16:08:34.000Z
lib/hook/producers/discord.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
6
2021-03-11T07:37:48.000Z
2022-02-13T21:10:33.000Z
lib/hook/producers/discord.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
1
2020-05-29T21:47:35.000Z
2020-05-29T21:47:35.000Z
defmodule Accent.Hook.Producers.Discord do use Accent.Hook.EventProducer end
19.75
42
0.835443
9732d0ea023678288e38662f86ae35e5fa6eac61
64
ex
Elixir
web/views/snippet_view.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
web/views/snippet_view.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
web/views/snippet_view.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
null
null
null
defmodule BigSnips.SnippetView do use BigSnips.Web, :view end
16
33
0.796875
9732f5937f2d9a2a713432b1b8fe541ae2fc75da
1,449
exs
Elixir
apps/wall_web/mix.exs
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
6
2019-12-24T11:18:32.000Z
2020-02-15T10:24:14.000Z
apps/wall_web/mix.exs
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
null
null
null
apps/wall_web/mix.exs
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
2
2020-02-28T16:21:17.000Z
2020-08-17T19:55:09.000Z
defmodule WallWeb.MixProject do use Mix.Project def project do [ app: :wall_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elixirc_pa...
24.982759
67
0.57971
9732f66c161e6c1784f426c0449e6ae2052d605d
2,174
ex
Elixir
clients/fitness/lib/google_api/fitness/v1/model/application.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/application.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/application.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.807692
326
0.75621
9733369077c455c5cbca1d304e981ee0966c0f08
1,987
ex
Elixir
apps/content/lib/content_web/views/layout_view.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/content/lib/content_web/views/layout_view.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/content/lib/content_web/views/layout_view.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.Content.LayoutView do use Legendary.Content, :view def feed_tag(conn, assigns), do: feed_tag(conn, view_module(conn), view_template(conn), assigns) def feed_tag(conn, view_module, view_template, assigns) do ~E""" <link rel="alternate" type="application/rss+xml" titl...
34.258621
109
0.694011
97333896aad7cd9f07380e9a957913c2a8e60888
507
exs
Elixir
config/config.exs
luoq/ex_ftx
b4b1882ef5c97f915b0ff10f1d14603cfe8138d2
[ "MIT" ]
null
null
null
config/config.exs
luoq/ex_ftx
b4b1882ef5c97f915b0ff10f1d14603cfe8138d2
[ "MIT" ]
null
null
null
config/config.exs
luoq/ex_ftx
b4b1882ef5c97f915b0ff10f1d14603cfe8138d2
[ "MIT" ]
null
null
null
use Mix.Config config :ex_ftx, api_key: System.get_env("FTX_API_KEY"), api_secret: System.get_env("FTX_API_SECRET"), api_subaccount: System.get_env("FTX_API_SUBACCOUNY", nil) config :exvcr, filter_request_headers: [ "FTX-KEY", "FTX-SIGN", "FTX-TS" ], filter_sensitive_data: [ [pattern: "use...
21.125
81
0.623274
973346f69955b8bf958b04c01aaa3df4b235dacd
3,498
ex
Elixir
lib/falcon_plus_api/api/nodata.ex
sawater/falcon-plus-api
a41b1cc04cc0d71b72341e803de88d16b4bba77d
[ "Apache-2.0" ]
2
2018-05-03T14:35:37.000Z
2018-07-30T09:32:38.000Z
lib/falcon_plus_api/api/nodata.ex
mon-suit/falcon-plus-api
a41b1cc04cc0d71b72341e803de88d16b4bba77d
[ "Apache-2.0" ]
null
null
null
lib/falcon_plus_api/api/nodata.ex
mon-suit/falcon-plus-api
a41b1cc04cc0d71b72341e803de88d16b4bba77d
[ "Apache-2.0" ]
null
null
null
defmodule FalconPlusApi.Api.Nodata do alias Maxwell.Conn alias FalconPlusApi.{Util, Sig, Api} @doc """ * [Session](#/authentication) Required ### Request ```{ "tags": "", "step": 60, "obj_type": "host", "obj": "docker-agent", "name": "testnodata", "mock": ...
20.103448
53
0.464837
973347dec48ca42c5b86d8577b9f81d55914e546
72
exs
Elixir
.dialyzer_ignore.exs
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
21
2019-05-08T01:25:42.000Z
2022-02-08T02:30:18.000Z
.dialyzer_ignore.exs
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
6
2019-05-27T23:07:00.000Z
2020-03-10T04:33:10.000Z
.dialyzer_ignore.exs
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
2
2019-07-21T18:12:47.000Z
2021-07-31T21:18:38.000Z
[ ~r/__impl__.*does not exist/, ~r/Unknown type.*ssl\.ssl_option/ ]
14.4
35
0.638889
97337cabba59300e97c51170fc54913fa5d0d9d3
3,996
ex
Elixir
lib/ex_pesel/pesel.ex
crabonature/ex_pesel
88031bce36ecf1f3bbbbc32aac5096703cd9140c
[ "Apache-2.0" ]
null
null
null
lib/ex_pesel/pesel.ex
crabonature/ex_pesel
88031bce36ecf1f3bbbbc32aac5096703cd9140c
[ "Apache-2.0" ]
null
null
null
lib/ex_pesel/pesel.ex
crabonature/ex_pesel
88031bce36ecf1f3bbbbc32aac5096703cd9140c
[ "Apache-2.0" ]
null
null
null
defmodule ExPesel.Pesel do @moduledoc false # wages for calculating PESEL checksum @w [9, 7, 3, 1, 9, 7, 3, 1, 9, 7] # longest human lifespan in years @years 123 # PESEL is valid # when checksum for 10 first digits is equal to 11 digit # when first 6 digits gives proper date # when first 6 digits g...
35.362832
80
0.620621
97338f4fd3d3d96e6c3ad2a8d2771e7ecd90c8e4
340
exs
Elixir
apps/health/config/config.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/health/config/config.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/health/config/config.exs
paulswartz/api
7d892ce0fa84eaea92758f90f072bfcd0ce91883
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :health, checkers: [ Health.Checkers.State, Health.Checkers.RunQueue, Health.Checkers.RealTime, Health.Checkers.Ports ] config :health, Health.Checkers.Po...
24.285714
61
0.75
9733abbd5be068d9460ece4815e8c85fac6f803f
2,277
ex
Elixir
web/controllers/uppy_oauth_controller.ex
taorg/rumbl
7b212283f8dc2da56eddcba4281a6fff2cf4f378
[ "Apache-2.0" ]
null
null
null
web/controllers/uppy_oauth_controller.ex
taorg/rumbl
7b212283f8dc2da56eddcba4281a6fff2cf4f378
[ "Apache-2.0" ]
null
null
null
web/controllers/uppy_oauth_controller.ex
taorg/rumbl
7b212283f8dc2da56eddcba4281a6fff2cf4f378
[ "Apache-2.0" ]
null
null
null
defmodule Rumbl.UppyOauth do use Rumbl.Web, :controller require Logger def get(conn, %{"provider" => provider, "state" =>state}) do IO.puts "GET--------UppyOauth--------------" redirect conn, external: authorize_url!([provider, state: state]) end def callback(conn, %{"provider" => provi...
37.327869
128
0.640316
9733d044f06c4deb06291a3700b45b9bcd1fc5c3
59
ex
Elixir
lib/events_web/views/post_view.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events_web/views/post_view.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events_web/views/post_view.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule EventsWeb.PostView do use EventsWeb, :view end
14.75
31
0.79661
9733f7c4c4f79db79b0d64f5f25b29d5b506bca9
273
exs
Elixir
priv/repo/migrations/20211205234058_create_stages.exs
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
priv/repo/migrations/20211205234058_create_stages.exs
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
priv/repo/migrations/20211205234058_create_stages.exs
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
defmodule App.Repo.Migrations.CreateStages do use Ecto.Migration def change do create table(:stages) do add :name, :string add :order, :integer add :workflow_id, references(:workflows, on_delete: :delete_all) timestamps() end end end
21
70
0.677656
9734002f6eb582d1b15c050db42928b42f08107c
1,663
ex
Elixir
lib/doax3/characters/characters.ex
execb5/doax3-web-app
fab56d3358629cdbd45c8d11e5e3284e23a95817
[ "MIT" ]
1
2018-10-04T13:47:14.000Z
2018-10-04T13:47:14.000Z
lib/doax3/characters/characters.ex
execb5/doax3-web-app
fab56d3358629cdbd45c8d11e5e3284e23a95817
[ "MIT" ]
2
2017-09-20T04:23:14.000Z
2017-09-20T14:37:40.000Z
lib/doax3/characters/characters.ex
execb5/doax3-web-app
fab56d3358629cdbd45c8d11e5e3284e23a95817
[ "MIT" ]
null
null
null
defmodule Doax3.Characters do @moduledoc """ The Characters context. """ import Ecto.Query, warn: false alias Doax3.Repo alias Doax3.Characters.Girl @doc """ Returns the list of girls. ## Examples iex> list_girls() [%Girl{}, ...] """ def list_girls do Repo.all(Girl) end ...
15.838095
59
0.565845
973406a37a6ccdc8e3877cb93650dca18b287687
1,047
ex
Elixir
monitoring_hub/apps/metrics_reporter_ui/web/channels/node_ingress_egress_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/metrics_reporter_ui/web/channels/node_ingress_egress_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/metrics_reporter_ui/web/channels/node_ingress_egress_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
defmodule MetricsReporterUI.NodeIngressEgressChannel do use Phoenix.Channel alias MonitoringHubUtils.MessageLog def join("node-ingress-egress:" <> _metric_name, _message, socket) do send(self, :after_join) {:ok, socket} end def handle_info(:after_join, socket) do push_initial_throughputs(socket) {...
34.9
100
0.749761
97340b6183e74628934751fef19632551900b852
2,668
exs
Elixir
mix.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
mix.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
mix.exs
arpieb/annex
6f472a30361bf0a1646e256d6dfe478706427f64
[ "MIT" ]
null
null
null
defmodule Annex.MixProject do use Mix.Project def project do [ app: :annex, version: "0.2.1", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), aliases: aliases(), # package description: descriptio...
25.902913
86
0.564468
973421e40c333c3bbad86f4fcac90a30cd74b0fd
8,906
exs
Elixir
integration_test/support/schemas.exs
lafka/ecto
3e796615c7a2ebd6961f576fda5d75faf85799a1
[ "Apache-2.0" ]
2
2021-02-25T15:51:16.000Z
2021-02-25T18:42:35.000Z
integration_test/support/schemas.exs
lafka/ecto
3e796615c7a2ebd6961f576fda5d75faf85799a1
[ "Apache-2.0" ]
null
null
null
integration_test/support/schemas.exs
lafka/ecto
3e796615c7a2ebd6961f576fda5d75faf85799a1
[ "Apache-2.0" ]
1
2018-06-18T14:47:58.000Z
2018-06-18T14:47:58.000Z
Code.require_file("types.exs", __DIR__) defmodule Ecto.Integration.Schema do defmacro __using__(_) do quote do use Ecto.Schema type = Application.get_env(:ecto, :primary_key_type) || raise ":primary_key_type not set in :ecto application" @primary_key {:id, type, autogenerate...
26.349112
125
0.715473
973427c03f1b05e2f44d093ce8726ad4d37e5295
869
ex
Elixir
apps/viztube_web/lib/viztube_web/application.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
apps/viztube_web/lib/viztube_web/application.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
3
2020-07-16T23:48:01.000Z
2021-05-08T15:54:04.000Z
apps/viztube_web/lib/viztube_web/application.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
defmodule ViztubeWeb.Application do use Application def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the application starts supervisor(ViztubeWeb.Endpoint, []), # Start your own worker by ...
31.035714
88
0.720368
97345ca28e9755fbe99b26fbeb4b08f5bab82f7f
446
exs
Elixir
test/browsers/chrome_headless_test.exs
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
1,307
2015-01-03T16:50:15.000Z
2022-03-30T05:23:50.000Z
test/browsers/chrome_headless_test.exs
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
209
2015-03-28T10:25:46.000Z
2022-02-13T01:16:34.000Z
test/browsers/chrome_headless_test.exs
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
168
2015-03-30T10:58:11.000Z
2022-03-19T02:17:04.000Z
defmodule Hound.Browser.ChromeHeadlessTest do use ExUnit.Case alias Hound.Browser.ChromeHeadless test "default_user_agent" do assert ChromeHeadless.default_user_agent == :chrome end test "default_capabilities" do ua = Hound.Browser.user_agent(:iphone) expected = %{chromeOptions: %{"args" => ["-...
27.875
99
0.721973
97347d78fbc11bcb95cc4e8e03e57827cb2406de
937
ex
Elixir
advent2018/lib/day02.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent2018/lib/day02.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent2018/lib/day02.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule Day02 do def checksum(boxes) do boxes_counts = Enum.map(boxes, &count/1) twos = Enum.filter(boxes_counts, &MapSet.member?(&1, 2)) |> Enum.count() threes = Enum.filter(boxes_counts, &MapSet.member?(&1, 3)) |> Enum.count() twos * threes end defp count(word) do word |> String.to_ch...
26.027778
78
0.564568
973485776edbc9203cd39532636f749d6f50f42a
11,120
ex
Elixir
lib/mapper/iceland.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
lib/mapper/iceland.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
1
2020-07-16T09:38:33.000Z
2020-07-16T09:38:33.000Z
lib/mapper/iceland.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
defmodule Exconv.Mapper.Iceland do def to_unicode(255), do: 711 # <<203, 135>> | "ˇ" def to_unicode(254), do: 731 # <<203, 155>> | "˛" def to_unicode(253), do: 733 # <<203, 157>> | "˝" def to_unicode(252), do: 184 # <<194, 184>> | "¸" def to_unicode(251), do: 730 # <<203, 154>> | "˚" def to_unicode(250), do...
49.422222
58
0.522572
97348c602671bcbda0437d010d0ee71a9f1ee355
921
ex
Elixir
test/support/channel_case.ex
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
1
2018-10-23T04:13:35.000Z
2018-10-23T04:13:35.000Z
test/support/channel_case.ex
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
null
null
null
test/support/channel_case.ex
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
null
null
null
defmodule Web.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts with the ...
24.236842
68
0.711183
9734c0cadcc0815608e7d949d32004fdfa74d882
2,700
ex
Elixir
lib/exq/enqueue_api.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
null
null
null
lib/exq/enqueue_api.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
null
null
null
lib/exq/enqueue_api.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
null
null
null
defmodule Exq.Enqueuer.EnqueueApi do @moduledoc """ Enqueue API. Expects a Exq.Manager.Server or Exq.Enqueuer.Server process as first arg. """ @doc false defmacro __using__(_) do quote location: :keep do alias Exq.Support.Config @default_options [] @doc """ Enqueue a job immed...
34.615385
86
0.620741
97350e4c9232c6000cba4dd6b4718f0633db41fa
3,415
exs
Elixir
lib/mix/test/mix/rebar_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/rebar_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/rebar_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.RebarTest do use MixTest.Case # Have our own path implementation that bypasses some # Path validation checks. We use this just for testing. defmodule MyPath do @behaviour Mix.SCM lc { name, arity } inlist Mix.SCM.Path.__info__(:functions) ...
29.95614
100
0.641288
973519bc04a203558863b67b691eb674c846920d
393
exs
Elixir
priv/repo/migrations/20210624003645_create_exercises_table.exs
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
priv/repo/migrations/20210624003645_create_exercises_table.exs
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
priv/repo/migrations/20210624003645_create_exercises_table.exs
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
defmodule Wabanex.Repo.Migrations.CreateExercisesTable do use Ecto.Migration def change do create table(:exercises) do add :name, :string, null: false add :video_url, :string add :protocol_description, :string, null: false add :repetitions, :string, null: false add :training_id, r...
24.5625
59
0.684478
97352b80a6fa24b280e7bac77207e05889627a25
4,115
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.InviteControllerTest do use AdminAPI.ConnCase, async: true alias EWallet.Web.Date defp request(email, token, password, password_confirmation) do unauthenticated_request("/invite.accept", %{ "email" => email, "token" => token, "password" => password, "pa...
37.072072
112
0.625516
9735575891f7e8b0e5895f9bfb42b25cecf85d36
1,107
ex
Elixir
lib/telegraph/config.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
1
2022-03-14T18:00:31.000Z
2022-03-14T18:00:31.000Z
lib/telegraph/config.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
2
2022-03-16T20:49:13.000Z
2022-03-23T22:08:48.000Z
lib/telegraph/config.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
null
null
null
defmodule Telegraph.Config do @default_timeout 5 @default_base_url "https://api.telegram.org/bot" @default_graph_base_url "https://api.telegra.ph" @default_file_base_url "https://api.telegram.org/file/bot" def token, do: config_or_env(:token) def proxy, do: config_or_env(:proxy) def proxy_auth, do: confi...
30.75
83
0.682023
9735821ff1954e7ed14bb690da5efe3ae25ee5ff
240
ex
Elixir
lib/cloak/types/encrypted_binary_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/types/encrypted_binary_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/types/encrypted_binary_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
defmodule Cloak.EncryptedBinaryField do @moduledoc """ An `Ecto.Type` to encrypt a binary field. ## Usage schema "table" do field :field_name, Cloak.EncryptedBinaryField end """ use Cloak.EncryptedField end
17.142857
53
0.675
9735a7a1ab36f1a5885760c4145c8caddf2cf9d1
1,130
ex
Elixir
lib/unikey/bucket.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
1
2021-12-26T19:35:57.000Z
2021-12-26T19:35:57.000Z
lib/unikey/bucket.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
null
null
null
lib/unikey/bucket.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
null
null
null
defmodule Unikey.Bucket do use Ecto.Schema import Ecto.Changeset @upper_random_offset_limit 16 @primary_key {:id, :binary_id, autogenerate: true} @required_params [:bucket, :account] @all_params @required_params ++ [:prefix, :suffix, :random_offset, :sequence] @derive {Jason.Encoder, only: @all_param...
26.904762
79
0.692035
9735abad638a9947d25b7e2ea9cd155b611560d0
453
ex
Elixir
dictionary/lib/runtime/server.ex
imattman/elixir-for-programmers
ff757b05fec5d00f32a067fc5e6d0364ce56358b
[ "MIT" ]
null
null
null
dictionary/lib/runtime/server.ex
imattman/elixir-for-programmers
ff757b05fec5d00f32a067fc5e6d0364ce56358b
[ "MIT" ]
null
null
null
dictionary/lib/runtime/server.ex
imattman/elixir-for-programmers
ff757b05fec5d00f32a067fc5e6d0364ce56358b
[ "MIT" ]
null
null
null
defmodule Dictionary.Runtime.Server do alias Dictionary.Impl.WordList use Agent @type t :: pid() @me __MODULE__ def start_link(_args) do Agent.start_link(&WordList.word_list/0, name: @me) end def random_word() do # if :rand.uniform() < 0.333 do # # periodically crash the Agent to demons...
19.695652
65
0.662252
9735b6132845f0a51ce6c15fd7d9ad109fdb455a
455
ex
Elixir
lib/doritos_web/router.ex
sean-clayton/doritos
384f47b2a1acddf67701b4f1bcf58e4b1a8a599f
[ "0BSD" ]
null
null
null
lib/doritos_web/router.ex
sean-clayton/doritos
384f47b2a1acddf67701b4f1bcf58e4b1a8a599f
[ "0BSD" ]
null
null
null
lib/doritos_web/router.ex
sean-clayton/doritos
384f47b2a1acddf67701b4f1bcf58e4b1a8a599f
[ "0BSD" ]
null
null
null
defmodule DoritosWeb.Router do use DoritosWeb, :router pipeline :api do plug(:accepts, ["json"]) end scope "/" do pipe_through(:api) forward("/graphql", Absinthe.Plug, schema: DoritosWeb.Schema) forward( "/graphiql", Absinthe.Plug.GraphiQL, schema: DoritosWeb.Schema, i...
18.2
65
0.643956
9736063e81b16754d5d0c802ad44bb5e1042188a
1,691
ex
Elixir
agma/lib/agma_web.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
lib/agma_web.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
lib/agma_web.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
null
null
null
defmodule AgmaWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use AgmaWeb, :controller use AgmaWeb, :view The definitions below will be executed for every view, controller, etc, so k...
22.25
76
0.681254
973642eba68bcb73d30e8b168d4ca2659594668a
1,802
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/discovery.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/discovery.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/discovery.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.340426
365
0.755272
973659c802c5c46dc279d17bdeaff249cdfa9fbf
858
ex
Elixir
apps/flair/lib/flair/durations/init.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/flair/lib/flair/durations/init.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/flair/lib/flair/durations/init.ex
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Flair.Durations.Init do @moduledoc false use Task, restart: :transient @topic_reader Application.get_env(:flair, :topic_reader) def start_link(_) do Task.start_link(__MODULE__, :run, []) end def run do reader = bootstrap_reader() writer = Flair.Durations.Consumer.bootstrap() ^...
20.926829
88
0.660839
97366ef9210d801a747dc8f1c80606ca2ddd666e
28,386
ex
Elixir
mix/support/consolidate.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
mix/support/consolidate.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
mix/support/consolidate.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
defmodule Cldr.Consolidate do @moduledoc false alias Cldr.Normalize alias Cldr.LanguageTag defdelegate download_data_dir(), to: Cldr.Config defdelegate consolidated_output_dir(), to: Cldr.Config, as: :source_data_dir @doc """ Returns the directory where the locale-specific json files are stored. """ ...
27.373192
98
0.623688
973673017d1a3866d5f26d8e6be16fc99fef3360
636
exs
Elixir
example_typed_integrations/mix.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
example_typed_integrations/mix.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
example_typed_integrations/mix.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
defmodule ExampleTypedIntegrations.MixProject do use Mix.Project def project do [ app: :example_typed_integrations, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, compilers: Mix.compilers() ++ [:domo_compiler], deps: deps() ] end # Run "mi...
20.516129
59
0.584906
9736ecd649558e8f7ab7291b13392c770a701fd9
521
exs
Elixir
elixir/src/example/mix.exs
nbari/docker
4fc653fcff08c58d0f4d1837c45beda291795afe
[ "BSD-3-Clause" ]
null
null
null
elixir/src/example/mix.exs
nbari/docker
4fc653fcff08c58d0f4d1837c45beda291795afe
[ "BSD-3-Clause" ]
null
null
null
elixir/src/example/mix.exs
nbari/docker
4fc653fcff08c58d0f4d1837c45beda291795afe
[ "BSD-3-Clause" ]
1
2021-05-21T14:00:00.000Z
2021-05-21T14:00:00.000Z
defmodule Example.Mixfile do use Mix.Project def project do [ app: :example, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicat...
17.366667
59
0.539347
9736f15c73c73b72dc0b844612b67cf8ed81f5e7
1,177
exs
Elixir
clients/deployment_manager/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.DeploymentManager.V2.Mixfile do use Mix.Project @version "0.2.0" def project() do [ app: :google_api_deployment_manager, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(...
24.020408
118
0.606627
973706bbebe6b0cc4ebd7335338604321d5844fb
1,133
exs
Elixir
config/config.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2020-02-06T17:15:44.000Z
2020-02-06T17:15:44.000Z
config/config.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
null
null
null
config/config.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2021-04-01T13:29:18.000Z
2021-04-01T13:29:18.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.548387
73
0.757282
973719e699db7d9be68de9f89e080dda1d16973e
258
ex
Elixir
exercism/basketball-website/basketball_website.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/basketball-website/basketball_website.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/basketball-website/basketball_website.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
defmodule BasketballWebsite do def extract_from_path(data, path) do path |> String.split(".") |> Enum.reduce(data, fn k, acc -> if acc, do: acc[k] end) end def get_in_path(data, path) do get_in(data, String.split(path, ".")) end end
21.5
61
0.639535
97372f60918a139b8f6cad5aafb3aedf40f0dd56
2,991
exs
Elixir
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Valkyrie.Event.EventHandlerTest do use ExUnit.Case use Placebo use Brook.Event.Handler import Checkov import SmartCity.Event, only: [data_ingest_start: 0, data_standardization_end: 0, dataset_delete: 0, dataset_update: 0] alias SmartCity.TestDataGenerator, as: TDG alias Valkyrie.Event.Even...
30.212121
109
0.65998
97374ef72004d98572e5a7661e0b9bb866a687d8
5,379
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_service_perimeter.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_service_perimeter.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_service_perimeter.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...
48.9
208
0.745306
9737ad1528e7538a97ff621e4a76e5c14741b205
3,292
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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.729412
195
0.71294
9737d51c8bd04dbb30dd704da99cec50356bde0c
2,344
ex
Elixir
lib/blog_web/controllers/post_controller.ex
RuanAlves/blog
61ed839b2ef217d1a52e0cb83eef5f0ce0b126d2
[ "MIT" ]
null
null
null
lib/blog_web/controllers/post_controller.ex
RuanAlves/blog
61ed839b2ef217d1a52e0cb83eef5f0ce0b126d2
[ "MIT" ]
4
2021-07-01T02:12:21.000Z
2021-07-25T01:37:51.000Z
lib/blog_web/controllers/post_controller.ex
RuanAlves/blog
61ed839b2ef217d1a52e0cb83eef5f0ce0b126d2
[ "MIT" ]
null
null
null
defmodule BlogWeb.PostController do use BlogWeb, :controller alias Blog.{Posts, Posts.Post} def index(conn, _params) do posts = Posts.list_posts() render(conn, "index.html", posts: posts) end def show(conn, %{"id" => id}) do post = Posts.get_post!(id) render(conn, "show.html", post: post) ...
26.337079
72
0.629266
9737ee1ce526dbf23973c8bcfdd5260c89e294e5
68
exs
Elixir
test/views/page_view_test.exs
luca-apostoli/ruru-chat
d6c62000b78592f03cf56f63acd23a6404df1924
[ "MIT" ]
1
2017-04-22T12:36:19.000Z
2017-04-22T12:36:19.000Z
test/views/page_view_test.exs
luca-apostoli/ruru-chat
d6c62000b78592f03cf56f63acd23a6404df1924
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
luca-apostoli/ruru-chat
d6c62000b78592f03cf56f63acd23a6404df1924
[ "MIT" ]
null
null
null
defmodule Ruru.PageViewTest do use Ruru.ConnCase, async: true end
17
32
0.794118
97381c83a4fadb2f08ac636b7b866fef82c621e0
1,512
ex
Elixir
apps/omg_watcher_rpc/lib/tracer.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_rpc/lib/tracer.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_rpc/lib/tracer.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
34.363636
104
0.724206
97383420ed92de908218cf607ea0cebfa0e865c8
401
exs
Elixir
api/.formatter.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
1
2021-04-17T20:20:59.000Z
2021-04-17T20:20:59.000Z
api/.formatter.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
api/.formatter.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
[ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] ] locals_without_parens: [ # Formatter tests assert_format: 2, assert_format: 3, assert_same: 1, assert_same: 2, # Errors tests assert_eval_raise: 3, # Mix tests in_fixture: 2, in_tmp: 2, render: 2, plug: 1, ...
13.827586
56
0.548628
97383aeb3a307579fba0e0c41e7dbc4ca4fc6a9a
95
exs
Elixir
config/dev.exs
astorre88/griffin-bot
4bad9acfcbb44362827095d8c1d46c62870c2e92
[ "MIT" ]
null
null
null
config/dev.exs
astorre88/griffin-bot
4bad9acfcbb44362827095d8c1d46c62870c2e92
[ "MIT" ]
3
2018-09-04T06:45:33.000Z
2018-09-07T19:18:50.000Z
config/dev.exs
astorre88/griffin-bot
4bad9acfcbb44362827095d8c1d46c62870c2e92
[ "MIT" ]
null
null
null
use Mix.Config if File.exists?("config/dev.local.exs") do import_config "dev.local.exs" end
15.833333
42
0.736842
973842de1f8e21fa1459f16905d01c7ef83d904b
985
ex
Elixir
lib/membrane/buffer/metric/byte_size.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/buffer/metric/byte_size.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/buffer/metric/byte_size.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Buffer.Metric.ByteSize do @moduledoc """ Implementation of `Membrane.Buffer.Metric` for the `:bytes` unit """ alias Membrane.Buffer alias Membrane.Payload @behaviour Buffer.Metric def pullbuffer_preferred_size, do: 65_536 def buffers_size(buffers), do: buffers |> Enum.reduce(0,...
30.78125
91
0.659898
97384f46c830a375b171fc72c5c1c7d1bf683293
1,917
ex
Elixir
lib/stripe/utils.ex
sublimecoder/stripe-elixir
76f8bd7ada8d27125b0a275d63c66bc37446f80d
[ "MIT" ]
null
null
null
lib/stripe/utils.ex
sublimecoder/stripe-elixir
76f8bd7ada8d27125b0a275d63c66bc37446f80d
[ "MIT" ]
29
2018-09-17T11:35:17.000Z
2021-08-01T11:15:09.000Z
lib/stripe/utils.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
1
2018-07-19T11:47:08.000Z
2018-07-19T11:47:08.000Z
defmodule Stripe.Utils do @moduledoc """ Utility functions for stripe """ @doc """ Encodes the given map or list of tuples. Borrowed from "https://github.com/elixir-lang/plug/blob/master/lib/plug/conn/query.ex" """ def encode_data(kv, encoder \\ &to_string/1) do IO.iodata_to_binary(encode_pair("", ...
24.576923
92
0.612415
97386ec5e960822aa568cae69dbe020b6b586451
658
ex
Elixir
lib/hl7/2.5/segments/pes.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pes.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pes.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.PES do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, sender_organization_name: DataTypes.Xon, sender_individual_name: DataTypes.Xcn, sender_address: DataTypes.Xad, sender_telephone: DataTypes.Xt...
26.32
46
0.708207
973878b58ad990d6724a790ab85782f15fcc9154
1,166
ex
Elixir
web/queries/demographic_report_query.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/queries/demographic_report_query.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/queries/demographic_report_query.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
defmodule BdPro.DemographicReportQuery do alias BdPro.Repo @sql """ SELECT CONCAT($1::integer, ':', demographic_fields.id) AS id, demographic_fields.name, demographic_fields.key, demographic_fields.group, demographic_fields.color, AVG(demographics.value) AS value FROM d...
40.206897
130
0.738422
9738819331fb7af4587abb09ba28474ef5c7cd49
1,421
exs
Elixir
config/config.exs
eduardoscottini/binance.ex
3a2bbf0ce12aed7cd825b8d05b81de7dd596e678
[ "MIT" ]
null
null
null
config/config.exs
eduardoscottini/binance.ex
3a2bbf0ce12aed7cd825b8d05b81de7dd596e678
[ "MIT" ]
null
null
null
config/config.exs
eduardoscottini/binance.ex
3a2bbf0ce12aed7cd825b8d05b81de7dd596e678
[ "MIT" ]
1
2019-10-31T11:37:39.000Z
2019-10-31T11:37:39.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :binance, api_key: "", secret_key: "" if File.exists?("config/key.secret.exs") do import_config "key.secret.exs" end config :exvcr, filter_request_headers: [ "X-...
30.234043
73
0.730471
9738a6faa47e1e80fa6ec0aec42cee9c14abaa51
443
ex
Elixir
lib/ex_monobank/statement_info.ex
romkor/ex_monobank
6fa9c22b3d22bf8fe56e20cb376cd1a702154b33
[ "MIT" ]
3
2020-01-30T13:04:54.000Z
2020-02-25T07:46:25.000Z
lib/ex_monobank/statement_info.ex
romkor/ex_monobank
6fa9c22b3d22bf8fe56e20cb376cd1a702154b33
[ "MIT" ]
13
2020-05-20T03:29:25.000Z
2021-08-03T03:30:57.000Z
lib/ex_monobank/statement_info.ex
romkor/ex_monobank
6fa9c22b3d22bf8fe56e20cb376cd1a702154b33
[ "MIT" ]
null
null
null
defmodule ExMonobank.StatementInfo do @enforce_keys [ :id, :amount, :balance, :cashback_amount, :commission_rate, :currency_code, :description, :hold, :mcc, :operation_amount, :time ] defstruct [ :id, :amount, :balance, :cashback_amount, :commission_...
14.766667
37
0.586907
9738f7d257da94812c96faa3fd57cd40c7b40a2a
575
ex
Elixir
lib/complementarity_dna.ex
latachz/complementarity_dna
ec2558a59fbbb3bc98c452ebff69392f601234c5
[ "Apache-2.0" ]
null
null
null
lib/complementarity_dna.ex
latachz/complementarity_dna
ec2558a59fbbb3bc98c452ebff69392f601234c5
[ "Apache-2.0" ]
null
null
null
lib/complementarity_dna.ex
latachz/complementarity_dna
ec2558a59fbbb3bc98c452ebff69392f601234c5
[ "Apache-2.0" ]
null
null
null
defmodule ComplementarityDna do @doc """ Complementarity ## Examples iex> ComplementarityDna.complementarity("ACGTATC") "TGCATAG" """ def complementarity(strand) when is_binary(strand) do strand |> convert_letters |> Enum.map(fn "A" -> "T" "T" -> "A" "C" -...
17.96875
71
0.566957
97391386e1f8ee97da81ffc2afe188b1edc0bbc7
6,028
exs
Elixir
.credo.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
.credo.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
.credo.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
39.92053
82
0.653451
9739150acd3bd8dc5fb3a79578a0c2812ec7e4bf
1,354
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/activate_subscription_offer_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/activate_subscription_offer_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/activate_subscription_offer_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
32.238095
100
0.779911
97392c4b899091a77652cb005e2561c8d7120ec8
5,398
ex
Elixir
tutorials/official-tutorial/case-cond-if.ex
josiah14/elixir-exploration
c16f1eedbe0f223964df2bd51e0889be266f3b3a
[ "MIT" ]
null
null
null
tutorials/official-tutorial/case-cond-if.ex
josiah14/elixir-exploration
c16f1eedbe0f223964df2bd51e0889be266f3b3a
[ "MIT" ]
null
null
null
tutorials/official-tutorial/case-cond-if.ex
josiah14/elixir-exploration
c16f1eedbe0f223964df2bd51e0889be266f3b3a
[ "MIT" ]
null
null
null
######################################## # Case ######################################## # Compare a value against many patterns until there's a match case {1, 2, 3} do {4, 5, 6} -> "This won't match" {1, x, 3} -> "This will match and bind x to #{x}" _ -> "This matches any value, but only if the clauses above it...
23.991111
236
0.588366
9739608d55f1f64a6305a71314fbccfa23504504
2,260
ex
Elixir
lib/livebook_web/live/session_live/export_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/export_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/export_component.ex
danhuynhdev/livebook
d20d4f6bf123d58e4666c064027b55e3b300702f
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.ExportComponent do use LivebookWeb, :live_component alias Livebook.Session @impl true def update(assigns, socket) do socket = assign(socket, assigns) socket = if socket.assigns[:source] do socket else # Note: we need to load the notebook, ...
32.285714
85
0.54469
9739644f593b4f41e424314b99eee3f255de8581
1,887
ex
Elixir
lib/adapters/local.ex
adamgavlak/storage
7e9aa05545d9595492d96a19bf641c121cf5cbfa
[ "Apache-2.0" ]
null
null
null
lib/adapters/local.ex
adamgavlak/storage
7e9aa05545d9595492d96a19bf641c121cf5cbfa
[ "Apache-2.0" ]
null
null
null
lib/adapters/local.ex
adamgavlak/storage
7e9aa05545d9595492d96a19bf641c121cf5cbfa
[ "Apache-2.0" ]
1
2020-11-18T22:15:53.000Z
2020-11-18T22:15:53.000Z
defmodule Storage.Adapters.Local do @moduledoc """ The `Local` adapter is used to store files locally in filesystem. ## Configuration config :storage, Storage.Adapters.Local root: "priv/files", host: [ url: "http://localhost:4000", from: "/static" ] * `root:`...
25.849315
119
0.622682
97396521826039b9fb58fbdf6af9019dbb3eaa22
456
ex
Elixir
lib/confex/value_transformable.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
2
2016-05-14T04:20:45.000Z
2017-05-15T14:50:11.000Z
lib/confex/value_transformable.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
lib/confex/value_transformable.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
defprotocol Confex.ValueTransformable do def transform_value(value_transformer, key, value) end defimpl Confex.ValueTransformable, for: Any do require Logger def transform_value(value_transformer, key, value) do module = value_transformer.__struct__ transformed = module.transform_value(value_transformer...
30.4
95
0.765351
97398f4a6cd21330832a3eeb9526452c4449b2ec
420
exs
Elixir
test/whistler_news_reader_web/controllers/page_controller_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
test/whistler_news_reader_web/controllers/page_controller_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
test/whistler_news_reader_web/controllers/page_controller_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReaderWeb.PageControllerTest do use WhistlerNewsReaderWeb.ConnCase import Mock @mock_template "<html><title>whistler news reader</title></html>" test "GET /" do with_mock WhistlerNewsReader.WebpackTemplateHelper, [webpack_file_system: fn -> @mock_template end] do conn = get ...
28
106
0.730952
973993ecd16c6f319a11ef081d7caea90bd7538b
1,260
exs
Elixir
config/config.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
config/config.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
config/config.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.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 parent...
36
73
0.761905
97399c9257a39692774cc7ab59ec0de8e56ee04d
938
ex
Elixir
lib/pg_ext/enumerations.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
1
2016-02-23T11:31:18.000Z
2016-02-23T11:31:18.000Z
lib/pg_ext/enumerations.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
lib/pg_ext/enumerations.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
defmodule PgExt.Enumerations do alias Postgrex.TypeInfo defmacro defenum(module, name, values, opts \\ []) do quote location: :keep do defmodule unquote(module) do @behaviour Postgrex.Extension @typename unquote(name) @values unquote(values) def type, do: :string ...
26.055556
140
0.617271
973a2503831bfba70bd3e76b33e50ae13da70a70
1,014
exs
Elixir
debug_options.exs
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
debug_options.exs
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
debug_options.exs
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
import Config config :ex_debugger, :meta_debug, all: %{show_module_tokens: false, show_tokenizer: false, show_ast_before: false, show_ast_after: false}, "Elixir.CucumberExpressions.Matcher": {false, false, false, false}, placeholder: false config :ex_debugger, :debug, capture: :stdout, #[:repo, :stdout, :both...
36.214286
106
0.760355
973a3c685436275ec0028c515156a58ab9515d8b
217
ex
Elixir
test/support/test_repo.ex
smartvokat/sagax
0782b3ca83394df62db1fb5659f1e16dae5d81d0
[ "Apache-2.0" ]
3
2021-02-08T15:49:15.000Z
2022-01-28T19:44:26.000Z
test/support/test_repo.ex
smartvokat/sagax
0782b3ca83394df62db1fb5659f1e16dae5d81d0
[ "Apache-2.0" ]
4
2021-09-29T08:07:24.000Z
2022-02-22T09:07:00.000Z
test/support/test_repo.ex
smartvokat/sagax
0782b3ca83394df62db1fb5659f1e16dae5d81d0
[ "Apache-2.0" ]
1
2021-01-25T13:37:34.000Z
2021-01-25T13:37:34.000Z
defmodule TestRepo do def transaction(fun, opts) do send(self(), {:transaction, fun, opts}) {:ok, fun.()} end def rollback(error) do send(self(), {:rollback, error}) {:error, error} end end
15.5
43
0.603687
973a4b4042e4ddbd157e5762aa295b2033f7630a
191
ex
Elixir
hitb_umbrella/apps/token/lib/token.ex
ravesky/hitb
91276be81a8b797ea47a6e048a723a08be21288c
[ "MIT" ]
1
2020-03-17T11:46:23.000Z
2020-03-17T11:46:23.000Z
hitb_umbrella/apps/token/lib/token.ex
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "MIT" ]
null
null
null
hitb_umbrella/apps/token/lib/token.ex
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "MIT" ]
null
null
null
defmodule Token do @moduledoc """ Documentation for Token. """ @doc """ Hello world. ## Examples iex> Token.hello :world """ def hello do :world end end
10.052632
26
0.554974
973a4b9472a7b274868a12f0e97a9c94cf18f2d8
190
exs
Elixir
.formatter.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
12
2019-05-10T21:48:06.000Z
2021-11-07T14:04:30.000Z
.formatter.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
2
2019-05-14T19:07:10.000Z
2019-05-20T21:06:27.000Z
.formatter.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
3
2019-05-19T18:24:20.000Z
2019-10-31T20:29:12.000Z
# Used by "mix format" [ inputs: [ "mix.exs", "{config,test}/**/*.{ex,exs}", "lib/**/*.{ex,exs}", "priv/**/*.{ex,exs}" ], line_length: 160, import_deps: [:phoenix] ]
15.833333
34
0.478947
973a4ff16a86cd928a47e9f02bdc9b0a7f39ad2c
2,770
ex
Elixir
apps/state_mediator/lib/state_mediator.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state_mediator/lib/state_mediator.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state_mediator/lib/state_mediator.ex
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule StateMediator do @moduledoc false use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do children = children(Application.get_env(:state_mediator, :start)) # See http://elixir-lang.org/docs/stabl...
23.474576
71
0.545487
973a58e7a3acc70127927a9138adb7c7969da3ce
518
exs
Elixir
config/test.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
config/test.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
5
2018-11-22T01:01:29.000Z
2019-03-15T01:02:43.000Z
config/test.exs
jdesilvio/pin_bin
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :pin_bin, PinBinWeb.Endpoint, http: [port: System.get_env("PORT") || 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database co...
25.9
56
0.72973
973a5a2353289eb90e892447956ef11c5706f262
1,401
ex
Elixir
lib/ex338/uploader.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338/uploader.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338/uploader.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.Uploader do @moduledoc false alias Ecto.{Multi} alias Ex338.{Repo} @table_options [ "Championships.Championship", "Championships.ChampionshipResult", "DraftPicks.DraftPick", "FantasyLeagues.FantasyLeague", "FantasyPlayers.FantasyPlayer", "FantasyTeams.FantasyTeam", ...
22.967213
91
0.669522
973a6b9fe6581d11fb5ca5773efe32bc13a85104
705
exs
Elixir
mix.exs
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
5
2017-01-27T06:35:29.000Z
2020-01-04T02:37:35.000Z
mix.exs
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
null
null
null
mix.exs
philosophers-stone/phenetic
ec71064463dbc2f44ab2ba8da522a3edeba689fb
[ "Apache-2.0" ]
null
null
null
defmodule PhStPhenetic.Mixfile do use Mix.Project def project do [app: :phst_phenetic, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.ap...
21.363636
77
0.614184
973a779e88d41d5f3f1ec46d820815ffbea91889
3,426
ex
Elixir
lib/cldr/number/backend/decimal_formatter.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
21
2019-12-21T23:25:14.000Z
2022-03-22T00:40:34.000Z
lib/cldr/number/backend/decimal_formatter.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
15
2019-06-14T16:29:23.000Z
2022-03-02T07:56:33.000Z
lib/cldr/number/backend/decimal_formatter.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
7
2017-10-05T11:35:36.000Z
2018-08-20T12:17:03.000Z
defmodule Cldr.Number.Backend.Decimal.Formatter do @moduledoc false def define_number_module(config) do alias Cldr.Number.Formatter.Decimal backend = config.backend quote location: :keep do defmodule Number.Formatter.Decimal do unless Cldr.Config.include_module_docs?(unquote(config.gene...
36.83871
106
0.624635
973a78ca838c6dfe090ab5a461ea057c9fe4005f
2,838
ex
Elixir
lib/twitterz_phx_web/controllers/user_controller.ex
eendroroy/twitterz_phx
2611b344bc6216c45c3be8a6352a9405ea643d6b
[ "MIT" ]
1
2019-04-08T04:49:52.000Z
2019-04-08T04:49:52.000Z
lib/twitterz_phx_web/controllers/user_controller.ex
eendroroy/twitterz_phx
2611b344bc6216c45c3be8a6352a9405ea643d6b
[ "MIT" ]
null
null
null
lib/twitterz_phx_web/controllers/user_controller.ex
eendroroy/twitterz_phx
2611b344bc6216c45c3be8a6352a9405ea643d6b
[ "MIT" ]
null
null
null
defmodule TwitterZPhxWeb.UserController do use TwitterZPhxWeb, :controller alias TwitterZPhx.Follows alias TwitterZPhx.Repo alias TwitterZPhx.Users alias TwitterZPhx.Users.User action_fallback TwitterZPhxWeb.FallbackController def index(conn, _params) do users = Users.list_users() render(conn, ...
26.277778
73
0.602889
973a854f9944c7d36ecfe9b87843961916d04808
1,044
exs
Elixir
test/support/test_helpers.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
test/support/test_helpers.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
test/support/test_helpers.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
defmodule TestExAdmin.TestHelpers do alias TestExAdmin.Repo def insert_noid(attrs \\ %{}) do changes = Dict.merge(%{ name: "test name", description: "test description", company: "test company" }, attrs) TestExAdmin.Noid.changeset(%TestExAdmin.Noid{}, changes) |> Repo.insert!() ...
23.727273
72
0.621648
973a8b663354570a9cbbbaf1f6e740371b64fd1f
925
ex
Elixir
lib/mix/lib/mix/deps/lock.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/lib/mix/deps/lock.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule Mix.Deps.Lock do @moduledoc false @doc """ Touch the lockfile. """ def touch do File.touch(lockfile) end @doc """ Read the file, returns a keyword list containing the app name and its current lock information. """ def read() do case File.read(lockfile) do { :ok, info } ->...
21.022727
81
0.561081
973ab849099e884e41ed16b93696e253c8c8fe9d
2,729
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/arima_single_model_forecasting_metrics.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/arima_single_model_forecasting_metrics.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/arima_single_model_forecasting_metrics.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
46.254237
280
0.7369