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
6596f7d126b6721a82a7d99066514760c92831a1
88
exs
Elixir
test/test_helper.exs
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
7
2020-08-14T14:38:33.000Z
2021-08-31T03:02:02.000Z
test/test_helper.exs
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
3
2020-08-13T19:05:49.000Z
2020-09-16T04:39:44.000Z
test/test_helper.exs
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
1
2020-08-14T14:38:20.000Z
2020-08-14T14:38:20.000Z
ExUnit.start() Mox.defmock(Lilictocat.Github.APIMock, for: Lilictocat.GithubBehaviour)
22
71
0.818182
65977020cfb786030e99e75107d6cc38962a9e3e
711
ex
Elixir
lib/ccsp/chapter3/map_coloring_constraint.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
7
2019-11-04T14:23:52.000Z
2021-12-31T08:24:33.000Z
lib/ccsp/chapter3/map_coloring_constraint.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
23
2019-10-02T02:13:36.000Z
2019-12-03T03:52:37.000Z
lib/ccsp/chapter3/map_coloring_constraint.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
null
null
null
defmodule CCSP.Chapter3.MapColoringConstraint do alias __MODULE__, as: T @moduledoc """ Corresponds to CCSP in Python, Section 3.2, titled "Australian map-coloring problem" """ defstruct variables: [], place1: "", place2: "" def new(place1, place2) do %T{variables: [place1, place2], place1: place1, p...
28.44
86
0.71308
65977be7691ac057c1c9fd845280b828057cc254
699
exs
Elixir
tutorials/phoenix/jwt_api/priv/repo/seeds.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/phoenix/jwt_api/priv/repo/seeds.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/phoenix/jwt_api/priv/repo/seeds.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # JwtApi.Repo.insert!(%JwtApi.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
36.789474
100
0.712446
65979b9681484cd52cf0c944592e865baff16859
470
ex
Elixir
lib/chex/move/san.ex
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
10
2020-01-11T19:53:11.000Z
2021-06-07T14:41:24.000Z
lib/chex/move/san.ex
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
45
2019-10-23T01:10:32.000Z
2022-03-23T17:34:22.000Z
lib/chex/move/san.ex
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
5
2019-10-16T23:45:16.000Z
2022-02-06T16:00:58.000Z
defmodule Chex.Move.SAN do @moduledoc false alias Chex.Move.{Parser, SanParser} import SanParser, only: [move: 1] @behaviour Parser @impl Parser def valid?(str) when is_binary(str) do case move(str) do {:ok, _, "", _, _, _} -> true _ -> false end end @impl Parser def parse_mov...
18.076923
54
0.57234
6597e377f7ca6d17609105fda284c7531f8bdf08
1,612
ex
Elixir
lib/asteroid/crypto/cache/ets.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
36
2019-07-23T20:01:05.000Z
2021-08-05T00:52:34.000Z
lib/asteroid/crypto/cache/ets.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
19
2019-08-23T19:04:50.000Z
2021-05-07T22:12:25.000Z
lib/asteroid/crypto/cache/ets.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
3
2019-09-06T10:47:20.000Z
2020-09-09T03:43:31.000Z
defmodule Asteroid.Crypto.Key.Cache.ETS do @moduledoc """ ETS cache for keys This cache implementation stores the keys in an ETS owned by the `#{__MODULE__}` process that is created by the `start_link/1` function (and is therefore supervised). This cache is local to an EVM instance. ## Security considera...
19.658537
95
0.649504
6597eeca73173b939dc32a97b17e2b912867d181
983
ex
Elixir
lib/user_agent_parser/core.ex
KingNoosh/uap-elixir
f2cf7eb11b9927049347f07951a2ae19728aecd5
[ "MIT" ]
null
null
null
lib/user_agent_parser/core.ex
KingNoosh/uap-elixir
f2cf7eb11b9927049347f07951a2ae19728aecd5
[ "MIT" ]
null
null
null
lib/user_agent_parser/core.ex
KingNoosh/uap-elixir
f2cf7eb11b9927049347f07951a2ae19728aecd5
[ "MIT" ]
null
null
null
defmodule UserAgentParser.Core do def data do Application.ensure_all_started(:yaml_elixir) load_patterns(UserAgentParser.patterns_path) end defp load_patterns(path) do yml = YamlElixir.read_from_file(path) user_agent_parsers = yml["user_agent_parsers"] |> Enum.reduce({}, &process_parsers/2) ...
22.860465
50
0.649034
6598377fadf97885e49284126e6ecf4d6dbe9cea
4,930
exs
Elixir
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
null
null
null
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
9
2021-09-12T15:19:06.000Z
2022-03-30T22:24:24.000Z
exercises/concept/boutique-suggestions/test/boutique_suggestions_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
null
null
null
defmodule BoutiqueSuggestionsTest do use ExUnit.Case @tag task_id: 1 test "generates one pair from one top and one bottom" do top = %{ item_name: "Long Sleeve T-shirt", price: 19.95, quantity: 15, color: "Deep Red", base_color: "red" } bottom = %{ item_name: "Wond...
22.409091
93
0.573428
659849e6a6c86d79c4e3c01a8dc8cb54954efb0e
135
ex
Elixir
lib/ash/registry/entry.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/registry/entry.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/registry/entry.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Registry.Entry do @moduledoc "Represents an entry in a registry" defstruct [:entry] @type t :: %__MODULE__{} end
16.875
48
0.711111
6598a39eaaf615847e7c9957d84346fe8ab7f95b
7,433
ex
Elixir
lib/rihanna/migration.ex
steady-media/rihanna
a82fe2cbcee19186c7f4c5428a136959898ef893
[ "MIT" ]
1
2019-02-11T14:07:57.000Z
2019-02-11T14:07:57.000Z
lib/rihanna/migration.ex
nicolasva/rihanna
a82fe2cbcee19186c7f4c5428a136959898ef893
[ "MIT" ]
null
null
null
lib/rihanna/migration.ex
nicolasva/rihanna
a82fe2cbcee19186c7f4c5428a136959898ef893
[ "MIT" ]
null
null
null
defmodule Rihanna.Migration do @max_32_bit_signed_integer (:math.pow(2, 31) |> round) - 1 @moduledoc """ A set of tools for creating the Rihanna jobs table. Rihanna stores jobs in a table in your database. The default table name is "rihanna_jobs". The name is configurable by either passing it as an argument...
27.52963
155
0.625589
6598e64908b4c034dac10a35cdf456da238d6d89
1,057
exs
Elixir
config/config.exs
tyrchen/chinese_translation_server
1982d8ea0b0fe7380af7f4d69fe860532b71a93a
[ "MIT" ]
2
2015-03-12T14:45:01.000Z
2015-04-10T05:31:56.000Z
config/config.exs
tyrchen/chinese_translation_server
1982d8ea0b0fe7380af7f4d69fe860532b71a93a
[ "MIT" ]
26
2018-07-22T07:38:19.000Z
2019-10-20T08:54:08.000Z
config/config.exs
tyrchen/chinese_translation_server
1982d8ea0b0fe7380af7f4d69fe860532b71a93a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
39.148148
73
0.746452
6598e6dc4929c1e4f1ea7d9e14dfe3da8a534870
4,604
ex
Elixir
lib/mail_to_json/smtp_handler.ex
HashNuke/mail-to-json
8f8644efd76f26a85b8aacef9c80a1ee66d9b4ac
[ "MIT" ]
35
2015-01-05T07:35:01.000Z
2020-11-10T05:13:41.000Z
lib/mail_to_json/smtp_handler.ex
HashNuke/mail-to-json
8f8644efd76f26a85b8aacef9c80a1ee66d9b4ac
[ "MIT" ]
1
2015-06-19T14:33:27.000Z
2015-06-19T16:18:38.000Z
lib/mail_to_json/smtp_handler.ex
HashNuke/mail-to-json
8f8644efd76f26a85b8aacef9c80a1ee66d9b4ac
[ "MIT" ]
4
2015-02-09T08:24:49.000Z
2018-09-22T20:37:20.000Z
defmodule MailToJson.SmtpHandler do @behaviour :gen_smtp_server_session require Logger alias MailToJson.SmtpHandler.State alias MailToJson.Utils alias MailToJson.MailParser @type error_message :: {:error, String.t, State.t} # SMTP error codes @smtp_too_busy 421 @smtp_requested_action_okay 250 @sm...
31.108108
151
0.672676
6598f03e22ce143e4338394dd6d551799440b15f
1,014
ex
Elixir
lib/ink/encoder.ex
laserx/ink
e2047669e3ced93885a75b550988043dc4e44614
[ "MIT" ]
1
2021-07-01T02:24:07.000Z
2021-07-01T02:24:07.000Z
lib/ink/encoder.ex
laserx/ink
e2047669e3ced93885a75b550988043dc4e44614
[ "MIT" ]
null
null
null
lib/ink/encoder.ex
laserx/ink
e2047669e3ced93885a75b550988043dc4e44614
[ "MIT" ]
null
null
null
defmodule Ink.Encoder do @moduledoc """ Responsible for encoding any value to JSON. Uses `Poison` for the JSON encoding, but converts values that are not handled by `Poison` before that, like tuples or PIDs. """ @doc """ Accepts a map and recursively replaces all JSON incompatible values with JSON enco...
25.35
79
0.669625
65992188210b7285f844fd1d6127016c3737ff0b
223
ex
Elixir
lib/edgedb/protocol/enums/error_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/enums/error_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/enums/error_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Enums.ErrorSeverity do @moduledoc false use EdgeDB.Protocol.Enum defenum( values: [ error: 0x78, fatal: 0xC8, panic: 0xFF ], guard: :is_error_severity ) end
14.866667
48
0.641256
65993f3bd735d8e6a9ae587fd18cc74714052b1d
4,242
exs
Elixir
test/crit/setup/animal_impl/read_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/crit/setup/animal_impl/read_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/crit/setup/animal_impl/read_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.Setup.AnimalImpl.ReadTest do use Crit.DataCase alias Crit.Setup.Schemas.{Animal, ServiceGap} alias Crit.Setup.HiddenSchemas.{Species} alias Crit.Setup.AnimalImpl.Read alias Ecto.Datespan describe "put_updatable_fields" do setup do [as_fetched: %Animal{ species: %Species{n...
32.630769
87
0.645922
6599410ed489710561f123a61dc61a054a613a8e
1,091
ex
Elixir
recallr/lib/recallr_web/channels/user_socket.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
null
null
null
recallr/lib/recallr_web/channels/user_socket.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
1
2021-03-24T14:49:29.000Z
2021-03-24T14:49:29.000Z
recallr/lib/recallr_web/channels/user_socket.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
5
2021-03-21T19:45:38.000Z
2021-03-24T14:53:07.000Z
defmodule RecallrWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", RecallrWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channe...
30.305556
83
0.694775
6599484c6dbdccf4d674f652d5a1a5cb98290f2e
3,827
ex
Elixir
lib/dataloader/kv.ex
arnodirlam/dataloader
91db9e4f3cb8e3b375c997d83e4b1f57f97e3bf7
[ "MIT" ]
415
2017-10-18T22:27:17.000Z
2022-03-31T06:28:37.000Z
lib/dataloader/kv.ex
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
108
2017-10-24T07:17:06.000Z
2022-03-20T00:19:57.000Z
lib/dataloader/kv.ex
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
83
2017-11-15T06:15:38.000Z
2022-03-20T00:26:44.000Z
defmodule Dataloader.KV do @moduledoc """ Simple KV based Dataloader source. This module is a simple key value based data loader source. You must supply a function that accepts ids, and returns a map of values keyed by id. ## Example ```elixir def datasource do Dataloader.KV.new(&query/2, max_con...
25.684564
92
0.591325
65995841ad85d0422c73f1217fedbd614243fc46
2,031
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/fetch_threat_list_updates_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/fetch_threat_list_updates_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/fetch_threat_list_updates_request.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...
40.62
154
0.75677
65998c7ee2c0ae586864b38aea0b73c1d1e50f80
4,160
ex
Elixir
lib/delta/file.ex
mbta/delta_http_s3
66c61fd2c95a2184216e8718adf0c5d58318d679
[ "MIT" ]
4
2020-04-03T14:38:53.000Z
2021-04-02T10:31:30.000Z
lib/delta/file.ex
mbta/delta_http_s3
66c61fd2c95a2184216e8718adf0c5d58318d679
[ "MIT" ]
107
2020-03-19T13:24:23.000Z
2022-02-28T06:32:58.000Z
lib/delta/file.ex
mbta/delta_http_s3
66c61fd2c95a2184216e8718adf0c5d58318d679
[ "MIT" ]
1
2019-12-31T17:49:06.000Z
2019-12-31T17:49:06.000Z
defmodule Delta.File do @moduledoc """ Struct representing a file fetched from a remote server. """ defstruct [ :updated_at, :url, :body, content_type: Application.get_env(:delta, :default_content_type), encoding: :none ] @already_compressed_content_types Application.compile_env(:delta,...
26.666667
96
0.642067
659991e0ef4f41ec8561e98b443bd4e71c8e5412
1,272
ex
Elixir
largesort_shared/lib/test/test_stream.ex
Maultasche/ElixirLargeSort
31f8be646309105c8c0dfcda33ab6b3d7b77235a
[ "MIT" ]
2
2020-05-12T15:55:13.000Z
2020-11-13T16:53:00.000Z
largesort_shared/lib/test/test_stream.ex
Maultasche/ElixirLargeSort
31f8be646309105c8c0dfcda33ab6b3d7b77235a
[ "MIT" ]
null
null
null
largesort_shared/lib/test/test_stream.ex
Maultasche/ElixirLargeSort
31f8be646309105c8c0dfcda33ab6b3d7b77235a
[ "MIT" ]
null
null
null
defmodule LargeSort.Shared.TestStream do @moduledoc """ Contains test stream functionality for use in unit testing """ @doc """ Creates a test stream that reads from and writes to a string I/O device ## Returns A tuple containing the stream and the device that it wraps so that the contents of the dev...
27.06383
81
0.691038
6599b593e6268555f3e3e2ae5dd58b2ca2e6483e
2,569
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/usage_reports.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/reports_v1/model/usage_reports.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/reports_v1/model/usage_reports.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...
43.542373
295
0.7174
6599c3c931558a8542e2b8357e70cb2bf9ecc9ce
240
ex
Elixir
lib/api/v2/resources/social_connections/discord.ex
JayPeet/patreon-elixir
fdb3bb004049e20a2f89fc46e19ed7626196a16e
[ "MIT" ]
1
2022-03-22T21:33:44.000Z
2022-03-22T21:33:44.000Z
lib/api/v2/resources/social_connections/discord.ex
JayPeet/patreon-elixir
fdb3bb004049e20a2f89fc46e19ed7626196a16e
[ "MIT" ]
5
2021-12-28T16:58:22.000Z
2022-03-24T18:39:08.000Z
lib/api/v2/resources/social_connections/discord.ex
JayPeet/patreon-elixir
fdb3bb004049e20a2f89fc46e19ed7626196a16e
[ "MIT" ]
null
null
null
defmodule Patreon.API.V2.Resource.SocialConnections.Discord do @type t :: %__MODULE__{ scopes: list(String.t) | nil, url: String.t | nil, user_id: String.t | nil } defstruct [ :scopes, :url, :user_id ] end
16
62
0.616667
6599e6a6f76c3f9c0e977dff7fa5959864b67373
313
ex
Elixir
lib/application.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
35
2016-10-17T09:52:46.000Z
2021-01-04T16:27:46.000Z
lib/application.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
26
2016-12-06T17:21:41.000Z
2021-11-26T18:49:05.000Z
lib/application.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
13
2016-12-06T16:03:30.000Z
2021-12-16T10:28:03.000Z
defmodule Kadabra.Application do @moduledoc false use Application def start(_type, _args) do children = [ {Registry, keys: :unique, name: Registry.Kadabra}, {Task.Supervisor, name: Kadabra.Tasks} ] Supervisor.start_link(children, strategy: :one_for_one, name: :kadabra) end end
20.866667
75
0.690096
659a694f753d56b13058e48e6e21b74366df4ac1
320
exs
Elixir
apps/xee/priv/repo/migrations/20151225053919_create_user.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
11
2015-12-24T07:51:45.000Z
2019-03-05T12:29:31.000Z
apps/xee/priv/repo/migrations/20151225053919_create_user.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
62
2015-12-25T02:58:20.000Z
2020-03-04T06:52:11.000Z
apps/xee/priv/repo/migrations/20151225053919_create_user.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
1
2016-07-19T03:28:08.000Z
2016-07-19T03:28:08.000Z
defmodule Xee.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:user) do add :name, :string, null: false; add :crypted_password, :string, null: false; timestamps() end # add unique constraints to user.name create unique_index(:user, [:name]) end end
20
50
0.665625
659a7dd5674e2b665c5f691926f412619d9aefa9
9,139
exs
Elixir
test/lib/s3_test.exs
jlgeering/ex_aws_s3
75f509fbd8e53f57a3f1e9d285505045b304a930
[ "Unlicense", "MIT" ]
null
null
null
test/lib/s3_test.exs
jlgeering/ex_aws_s3
75f509fbd8e53f57a3f1e9d285505045b304a930
[ "Unlicense", "MIT" ]
null
null
null
test/lib/s3_test.exs
jlgeering/ex_aws_s3
75f509fbd8e53f57a3f1e9d285505045b304a930
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExAws.S3Test do use ExUnit.Case, async: true alias ExAws.{S3, Operation} test "#get_object" do expected = %Operation.S3{bucket: "bucket", headers: %{"x-amz-server-side-encryption-customer-algorithm" => "md5"}, params: %{"response-content-type" => "application/json"}, path: "object.json", http_metho...
41.166667
216
0.637269
659ab54ba89413646a6fcda2c641f4f73340909c
3,679
ex
Elixir
lib/scenic/primitive/rectangle.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/rectangle.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/rectangle.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2017-05-08. # Copyright © 2017-2021 Kry10 Limited. All rights reserved. # defmodule Scenic.Primitive.Rectangle do @moduledoc """ Draw a rectangle on the screen. ## Data `{width, height}` The data for a line is a tuple containing two numbers. * `width` - width of the rec...
30.915966
124
0.591737
659af1b6675ac2f34fa1057868f50f865ca877ca
29,831
exs
Elixir
test/phoenix_live_view/engine_test.exs
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
1
2020-07-26T12:20:43.000Z
2020-07-26T12:20:43.000Z
test/phoenix_live_view/engine_test.exs
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
test/phoenix_live_view/engine_test.exs
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.EngineTest do use ExUnit.Case, async: true alias Phoenix.LiveView.{Engine, Rendered} def safe(do: {:safe, _} = safe), do: safe def unsafe(do: {:safe, content}), do: content describe "rendering" do test "escapes HTML" do template = """ <start> <%= "<escaped>" %> ...
39.511258
115
0.521471
659af870acbcdeac1a39427415c1ba3c5a1f5073
32
exs
Elixir
test/test_helper.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
1
2018-11-08T12:15:05.000Z
2018-11-08T12:15:05.000Z
test/test_helper.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
test/test_helper.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
ExUnit.start(exclude: [:ignore])
32
32
0.75
659b050ab3d605449274914c675491cca66199a5
449
exs
Elixir
test/integration/channel_test.exs
Cantido/enmity
385d6b54824e167a77b7eeab445a4e42ef19114e
[ "Unlicense", "MIT" ]
1
2019-11-25T11:09:04.000Z
2019-11-25T11:09:04.000Z
test/integration/channel_test.exs
Cantido/enmity
385d6b54824e167a77b7eeab445a4e42ef19114e
[ "Unlicense", "MIT" ]
7
2020-10-14T18:28:36.000Z
2022-02-24T11:06:17.000Z
test/integration/channel_test.exs
Cantido/enmity
385d6b54824e167a77b7eeab445a4e42ef19114e
[ "Unlicense", "MIT" ]
null
null
null
defmodule Enmity.ChannelTest do use ExUnit.Case alias Enmity.Channel test "get" do {:ok, channel} = Channel.get("668217932211421242") assert channel == %{ bitrate: 64000, guild_id: "668217932211421234", id: "668217932211421242", name: "General", nsfw: false, parent_id...
18.708333
54
0.612472
659b1420059f57752714dd90672473acac2264f7
387
ex
Elixir
traceme/lib/traceme/store/record.ex
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
9
2017-10-29T17:35:14.000Z
2020-04-19T14:06:50.000Z
traceme/lib/traceme/store/record.ex
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
null
null
null
traceme/lib/traceme/store/record.ex
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
null
null
null
defmodule Traceme.Record do @moduledoc false defmacro __using__(_) do quote do use Ecto.Schema import Ecto.Changeset import Ecto.Query alias Traceme.Repo @doc """ Clear out all records """ @spec clear() :: {integer, nil | [term]} | no_return def clear() ...
16.826087
58
0.586563
659b33a27955714640622e66b3aa66f6389c5e6d
12,344
ex
Elixir
lib/json_xema/validation_error.ex
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
lib/json_xema/validation_error.ex
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
lib/json_xema/validation_error.ex
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonXema.ValidationError do @moduledoc """ Raised when a validation fails. ## Example iex> schema = JsonXema.new(%{"type" => "string"}) iex> {:error, error} = JsonXema.validate(schema, 6) iex> Exception.message(error) ~s|Expected "string", got 6.| """ @type path :: [atom |...
30.329238
95
0.58976
659b53f86b69b6e18c1051835a8bdd0edcea8f44
2,252
exs
Elixir
lib/iex/test/test_helper.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/iex/test/test_helper.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/iex/test/test_helper.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
assert_timeout = String.to_integer(System.get_env("ELIXIR_ASSERT_TIMEOUT") || "500") System.put_env("ELIXIR_EDITOR", "echo") {:ok, _} = Application.ensure_all_started(:iex) IEx.configure(colors: [enabled: false]) ExUnit.start(trace: "--trace" in System.argv(), assert_receive_timeout: assert_timeout) defmodule IEx.Ca...
28.506329
89
0.687833
659b68a85dc829d27307ab530130560426b90a57
2,360
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/status.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...
38.064516
134
0.714407
659b6a322a98f846190fc9df0063d0e3159e4de7
825
exs
Elixir
test/rocketpay_web/views/users_view_test.exs
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
2
2021-04-22T10:54:55.000Z
2021-06-17T03:09:14.000Z
test/rocketpay_web/views/users_view_test.exs
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
null
null
null
test/rocketpay_web/views/users_view_test.exs
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.UsersViewTest do use RocketpayWeb.ConnCase, async: true import Phoenix.View alias Rocketpay.{Account, User} alias RocketpayWeb.UsersView test "renders create.json" do params = %{ name: "Rafael", password: "123456", nickname: "camarda", email: "rafael@bana...
21.153846
103
0.593939
659b75ed648c3f56e30cd728fdb0187ce2edd672
280
exs
Elixir
priv/repo/migrations/20210228182203_rename_payment_method_id_add_timestamps_to_payments.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20210228182203_rename_payment_method_id_add_timestamps_to_payments.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20210228182203_rename_payment_method_id_add_timestamps_to_payments.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
defmodule Freegiving.Repo.Migrations.RenamePaymentMethodIdAddTimestampsToPayments do use Ecto.Migration def change do alter table("payments") do remove :payment_method add :payment_method_id, references("payment_methods") timestamps() end end end
23.333333
84
0.75
659ba2eb40842cc8f62409a1c6593c6e8cb892cf
1,857
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/list_service_configs_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/list_service_configs_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/list_service_configs_response.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 ...
37.14
152
0.750673
659bb68dcbac8b0a2fdb442ce82a8db0d8022504
5,550
exs
Elixir
test/vintage_net_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
test/vintage_net_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
test/vintage_net_test.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetTest do use VintageNetTest.Case doctest VintageNet import ExUnit.CaptureIO import ExUnit.CaptureLog setup do # Capture Application exited logs capture_log(fn -> Application.stop(:vintage_net) Application.start(:vintage_net) end) # Remove persisted files if an...
32.080925
185
0.691351
659be27fdaf0cc5cc4266015a4c7c9580f615865
1,955
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v2/model/list_linked_custom_channels_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/list_linked_custom_channels_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/list_linked_custom_channels_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.1
203
0.747315
659be608b2e2e4ad6a79e3b5f55f4d8785a8c823
696
exs
Elixir
mix.exs
hauleth/credo_code_climate
7972f4000dc282f40f83f82b1467d8834dd23817
[ "MIT" ]
1
2021-01-17T02:01:59.000Z
2021-01-17T02:01:59.000Z
mix.exs
hauleth/credo_code_climate
7972f4000dc282f40f83f82b1467d8834dd23817
[ "MIT" ]
null
null
null
mix.exs
hauleth/credo_code_climate
7972f4000dc282f40f83f82b1467d8834dd23817
[ "MIT" ]
null
null
null
defmodule CredoCodeClimate.MixProject do use Mix.Project def project do [ app: :credo_code_climate, description: "Credo plugin for writing the CodeClimate-like result file", version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), package...
20.470588
79
0.54023
659bedb2d887ea8fd79c901cc373f60b611c8f17
5,147
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.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...
45.955357
206
0.714202
659c37ab9325d478e9a5934dbd48396f735e8217
1,110
ex
Elixir
lib/dailymeal_web/router.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal_web/router.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal_web/router.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule DailymealWeb.Router do use DailymealWeb, :router alias DailymealWeb.Plugs.UUIDChecker pipeline :api do plug :accepts, ["json"] plug UUIDChecker end scope "/api", DailymealWeb do pipe_through :api resources "/users/", UsersController, except: [:new, :edit] get "users/meals/:id...
30
70
0.710811
659c48c49eba31f4867b64ff694d72efea177410
3,387
exs
Elixir
test/membrane/rtp/stream_receive_bin_test.exs
membraneframework/membrane_rtp
1df5f0bdb66d5c89bc63122c8b29af6cd4e600aa
[ "Apache-2.0" ]
null
null
null
test/membrane/rtp/stream_receive_bin_test.exs
membraneframework/membrane_rtp
1df5f0bdb66d5c89bc63122c8b29af6cd4e600aa
[ "Apache-2.0" ]
2
2020-04-01T14:06:34.000Z
2020-04-08T11:48:59.000Z
test/membrane/rtp/stream_receive_bin_test.exs
membraneframework/membrane_rtp
1df5f0bdb66d5c89bc63122c8b29af6cd4e600aa
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTP.StreamReceiveBinTest do use ExUnit.Case import Membrane.Testing.Assertions alias Membrane.RTP alias Membrane.RTP.StreamReceiveBin alias Membrane.RTP.H264 alias Membrane.Testing @pcap_file "test/fixtures/rtp/session/demo.pcap" @frames_count 1038 @ssrc 790_688_045 @h264_clock...
31.95283
86
0.650723
659ca43d5750d480614552f400253e617b2311d0
689
ex
Elixir
lib/elixero/core_api/models/overpayments.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
84
2016-11-09T01:15:17.000Z
2022-01-06T02:55:35.000Z
lib/elixero/core_api/models/overpayments.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
14
2017-03-10T04:16:07.000Z
2021-11-10T16:39:19.000Z
lib/elixero/core_api/models/overpayments.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
18
2017-03-11T21:12:15.000Z
2022-02-22T20:07:10.000Z
defmodule EliXero.CoreApi.Models.Overpayments do use Ecto.Schema import Ecto.Changeset @derive {Poison.Encoder, except: [:__meta__, :id]} schema "overpayments" do embeds_many :Overpayments, EliXero.CoreApi.Models.Overpayments.Overpayment end def from_map(data) do ...
26.5
83
0.596517
659caac9983e1adaf5a0ded9777230e50b488c82
5,418
ex
Elixir
lib/oli/delivery/page/page_context.ex
schowkekarats360/oli-torus
67e51a40b6fb601b7318569ee3d739189136291b
[ "MIT" ]
null
null
null
lib/oli/delivery/page/page_context.ex
schowkekarats360/oli-torus
67e51a40b6fb601b7318569ee3d739189136291b
[ "MIT" ]
null
null
null
lib/oli/delivery/page/page_context.ex
schowkekarats360/oli-torus
67e51a40b6fb601b7318569ee3d739189136291b
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Page.PageContext do @moduledoc """ Defines the context required to render a page in delivery mode. """ @enforce_keys [ :review_mode, :page, :progress_state, :resource_attempts, :activities, :objectives, :latest_attempts ] defstruct [ :review_mode, ...
35.181818
107
0.708933
659cad40d07743e6ea8af52c2104ff57fd8ba36c
12,980
ex
Elixir
lib/iex/lib/iex/helpers.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
25.908184
110
0.620416
659cb4b55134cb17468318fa5fd8ad6da8ce105b
190
exs
Elixir
config/config.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
config/config.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
config/config.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
use Mix.Config config :draw_something, dict_path: "./priv/dictionary.txt", with_crash: :false, # words_per_crawler: 400_000 words_per_crawler: 100 import_config "#{Mix.env}.exs"
15.833333
37
0.731579
659cb593a180254d48ac5826ca9e145cf4d9dd3c
5,075
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/rest_method.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/discovery/lib/google_api/discovery/v1/model/rest_method.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/discovery/lib/google_api/discovery/v1/model/rest_method.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...
54.569892
258
0.688867
659cc0a4d52951c690ee9828e23b7cfdca56fa69
16,604
ex
Elixir
lib/ex_string_util.ex
Tochemey/ExString
340175ed6602def53b76d3fa1eb735d598468060
[ "Apache-2.0" ]
3
2017-05-07T21:07:17.000Z
2018-09-13T13:28:14.000Z
lib/ex_string_util.ex
Tochemey/ExString
340175ed6602def53b76d3fa1eb735d598468060
[ "Apache-2.0" ]
null
null
null
lib/ex_string_util.ex
Tochemey/ExString
340175ed6602def53b76d3fa1eb735d598468060
[ "Apache-2.0" ]
null
null
null
defmodule ExStringUtil do @moduledoc """ This module helps validate any string from user input. """ @doc ~S""" This function checks whether a given string is alphanumeric. It will return true when the string is valid or false on the contrary. ## Parameters - string0: String to validate ## Return...
33.075697
397
0.5212
659d0aba03efd2acc712f80ac79364fa4b1583c4
1,525
ex
Elixir
lib/erl_cv_nif.ex
mgu86/elixir-opencv
6ac1911b4758c1ff19e9eab78db1a6851419a42a
[ "Apache-2.0" ]
31
2019-01-13T11:59:50.000Z
2021-04-02T06:24:33.000Z
lib/erl_cv_nif.ex
mgu86/elixir-opencv
6ac1911b4758c1ff19e9eab78db1a6851419a42a
[ "Apache-2.0" ]
null
null
null
lib/erl_cv_nif.ex
mgu86/elixir-opencv
6ac1911b4758c1ff19e9eab78db1a6851419a42a
[ "Apache-2.0" ]
4
2019-01-20T22:04:45.000Z
2021-07-07T20:56:05.000Z
defmodule :erl_cv_nif do @moduledoc false @on_load :load_nif def load_nif do require Logger nif_file = '#{:code.priv_dir(:open_cv)}/erl_cv_nif' case :erlang.load_nif(nif_file, 0) do :ok -> :ok {:error, {:reload, _}} -> :ok {:error, reason} -> Logger.warn("Failed to load nif: #{inspe...
33.888889
86
0.711475
659d2c869fcb6f55919363704c7fc97cbf649c79
266
ex
Elixir
lib/thunder/http_server/dispatcher.ex
rastasheep/thunder
d095628329b05fb55961603d52a5999e325c6a3e
[ "MIT" ]
1
2015-07-26T13:33:45.000Z
2015-07-26T13:33:45.000Z
lib/thunder/http_server/dispatcher.ex
rastasheep/thunder
d095628329b05fb55961603d52a5999e325c6a3e
[ "MIT" ]
null
null
null
lib/thunder/http_server/dispatcher.ex
rastasheep/thunder
d095628329b05fb55961603d52a5999e325c6a3e
[ "MIT" ]
null
null
null
defmodule Thunder.HttpServer.Dispatcher do def create do compile end defp compile do :cowboy_router.compile(configuration) end defp configuration do [ {:_, [ {:_, Thunder.RequestHandler, []} ]} ] end end
13.3
45
0.586466
659d3bf1b8ba490db50640e566729effea66fcb3
1,938
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/inventory_source_group.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/inventory_source_group.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/inventory_source_group.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...
35.236364
153
0.724458
659d53d1297ac8c91f31bfbe77e09a6ddec1792f
939
exs
Elixir
apps/ewallet/test/test_helper.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/test_helper.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/test_helper.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
40.826087
74
0.773163
659d5bacbacdef93166470de7f72af93f88903a7
233
ex
Elixir
lib/hello_web/controllers/hello_web/health_controller.ex
krzysztofmo/hello
8d317fd168bec46de698268e6ffce752c9fa4c94
[ "MIT" ]
null
null
null
lib/hello_web/controllers/hello_web/health_controller.ex
krzysztofmo/hello
8d317fd168bec46de698268e6ffce752c9fa4c94
[ "MIT" ]
null
null
null
lib/hello_web/controllers/hello_web/health_controller.ex
krzysztofmo/hello
8d317fd168bec46de698268e6ffce752c9fa4c94
[ "MIT" ]
null
null
null
defmodule HelloWeb.HealthController do use HelloWeb, :controller def is_it_working(conn, _params) do text(conn, "I am working.") end def who_am_i(conn, _params) do text(conn, "You've hit #{Node.self()}") end end
17.923077
43
0.686695
659d5dcfafdae087113e4ef1497639e352fa5c71
199
exs
Elixir
test/hexedio_web/controllers/page_controller_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
test/hexedio_web/controllers/page_controller_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
3
2020-07-16T05:37:16.000Z
2022-03-16T08:58:28.000Z
test/hexedio_web/controllers/page_controller_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
defmodule HexedioWeb.PageControllerTest do use HexedioWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.111111
60
0.683417
659d678388d605697f76a0112cb28486fb343504
1,377
ex
Elixir
apps/get_functional_flow/lib/get_functional_flow.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
4
2017-04-16T21:07:36.000Z
2021-07-21T10:27:10.000Z
apps/get_functional_flow/lib/get_functional_flow.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
apps/get_functional_flow/lib/get_functional_flow.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
defmodule GetFunctionalFlow do @moduledoc """ Documentation for GetFunctionalFlow. """ def benchmark(fun) do fun |> :timer.tc |> elem(0) |> Kernel./(1_000_000) end defp sort_desc(first, second) do elem(first, 1) > elem(second, 1) end @doc """ Determines the number of words in a ...
25.981132
76
0.603486
659d67bca2e3087a738d7cd9304f00159357c60b
121
exs
Elixir
test/date_parse_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
442
2015-05-18T09:58:39.000Z
2022-02-15T19:56:41.000Z
test/date_parse_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
50
2015-06-04T19:10:56.000Z
2019-11-18T13:31:16.000Z
test/date_parse_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
47
2015-05-23T20:45:20.000Z
2021-12-23T08:32:58.000Z
defmodule DateParseTest do use ExUnit.Case, async: true alias Calendar.Date.Parse import Parse doctest Parse end
17.285714
30
0.77686
659d8b2fcf9949e8ae70a4f15f45b332a6b7668d
1,002
ex
Elixir
lib/my_app_810758.ex
wsmoak/my_app_810758
2fe9e2ed05f9df4577676e2029910ff59d6fce89
[ "MIT" ]
null
null
null
lib/my_app_810758.ex
wsmoak/my_app_810758
2fe9e2ed05f9df4577676e2029910ff59d6fce89
[ "MIT" ]
null
null
null
lib/my_app_810758.ex
wsmoak/my_app_810758
2fe9e2ed05f9df4577676e2029910ff59d6fce89
[ "MIT" ]
null
null
null
defmodule MyApp_810758 do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(MyAp...
32.322581
71
0.718563
659d8d2fcc57b982b7a62fff92cd51780218ac2e
813
ex
Elixir
src/mbs/lib/main.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
src/mbs/lib/main.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
1
2021-12-15T07:22:59.000Z
2021-12-15T07:47:56.000Z
src/mbs/lib/main.ex
visciang/mbs
3f218b82f3097c03149b6a4a440804056d94c387
[ "MIT" ]
null
null
null
defmodule MBS.Main do @moduledoc false alias MBS.{Config, Utils} alias MBS.CLI.{Args, Command, Reporter} @spec main([String.t()]) :: :ok def main(args) do args |> run() |> exit_with() end @spec run([String.t()], Path.t()) :: Command.on_run() def run(args, cwd \\ ".") do :ok = Reporter...
20.325
55
0.591636
659d91e0f17bf1b9033f8d6cfb5e5aa20eabd9e4
1,239
ex
Elixir
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/AssociationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/AssociationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/AssociationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
%{ &one => &two } %{ one \\ two => three \\ four } %{ one when one => two when two } %{ one :: two => three :: four } %{ one = two => three = four } %{ one or two => three || four } %{ one || two => three ||| four } %{ one and two => three && four } %{ one && two => three &&& four } %{ one != two => three != four } %{ ...
23.377358
43
0.394673
659db06052cc8efe1bed3dd71bfa2b1e140a861b
724
ex
Elixir
example_app/web/gettext.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
null
null
null
example_app/web/gettext.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
1
2017-05-08T15:09:09.000Z
2017-05-10T06:05:24.000Z
example_app/web/gettext.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
null
null
null
defmodule NoegleExampleApp.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import NoegleExampleApp.Gettext # Simple translation gettex...
28.96
72
0.687845
659dd5094b829060cc0b7151dbbf6ddeffcc7e40
857
exs
Elixir
test/credo/check/readability/impl_true_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/readability/impl_true_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/readability/impl_true_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Readability.ImplTrueTest do use Credo.Test.Case @described_check Credo.Check.Readability.ImplTrue test "it should NOT report @impl Behaviour" do """ defmodule CredoImplTrueTest do @behaviour MyBehaviour @impl MyBehaviour def foo, do: :bar end """ |> t...
19.930233
52
0.628938
659de8738560c19678e16b109dd47b4dbdb41715
214
ex
Elixir
lib/game/utils/queries.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
7
2017-08-11T12:08:58.000Z
2020-08-17T14:31:49.000Z
lib/game/utils/queries.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
1
2020-06-20T17:54:12.000Z
2020-06-20T17:54:12.000Z
lib/game/utils/queries.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
null
null
null
defmodule Queries do alias Game.Tile alias Game.Region import Ecto.Query def tileWithRegion do from(tile in Tile, join: region in Region, where: tile.region_id == region.id ) end end
16.461538
40
0.672897
659dea7adce75551b31eaa7783bff545bbe973a1
772
exs
Elixir
exercises/beer-song/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/beer-song/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/beer-song/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule BeerSong do def verse(0) do "No more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.\n" end def verse(1) do "1 bottle of beer on the wall, 1 bottle of beer.\nTake it down and pass it around, no more bottles of beer on the...
32.166667
151
0.663212
659df0eb8d3c1dbf2d8ed2e3fd784bac2e44fd78
3,398
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/environment_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/environment_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/environment_config.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...
47.859155
189
0.727192
659e00515a6bc9576f28e4024c52b2d5d909eb1d
96
exs
Elixir
test/exlug_test.exs
epsanchezma/exlug
01474e8e32298c66b539a57e74e01cf49b11bdf0
[ "MIT" ]
2
2018-08-26T14:09:54.000Z
2020-03-27T18:57:51.000Z
test/exlug_test.exs
ride/exlug
01474e8e32298c66b539a57e74e01cf49b11bdf0
[ "MIT" ]
null
null
null
test/exlug_test.exs
ride/exlug
01474e8e32298c66b539a57e74e01cf49b11bdf0
[ "MIT" ]
1
2018-03-06T02:36:06.000Z
2018-03-06T02:36:06.000Z
defmodule ExlugTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12
22
0.645833
659e263279abd0585f6dfb1f50646e808a6d3fb8
1,284
ex
Elixir
lib/noa_playground_web/views/error_helpers.ex
handnot2/noa_playground
61943f6770bf3f998e5e5356ca9a716270eeaa05
[ "MIT" ]
null
null
null
lib/noa_playground_web/views/error_helpers.ex
handnot2/noa_playground
61943f6770bf3f998e5e5356ca9a716270eeaa05
[ "MIT" ]
null
null
null
lib/noa_playground_web/views/error_helpers.ex
handnot2/noa_playground
61943f6770bf3f998e5e5356ca9a716270eeaa05
[ "MIT" ]
1
2022-03-17T18:33:14.000Z
2022-03-17T18:33:14.000Z
defmodule NoaPlaygroundWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn (error) -> cont...
31.317073
82
0.675234
659e2e692ca1afe3c4dbe4b39a8c7f88420dbd0b
485
ex
Elixir
lib/ex_21_web/views/error_view.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
lib/ex_21_web/views/error_view.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
lib/ex_21_web/views/error_view.ex
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
defmodule Ex21Web.ErrorView do use Ex21Web, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For ...
28.529412
61
0.731959
659e396bfde17a2b7d94dac42bc290ff418e8d68
4,831
exs
Elixir
test/Vector/vector_test.exs
leighshepperson/exalgebra
42a781b77fc78f01e6a2c1191817ef8d88f2aa93
[ "Apache-2.0" ]
6
2016-02-25T16:32:11.000Z
2020-11-30T14:44:17.000Z
test/Vector/vector_test.exs
leighshepperson/exalgebra
42a781b77fc78f01e6a2c1191817ef8d88f2aa93
[ "Apache-2.0" ]
null
null
null
test/Vector/vector_test.exs
leighshepperson/exalgebra
42a781b77fc78f01e6a2c1191817ef8d88f2aa93
[ "Apache-2.0" ]
null
null
null
defmodule ExAlgebra.VectorTest do use ExUnit.Case, async: true doctest ExAlgebra.Vector import ExAlgebra.Vector import :math, only: [sqrt: 1] @precision 10 test "Returns the magnitude of a vector" do input = [1, 2, 3, 4] expected = 5.4772255751 assert approximate_evaluation(magnitude(input)) == expected ...
30.383648
144
0.697164
659e67dc4389394b0f1cf837aa96f7a9f7989eae
402
exs
Elixir
apps/ewallet_db/config/prod.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/config/prod.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/config/prod.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
use Mix.Config config :ewallet_db, EWalletDB.Repo, adapter: Ecto.Adapters.Postgres, url: System.get_env("DATABASE_URL") || "postgres://localhost/ewallet_prod" config :ewallet_db, base_url: System.get_env("BASE_URL") key = System.get_env("EWALLET_SECRET_KEY") config :cloak, Salty.SecretBox.Cloak, tag: "...
25.125
76
0.686567
659e893940fcb24fb98d56f80052495536f90f02
590
ex
Elixir
lib/live_sup_web/views/api/user_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/views/api/user_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/views/api/user_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Api.UserView do use LiveSupWeb, :view alias LiveSupWeb.Api.UserView def render("index.json", %{users: users}) do %{data: render_many(users, UserView, "user.json")} end def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end def render(...
23.6
54
0.645763
659ea54a451fc04e0986700385679f42390ca3e5
1,879
exs
Elixir
mix.exs
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
7
2017-08-11T12:08:58.000Z
2020-08-17T14:31:49.000Z
mix.exs
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
1
2020-06-20T17:54:12.000Z
2020-06-20T17:54:12.000Z
mix.exs
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
null
null
null
defmodule Game.Mixfile do use Mix.Project def project do [ app: :game, version: "0.0.3", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :pr...
25.053333
79
0.550825
659eab116301475cdcb5ed62d7fd527e4efeb9bd
511
ex
Elixir
lib/web/plugs/verify_no_user.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
5
2019-08-29T20:22:25.000Z
2020-04-01T17:40:48.000Z
lib/web/plugs/verify_no_user.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
34
2019-03-06T17:53:29.000Z
2021-09-01T01:25:23.000Z
lib/web/plugs/verify_no_user.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
2
2020-01-10T22:12:36.000Z
2021-01-22T04:37:45.000Z
defmodule Web.Plugs.VerifyNoUser do @moduledoc """ Verify a _admin_ user is in the session """ import Plug.Conn import Phoenix.Controller alias Web.Router.Helpers, as: Routes def init(default), do: default def call(conn, _opts) do case Map.has_key?(conn.assigns, :current_user) do false -> ...
19.653846
57
0.618395
659eb79501b3c0f09492fc7d1e976b96c33d2088
3,340
exs
Elixir
config/dev.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
config/dev.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
config/dev.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :asf, Asf.Repo, username: "postgres", password: "postgres", database: "asf_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # The wa...
26.299213
68
0.651796
659efa4bb3419ab9986c7de4f76acd24be1e6bb7
194
ex
Elixir
lib/nomad_crd/backend/backend.ex
mrmstn/nomad_crd
f8f66e5ad0a838ac75ddf08b8c5b8b4725deec6f
[ "Apache-2.0" ]
4
2021-11-07T14:38:29.000Z
2021-12-21T14:03:34.000Z
lib/nomad_crd/backend/backend.ex
mrmstn/nomad_crd
f8f66e5ad0a838ac75ddf08b8c5b8b4725deec6f
[ "Apache-2.0" ]
null
null
null
lib/nomad_crd/backend/backend.ex
mrmstn/nomad_crd
f8f66e5ad0a838ac75ddf08b8c5b8b4725deec6f
[ "Apache-2.0" ]
null
null
null
defmodule NomadCrd.Backend do @callback create_job() :: {:ok, [binary()]} | {:error, term()} @callback get_jobs() :: {:ok, [binary()]} | {:error, term()} @callback update_job() :: nil end
32.333333
64
0.608247
659f09d4f144360b653675f0087d4f055d4f160d
4,373
exs
Elixir
test/table_test.exs
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
test/table_test.exs
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
test/table_test.exs
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule ExAdminTest.TableTest do use ExUnit.Case, async: true alias ExAdmin.Table def index_actions(_, _, _), do: nil setup do table_options = %{ fields: [:id, :name, :inserted_at], filter: "", order: nil, page: %{page_number: 1}, path_prefix: "/admin/users?order=", s...
35.266129
129
0.623828
659f261fd3dd385be34a060ddbc4a69d1704c22a
1,109
exs
Elixir
mix.exs
cas27/gen_template_phoenix_webpack
53f92ea9f1eeca1874234b8bcd38f20f7aedbcbd
[ "MIT" ]
3
2017-06-08T16:53:07.000Z
2018-05-25T19:37:23.000Z
mix.exs
cas27/gen_template_phoenix_webpack
53f92ea9f1eeca1874234b8bcd38f20f7aedbcbd
[ "MIT" ]
null
null
null
mix.exs
cas27/gen_template_phoenix_webpack
53f92ea9f1eeca1874234b8bcd38f20f7aedbcbd
[ "MIT" ]
null
null
null
defmodule GenTemplatePhoenixWebpack.Mixfile do use Mix.Project @name :gen_template_phoenix_webpack @version "0.1.0" @deps [ { :mix_templates, ">0.0.0", app: false }, { :ex_doc, ">0.0.0", only: [:dev, :test] }, ] @maintainers ["Cory Schmitt <cory@schmitty.me>"] @github "https:...
22.632653
77
0.500451
659f329f4dadb4e52bad4a96489b1d43080f9b54
812
ex
Elixir
lib/teiserver/account/schemas/badge_type.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/account/schemas/badge_type.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/account/schemas/badge_type.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Account.BadgeType do use CentralWeb, :schema schema "teiserver_account_badge_types" do field :name, :string field :icon, :string field :colour, :string field :description, :string field :purposes, {:array, :string}, default: [] timestamps() end @doc """ Builds a...
26.193548
66
0.653941
659f5238b5d160077088a409614f536231b57f19
2,459
exs
Elixir
mix.exs
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
mix.exs
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
mix.exs
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
defmodule Honeybadger.Mixfile do use Mix.Project def project do [ app: :honeybadger, version: "0.11.0", elixir: "~> 1.7", consolidate_protocols: Mix.env() != :test, build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), elixirc_pat...
28.264368
105
0.579097
659f5c64b10fb9089e89bc9847952251e98141da
1,411
ex
Elixir
app/lib/app_web/controller_helpers.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/app_web/controller_helpers.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app_web/controller_helpers.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.ControllerHelpers do require Decimal use Phoenix.HTML import Plug.Conn import Phoenix.Controller def render_error(conn, message) do case String.downcase(message) do "forbidden" -> conn |> put_status(:forbidden) |> put_view(AppWeb.ErrorView) |> render...
29.395833
233
0.620128
659f5c6c5fdddd8e381514c5202f489261c2af88
631
exs
Elixir
phoenix/budgets/test/lib/text_file_loader_test.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/test/lib/text_file_loader_test.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/test/lib/text_file_loader_test.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
defmodule Budgets.TextFileLoaderTest do use ExUnit.Case setup _context do filename = "test_text_file_loader.txt" {:ok, file} = File.open filename, [:write] IO.binwrite file, "foo\t123\nbar\t456\t789" File.close(file) on_exit fn -> File.rm!(filename) end {:ok, [filename: filename]...
26.291667
71
0.652932
659fcb398f7800873da4ee46dc217cd62644807e
80
exs
Elixir
.formatter.exs
luisfmcalado/grapevine
4faafa70af5fa8f906c512ccff699e0b7b4c8190
[ "MIT" ]
null
null
null
.formatter.exs
luisfmcalado/grapevine
4faafa70af5fa8f906c512ccff699e0b7b4c8190
[ "MIT" ]
null
null
null
.formatter.exs
luisfmcalado/grapevine
4faafa70af5fa8f906c512ccff699e0b7b4c8190
[ "MIT" ]
null
null
null
[ inputs: ["{mix,.formatter}.exs", "{bench,config,lib,test}/**/*.{ex,exs}"] ]
20
75
0.55
659fd03cb72026e5926703a84aa5de60c916c06e
1,645
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/existence_filter.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/existence_filter.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/existence_filter.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2018 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...
35.76087
241
0.758055
659fd8bf041919fb35482ecfd3afb185af96446e
1,002
ex
Elixir
lib/placex/endpoint.ex
jnbt/placex
8b031f04df092ed94ba660acbc8f3fcd18d2beb8
[ "MIT" ]
3
2016-01-18T16:20:57.000Z
2017-08-02T18:04:19.000Z
lib/placex/endpoint.ex
jnbt/placex
8b031f04df092ed94ba660acbc8f3fcd18d2beb8
[ "MIT" ]
null
null
null
lib/placex/endpoint.ex
jnbt/placex
8b031f04df092ed94ba660acbc8f3fcd18d2beb8
[ "MIT" ]
null
null
null
defmodule Placex.Endpoint do use Phoenix.Endpoint, otp_app: :placex socket "/socket", Placex.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
25.05
69
0.707585
659ff008459720eb00ab457e35df944012b05307
3,746
exs
Elixir
.credo.exs
SpaceEEC/crux_gateway
cd6e3dd661f39047fd1499bfa3d96f9f1f324d5a
[ "MIT" ]
7
2018-05-22T07:13:45.000Z
2020-08-16T19:24:38.000Z
.credo.exs
SpaceEEC/crux_gateway
cd6e3dd661f39047fd1499bfa3d96f9f1f324d5a
[ "MIT" ]
1
2020-10-08T16:59:47.000Z
2020-10-10T20:18:00.000Z
.credo.exs
SpaceEEC/crux_gateway
cd6e3dd661f39047fd1499bfa3d96f9f1f324d5a
[ "MIT" ]
null
null
null
%{ configs: [ %{ name: "default", files: %{ included: ["lib/"], excluded: ["lib/test.ex"] }, requires: [], checks: [ # Consistency {Credo.Check.Consistency.ExceptionNames}, {Credo.Check.Consistency.LineEndings}, {Credo.Check.Consistency...
42.568182
68
0.675387
65a017b9496352460adeefa8e56fe845fdcfb815
1,149
exs
Elixir
config/config.exs
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
config/config.exs
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
config/config.exs
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :wabanex, ecto_repos: [Wabanex.Repo] c...
31.916667
86
0.766754
65a099a338ff738c59530229dfd726a51e8583fd
2,093
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/create_project_metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/create_project_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/create_project_metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.490566
213
0.733397
65a0b55f8b5a0669f223d1a610d4feefc248b297
1,320
exs
Elixir
config/prod.secret.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
3
2021-02-15T13:03:15.000Z
2022-01-25T11:07:47.000Z
config/prod.secret.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
config/prod.secret.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
31.428571
81
0.734848
65a0dad3f88a34894875524410504f70f248d3b2
1,203
ex
Elixir
lib/microblog/endpoint.ex
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
lib/microblog/endpoint.ex
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
lib/microblog/endpoint.ex
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
defmodule Microblog.Endpoint do use Phoenix.Endpoint, otp_app: :microblog socket "/socket", Microblog.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Sta...
27.976744
69
0.716542
65a0e29201e82fd5301fbdbafb924fa9e750ba20
533
ex
Elixir
lib/medium/helpers/keys_macros.ex
mahcloud/medium-sdk-elixir
dbdf3ec8bdd3e8224891444cfc64b331660c8933
[ "MIT" ]
26
2016-11-26T06:17:39.000Z
2020-03-23T15:20:02.000Z
lib/medium/helpers/keys_macros.ex
mahcloud/medium-sdk-elixir
dbdf3ec8bdd3e8224891444cfc64b331660c8933
[ "MIT" ]
3
2017-03-09T18:44:15.000Z
2020-01-03T15:10:36.000Z
lib/medium/helpers/keys_macros.ex
mahcloud/medium-sdk-elixir
dbdf3ec8bdd3e8224891444cfc64b331660c8933
[ "MIT" ]
3
2017-03-09T18:39:51.000Z
2020-03-23T15:24:50.000Z
defmodule Medium.Helpers.KeysMacros do defmacro __using__(_) do quote do import Medium.Helpers.KeysMacros end end defmacro key_function(name, function) do quote do def unquote(name)(map) when is_map(map) do for {key ,val} <- map, into: %{}, do: {unquote(funct...
22.208333
59
0.60788
65a0f799f331846c44666c8930c18e5ffe6fc490
1,081
ex
Elixir
products/test/support/conn_case.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
2
2021-09-21T13:36:49.000Z
2021-09-25T13:17:40.000Z
products/test/support/conn_case.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
products/test/support/conn_case.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
defmodule ProductsWeb.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 data structures and query the data layer. Finally, if t...
28.447368
62
0.73543
65a10fed5b5463875493e21cca8089f0722cff61
126
exs
Elixir
test/test_helper.exs
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
2
2022-03-31T21:12:35.000Z
2022-03-31T21:44:59.000Z
test/test_helper.exs
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
13
2022-03-30T17:41:25.000Z
2022-03-31T23:35:49.000Z
test/test_helper.exs
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
null
null
null
tags = if Version.match?(System.version(), "~> 1.10"), do: [], else: [:"disable_elixir_lt_1.10"] ExUnit.start(exclude: tags)
31.5
96
0.65873
65a15d575a55bbd4a02216293c578194de252563
24,068
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.257143
95
0.594108
65a177e537b15ef639f03de50a0fa9200f1d9795
8,938
ex
Elixir
lib/hex/state.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
lib/hex/state.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
lib/hex/state.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Hex.State do @moduledoc false @name __MODULE__ @api_url "https://hex.pm/api" @pbkdf2_iters 32_768 def default_api_url(), do: @api_url @config %{ api_key_read: %{ config: [:"$read_key"] }, api_key_write: %{ config: [:"$write_key", :"$encrypted_key"] }, api_key_wri...
24.420765
95
0.579996
65a178e92578e814388d46a95e67030f7698a79b
129
ex
Elixir
lib/freegiving/mishap.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
lib/freegiving/mishap.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
lib/freegiving/mishap.ex
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
defmodule Freegiving.Mishap do @moduledoc """ Data about a mishap. """ defstruct doing: nil, with: [], causing: nil end
16.125
46
0.666667
65a180477a4a4e773d27eadec970085bf8187361
5,175
ex
Elixir
lib/ex_doc/doc_ast.ex
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
1,206
2015-01-02T02:05:12.000Z
2022-03-29T17:18:10.000Z
lib/ex_doc/doc_ast.ex
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
1,266
2015-01-03T03:26:04.000Z
2022-03-31T09:43:53.000Z
lib/ex_doc/doc_ast.ex
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
300
2015-01-03T04:07:24.000Z
2022-03-29T08:10:56.000Z
defmodule ExDoc.DocAST do @moduledoc false @type t :: term() alias ExDoc.Markdown alias ExDoc.Formatter.HTML.Templates @doc """ Parses given `doc_content` according to `doc_format`. """ def parse!(doc_content, doc_format, options \\ []) def parse!(markdown, "text/markdown", opts) do parse_mark...
26.403061
97
0.637681
65a1f189f83e82e1859df9d2d799f67ff4eab4ed
116
exs
Elixir
.formatter.exs
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
6
2019-11-15T20:34:47.000Z
2021-04-05T03:15:23.000Z
.formatter.exs
FindHotel/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
1
2022-03-20T09:34:42.000Z
2022-03-20T09:34:42.000Z
.formatter.exs
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
3
2021-06-09T05:58:09.000Z
2022-03-20T07:05:13.000Z
[ import_deps: [:phoenix, :typed_struct], inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
23.2
69
0.594828
65a20ff5a30db4653337a48aca3251524f3c7da7
12,306
ex
Elixir
lib/ueberauth/strategy/slack.ex
sourdoughdev/ueberauth_slack
f5c757cac4245f410884f95d0e30afdeef84a7de
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/slack.ex
sourdoughdev/ueberauth_slack
f5c757cac4245f410884f95d0e30afdeef84a7de
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/slack.ex
sourdoughdev/ueberauth_slack
f5c757cac4245f410884f95d0e30afdeef84a7de
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Slack do @moduledoc """ Implements an ÜeberauthSlack strategy for authentication with slack.com. When configuring the strategy in the Üeberauth providers, you can specify some defaults. * `uid_field` - The field to use as the UID field. This can be any populated field in the info ...
31.634961
132
0.626361
65a217077ff1f6c96b10716fddc7ebf606aaa7fe
445
exs
Elixir
test/pow/config_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
test/pow/config_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
test/pow/config_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Pow.ConfigTest do use ExUnit.Case doctest Pow.Config alias Pow.Config test "get/1" do assert Config.get([], :key, 0) == 0 Application.put_env(:pow, :key, 1) assert Config.get([], :key, 0) == 1 Application.put_env(:test, :pow, key: 2) assert Config.get([otp_app: :test], :key, 0)...
22.25
61
0.6
65a2231d73e7023a973dec8a8df7d1523365e627
2,448
ex
Elixir
clients/web_risk/lib/google_api/web_risk/v1/model/google_cloud_webrisk_v1_rice_delta_encoding.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/web_risk/lib/google_api/web_risk/v1/model/google_cloud_webrisk_v1_rice_delta_encoding.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/web_risk/lib/google_api/web_risk/v1/model/google_cloud_webrisk_v1_rice_delta_encoding.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.714286
236
0.726307
65a271450fb8d821908e7aad2f288368ed7201d5
12,013
ex
Elixir
lib/mimic.ex
fartek/mimic
38d678b6f018df0c267f73a912bd94dcc6c57cf4
[ "Apache-2.0" ]
null
null
null
lib/mimic.ex
fartek/mimic
38d678b6f018df0c267f73a912bd94dcc6c57cf4
[ "Apache-2.0" ]
null
null
null
lib/mimic.ex
fartek/mimic
38d678b6f018df0c267f73a912bd94dcc6c57cf4
[ "Apache-2.0" ]
null
null
null
defmodule Mimic do @moduledoc """ Mimic is a library that simplifies the usage of mocks in Elixir. Mimic is mostly API compatible with [mox](https://hex.pm/packages/mox) but doesn't require explicit contract checking with behaviours. It's also faster. You're welcome. Mimic works by copying your module ou...
26.636364
96
0.666112
65a2894436b256856abceb7d64d965478412dead
1,096
exs
Elixir
packages/tai_events/mix.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
packages/tai_events/mix.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
packages/tai_events/mix.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule TaiEvents.MixProject do use Mix.Project def project do [ app: :tai_events, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", package: package(), ...
21.92
98
0.569343