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
1a0040265a5ac8c4e99f718b9b85e9335b470465
392
ex
Elixir
lib/ambry_web/live/person_live/show.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
lib/ambry_web/live/person_live/show.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
lib/ambry_web/live/person_live/show.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule AmbryWeb.PersonLive.Show do @moduledoc """ LiveView for showing person details. """ use AmbryWeb, :live_view alias Ambry.People @impl Phoenix.LiveView def mount(%{"id" => person_id}, _session, socket) do person = People.get_person_with_books!(person_id) {:ok, socket |> assi...
19.6
54
0.670918
1a00604385c3c7047ccd942e85adefe20e7618e2
1,038
ex
Elixir
test/support/conn_case.ex
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
defmodule FighterWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the...
26.615385
69
0.719653
1a00973580b76a645b847213040e52e1362a1b36
240
exs
Elixir
installer/template/mix.exs
aarvay/decoction
bb9c1737168df62df08b865878edd10ebd697679
[ "Unlicense", "MIT" ]
null
null
null
installer/template/mix.exs
aarvay/decoction
bb9c1737168df62df08b865878edd10ebd697679
[ "Unlicense", "MIT" ]
null
null
null
installer/template/mix.exs
aarvay/decoction
bb9c1737168df62df08b865878edd10ebd697679
[ "Unlicense", "MIT" ]
null
null
null
defmodule DecoctionSite.Mixfile do use Mix.Project def project do [app: :decoction_site, version: "0.0.1", elixir: "~> 1.1", deps: deps] end defp deps do [{:decoction, github: "aarvay/decoction"}] end end
16
46
0.616667
1a009a14344ea58b5f3919d47763e726959717c0
2,507
ex
Elixir
lib/atom_tweaks_web/token_authentication.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
lib/atom_tweaks_web/token_authentication.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
lib/atom_tweaks_web/token_authentication.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaksWeb.TokenAuthentication do @moduledoc """ A `Plug` that authenticates an API connection based on the contents of the `authorization` header. The plug retrieves a `Phoenix.Token`-generated code from the `authorization` request header. If that code resolves to a valid `AtomTweaks.Accounts.Tok...
30.204819
100
0.695253
1a009a7b489ea843cd084f46c6196e7cd883334c
1,839
exs
Elixir
mix.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
mix.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
mix.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.Mixfile do use Mix.Project @version "0.14.0-dev" def project do [ app: :postgrex, version: @version, elixir: "~> 1.4", deps: deps(), name: "Postgrex", description: "PostgreSQL driver for Elixir", source_url: "https://github.com/elixir-ecto/postgre...
22.9875
86
0.538336
1a00a5618aa459c521545521e801a38ac8141666
1,856
ex
Elixir
elixir/lib/homework_web/schemas/transactions_schema.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/transactions_schema.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/transactions_schema.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schemas.TransactionsSchema do @moduledoc """ Defines the graphql schema for transactions. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.TransactionsResolver object :transaction do field(:id, non_null(:id)) field(:user_id, :id) field(:amount, :int...
28.553846
58
0.649784
1a00a7872beee2aac20f48092ec2f34ce09ba521
1,117
exs
Elixir
config/config.exs
mobileoverlord/x509
fdca52a0a4e1142316c05481c3125cf915cbd8aa
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
mobileoverlord/x509
fdca52a0a4e1142316c05481c3125cf915cbd8aa
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
mobileoverlord/x509
fdca52a0a4e1142316c05481c3125cf915cbd8aa
[ "BSD-3-Clause" ]
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.032258
73
0.750224
1a00c1f12c5d30c51fb1a225570fc3c985cf0931
491
ex
Elixir
lib/credo/check/consistency/tabs_or_spaces/tabs.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/consistency/tabs_or_spaces/tabs.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/consistency/tabs_or_spaces/tabs.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.TabsOrSpaces.Tabs do use Credo.Check.CodePattern def property_value, do: :tabs def property_value_for(%SourceFile{lines: lines, filename: filename}, _params) do lines |> Enum.map(&property_value_for_line(&1, filename)) end defp property_value_for_line({line_no, "\t...
28.882353
83
0.731161
1a00e6c2cb0be47243309796912a9ac237d0b53d
3,320
exs
Elixir
test/common/api/v3_apns_test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
107
2017-02-10T00:26:05.000Z
2022-02-23T00:50:07.000Z
test/common/api/v3_apns_test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
109
2017-02-09T14:40:20.000Z
2021-04-30T22:01:20.000Z
test/common/api/v3_apns_test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
25
2017-08-21T20:55:33.000Z
2022-03-06T10:01:13.000Z
defmodule MongoosePush.API.V3APNSTest do use ExUnit.Case, async: false alias MongoosePush.Support.API, as: Tools @url "/v3/notification/f534534543" setup do if Mix.env() == :test do TestHelper.reload_app(backend_module: MongoosePush) end Tools.reset(:apns) end @tag integration: true ...
29.642857
81
0.663554
1a00f02fe68182f116446c8791eec5333c944ea6
2,397
ex
Elixir
lib/exagg/json_item_importer.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
3
2015-12-26T02:36:50.000Z
2016-05-19T16:29:57.000Z
lib/exagg/json_item_importer.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
lib/exagg/json_item_importer.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
defmodule Exagg.JSONItemImporter do import Ecto.Query, only: [from: 2] require Poison require Timex alias Exagg.Repo alias Exagg.Item alias Exagg.Feed def import(file, conn) do json = File.read!(file.path) |> Poison.decode! user_id = conn.assigns[:user]["id"] Enum.each(json["feeds"], fn(da...
26.932584
165
0.531915
1a00f4ca3c6c08d1b91d37c79e132664b9dde820
1,941
exs
Elixir
test/merkle_patricia_tree_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
8
2018-04-25T18:15:53.000Z
2021-02-09T20:42:46.000Z
test/merkle_patricia_tree_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
9
2018-06-19T09:42:46.000Z
2018-12-12T00:13:58.000Z
test/merkle_patricia_tree_test.exs
kenspirit/elixir-merkle-patricia-tree
31ffdc401a7df38bfe254466b3ff122c10229fa3
[ "MIT" ]
7
2018-07-30T22:05:19.000Z
2022-03-06T09:22:51.000Z
defmodule MerklePatriciaTreeTest do use ExUnit.Case alias MerklePatriciaTree.Trie @passing_tests %{ anyorder: :all, test: :all } test "Ethereum Common Tests" do for {test_type, test_group} <- @passing_tests do for {test_name, test} <- read_test_file(test_type), test_group == :al...
26.22973
86
0.611025
1a010fd8cbc584c5786df1793675fec0ce1836c2
6,213
exs
Elixir
test/eden_test.exs
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
test/eden_test.exs
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
test/eden_test.exs
mindreframer/Eden
071018819530e07ed6b2e000c20383a98c716f07
[ "Apache-2.0" ]
null
null
null
defmodule EdenTest do use ExUnit.Case import Eden alias Eden.Character alias Eden.Symbol alias Eden.UUID alias Eden.Tag alias Eden.Exception, as: Ex ## Decode describe "decode" do test "empty" do e = %Ex.EmptyInputError{} assert decode("") == {:error, e.__struct__} assert_rais...
28.113122
140
0.553195
1a013f58215b18b4ca1ac4bc2b13e2c03ef91eb3
629
ex
Elixir
lib/inmana/restaurant.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
lib/inmana/restaurant.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
lib/inmana/restaurant.ex
fontebasso/rocketseat-nlw5-elixir-inmana
1f3730231b96aef9781a7a78ad7101222a31aa7a
[ "MIT" ]
null
null
null
defmodule Inmana.Restaurant do use Ecto.Schema import Ecto.Changeset alias Inmana.Supply @primary_key {:id, :binary_id, autogenerate: true} @required_params [:email, :name] @derive {Jason.Encoder, only: @required_params ++ [:id]} schema "restaurants" do field :email, :string field :name, :st...
19.65625
58
0.669316
1a0184d33c31d36c1d2310d3c305b429a413d2f0
2,967
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/database.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/database.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/database.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...
41.208333
171
0.675093
1a019a95fe293b579c557a06d2e94a9cbc2a0498
2,785
ex
Elixir
lib/elixir/lib/file/stream.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/file/stream.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file/stream.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule File.Stream do @moduledoc """ Defines a `File.Stream` struct returned by `File.stream!/3`. The following fields are public: * `path` - the file path * `modes` - the file modes * `raw` - a boolean indicating if bin functions should be used * `line_or_bytes` - ...
27.038835
96
0.559066
1a01b0be42020305881e3ad656c1102af8443916
3,882
ex
Elixir
lib/peach.ex
turnhub/peach
d19507d1c43782ed61af690dc456cf000a26a790
[ "MIT" ]
2
2020-03-31T10:58:49.000Z
2020-05-06T16:40:30.000Z
lib/peach.ex
turnhub/peach
d19507d1c43782ed61af690dc456cf000a26a790
[ "MIT" ]
6
2020-03-26T11:44:17.000Z
2020-06-18T14:54:36.000Z
lib/peach.ex
turnhub/peach
d19507d1c43782ed61af690dc456cf000a26a790
[ "MIT" ]
null
null
null
defmodule Peach do @moduledoc """ Peach provides fuzzy matching as well as tools for preprocessing text ## Example iex> "hɘllo🧐 " |> Peach.pre_process |> Peach.levenshtein_distance("hello") 1 """ @doc """ Normalize text Unicode NFKC (Normalisation Form Compatibility Composition) normalisation...
25.045161
97
0.640907
1a01d0e39d2d63d33f7039d0e0e4b5afa12a306f
1,173
ex
Elixir
web/channels/user_socket.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
1
2018-03-14T23:48:57.000Z
2018-03-14T23:48:57.000Z
web/channels/user_socket.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
2
2018-06-04T12:37:32.000Z
2021-06-15T11:45:05.000Z
defmodule Restfully.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", Restfully.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 au...
30.868421
83
0.703325
1a01d455af49ddb31d4945625fb93def16bd0eba
378
exs
Elixir
elixir/elixir-sips/samples/socket_playground/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/socket_playground/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/socket_playground/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule SocketPlayground.Mixfile do use Mix.Project def project do [app: :socket_playground, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [applications: [:logger]] end defp de...
16.434783
39
0.579365
1a01dea0753cf8d3d47c8580e608b791fccc8be3
3,534
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/node.ex
illaz/ockam
d1073799a140f5f7e3312ea2d5d8b86b4e94154c
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/node.ex
illaz/ockam
d1073799a140f5f7e3312ea2d5d8b86b4e94154c
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/node.ex
illaz/ockam
d1073799a140f5f7e3312ea2d5d8b86b4e94154c
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Node do @moduledoc false @doc false use Supervisor alias Ockam.Message alias Ockam.Node.Registry alias Ockam.Router # `get_random_unused_address/1` uses this as the length of the new address # that will be generated. @default_address_length_in_bytes 4 # Name of the DynamicSupervi...
28.272
94
0.700623
1a01e3b73ea4120028835593255e846a3af23253
715
ex
Elixir
lib/jumubase_web/controllers/performance_controller.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
lib/jumubase_web/controllers/performance_controller.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
lib/jumubase_web/controllers/performance_controller.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule JumubaseWeb.PerformanceController do use JumubaseWeb, :controller alias Jumubase.Showtime # Authorize nested contest, then pass it to all actions def action(conn, _) do if action_name(conn) == :edit do contest_deadline_check_action(conn, __MODULE__) else contest_openness_check_act...
24.655172
66
0.693706
1a01e7d1697f55cadfcadce170e27a37c0fde4e7
36
ex
Elixir
lib/learn_elixir_by_test.ex
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
7
2015-01-26T16:03:08.000Z
2016-05-08T19:01:04.000Z
lib/learn_elixir_by_test.ex
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
1
2020-05-07T16:26:24.000Z
2020-05-07T16:26:24.000Z
lib/learn_elixir_by_test.ex
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
1
2015-08-17T23:21:49.000Z
2015-08-17T23:21:49.000Z
defmodule LearnElixirByTest do end
9
30
0.861111
1a020891642edb7fec8959691efe432c0633d6bf
1,285
ex
Elixir
lib/qb_backend_web/schema/post_types.ex
LittleKidogo/quick_bytes_system
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
1
2018-08-10T02:53:13.000Z
2018-08-10T02:53:13.000Z
lib/qb_backend_web/schema/post_types.ex
LittleKidogo/quick_bytes_backend
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
34
2018-08-07T09:53:18.000Z
2018-10-24T21:12:01.000Z
lib/qb_backend_web/schema/post_types.ex
LittleKidogo/quick_bytes_backend
3f8c1d75b26c5835f70eed3a464351e806a104d9
[ "MIT" ]
null
null
null
defmodule QbBackendWeb.Schema.PostTypes do @moduledoc """ This module contains GraphQL types used with the accounts context. """ use Absinthe.Schema.Notation alias QbBackendWeb.{ Resolvers.Posts } @desc "posts mutations" object :posts_mutations do @desc "create a manual" field :add_manua...
22.946429
51
0.657588
1a023ccff8ce6299f778a4f7d1a1171c1313e4b8
49
ex
Elixir
apps/language_server/test/fixtures/references/lib/b.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/language_server/test/fixtures/references/lib/b.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/language_server/test/fixtures/references/lib/b.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
defmodule B do def my_fun do :ok end end
8.166667
15
0.632653
1a0246cc4780f3fcf776896c6675026863b1ef8a
196
ex
Elixir
lib/phone/td.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/td.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/td.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.TD do @moduledoc false use Helper.Country def regex, do: ~r/^(235)()(.{8})/ def country, do: "Chad" def a2, do: "TD" def a3, do: "TCD" matcher :regex, ["235"] end
15.076923
35
0.591837
1a02aafe6d9f69f28ed828c0334e092f81735c6f
909
exs
Elixir
test/inmana/welcomer_test.exs
MateusMaceedo/NLW-Elixir-5.0
1137fe8ff137bf316efe537504980f6a857b52a9
[ "RSA-MD" ]
14
2021-04-26T14:19:28.000Z
2021-09-12T03:29:42.000Z
test/inmana/welcomer_test.exs
israel206/InmanaIsrael
bc93ddb3ca23f3188f89ef012e463fcacc4e9777
[ "MIT" ]
null
null
null
test/inmana/welcomer_test.exs
israel206/InmanaIsrael
bc93ddb3ca23f3188f89ef012e463fcacc4e9777
[ "MIT" ]
6
2021-04-27T12:41:16.000Z
2021-07-02T04:11:53.000Z
defmodule Inmana.WelcomerTest do use ExUnit.Case, async: true alias Inmana.Welcomer describe "welcome/1" do test "when the user is special, returns a special message" do params = %{"name" => "banana", "age" => "42"} expected_result = {:ok, "You are very special banana"} result = Welcomer....
25.971429
65
0.629263
1a02ab6aaef90f05867f42986d666adb927445ca
2,124
ex
Elixir
lib/cookbook_web/live/progress_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
lib/cookbook_web/live/progress_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
lib/cookbook_web/live/progress_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule CookbookWeb.ProgressLive do use CookbookWeb, :live_view @number_of_slow_function_calls 200 def render(assigns) do ~H""" <div class="progress"> <div class="progress-bar" role="progressbar" style={"width: #{@progress}%;"} aria-valuenow={@progress} ar...
27.947368
97
0.635122
1a02cf216689f571c82467e9ac2a4af148163f54
1,538
ex
Elixir
test/support/data_case.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
2
2021-01-07T23:46:50.000Z
2021-01-08T12:16:00.000Z
test/support/data_case.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
defmodule InstaApi.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to ...
27.464286
77
0.689857
1a02d134b8fd3ac4cbfbd527770329c618be9c3c
1,312
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/detach_subscription_response.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/detach_subscription_response.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/detach_subscription_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
31.238095
84
0.768293
1a02d59b76814de40cd3aad9963f912f99fe85f7
2,393
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/external_ref.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/external_ref.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/external_ref.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...
42.732143
261
0.730046
1a02d8582b1a5a54be509a3b7cefef0b10e729be
955
ex
Elixir
lib/ex_okex/futures/private/position.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
lib/ex_okex/futures/private/position.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
lib/ex_okex/futures/private/position.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
3
2019-10-19T19:33:34.000Z
2019-10-19T19:35:18.000Z
defmodule ExOkex.Futures.Private.Position do import ExOkex.Api.Private alias ExOkex.Futures @prefix "/api/futures/v3" def position(instrument_id, config \\ nil) do "#{@prefix}/#{instrument_id}/position" |> get(%{}, config) |> parse_response() end defp parse_response({:ok, %{"margin_mode" => "...
26.527778
89
0.642932
1a02f83ae9c82c3ce596ae2730b88ce327d8c767
3,739
ex
Elixir
lib/surface/components/utils.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
lib/surface/components/utils.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
lib/surface/components/utils.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Components.Utils do @moduledoc false import Surface, only: [event_to_opts: 2] @valid_uri_schemes [ "http:", "https:", "ftp:", "ftps:", "mailto:", "news:", "irc:", "gopher:", "nntp:", "feed:", "telnet:", "mms:", "rtsp:", "svn:", "tel:",...
26.330986
86
0.618615
1a030bffc6b5653137b673fbde74fcdb12ca22f2
1,451
exs
Elixir
hello_rustler/mix.exs
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
null
null
null
hello_rustler/mix.exs
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
4
2021-10-06T22:07:13.000Z
2022-02-27T10:35:34.000Z
hello_rustler/mix.exs
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
null
null
null
defmodule HelloRustler.MixProject do use Mix.Project def project do [ app: :hello_rustler, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), compilers: [:rustler] ++ Mix.compil...
27.377358
93
0.474845
1a032294436d33b61cc7918e19a29a057660e3f8
595
ex
Elixir
lib/elixir_hessian/base.ex
TimLang/elixir_hessian
578cac071f3434ee2380e8ae506cfafd6145c639
[ "MIT" ]
null
null
null
lib/elixir_hessian/base.ex
TimLang/elixir_hessian
578cac071f3434ee2380e8ae506cfafd6145c639
[ "MIT" ]
null
null
null
lib/elixir_hessian/base.ex
TimLang/elixir_hessian
578cac071f3434ee2380e8ae506cfafd6145c639
[ "MIT" ]
null
null
null
defmodule ElixirHessian.Base do defmacro __using__(_) do quote do defp request_host do "http://www.example.com" end defp request_port do 8080 end defp package_name do "" end def request method, params \\ [] do request_url = "#{request...
16.527778
72
0.623529
1a032cb6af3d4b721099253eb5c30674924f7132
2,289
exs
Elixir
test/gateway/rate_limit/rate_limit_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
test/gateway/rate_limit/rate_limit_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
test/gateway/rate_limit/rate_limit_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule Gateway.RateLimit.RateLimitTest do @moduledoc false use ExUnit.Case, async: true import Gateway.RateLimit, only: [request_passage: 3] test "a normal flow with burst_size 1" do table_name = :test_rate_limit_normal {endpoint, ip} = {"dest", "1.2.3.4"} expected_key = "#{endpoint}_#{ip}" ...
35.765625
80
0.664045
1a033b9849452b6615842fbc963365fcf7a63c75
453
exs
Elixir
test/my_app_web/views/error_view_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
test/my_app_web/views/error_view_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
test/my_app_web/views/error_view_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
defmodule MyAppWeb.ErrorViewTest do use MyAppWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(MyAppWeb.ErrorView, "404.json", []) == %{ errors: %{detail: "Not Found"}} end test "renders 500.js...
26.647059
66
0.666667
1a034135b7bafdfd2d4f1d748ef4959737e2fa41
1,184
ex
Elixir
apps/neoscan_sync/lib/neoscan_sync/genstage/consumer.ex
naetkss/neo-scan
ecfdffc3e8fca21adad2d292c056f3ba557c42be
[ "MIT" ]
1
2021-02-23T02:55:26.000Z
2021-02-23T02:55:26.000Z
apps/neoscan_sync/lib/neoscan_sync/genstage/consumer.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
null
null
null
apps/neoscan_sync/lib/neoscan_sync/genstage/consumer.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
1
2019-10-16T21:37:31.000Z
2019-10-16T21:37:31.000Z
defmodule NeoscanSync.Consumer do @moduledoc false use GenStage alias Neoscan.Blocks alias Neoscan.Transactions require Logger def start_link do GenStage.start_link(__MODULE__, :state_doesnt_matter, name: __MODULE__) end def init(state) do { :consumer, state, subscribe_to: [...
23.215686
77
0.655405
1a03680087a16ee41305dd46733e77dd6ce94c59
2,292
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.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...
38.847458
197
0.710733
1a03816c9d9bebc12ea02d728f17550fa055a0b4
715
exs
Elixir
test/shipment/splitter/do_not_split_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/shipment/splitter/do_not_split_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/shipment/splitter/do_not_split_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Shipment.Splitter.DoNotSplitTest do use Nectar.ModelCase import Nectar.TestSetup.Order, only: [setup_cart: 0, setup_cart_with_multiple_products: 0] test "it splits the line items into 1 shipment unit" do cart = setup_cart |> Repo.preload([:line_items]) [shipment_unit] = Nectar.Shipment....
37.631579
92
0.759441
1a039e2c7cabcb2f6d9200f078a885280ef7b2e2
2,755
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/token.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/token.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/model/token.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.514706
199
0.680944
1a03a934d854003f613751155f45c9221665d20b
988
ex
Elixir
priv/catalogue/catalogue.ex
joerichsen/surface_bootstrap
14a8b57126ead9a6593d628b9962e167fc01030d
[ "MIT" ]
null
null
null
priv/catalogue/catalogue.ex
joerichsen/surface_bootstrap
14a8b57126ead9a6593d628b9962e167fc01030d
[ "MIT" ]
null
null
null
priv/catalogue/catalogue.ex
joerichsen/surface_bootstrap
14a8b57126ead9a6593d628b9962e167fc01030d
[ "MIT" ]
null
null
null
defmodule SurfaceBootstrap.Catalogue do @moduledoc """ Catalogue implementation for SurfaceBootstrap. Allows calalogue tools to properly run examples and playgrounds provided by this lib. """ use Surface.Catalogue load_asset("assets/js/app.js", as: :app_js) load_asset("assets/css/app.css", as: :app_c...
29.058824
222
0.647773
1a03ac54cfe6707c9fcd6c9ad6c8933aff08879f
1,748
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.96
188
0.737986
1a03b069ea4d8344cf29d5fe8a457dbe7b5648ec
461
exs
Elixir
.formatter.exs
alexfreska/ash_graphql
d7e56bec11b4e714c19ccebfa7ba5821669b19cc
[ "MIT" ]
null
null
null
.formatter.exs
alexfreska/ash_graphql
d7e56bec11b4e714c19ccebfa7ba5821669b19cc
[ "MIT" ]
null
null
null
.formatter.exs
alexfreska/ash_graphql
d7e56bec11b4e714c19ccebfa7ba5821669b19cc
[ "MIT" ]
null
null
null
# THIS FILE IS AUTOGENERATED USING `mix ash.formatter` # DONT MODIFY IT BY HAND locals_without_parens = [ authorize?: 1, create: 2, create: 3, destroy: 2, destroy: 3, get: 2, get: 3, identity: 1, list: 2, list: 3, type: 1, update: 2, update: 3 ] [ inputs: ["{mix,.formatter}.exs", "{config,l...
17.730769
70
0.644252
1a03b6d052ae8ddda19469e0efed68e865f037f0
272
exs
Elixir
config/test.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
2
2017-11-15T20:47:47.000Z
2017-12-02T11:29:10.000Z
config/test.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
config/test.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "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 :dashwallet, DashwalletWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
24.727273
56
0.742647
1a03cf0ae8f46824a614dfe20b855a1ce5847909
13,729
ex
Elixir
lib/guardian/permissions.ex
kianmeng/guardian
a5b4762e7551a69c4fba8985a9bddd653dd467a5
[ "MIT" ]
null
null
null
lib/guardian/permissions.ex
kianmeng/guardian
a5b4762e7551a69c4fba8985a9bddd653dd467a5
[ "MIT" ]
null
null
null
lib/guardian/permissions.ex
kianmeng/guardian
a5b4762e7551a69c4fba8985a9bddd653dd467a5
[ "MIT" ]
null
null
null
defmodule Guardian.Permissions do @moduledoc """ An optional plugin to Guardian to provide permissions for your tokens These can be used for any token types since they only work on the `claims`. Permissions are set on a per implementation module basis. Each implementation module can have their own sets. P...
35.752604
108
0.656421
1a042cd4717631a8cd967357ddbdbb4ad9907594
2,844
exs
Elixir
config/prod.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
config/prod.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
config/prod.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # Podcatcher.Web.Endpoint.load_from_system_env/1 dynamically. # Any dynamic configuration should be moved to such functi...
33.458824
116
0.722925
1a04385c02f615b14db142bfccb87a60a4ab34e3
3,284
ex
Elixir
apps/quickstart_web/lib/quickstart_web/controllers/page_controller.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
1
2020-11-04T04:32:56.000Z
2020-11-04T04:32:56.000Z
apps/quickstart_web/lib/quickstart_web/controllers/page_controller.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
4
2021-10-06T22:46:17.000Z
2022-02-27T12:04:59.000Z
apps/quickstart_web/lib/quickstart_web/controllers/page_controller.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
null
null
null
defmodule QuickstartWeb.PageController do use QuickstartWeb, :controller require HTTPoison.Retry import HTTPoison.Retry plug(:put_layout, {QuickstartWeb.LayoutView, "app.manifest.html"}) @default_title "Quickstart" @default_description "Learn the ins and outs of SSR" def not_found(conn, _args) do s...
30.12844
95
0.595006
1a045f7f9b9cf5b177b348e3799fcc65a7609886
18,997
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/ads.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/ads.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/ads.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...
51.204852
439
0.628731
1a0469273649f49d1584245f9a59d3178256e4c2
361
exs
Elixir
priv/repo/migrations/20180628181743_create_boards.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
priv/repo/migrations/20180628181743_create_boards.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
priv/repo/migrations/20180628181743_create_boards.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule Retrospectivex.Repo.Migrations.CreateBoards do use Ecto.Migration def change do create table(:boards) do add(:description, :text) add(:slug, :text) add(:state, :integer, null: false) add(:title, :text, null: false) add(:uuid, :uuid, default: fragment("uuid_generate_v4()"...
22.5625
64
0.642659
1a04a573dbf821cefc23b0ebf95e9a3a4c56d4c6
1,125
exs
Elixir
mix.exs
max-konin/elixir_mod_event
a363f3955d6d9e521366e63d3a7af4d2a6bf7651
[ "Apache-2.0" ]
25
2015-08-14T20:27:28.000Z
2021-07-27T08:27:00.000Z
mix.exs
max-konin/elixir_mod_event
a363f3955d6d9e521366e63d3a7af4d2a6bf7651
[ "Apache-2.0" ]
6
2015-09-03T12:44:15.000Z
2018-01-13T18:22:03.000Z
mix.exs
max-konin/elixir_mod_event
a363f3955d6d9e521366e63d3a7af4d2a6bf7651
[ "Apache-2.0" ]
19
2015-09-03T12:35:01.000Z
2021-08-14T13:33:19.000Z
defmodule FSModEvent.Mixfile do use Mix.Project def project do [ app: :elixir_mod_event, name: "elixir_mod_event", version: "0.0.10", description: description(), package: package(), source_url: "https://github.com/marcelog/elixir_mod_event", elixir: "~> 1.0", bui...
21.226415
88
0.564444
1a04b05d52d97989b1cb234677cead603e916d7e
1,883
ex
Elixir
day13/lib/day13/part1.ex
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
day13/lib/day13/part1.ex
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
day13/lib/day13/part1.ex
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
defmodule Day13.Part1 do require IEx def start(input) do influences = File.read!(input) |> String.split(~r/\n/) |> Enum.filter(&(&1 != "")) |> Enum.map(&parse/1) Seatings.start_link influences people = influences |> Enum.uniq_by(&(&1.sour...
31.915254
126
0.62666
1a04bba210a8a953c3e69b7b8e0f6ae6dfc62e89
422
ex
Elixir
lib/jsonapi/ecto.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
null
null
null
lib/jsonapi/ecto.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
1
2020-12-01T21:30:00.000Z
2020-12-01T21:30:00.000Z
lib/jsonapi/ecto.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
null
null
null
defmodule JSONAPI.Ecto do @moduledoc """ Helper functions for working with Ecto """ @doc """ Checks to see if an associated table is Loaded. If the model is an `Ecto.Association.NotLoaded` """ @spec assoc_loaded?(term()) :: boolean() def assoc_loaded?(association) do case association do %{...
21.1
56
0.654028
1a04e585fcda1b7db2eab47cf0555cf5f6cc7af6
186
ex
Elixir
lib/advent/fabric/coordinate.ex
omsolem/AdventOfCode2018
d0b8f3c9d12a0115ceef223eff1b79767deb9466
[ "Unlicense" ]
1
2018-12-04T19:55:07.000Z
2018-12-04T19:55:07.000Z
lib/advent/fabric/coordinate.ex
omsolem/AdventOfCode2018
d0b8f3c9d12a0115ceef223eff1b79767deb9466
[ "Unlicense" ]
null
null
null
lib/advent/fabric/coordinate.ex
omsolem/AdventOfCode2018
d0b8f3c9d12a0115ceef223eff1b79767deb9466
[ "Unlicense" ]
null
null
null
defmodule Advent.Fabric.Coordinate do alias __MODULE__ defstruct [:row, :col] def new(row, col) when is_integer(row) and is_integer(col), do: %Coordinate{row: row, col: col} end
23.25
97
0.725806
1a05388a5d40ac9fb4f44d1c2f09e2f5289d4355
85
ex
Elixir
lib/writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
lib/writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
lib/writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
defmodule Writer do @callback write(String.t) :: {:ok, term} | {:error, term} end
28.333333
61
0.647059
1a0551db4ae2575199eec990c7fad3859a53346e
1,231
ex
Elixir
lib/solverview_web/router.ex
bokner/solverlview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
10
2020-09-18T19:26:51.000Z
2021-07-08T19:26:00.000Z
lib/solverview_web/router.ex
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
lib/solverview_web/router.ex
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
defmodule SolverViewWeb.Router do use SolverViewWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {SolverViewWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do...
24.137255
70
0.688871
1a05a35c874250731603f01424dfd9a28acf0a6a
819
ex
Elixir
apps/bernard_api/lib/router.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_api/lib/router.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_api/lib/router.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
defmodule BernardApi.Router do use Phoenix.Router import Phoenix.Controller pipeline :api do plug :accepts, ["json"] plug BernardApi.Context end scope "/" do pipe_through :api scope "/webhooks" do post "/initial_update", BernardApi.Webhooks.InitialUpdate, :initial_update post "/...
27.3
98
0.720391
1a060a23ead9119fac25e958970db03c2ab8a04b
1,026
exs
Elixir
mix.exs
fremantle-industries/stored
1fbde0c11404173771f0b70050c0ae0ac915ef79
[ "MIT" ]
null
null
null
mix.exs
fremantle-industries/stored
1fbde0c11404173771f0b70050c0ae0ac915ef79
[ "MIT" ]
null
null
null
mix.exs
fremantle-industries/stored
1fbde0c11404173771f0b70050c0ae0ac915ef79
[ "MIT" ]
null
null
null
defmodule Stored.MixProject do use Mix.Project def project do [ app: :stored, version: "0.0.8", elixir: "~> 1.8", package: package(), start_permanent: Mix.env() == :prod, description: description(), elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), dia...
20.938776
86
0.572125
1a060fd3cacfebf69fa0915b3b234a3bf44a6180
1,801
ex
Elixir
clients/custom_search/lib/google_api/custom_search/v1/model/search_search_information.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/search_search_information.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/search_search_information.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.160714
87
0.708495
1a061435e47c77a88b75251314103760e8dd835e
2,714
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.774194
230
0.723287
1a0615b6e5732b0ca9aad9193171e43632f099eb
547
ex
Elixir
elixir/language-list/lib/language_list.ex
agschaid/exercism
bd9f731bf12427d440820a6c7c8d580d395a205e
[ "MIT" ]
null
null
null
elixir/language-list/lib/language_list.ex
agschaid/exercism
bd9f731bf12427d440820a6c7c8d580d395a205e
[ "MIT" ]
null
null
null
elixir/language-list/lib/language_list.ex
agschaid/exercism
bd9f731bf12427d440820a6c7c8d580d395a205e
[ "MIT" ]
null
null
null
defmodule LanguageList do @moduledoc """ not sure about the scope of the assignment I opted to go for "no helper functions" """ def new() do [] end def add(list, language) do [language | list] end def remove([_x|xs]) do xs end def first([x|_xs]) do x end def count([]) do ...
14.025641
84
0.590494
1a0630dab8e9680d222cfbbb3c80b102c1260c04
477
exs
Elixir
config/test.exs
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
config/test.exs
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
config/test.exs
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
use Mix.Config # Configure your database config :clecodes_ex, ClecodesEx.Repo, username: "postgres", password: "postgres", database: "clecodes_ex_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. c...
25.105263
56
0.742138
1a063aa35cb6271d145532bb4ff57a74b24f9ec9
150
ex
Elixir
lib/strava/pagination.ex
jsparling/strava
a3511520428dffd7ef9230a81f9a31533e3a052e
[ "MIT" ]
null
null
null
lib/strava/pagination.ex
jsparling/strava
a3511520428dffd7ef9230a81f9a31533e3a052e
[ "MIT" ]
null
null
null
lib/strava/pagination.ex
jsparling/strava
a3511520428dffd7ef9230a81f9a31533e3a052e
[ "MIT" ]
null
null
null
defmodule Strava.Pagination do @type t :: %__MODULE__{ page: integer, per_page: integer } defstruct [ :page, :per_page ] end
12.5
30
0.613333
1a065ebbb028622ac6c630ee9471899c130baf84
957
ex
Elixir
lang/elixir/lib/my_app/router.ex
JustinBeckwith/next17
ccca26c9df707123853d169db1518ca33da735ba
[ "MIT" ]
8
2017-03-03T17:24:54.000Z
2017-10-25T16:05:50.000Z
lang/elixir/lib/my_app/router.ex
JustinBeckwith/next17
ccca26c9df707123853d169db1518ca33da735ba
[ "MIT" ]
null
null
null
lang/elixir/lib/my_app/router.ex
JustinBeckwith/next17
ccca26c9df707123853d169db1518ca33da735ba
[ "MIT" ]
2
2017-03-17T17:23:25.000Z
2017-08-15T08:33:11.000Z
defmodule MyApp.Router do import Plug.Conn def init(opts), do: opts # configure the health check def call(%Plug.Conn{request_path: "/_ah/health"} = conn, _opts) do send_resp(conn, 200, "👌") end def call(conn, _opts) do send_resp(conn, 200, "<!DOCTYPE html> <html> <head> <title>Perl on App...
19.530612
74
0.570533
1a0671d95e416ff25a2d0fbcea4f388414a7b1c0
57
ex
Elixir
web/views/page_view.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
70
2015-12-01T11:29:54.000Z
2020-10-29T03:40:01.000Z
web/views/page_view.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
null
null
null
web/views/page_view.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
9
2017-07-23T10:45:49.000Z
2021-07-12T12:27:59.000Z
defmodule Strabo.PageView do use Strabo.Web, :view end
14.25
28
0.77193
1a067be8579fb64b12705744b434869a56ae1095
2,106
ex
Elixir
example/test/support/factory.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/test/support/factory.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/test/support/factory.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExample.Factory do def item do %{ nsn: "NSN1", rep_office: "office1", common_name: "pots", description: "you know - pots", price: 12.65, ui: "EA", aac: "H", nilable_field: nil } end def raw_request do %{ "_" => "15024824...
54
160
0.429725
1a069083b9c04a626fdaf7e653760c9a6a4f228c
3,855
exs
Elixir
test/elixir/test/purge_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
1
2020-09-11T19:23:27.000Z
2020-09-11T19:23:27.000Z
test/elixir/test/purge_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
1
2021-07-28T02:13:39.000Z
2021-07-28T02:13:39.000Z
test/elixir/test/purge_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
null
null
null
defmodule PurgeTest do use CouchTestCase @moduletag :purge @moduletag kind: :single_node @tag :with_db test "purge documents", context do db_name = context[:db_name] design_doc = %{ _id: "_design/test", language: "javascript", views: %{ all_docs_twice: %{ map: "f...
25.361842
83
0.601038
1a0692e8f40a3d4d5e64a5a8fcd07654463afd29
2,557
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.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...
37.057971
139
0.720375
1a06c33b68743a2ca5d2fdb5f0ece755ffe54757
1,529
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.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...
30.58
86
0.719424
1a06f014e6de12fcbbfe832ad4d8615d3c3c2f70
1,981
ex
Elixir
lib/nookal/appointment.ex
agilelabsg/nookal-elixir
51c973a0907071e5a8739c5da4d03c5a63405a02
[ "MIT" ]
null
null
null
lib/nookal/appointment.ex
agilelabsg/nookal-elixir
51c973a0907071e5a8739c5da4d03c5a63405a02
[ "MIT" ]
null
null
null
lib/nookal/appointment.ex
agilelabsg/nookal-elixir
51c973a0907071e5a8739c5da4d03c5a63405a02
[ "MIT" ]
1
2019-09-05T08:30:48.000Z
2019-09-05T08:30:48.000Z
defmodule Nookal.Appointment do import Nookal.Utils @type t() :: %__MODULE__{ id: integer(), patient_id: integer(), date: Date.t(), start_time: Time.t(), end_time: Time.t(), location_id: integer(), type: String.t(), type_id: integer(),...
27.513889
63
0.600707
1a06ffb4e97f64292b6dda975dcaeb12b9d93986
36
ex
Elixir
lib/policy/matcher.ex
LukeWood/plug-content-security-policy
91389c70de45c6d6483c24b3fd3818faea4e3ddf
[ "MIT" ]
null
null
null
lib/policy/matcher.ex
LukeWood/plug-content-security-policy
91389c70de45c6d6483c24b3fd3818faea4e3ddf
[ "MIT" ]
null
null
null
lib/policy/matcher.ex
LukeWood/plug-content-security-policy
91389c70de45c6d6483c24b3fd3818faea4e3ddf
[ "MIT" ]
null
null
null
defmodule Csp.Policy.Matcher do end
12
31
0.833333
1a0706b1ee97bb92725629967052c4441d5b1ec2
1,079
exs
Elixir
test/model/model_build_test.exs
szTheory/neo4j_sips_models
70c7ad45da4aec97dc56dcf951df878b9e801e47
[ "MIT" ]
8
2016-04-22T03:13:02.000Z
2021-01-01T02:49:28.000Z
test/model/model_build_test.exs
szTheory/neo4j_sips_models
70c7ad45da4aec97dc56dcf951df878b9e801e47
[ "MIT" ]
2
2016-10-06T07:20:19.000Z
2020-03-05T02:04:52.000Z
test/model/model_build_test.exs
szTheory/neo4j_sips_models
70c7ad45da4aec97dc56dcf951df878b9e801e47
[ "MIT" ]
5
2016-07-21T04:31:24.000Z
2020-03-03T20:23:01.000Z
defmodule Neo4j.Sips.Models.Test do use ExUnit.Case, async: true test "defines a method for building models without specifying attributes" do person = Person.build assert person.name == nil assert person.age == nil assert person.email == nil end test "defines a method for building models by sp...
30.828571
88
0.686747
1a070815a4dbef3b68dcd2f019428e81923d6332
823
ex
Elixir
lib/web/controllers/auth_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
1
2021-07-12T14:27:11.000Z
2021-07-12T14:27:11.000Z
lib/web/controllers/auth_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
20
2020-07-01T14:54:13.000Z
2021-08-02T15:35:31.000Z
lib/web/controllers/auth_controller.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
2
2020-06-20T00:48:34.000Z
2021-01-22T02:04:38.000Z
defmodule Web.AuthController do use Web, :controller alias SmartNote.Users alias Web.SessionController plug Ueberauth def callback(conn = %{assigns: %{ueberauth_auth: auth}}, %{"provider" => "github"}) do case Users.from_social(auth) do {:ok, user} -> conn |> put_session(:user_tok...
27.433333
88
0.64277
1a07412d094fa669d513965b6f5361b357c85ae7
387
exs
Elixir
test/dispatch_web/home/controller_test.exs
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
21
2019-02-13T15:26:00.000Z
2021-09-18T13:05:42.000Z
test/dispatch_web/home/controller_test.exs
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
26
2019-02-13T18:42:44.000Z
2021-09-16T15:40:05.000Z
test/dispatch_web/home/controller_test.exs
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
2
2020-05-26T09:09:19.000Z
2021-04-21T20:43:07.000Z
defmodule DispatchWeb.Home.ControllerTest do use DispatchWeb.ConnCase import Mox setup :verify_on_exit! test "GET /", %{conn: conn} do expect(Dispatch.Settings.MockClient, :stacks, fn -> ["foo", "bar"] end) conn = get(conn, "/") assert json_response(conn, 200) == %{ "stacks" => ["f...
20.368421
75
0.565891
1a07519fd6ad620b209c96b82a2bb20f4798ca80
4,830
ex
Elixir
lib/mqtt/mqtt_handler.ex
FarmBot-Labs/laughing-octo-telegram
9d3d161362b17da82378c51a815f4c46e0a7a09d
[ "MIT" ]
2
2016-09-18T03:06:37.000Z
2016-12-26T23:55:40.000Z
lib/mqtt/mqtt_handler.ex
FarmBot-Labs/laughing-octo-telegram
9d3d161362b17da82378c51a815f4c46e0a7a09d
[ "MIT" ]
3
2016-09-30T08:38:15.000Z
2016-10-01T19:26:10.000Z
lib/mqtt/mqtt_handler.ex
FarmBot-Labs/laughing-octo-telegram
9d3d161362b17da82378c51a815f4c46e0a7a09d
[ "MIT" ]
5
2016-09-30T17:13:42.000Z
2021-01-06T17:58:15.000Z
defmodule MqttHandler do require GenServer require Logger defp build_last_will_message do RPCMessageHandler.log_msg("Something TERRIBLE Happened. Bot going offline.") end @doc """ "tries to log into mqtt." """ def log_in(err_wait_time\\ 10000) do mqtt_host = Map.get(token, "unencoded") |> Ma...
27.6
96
0.63913
1a075ece015c4800c576395a9f0f312fa443d880
1,952
ex
Elixir
clients/people/lib/google_api/people/v1/model/cover_photo.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/people/lib/google_api/people/v1/model/cover_photo.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/cover_photo.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.490909
122
0.713115
1a07838b8f6b6740fc77d73d5a69bb20ceeb5391
4,304
ex
Elixir
apps/mishka_database/lib/schema/mishka_user/user.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_database/lib/schema/mishka_user/user.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_database/lib/schema/mishka_user/user.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaDatabase.Schema.MishkaUser.User do use Ecto.Schema require MishkaTranslator.Gettext import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users" do field :full_name, :string, size: 60, null: false field :username, :string, si...
60.619718
206
0.745586
1a079a44fc454c98284766f22c5caed284962f52
373
ex
Elixir
lib/esp_ex/raw_event/metadata.ex
Carburetor/esp_ex
0a0ab02c71945e521b213befc0421a4642c9e07b
[ "MIT" ]
null
null
null
lib/esp_ex/raw_event/metadata.ex
Carburetor/esp_ex
0a0ab02c71945e521b213befc0421a4642c9e07b
[ "MIT" ]
1
2018-05-11T04:27:54.000Z
2018-05-11T04:27:54.000Z
lib/esp_ex/raw_event/metadata.ex
Carburetor/esp_ex
0a0ab02c71945e521b213befc0421a4642c9e07b
[ "MIT" ]
1
2018-10-30T06:08:02.000Z
2018-10-30T06:08:02.000Z
defmodule EspEx.RawEvent.Metadata do @schema_version "1.0" @type t :: %EspEx.RawEvent.Metadata{} defstruct causation_message_stream_name: nil, causation_message_position: nil, causation_message_global_position: nil, correlation_stream_name: nil, reply_stream_name: ...
31.083333
51
0.689008
1a07d4351b5f8dbdef0399efd257995ac63de446
1,813
ex
Elixir
clients/memcache/lib/google_api/memcache/v1/model/location_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/memcache/lib/google_api/memcache/v1/model/location_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/memcache/lib/google_api/memcache/v1/model/location_metadata.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...
37.770833
334
0.740761
1a07e0f277580c35ada402a2d043645d2a56ead3
1,605
exs
Elixir
examples/commands.exs
Fitblip/ratatouille
873f8a51b0f824ce9e39b7575850fcc585cfc7b1
[ "MIT" ]
504
2019-01-13T21:53:21.000Z
2022-03-31T20:58:21.000Z
examples/commands.exs
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
28
2019-01-26T21:00:23.000Z
2021-12-28T19:06:15.000Z
examples/commands.exs
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
21
2019-02-21T09:08:27.000Z
2021-12-20T15:51:10.000Z
# This is an example of how to use commands to perform expensive work in the # background and receive the results via `update/2`. # # Run this example with: # # mix run examples/commands.exs defmodule Commands do @behaviour Ratatouille.App alias Ratatouille.Runtime.Command import Ratatouille.View def init...
24.318182
76
0.586916
1a0800d38a1feae9bcaef4ae79baa251c9b63c2e
74
exs
Elixir
test/otto_web/views/page_view_test.exs
juvet/otto
aee3b34029da0f8c232bc79e0febb5339fd3e22b
[ "MIT" ]
1
2019-11-05T06:07:56.000Z
2019-11-05T06:07:56.000Z
test/otto_web/views/page_view_test.exs
juvet/otto
aee3b34029da0f8c232bc79e0febb5339fd3e22b
[ "MIT" ]
2
2019-01-06T18:32:53.000Z
2019-01-06T18:47:02.000Z
test/otto_web/views/page_view_test.exs
juvet/otto
aee3b34029da0f8c232bc79e0febb5339fd3e22b
[ "MIT" ]
null
null
null
defmodule OttoWeb.PageViewTest do use OttoWeb.ConnCase, async: true end
18.5
35
0.810811
1a08581b0b21b75b5319a12be4e25e7a09050ed6
652
ex
Elixir
lib/elastic_access/application.ex
VinPT/elastic_access
680ef18a54e82643c7b1ea18dac0091fe01da57a
[ "Apache-2.0" ]
null
null
null
lib/elastic_access/application.ex
VinPT/elastic_access
680ef18a54e82643c7b1ea18dac0091fe01da57a
[ "Apache-2.0" ]
null
null
null
lib/elastic_access/application.ex
VinPT/elastic_access
680ef18a54e82643c7b1ea18dac0091fe01da57a
[ "Apache-2.0" ]
null
null
null
defmodule ElasticAccess.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ {Finch, name: :finch} # Starts a worker by calling: ElasticAccess.Worker.start_link(arg)...
26.08
72
0.70092
1a0865d8d591a107a19c98d79713e3b3db3eb60f
1,659
exs
Elixir
config/dev.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
2
2021-02-25T17:05:30.000Z
2021-02-26T15:52:33.000Z
config/dev.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
config/dev.exs
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :rocketpay, Rocketpay.Repo, username: "postgres", password: "elixir", database: "rocketpay_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloa...
28.603448
68
0.727547
1a086a504b9dea0a6e2368e72d01d8afabba0291
2,737
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_aggregated_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_aggregated_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_aggregated_list.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...
43.444444
381
0.737304
1a088a0713d71e1da9fe900d9f1c9ba29148c5f3
4,446
exs
Elixir
test/calypte/parser_test.exs
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
7
2019-07-17T22:48:57.000Z
2021-04-14T20:22:46.000Z
test/calypte/parser_test.exs
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
null
null
null
test/calypte/parser_test.exs
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
1
2019-08-06T11:26:11.000Z
2019-08-06T11:26:11.000Z
defmodule Calypte.ParserTest do use ExUnit.Case alias Calypte.Ast.{Expr, Relation, Value, Var} describe "literals" do test "boolean" do assert {:ok, [%Value{line: 1, type: :boolean, val: true}]} == Calypte.parse("true") assert {:ok, [%Value{line: 1, type: :boolean, val: false}]} == Calypte.parse...
29.058824
98
0.464013
1a0892eec4d437ef09c8db58f2de670a67103fa5
4,028
ex
Elixir
lib/torch/helpers.ex
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
lib/torch/helpers.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
lib/torch/helpers.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule Torch.Helpers do @moduledoc """ Provides helper functions for Torch-generated controllers. """ @type params :: map @doc """ Determines how the query for an index action should be sorted. Relies on the `"sort_field"` and `"sort_direction"` parameters to be passed. By default, it sorts by `:i...
32.483871
116
0.653923
1a08a5937bb3a5b10e2a809e2e95b7f845800231
1,750
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/activities.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/model/activities.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/model/activities.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...
32.407407
87
0.738286
1a08b6e4d5eb2b4f5734c748d09adbf32601c05b
643
exs
Elixir
mix.exs
feng19/extrace
dc318ae0af2190d1acc7696420cd7b322f56103d
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
mix.exs
feng19/extrace
dc318ae0af2190d1acc7696420cd7b322f56103d
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
mix.exs
feng19/extrace
dc318ae0af2190d1acc7696420cd7b322f56103d
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
defmodule Extrace.MixProject do use Mix.Project def project do [ app: :extrace, version: "0.2.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: "Elixir wrapper for Recon Trace.", package: [ name: "extrace", maintainer...
18.911765
65
0.511664
1a08b7be9575a9599e9dc7a299be0214b3b5007d
607
ex
Elixir
plug_exemples/lib/plug_examples.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
plug_exemples/lib/plug_examples.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
plug_exemples/lib/plug_examples.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
defmodule PlugExamples do @moduledoc """ Example using Plug and Cowboy, following the ElixirSchool tutorial: https://elixirschool.com/en/lessons/specifics/plug/ """ use Application require Logger @doc """ Starts the Application and its Supervisor. """ def start(_type, _args) do children = [ ...
26.391304
85
0.714992
1a08eedda1f3aaa35840fea3c4105ed27570703d
374
ex
Elixir
apps/enchat_web/lib/enchat_web/views/error_view.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
apps/enchat_web/lib/enchat_web/views/error_view.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
apps/enchat_web/lib/enchat_web/views/error_view.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
defmodule EnchatWeb.ErrorView do use EnchatWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template,...
20.777778
47
0.700535
1a08f94e590f6fc321e72c61c30b2c099e8ab39b
8,391
ex
Elixir
lib/kayrock/client.ex
homespotter/kayrock
9d4a1777654fd7c7270fdf5bf1f7c913e1934749
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/kayrock/client.ex
homespotter/kayrock
9d4a1777654fd7c7270fdf5bf1f7c913e1934749
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/kayrock/client.ex
homespotter/kayrock
9d4a1777654fd7c7270fdf5bf1f7c913e1934749
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule Kayrock.Client do @moduledoc """ Manages communication with a single cluster """ defmodule Opts do @moduledoc false def connect_opts(opts), do: Keyword.get(opts, :connection, []) def metadata_update_interval(opts), do: Keyword.get(opts, :metadata_update_interval, 30_000) end defmod...
32.905882
96
0.691693
1a091a794df30bcab524c2efcf9efc1b2eac280f
464
ex
Elixir
lib/landing_page_web/controllers/fallback_controller.ex
paulfioravanti/phoenix-and-elm-landing-page
8453cf0209bca8da46248d78a17092982e5a7e62
[ "MIT" ]
null
null
null
lib/landing_page_web/controllers/fallback_controller.ex
paulfioravanti/phoenix-and-elm-landing-page
8453cf0209bca8da46248d78a17092982e5a7e62
[ "MIT" ]
null
null
null
lib/landing_page_web/controllers/fallback_controller.ex
paulfioravanti/phoenix-and-elm-landing-page
8453cf0209bca8da46248d78a17092982e5a7e62
[ "MIT" ]
null
null
null
defmodule LandingPageWeb.FallbackController do use LandingPageWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_status(:unprocessable_entity) |> render(LandingPageWeb.ErrorView, "error.json", changeset: changeset) end def call(conn, {:error, :invalid_recaptcha...
29
75
0.732759
1a091a89e2a80924e0bd3a9bc641654247265fa2
12,403
exs
Elixir
test/exw3_test.exs
samparmenter/exw3
055d4fa082052fd55b5dd96c2591c6ef944ef94e
[ "Apache-2.0" ]
123
2018-04-08T00:30:00.000Z
2022-03-07T18:45:37.000Z
test/exw3_test.exs
samparmenter/exw3
055d4fa082052fd55b5dd96c2591c6ef944ef94e
[ "Apache-2.0" ]
63
2018-05-04T20:58:45.000Z
2022-03-14T15:53:30.000Z
test/exw3_test.exs
samparmenter/exw3
055d4fa082052fd55b5dd96c2591c6ef944ef94e
[ "Apache-2.0" ]
33
2018-04-26T09:49:48.000Z
2022-03-14T16:02:32.000Z
defmodule ExW3Test do use ExUnit.Case doctest ExW3 setup_all do start_supervised!(ExW3.Contract) %{ simple_storage_abi: ExW3.Abi.load_abi("test/examples/build/SimpleStorage.abi"), array_tester_abi: ExW3.Abi.load_abi("test/examples/build/ArrayTester.abi"), event_tester_abi: ExW3.Abi.loa...
27.809417
99
0.597839
1a0984d905475100399550a54d445e6f288893be
454
ex
Elixir
frameworks/Elixir/plug/lib/framework_benchmarks/handlers/db.ex
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
5,300
2015-01-02T08:04:20.000Z
2022-03-31T10:08:33.000Z
frameworks/Elixir/plug/lib/framework_benchmarks/handlers/db.ex
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
3,075
2015-01-01T05:11:45.000Z
2022-03-31T23:56:33.000Z
frameworks/Elixir/plug/lib/framework_benchmarks/handlers/db.ex
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
2,151
2015-01-02T14:16:09.000Z
2022-03-30T00:15:26.000Z
defmodule FrameworkBenchmarks.Handlers.DB do @moduledoc """ This is the handler for the /db route """ def handle(conn) do id = :rand.uniform(10_000) {:ok, json} = FrameworkBenchmarks.Repo.get(FrameworkBenchmarks.Models.World, id) |> Map.from_struct() |> Map.drop([:__meta__]) |> ...
23.894737
72
0.651982
1a09c432462c03fb4aee7e81d6c20f6cc267b0cc
894
exs
Elixir
umbrellaproject/apps/app2/mix.exs
chuck1991/ElixirBasics
3ffeca38d91e52c2aae6701d89c77158d5c5b4ec
[ "Apache-2.0" ]
null
null
null
umbrellaproject/apps/app2/mix.exs
chuck1991/ElixirBasics
3ffeca38d91e52c2aae6701d89c77158d5c5b4ec
[ "Apache-2.0" ]
null
null
null
umbrellaproject/apps/app2/mix.exs
chuck1991/ElixirBasics
3ffeca38d91e52c2aae6701d89c77158d5c5b4ec
[ "Apache-2.0" ]
null
null
null
defmodule App2.Mixfile do use Mix.Project def project do [app: :app2, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_perm...
21.804878
77
0.589485
1a09ca296f13d862d11559e9580a643526642d45
915
ex
Elixir
lib/elixirfm/chart.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
lib/elixirfm/chart.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
lib/elixirfm/chart.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
defmodule Elixirfm.Chart do @moduledoc """ Wrapper for Last.fm Chart endpoints. """ @method "chart" @type chart_opts :: [page: non_neg_integer(), limit: non_neg_integer()] defp uri(url), do: Elixirfm.get_request(@method <> url) @doc """ Get the top artists chart """ @spec get_top_artists(chart_op...
27.727273
73
0.650273
1a09f2706445b21a784ae9e06e86c81a72e04f66
4,939
ex
Elixir
lib/carmen/object/object_worker.ex
pkinney/carmen
5c7445020e41a82095d64fc5cac6b78d03ec246a
[ "MIT" ]
15
2019-01-31T19:03:37.000Z
2021-01-29T21:24:27.000Z
lib/carmen/object/object_worker.ex
pkinney/carmen
5c7445020e41a82095d64fc5cac6b78d03ec246a
[ "MIT" ]
1
2019-03-20T14:26:51.000Z
2019-03-20T14:26:51.000Z
lib/carmen/object/object_worker.ex
pkinney/carmen
5c7445020e41a82095d64fc5cac6b78d03ec246a
[ "MIT" ]
1
2019-03-20T14:24:46.000Z
2019-03-20T14:24:46.000Z
defmodule Carmen.Object.Worker do @moduledoc false use GenStateMachine @interface Application.get_env(:carmen, :interface, Carmen.InterfaceExample) defmodule Data do @moduledoc false defstruct [:id, :shape, inters: [], meta: %{}, processed: 0] end def start_link({id, opts}) do GenStateMachine...
34.538462
119
0.62705
1a0a1eadf0f1ce8ba982a8d16759650e7db214f0
77
ex
Elixir
lib/documents_design_web/views/auth_view.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design_web/views/auth_view.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design_web/views/auth_view.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
defmodule DocumentsDesignWeb.AuthView do use DocumentsDesignWeb, :view end
19.25
40
0.844156
1a0a2826c43782b52c7d6ec92a9893689a780875
9,534
ex
Elixir
lib/elixir/unicode/unicode.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/unicode/unicode.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/unicode/unicode.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule String.Unicode do @moduledoc false def version, do: {6,3,0} to_binary = fn "" -> nil codepoints -> codepoints = :binary.split(codepoints, " ", [:global]) Enum.reduce codepoints, "", fn(codepoint, acc) -> acc <> << binary_to_integer(codepoint, 16) :: utf8 >> end ...
27.008499
109
0.628802
1a0a40a9b3e79554fe46fe116aa0ebe90347ceb4
1,119
exs
Elixir
config/config.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2017-02-20T05:49:51.000Z
2021-01-11T21:09:46.000Z
config/config.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
config/config.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.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.096774
73
0.751564
1a0a6fb662357c8d18c173e48b47e2125ed4e6f6
12,234
ex
Elixir
lib/paper_trail.ex
FlorianGerhardt/paper_trail
95bdefcc01551201f349c4c621803463508ea8e6
[ "MIT" ]
null
null
null
lib/paper_trail.ex
FlorianGerhardt/paper_trail
95bdefcc01551201f349c4c621803463508ea8e6
[ "MIT" ]
null
null
null
lib/paper_trail.ex
FlorianGerhardt/paper_trail
95bdefcc01551201f349c4c621803463508ea8e6
[ "MIT" ]
1
2019-08-30T17:46:05.000Z
2019-08-30T17:46:05.000Z
defmodule PaperTrail do import Ecto.Changeset alias Ecto.Multi alias PaperTrail.Version alias PaperTrail.RepoClient defdelegate get_version(record), to: PaperTrail.VersionQueries defdelegate get_version(model_or_record, id_or_options), to: PaperTrail.VersionQueries defdelegate get_version(model, id, opt...
33.064865
99
0.607733
1a0a71fd275d5070c73c245ded4fb7ec233a7fa5
185
exs
Elixir
priv/repo/migrations/20210126233220_add_admin_flag_to_users.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
10
2020-09-05T20:25:05.000Z
2022-01-28T14:02:36.000Z
priv/repo/migrations/20210126233220_add_admin_flag_to_users.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
11
2020-09-07T01:09:55.000Z
2022-02-06T00:58:48.000Z
priv/repo/migrations/20210126233220_add_admin_flag_to_users.exs
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
3
2020-10-03T01:53:08.000Z
2022-01-28T14:03:09.000Z
defmodule Guilda.Repo.Migrations.AddAdminFlagToUsers do use Ecto.Migration def change do alter table(:users) do add :is_admin, :boolean, default: false end end end
18.5
55
0.718919