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
21879b991ac5bdc5d6167b80de7ca78d78c9dfd5
1,635
exs
Elixir
test/outer_web/live/user_registration_live_test.exs
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
test/outer_web/live/user_registration_live_test.exs
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
test/outer_web/live/user_registration_live_test.exs
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
defmodule OuterWeb.UserRegistrationLiveTest do use OuterWeb.ConnCase, async: true import Outer.AccountsFixtures describe "GET /users/register" do test "renders registration page", %{conn: conn} do conn = get(conn, Routes.user_registration_path(conn, :new)) response = html_response(conn, 200) ...
33.367347
98
0.614067
2187a3ee5c3cd1dc6d1a2eaa1a0c1da18d84bc80
6,713
ex
Elixir
lib/changelog/schema/podcast/podcast.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
lib/changelog/schema/podcast/podcast.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
null
null
null
lib/changelog/schema/podcast/podcast.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule Changelog.Podcast do use Changelog.Schema alias Changelog.{Episode, EpisodeStat, Files, NewsItem, PodcastTopic, PodcastHost, Regexp, Subscription} require Logger defenum Status, draft: 0, soon: 1, published: 2, retired: 3 schema "podcasts" do field :name, :string field...
33.39801
177
0.685536
2187d955002880ac3d6898e71a5fd2f1956e0873
1,059
exs
Elixir
config/config.exs
medek/elixir_complete
d946069005bdf3a00fe035520fa47058a7d6c9b1
[ "0BSD" ]
null
null
null
config/config.exs
medek/elixir_complete
d946069005bdf3a00fe035520fa47058a7d6c9b1
[ "0BSD" ]
null
null
null
config/config.exs
medek/elixir_complete
d946069005bdf3a00fe035520fa47058a7d6c9b1
[ "0BSD" ]
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...
40.730769
73
0.745042
218867313175c41f0b7975b1d9e2c4faa1d0c201
995
ex
Elixir
test/support/conn_case.ex
jnillo/blog_pc
88f431193d09c36153e2b20a8c5f516947b87e2c
[ "MIT" ]
null
null
null
test/support/conn_case.ex
jnillo/blog_pc
88f431193d09c36153e2b20a8c5f516947b87e2c
[ "MIT" ]
null
null
null
test/support/conn_case.ex
jnillo/blog_pc
88f431193d09c36153e2b20a8c5f516947b87e2c
[ "MIT" ]
null
null
null
defmodule Patricia.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the d...
23.690476
67
0.707538
218875ea568a525f8ada6dec2ae2f44e92d76aea
5,620
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.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 "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 ...
50.178571
193
0.709609
21888063b75a1d685ff9cd7582c3056e6b91ffa7
501
ex
Elixir
lib/geonames/endpoint.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoint.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoint.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
defmodule Geonames.Endpoint do @moduledoc """ An `Endpoint` is a behaviour module used to defined the different endpoints available on the Geonames API. The functions are used to generate the wrapper functions made available to developers via the `Geonames` module. """ @callback endpoint :: String.t ...
31.3125
53
0.750499
2188c26ca31fe39aa7960764a3b76bc6e86cce7b
437
exs
Elixir
mix.exs
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
mix.exs
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
mix.exs
wee911/elixir-koans-excerise
71bd62fc3e2be91b654b69d3d791c39aaef9244b
[ "MIT" ]
null
null
null
defmodule Koans.Mixfile do use Mix.Project def project do [app: :elixir_koans, version: "0.0.1", elixir: ">= 1.2.1 and <= 1.4.0", elixirc_paths: elixirc_path(Mix.env), deps: deps] end def application do [applications: [:exfswatch, :logger]] end defp deps do [{:exfswatch, "...
19
56
0.599542
2188c53684b27b2610711dd3b473951d53db8461
499
ex
Elixir
apps/rtmp/lib/rtmp/protocol/messages/amf0_data.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/rtmp/lib/rtmp/protocol/messages/amf0_data.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/rtmp/lib/rtmp/protocol/messages/amf0_data.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
defmodule Rtmp.Protocol.Messages.Amf0Data do @moduledoc """ Data structure containing metadata or user data, encoded in Amf0 """ @behaviour Rtmp.Protocol.RawMessage @type t :: %__MODULE__{} defstruct parameters: [] def deserialize(data) do {:ok, objects} = Amf0.deserialize(data) %__MODULE__{pa...
21.695652
66
0.711423
21892e952bd9c20e5440de1c820df0235e446a82
1,922
ex
Elixir
lib/qoix/image.ex
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
18
2021-12-06T12:46:35.000Z
2021-12-28T07:00:16.000Z
lib/qoix/image.ex
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
2
2021-12-21T14:20:31.000Z
2022-01-06T11:50:59.000Z
lib/qoix/image.ex
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
1
2021-12-27T09:46:11.000Z
2021-12-27T09:46:11.000Z
defmodule Qoix.Image do @moduledoc """ A struct representing a raw image. """ @enforce_keys [:width, :height, :pixels, :format, :colorspace] defstruct [:width, :height, :pixels, :format, :colorspace] @type colorspace :: :srgb | :linear @type format :: :rgb | :rgba @type t :: %__MODULE__{ wid...
30.507937
96
0.640999
218932044056bdbd5fb27c90fd3ab299c28f3b90
4,181
ex
Elixir
impl/ex/lib/schema/schema.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
9
2020-08-06T23:45:07.000Z
2020-12-21T01:47:06.000Z
impl/ex/lib/schema/schema.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
19
2020-03-12T03:57:46.000Z
2020-09-11T03:40:48.000Z
impl/ex/lib/schema/schema.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
null
null
null
defmodule Statifier.Schema do @moduledoc """ A compiled and parsed state chart definition The Schema Struct: The fields of a Schema should not be adjusted manually but are publicly available to read. They are as follows: * `initial_configuration` - the initial configuration of the machine (root) * `sta...
29.034722
99
0.664674
2189633436bc66fcac0f4fee6eb3408fb1be09db
654
ex
Elixir
lib/hl7/2.4/segments/fac.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/fac.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/fac.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.FAC do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, facility_id_fac: DataTypes.Ei, facility_type: nil, facility_address: DataTypes.Xad, facility_telecommunication: DataTypes.Xtn, contact_...
27.25
58
0.718654
218968b7d178116fbd4e1c2d67ad2d4d08249d2e
3,859
ex
Elixir
web/ex_admin/errors_helper.ex
rotabull/ex_admin
06c1546b4cdbdf747cf15f91099f5f6115bfa225
[ "MIT" ]
null
null
null
web/ex_admin/errors_helper.ex
rotabull/ex_admin
06c1546b4cdbdf747cf15f91099f5f6115bfa225
[ "MIT" ]
null
null
null
web/ex_admin/errors_helper.ex
rotabull/ex_admin
06c1546b4cdbdf747cf15f91099f5f6115bfa225
[ "MIT" ]
null
null
null
defmodule ExAdmin.ErrorsHelper do @moduledoc """ The primary purpose of this module is to take nested changeset errors created by many_to_many and has many through relationships and change them into a format that the forms can use to get the error message from the field name. Changes sets such as: ...
41.053191
135
0.667271
21897993f825f3e2c11526ad3dcdfdc9a1203bc8
403
exs
Elixir
2021/elixir/apps/day12/test/day12_test.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day12/test/day12_test.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day12/test/day12_test.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day12Test do use ExUnit.Case test "part1" do TestData.get("day12", "part1") |> Enum.each(fn %{"input" => input, "output" => output} -> assert Day12Part1.solve(input) == output end) end test "part2" do TestData.get("day12", "part2") |> Enum.each(fn %{"input" => input, "outpu...
22.388889
62
0.595533
218985fdd0d13dd64465026fc83448141c53152e
2,304
ex
Elixir
plugins/one_chat/lib/one_chat_web/uploaders/file.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/lib/one_chat_web/uploaders/file.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/lib/one_chat_web/uploaders/file.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChat.File do use Arc.Definition # Include ecto support (requires package arc_ecto installed): use Arc.Ecto.Definition require Logger def __storage, do: Arc.Storage.Local @versions [:original, :poster] # TODO: This needs to be changed so only subscribers to the channel can # read t...
27.428571
94
0.664063
2189ae36ba165bc2fcffa998b87ce999924f3d77
1,768
exs
Elixir
clients/cloud_trace/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/mix.exs
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...
26.38806
102
0.648756
2189b0074df69eebf4ac7f6ff1591a22f0e839e4
290
ex
Elixir
test/support/zigtest/transitive.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
349
2019-10-02T07:21:17.000Z
2022-03-21T17:50:06.000Z
test/support/zigtest/transitive.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
223
2019-10-05T05:36:08.000Z
2022-03-31T23:12:02.000Z
test/support/zigtest/transitive.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
20
2019-10-08T16:29:39.000Z
2022-03-31T15:07:20.000Z
defmodule ZiglerTest.ZigTest.Transitive do @moduledoc false use Zig ~Z""" pub const trans = @import("imported.zig"); pub usingnamespace @import("namespaced.zig"); const nonpub = @import("nonpublic.zig"); /// nif: foo/0 fn foo() i32 { return nonpub.foo(); } """ end
19.333333
47
0.644828
2189bd5f78aef6fea9bb314910e3e48f6c3b728b
4,356
ex
Elixir
lib/xdr/transactions/transaction_v0.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/transaction_v0.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/transaction_v0.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.TransactionV0 do @moduledoc """ Representation of Stellar `TransactionV0` type. TransactionV0 is a transaction with the AccountID discriminant stripped off, leaving a raw ed25519 public key to identify the source account. This is used for backwards compatibility starting from the pr...
26.240964
95
0.58517
2189c59c8b7f2e53d555e77881fdc0d6e8896fde
519
ex
Elixir
series/lib/string_series.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
1
2020-04-06T19:41:50.000Z
2020-04-06T19:41:50.000Z
series/lib/string_series.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
null
null
null
series/lib/string_series.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
null
null
null
defmodule StringSeries do @doc """ Given a string `s` and a positive integer `size`, return all substrings of that size. If `size` is greater than the length of `s`, or less than 1, return an empty list. """ @spec slices(s :: String.t(), size :: integer) :: list(String.t()) def slices(s, size) when size <...
27.315789
76
0.61657
2189fd19410f5ce1c88d6b63e8a67e48f11f6105
289
ex
Elixir
lib/api_banking/auth_pipeline.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
lib/api_banking/auth_pipeline.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
lib/api_banking/auth_pipeline.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
defmodule ApiBanking.AuthPipeline do use Guardian.Plug.Pipeline, otp_app: :Rent, module: ApiBanking.Guardian, error_handler: ApiBanking.AuthErrorHandler plug Guardian.Plug.VerifyHeader, realm: "Bearer" plug Guardian.Plug.EnsureAuthenticated plug Guardian.Plug.LoadResource end
32.111111
50
0.813149
218a30f584a4489e157c2acfadc26bf71ad2ed29
3,414
ex
Elixir
lib/Genotype/cypher.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
2
2017-04-05T03:57:22.000Z
2017-12-03T19:54:07.000Z
lib/Genotype/cypher.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
lib/Genotype/cypher.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
defmodule Cerebrum.Genotype.Cypher do alias Cerebrum.Neuron alias Cerebrum.Sensor alias Cerebrum.Actuator def create_node(%Neuron{name: name, activation_function: activation_function, bias: bias}, graph_name) do "CREATE (#{name}:Neuron {activation_function:'#{activation_function}', bias: #{bias}, #{graph_name}: ...
44.337662
179
0.763913
218a4ec7a18fd87ff784bd845b8f7623f4e54135
67
exs
Elixir
test/test_helper.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
test/test_helper.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
test/test_helper.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Pfkit.Repo, :manual)
22.333333
51
0.776119
218a52e2d067596877ba5b799be48ad7dffae2fd
1,287
ex
Elixir
day09/lib/day09.ex
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
1
2021-05-12T11:30:15.000Z
2021-05-12T11:30:15.000Z
day09/lib/day09.ex
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
day09/lib/day09.ex
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
defmodule Day09 do def part1(input) do input |> decompress |> byte_size end def part2(input) do decompressed_length(input) end defp decompressed_length(string), do: decompressed_length(string, 0) defp decompressed_length(<<>>, count), do: count defp decompressed_length(<<?\(, rest::bina...
27.382979
81
0.658897
218a6e223b75365388e81b7d99ffe984af711069
5,599
ex
Elixir
lib/elixir/lib/integer.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/integer.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/integer.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
defmodule Integer do @moduledoc """ Functions for working with integers. """ import Bitwise @doc """ Determines if an integer is odd. Returns `true` if `n` is an odd number, otherwise `false`. Allowed in guard clauses. """ defmacro is_odd(n) do quote do: (unquote(n) &&& 1) == 1 end @doc...
22.485944
88
0.61636
218a8db03b642636361b7a86ab89db93b071bcc5
216
ex
Elixir
deps/exfswatch/lib/exfswatch/utils.ex
eugenioLopezRamos/elixir-koans-solutions
ac183528275c1b271e66c4cd3a644784b6965335
[ "MIT" ]
null
null
null
deps/exfswatch/lib/exfswatch/utils.ex
eugenioLopezRamos/elixir-koans-solutions
ac183528275c1b271e66c4cd3a644784b6965335
[ "MIT" ]
null
null
null
deps/exfswatch/lib/exfswatch/utils.ex
eugenioLopezRamos/elixir-koans-solutions
ac183528275c1b271e66c4cd3a644784b6965335
[ "MIT" ]
null
null
null
defmodule ExFSWatch.Utils do def format_path(path) when is_list(path) do for i <- path do i |> Path.absname |> to_char_list end end def format_path(path) do [path] |> format_path end end
15.428571
45
0.652778
218aa62c9ae7402edfc7006459527d21aaf60cc7
5,057
ex
Elixir
apps/ex_wire/lib/ex_wire/packet/status.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/ex_wire/lib/ex_wire/packet/status.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/ex_wire/lib/ex_wire/packet/status.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule ExWire.Packet.Status do @moduledoc """ Status messages establish a proper Eth Wire connection, and verify the two clients are compatable. ``` **Status** [`+0x00`: `P`, `protocolVersion`: `P`, `networkId`: `P`, `td`: `P`, `bestHash`: `B_32`, `genesisHash`: `B_32`] Inform a peer of its current ether...
30.281437
168
0.603322
218add13f45fbea2c4fdb702ba46905fc46c7995
324
ex
Elixir
lib/mix/tasks/playwright.install_browsers.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
lib/mix/tasks/playwright.install_browsers.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
lib/mix/tasks/playwright.install_browsers.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Mix.Tasks.Playwright.InstallBrowsers do @moduledoc """ Installs playwright browsers. ```bash $ mix playwright.install_browsers ``` """ @shortdoc "Installs playwright browsers in OS specific locations" use Mix.Task @impl true def run(_args) do Playwright.CLI.install_browsers() end ...
18
67
0.719136
218afd40c5f23a0b18b55afe55a22ff5583c5fef
2,912
exs
Elixir
hangman/test/hangman/game_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
hangman/test/hangman/game_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
hangman/test/hangman/game_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
defmodule Hangman.GameTest do use ExUnit.Case alias Hangman.Game test "new_game returns structure" do game = Game.new_game() assert game.turns_left == 7 assert game.game_state == :initializing assert length(game.letters) > 0 end test "state isn't changed for :won or :lost game" do for ...
31.311828
59
0.653846
218afe9135793d53978abddd3cc63a96c15d27c7
417
ex
Elixir
lib/surgex/parser/parsers/slug_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
lib/surgex/parser/parsers/slug_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
lib/surgex/parser/parsers/slug_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.Parser.SlugParser do @moduledoc false @spec call(term()) :: {:ok, String.t() | nil} | {:error, :invalid_slug} def call(nil), do: {:ok, nil} def call(""), do: {:ok, nil} def call(input) when is_binary(input) do if String.match?(input, ~r/^[a-zA-Z0-9\-]+$/) do {:ok, input} else ...
23.166667
73
0.592326
218b259e2fb5a7c1870789d962189d36761aa5d4
1,549
ex
Elixir
clients/content/lib/google_api/content/v2/model/row.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/row.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/row.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...
32.957447
254
0.732085
218b38d069252f2edd6f9d435d4e85d989022db6
2,034
exs
Elixir
test/pco_api/people/workflow/card/activity_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-13T20:04:32.000Z
2020-12-03T11:25:01.000Z
test/pco_api/people/workflow/card/activity_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
23
2016-05-14T01:34:02.000Z
2016-08-16T22:34:40.000Z
test/pco_api/people/workflow/card/activity_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-27T23:40:39.000Z
2019-10-06T17:36:40.000Z
defmodule PcoApi.People.Workflow.Card.ActivityTest do use ExUnit.Case alias PcoApi.People.Workflow.Card.Activity alias TestHelper.Fixture setup do bypass = Bypass.open Application.put_env(:pco_api, :endpoint_base, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end test ".list reques...
32.806452
89
0.685349
218b3a92702a950b00a9d5667c70146bf8fae43a
135
ex
Elixir
lib/mars_web/controllers/page_controller.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
2
2020-08-28T19:17:33.000Z
2020-09-13T18:49:20.000Z
lib/mars_web/controllers/page_controller.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
5
2018-10-28T14:39:26.000Z
2019-01-31T17:23:36.000Z
lib/mars_web/controllers/page_controller.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
null
null
null
defmodule MarsWeb.PageController do use MarsWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
16.875
35
0.725926
218b7b0bb6f1adf17fbc371140372e48ae9bf37e
1,808
exs
Elixir
priv/repo/migrations/20200817112800_create_blog.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
priv/repo/migrations/20200817112800_create_blog.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
priv/repo/migrations/20200817112800_create_blog.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Repo.Migrations.CreateBlog do use Ecto.Migration def change do create table(:communication_categories) do add :name, :string add :colour, :string add :icon, :string add :public, :boolean, default: false, null: false timestamps() end create index(:commu...
26.588235
82
0.669801
218bd07f195535b10ee43a1845844e8b570e8774
384
ex
Elixir
apps/ex_cucumber/test/helpers/parameter_types/city/validator.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
apps/ex_cucumber/test/helpers/parameter_types/city/validator.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
apps/ex_cucumber/test/helpers/parameter_types/city/validator.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
defmodule Support.ParameterTypes.City.Validator do @valid_cities ["New York", "Istanbul"] def new(%Support.ParameterTypes.City.Transformer{} = transformer) do if transformer.value in @valid_cities do {:ok, transformer} else {:error, {:invalid_city, transformer.value}} end end def new(t...
27.428571
70
0.705729
218bd2954e40f993256a9c2cd2a03d1361ab02e6
278
exs
Elixir
config/test.exs
ohr486/process_mandara
8507fd0f876a27d9e3ad8dbb927e0fd0b6eb9d75
[ "MIT" ]
null
null
null
config/test.exs
ohr486/process_mandara
8507fd0f876a27d9e3ad8dbb927e0fd0b6eb9d75
[ "MIT" ]
null
null
null
config/test.exs
ohr486/process_mandara
8507fd0f876a27d9e3ad8dbb927e0fd0b6eb9d75
[ "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 :process_mandara, ProcessMandara.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
25.272727
56
0.748201
218be16ffd0f17072b4379051876f71c846e30e4
583
exs
Elixir
test/algoliax/client_test.exs
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
test/algoliax/client_test.exs
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
test/algoliax/client_test.exs
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
defmodule Algoliax.ClientTest do use Algoliax.RequestCase test "test retries" do Application.put_env(:algoliax, :api_key, "api_key") Algoliax.Client.request( %{action: :get_object, url_params: [index_name: :index_name, object_id: "error"]}, 0 ) assert_request("GET", "/APPLICATION_ID/r...
32.388889
88
0.689537
218bf678e36efcc95b72ae9726e14004d3ab768b
1,979
exs
Elixir
clients/cloud_error_reporting/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.537313
196
0.671551
218bfb745f3a7a8210bee9393950d26e6357b09f
81
ex
Elixir
v02/ch09/hello3.edit1.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch09/hello3.edit1.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch09/hello3.edit1.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
defmodule Hello3 do Y.puts "Hi!" def greet do Y.puts "Hello!" end end
10.125
19
0.617284
218c1882bae6104780f5a4b883dcc852cb1fd38a
840
ex
Elixir
elixir/elixir-sips/samples/twitter_playground/test/support/conn_case.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/twitter_playground/test/support/conn_case.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/twitter_playground/test/support/conn_case.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule TwitterPlayground.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 imports other functionalities to make it easier to build and query models. Finally, if the test case interacts...
27.096774
56
0.736905
218c2bf3eaaa9d646027f27fb0b5cca077140864
1,745
exs
Elixir
test/models/tp_shared_group_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/models/tp_shared_group_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/models/tp_shared_group_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpSharedGroupTest do use CgratesWebJsonapi.ModelCase alias CgratesWebJsonapi.TpSharedGroup alias CgratesWebJsonapi.Repo import CgratesWebJsonapi.Factory @valid_attrs %{tag: "some content", strategy: "true", rating_subject: "some content", account: "some content",...
29.083333
87
0.647564
218c3a99299eedf6679d40c7c909708e93db7365
2,838
ex
Elixir
lib/we_reports_web/controllers/proposition_controller.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
null
null
null
lib/we_reports_web/controllers/proposition_controller.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
5
2020-09-09T01:41:39.000Z
2021-05-11T00:18:38.000Z
lib/we_reports_web/controllers/proposition_controller.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
null
null
null
defmodule WeReportsWeb.PropositionController do use WeReportsWeb, :controller alias WeReports.Groups alias WeReports.Propositions def index(conn, %{"group_id" => group_id}) do group = Propositions.list_propositions(group_id) render(conn, "index.html", group: group) rescue Ecto.NoResultsError -> ...
33.785714
102
0.673362
218c92029614078091973ab188bf9b32d95cb890
1,114
ex
Elixir
lib/chinese_translation/iterable.ex
tyrchen/chinese_translation
941e5cf842e2c08f1d0cba1684ff4f5714cade0d
[ "MIT" ]
93
2015-03-04T07:22:22.000Z
2022-03-20T08:43:30.000Z
lib/chinese_translation/iterable.ex
tyrchen/chinese_translation
941e5cf842e2c08f1d0cba1684ff4f5714cade0d
[ "MIT" ]
50
2018-07-29T14:47:41.000Z
2019-10-20T01:26:51.000Z
lib/chinese_translation/iterable.ex
tyrchen/chinese_translation
941e5cf842e2c08f1d0cba1684ff4f5714cade0d
[ "MIT" ]
13
2015-03-06T14:36:53.000Z
2022-01-12T03:46:50.000Z
defmodule ChineseTranslation.Iterable do @moduledoc """ support for iterable functions """ @not_implemented "not implemented" def filter_by(iterable, :key_len, comp, value) do k = key_fun(:key_len) c = comp_fun(comp) iterable |> Stream.filter(&c.(k.(&1), value)) end def filter_by(iterab...
21.018868
73
0.544883
218c9c0bd1b496d6653af8d9bbae44478276707a
1,516
exs
Elixir
test/local_hex/documentation/cache_test.exs
imsoulfly/local_hex_repo
18fca51c44b3dd01d27684877b3c7bc13471f548
[ "Apache-2.0" ]
5
2021-11-13T13:58:06.000Z
2022-03-26T03:47:57.000Z
test/local_hex/documentation/cache_test.exs
imsoulfly/local_hex_repo
18fca51c44b3dd01d27684877b3c7bc13471f548
[ "Apache-2.0" ]
3
2021-11-16T18:45:45.000Z
2021-12-05T13:58:25.000Z
test/local_hex/documentation/cache_test.exs
imsoulfly/local_hex_repo
18fca51c44b3dd01d27684877b3c7bc13471f548
[ "Apache-2.0" ]
null
null
null
defmodule LocalHex.Documentation.CacheTest do use LocalHex.StorageCase, async: false alias LocalHex.Documentation.Cache alias LocalHex.Repository test "provides cache_path to documentation after lazily downloading it" do repository = repository_config() expected_file_path = Path.join([ Applicati...
34.454545
105
0.674802
218ca68e2ce981e099629f7d05354168a3842004
1,007
ex
Elixir
apps/cms/lib/page/person.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/lib/page/person.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/lib/page/person.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.Page.Person do @moduledoc """ Represents a "person" content type in the Drupal CMS. """ import CMS.Helpers, only: [field_value: 2, handle_html: 1, parse_image: 2, parse_path_alias: 1] import Phoenix.HTML, only: [raw: 1] alias CMS.Field.Image alias Phoenix.HTML @enforce_keys [:id] ...
26.5
90
0.613704
218cb4721194e9b16f3a9cdd375ab4ea9dff1523
6,654
ex
Elixir
lib/teslamate_web/live/geofence_live/form.ex
wishbone1138/teslamate
6047e1306a67241cbfccf3e33dc2cf2636c55a66
[ "MIT" ]
null
null
null
lib/teslamate_web/live/geofence_live/form.ex
wishbone1138/teslamate
6047e1306a67241cbfccf3e33dc2cf2636c55a66
[ "MIT" ]
null
null
null
lib/teslamate_web/live/geofence_live/form.ex
wishbone1138/teslamate
6047e1306a67241cbfccf3e33dc2cf2636c55a66
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.GeoFenceLive.Form do use Phoenix.LiveView require Logger alias TeslaMateWeb.{GeoFenceLive, GeoFenceView} alias TeslaMateWeb.Router.Helpers, as: Routes alias TeslaMate.{Log, Locations, Settings, Convert} alias TeslaMate.Settings.{GlobalSettings, CarSettings} alias TeslaMate.Log.{C...
30.805556
93
0.626991
218cc0cb1d530368e2d50850708a90a3822a0717
2,338
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_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/list_update_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...
39.627119
194
0.715141
218cc890a0a28def21f458589b8a15b82fb184d6
291
exs
Elixir
priv/repo/migrations/20190219072112_create_reports.exs
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
1
2019-05-03T13:39:40.000Z
2019-05-03T13:39:40.000Z
priv/repo/migrations/20190219072112_create_reports.exs
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
13
2019-03-27T05:40:41.000Z
2019-05-24T10:43:31.000Z
priv/repo/migrations/20190219072112_create_reports.exs
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
null
null
null
defmodule Towwwer.Repo.Migrations.CreateReports do use Ecto.Migration def change do create table(:reports) do add :data, :map add :monitor_id, references(:monitors, on_delete: :delete_all) timestamps() end create index(:reports, [:monitor_id]) end end
19.4
68
0.683849
218ced7a2c286b70f265236b4e5fc90a1081c273
1,964
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1beta1_workload_i_l4_settings.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1beta1_workload_i_l4_settings.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1beta1_workload_i_l4_settings.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...
35.071429
219
0.769348
218d05e4a7f5d29aee00ec99109e745124d179cd
12,852
ex
Elixir
lib/cldr/datetime/relative.ex
tcitworld/cldr_dates_times
4b2cff026b135caf840c471c42a0d27c4953e2e4
[ "Apache-2.0" ]
null
null
null
lib/cldr/datetime/relative.ex
tcitworld/cldr_dates_times
4b2cff026b135caf840c471c42a0d27c4953e2e4
[ "Apache-2.0" ]
null
null
null
lib/cldr/datetime/relative.ex
tcitworld/cldr_dates_times
4b2cff026b135caf840c471c42a0d27c4953e2e4
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.DateTime.Relative do @moduledoc """ Functions to support the string formatting of relative time/datetime numbers. This module provides formatting of numbers (as integers, floats, Dates or DateTimes) as "ago" or "in" with an appropriate time unit. For example, "2 days ago" or "in 10 seconds" ...
31.346341
168
0.653361
218d705b346fbfdf232443362a24d295397e4483
2,780
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/horizontal_rule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/horizontal_rule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/horizontal_rule.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...
41.492537
201
0.719424
218da37a76ffa4899ed9f3cc88671c5ca4d9042d
924
ex
Elixir
lib/elixirfm/geo.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
9
2016-10-04T10:09:17.000Z
2020-10-20T10:34:47.000Z
lib/elixirfm/geo.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
4
2017-06-19T11:11:15.000Z
2021-11-10T04:31:45.000Z
lib/elixirfm/geo.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
2
2018-10-12T09:53:36.000Z
2019-09-29T13:19:41.000Z
defmodule Elixirfm.Geo do @moduledoc "Last.fm Geo endpoint api" @method "geo" defp req(uri, args), do: Elixirfm.get_request(@method <> uri, args) @doc """ Get the most popular artists on Last.fm by country. ```query``` must be a country name, as defined by the [ISO 3166-1](http://www.nationsonline.org...
40.173913
153
0.686147
218db217fdbfe43e33ccb46a56f4ab94718b6659
8,395
exs
Elixir
test/mssqlex/transaction_test.exs
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
45
2017-02-21T13:30:21.000Z
2021-12-19T20:04:49.000Z
test/mssqlex/transaction_test.exs
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
21
2017-03-29T11:48:40.000Z
2020-12-11T15:18:23.000Z
test/mssqlex/transaction_test.exs
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
23
2017-04-13T10:07:34.000Z
2022-03-26T02:38:10.000Z
defmodule Mssqlex.TransactionTest do use ExUnit.Case, async: true alias Mssqlex.Result setup_all do {:ok, pid} = Mssqlex.start_link([]) Mssqlex.query!(pid, "DROP DATABASE IF EXISTS transaction_test;", []) {:ok, _, _} = Mssqlex.query(pid, "CREATE DATABASE transaction_test;", []) {:ok, [pid: pid]...
29.559859
80
0.438237
218ddd3bfc5ecdd9388753d8d496745d22c25715
1,462
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/raw_indices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/raw_indices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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/raw_indices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.106383
129
0.733926
218de887549a6e0772d599a4c4823d1b6d9a2162
16,376
exs
Elixir
test/swoosh/adapters/postmark_test.exs
jakubpawlowicz/swoosh
694e2d4c49883abd526b0218521f287771477704
[ "MIT" ]
null
null
null
test/swoosh/adapters/postmark_test.exs
jakubpawlowicz/swoosh
694e2d4c49883abd526b0218521f287771477704
[ "MIT" ]
null
null
null
test/swoosh/adapters/postmark_test.exs
jakubpawlowicz/swoosh
694e2d4c49883abd526b0218521f287771477704
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.PostmarkTest do use Swoosh.AdapterCase, async: true import Swoosh.Email alias Swoosh.Adapters.Postmark @success_response """ { "ErrorCode": 0, "Message": "OK", "MessageID": "b7bc2f4a-e38e-4336-af7d-e6c392c2f817", "SubmittedAt": "2010-11-26T12:01:05.1794748...
33.217039
137
0.552455
218df39e752357a48afc5b55ad5ff3e6a454d1f8
3,354
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/report_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/report_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_control/lib/google_api/service_control/v1/model/report_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
59.892857
835
0.75641
218e0e3ec4b557634038f7d094504cbbd599b0a8
951
exs
Elixir
lib/mix/test/mix/dep/lock_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/test/mix/dep/lock_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep/lock_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Dep.LockTest do use MixTest.Case setup do Mix.Project.push MixTest.Case.Sample :ok end test "creates new lock and manifest files" do in_fixture "no_mixfile", fn -> Mix.Dep.Lock.write %{foo: :bar} assert File.regular? "mi...
25.702703
64
0.660358
218e10b3e862b5003256d57bf0a51c09762d2a0c
5,798
exs
Elixir
test/liblink/cluster/discover/device_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/cluster/discover/device_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/cluster/discover/device_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 Xerpa # 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, soft...
31.68306
98
0.590893
218e31f4d1d8051c97caa4b4cfe07f44b9f4e74a
1,011
ex
Elixir
server/lib/freedom_account_web/schema/account_types.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
6
2019-04-03T19:16:01.000Z
2020-08-10T09:38:24.000Z
server/lib/freedom_account_web/schema/account_types.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
32
2019-03-19T02:45:45.000Z
2021-12-05T06:58:07.000Z
server/lib/freedom_account_web/schema/account_types.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
null
null
null
defmodule FreedomAccountWeb.Schema.AccountTypes do @moduledoc """ GraphQL type definitions for accounts. """ use Absinthe.Schema.Notation alias FreedomAccountWeb.Resolvers.Fund import_types FreedomAccountWeb.Schema.FundTypes @desc "A Freedom Account" object :account do @desc "How many regular de...
27.324324
60
0.70821
218e46a6fc128c6715a1dac20adcc10868e44ed0
9,000
ex
Elixir
lib/mail_slurp_api/api/inbox_forwarder_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/api/inbox_forwarder_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/api/inbox_forwarder_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Api.InboxForwarderController do @moduledoc """ API calls for all endpoints tagged `InboxForwarderController`. """ alias MailSlur...
32.258065
206
0.664556
218e6180f9354e3b8659508bdd62e954fe1eadb4
1,351
ex
Elixir
lib/wanon/quotes/rquote.ex
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "MIT" ]
1
2018-11-28T07:44:28.000Z
2018-11-28T07:44:28.000Z
lib/wanon/quotes/rquote.ex
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "MIT" ]
1
2018-10-24T20:59:09.000Z
2018-10-24T20:59:09.000Z
lib/wanon/quotes/rquote.ex
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "MIT" ]
null
null
null
defmodule Wanon.Quotes.RQuote do require Logger alias Wanon.Quotes.{Quote, QuoteEntry, Render} alias Wanon.Repo import Ecto.Query @telegram Application.get_env(:wanon, Wanon.Telegram.Client) def selector(%{"message" => %{"text" => text}}) do text |> String.downcase() |> String.starts_with?("/r...
21.790323
87
0.61658
218e93a83136ace12b074aa714782e5dc4661ab1
2,146
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_strategy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_strategy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_strategy.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.321429
212
0.714818
218eb1646a8b87796605e10a5c49454c43cd733a
2,708
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__env_var.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__env_var.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__env_var.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...
54.16
821
0.760709
218eb9a621e6d3ac4d1a664840b001164bedb693
2,655
ex
Elixir
builder/lib/quenya_builder/generators/fake_handler.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
builder/lib/quenya_builder/generators/fake_handler.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
builder/lib/quenya_builder/generators/fake_handler.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule QuenyaBuilder.Generator.FakeHandler do @moduledoc """ Generate fake handler for response """ require DynamicModule alias QuenyaBuilder.Util alias Quenya.ResponseHelper def gen(res, app, name, opts \\ []) do mod_name = Util.gen_fake_handler_name(app, name) preamble = gen_preamble() ...
23.705357
87
0.568362
218ee559cb5b298763faebcc0a6cbb08b87b3cf6
470
ex
Elixir
web/models/deliveryservice_regex.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/models/deliveryservice_regex.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/models/deliveryservice_regex.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.DeliveryserviceRegex do use Tox.Web, :model schema "deliveryserviceregexes" do field :deliveryservice, :integer field :regex, :integer field :set_number, :integer timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, par...
22.380952
60
0.67234
218eeb9f0cd09c7d44e428d1cafa6847c8fc1ccd
2,396
ex
Elixir
lib/graphqexl/query/result_set.ex
eslingerbryan/graphqexl
07c0058b6dd72ac374d14b6091a0280f3564e29c
[ "MIT" ]
14
2020-01-20T10:55:56.000Z
2020-03-25T11:24:35.000Z
lib/graphqexl/query/result_set.ex
eslingerbryan/graphqexl
07c0058b6dd72ac374d14b6091a0280f3564e29c
[ "MIT" ]
16
2020-01-21T00:45:50.000Z
2021-05-11T01:54:23.000Z
lib/graphqexl/query/result_set.ex
eslingerbryan/graphqexl
07c0058b6dd72ac374d14b6091a0280f3564e29c
[ "MIT" ]
1
2020-01-20T10:56:02.000Z
2020-01-20T10:56:02.000Z
alias Graphqexl.Schema alias Treex.Tree defmodule Graphqexl.Query.ResultSet do @moduledoc """ Result of a GraphQL `t:Graphqexl.Query.t/0` operation, including any errors """ @moduledoc since: "0.1.0" defstruct data: %{}, errors: %{} @type t :: %Graphqexl.Query.ResultSet{data: Map.t, errors: Map.t} @doc...
36.861538
100
0.684057
218f68680a22e2cb1c4466c3758a93eb92e5dca0
886
exs
Elixir
priv/repo/migrations/20210608023340_setup_internal_messaging_framework.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
priv/repo/migrations/20210608023340_setup_internal_messaging_framework.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
priv/repo/migrations/20210608023340_setup_internal_messaging_framework.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.Repo.Migrations.SetupInternalMessagingFramework do use Ecto.Migration def change do create table(:message_contexts) do add(:context, :string, null: false) add(:context_id, :integer, null: false) timestamps() end create table(:messages) do add(:message_con...
29.533333
74
0.680587
218f9765443f197d88bb0f4c9bc36bdc0efa23a6
62,622
ex
Elixir
lib/aws/generated/storage_gateway.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/storage_gateway.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/storage_gateway.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.StorageGateway do @moduledoc """ Storage Gateway Service Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and se...
43.367036
220
0.750615
218f99cac43e0f932469e11306e53b37081315ae
2,063
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_image_oriented_bounding_box_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_image_oriented_bounding_box_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_image_oriented_bounding_box_operation_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...
34.966102
176
0.779447
218f9cf0246a4f50af9541eb658b44332c1df159
1,131
exs
Elixir
config/config.exs
mattste/mongo_ex
dd98edfaf24627b36790920ee8122c6fbcd57490
[ "MIT" ]
null
null
null
config/config.exs
mattste/mongo_ex
dd98edfaf24627b36790920ee8122c6fbcd57490
[ "MIT" ]
null
null
null
config/config.exs
mattste/mongo_ex
dd98edfaf24627b36790920ee8122c6fbcd57490
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.751547
218fa25abc25da77a2e7efed1dbe8fbb7297c319
2,935
exs
Elixir
test/mssql_ecto/index_test.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
test/mssql_ecto/index_test.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
test/mssql_ecto/index_test.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
defmodule MssqlEcto.IndexTest do use MssqlEcto.Case, async: true import Ecto.Migration, only: [index: 2, index: 3] test "create index" do create = {:create, index(:posts, [:category_id, :permalink])} assert execute_ddl(create) == [ ~s|CREATE INDEX "posts_category_id_permalin...
29.646465
113
0.581261
218fb279a3a100e5f479ec82e47f6051fbd277ec
596
exs
Elixir
elixir/poker/mix.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/poker/mix.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/poker/mix.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule Poker.MixProject do use Mix.Project def project do [ app: :poker, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appli...
19.866667
87
0.560403
218fb8af9383eddf587bbc540c2436c74ed6362a
808
ex
Elixir
lib/phoenix/live_dashboard/layout_view.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
lib/phoenix/live_dashboard/layout_view.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/phoenix/live_dashboard/layout_view.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
1
2020-11-16T14:01:08.000Z
2020-11-16T14:01:08.000Z
defmodule Phoenix.LiveDashboard.LayoutView do @moduledoc false use Phoenix.LiveDashboard.Web, :view js_path = Path.join(__DIR__, "../../../priv/static/js/app.js") css_path = Path.join(__DIR__, "../../../priv/static/css/app.css") @external_resource js_path @external_resource css_path @app_js File.read!(...
27.862069
77
0.689356
218fbcd6046637425b7b449687dd1157901bc083
412
exs
Elixir
fibonacci/test/fibonacci/day01_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
fibonacci/test/fibonacci/day01_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
fibonacci/test/fibonacci/day01_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule Fibonacci.Day01Test do use ExUnit.Case, async: true alias Fibonacci.Day01, as: Fibonacci setup do: {:ok, fib: Fibonacci.create()} test "first number is zero", %{fib: fib}, do: assert Fibonacci.get(fib, 1) == 1 test "third number is two", %{fib: fib}, do: assert Fibonacci.get(fib, 3) == 2...
24.235294
47
0.645631
218fd296dfa4291855f292331873a08ed72c3282
2,473
exs
Elixir
priv/repo/migrations/20210728180507_add_num_players_to_experiments.exs
b-a-b-e/ProComPrag
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
1
2020-05-31T21:54:40.000Z
2020-05-31T21:54:40.000Z
priv/repo/migrations/20210728180507_add_num_players_to_experiments.exs
b-a-b-e/ProComPrag
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
64
2019-07-29T22:06:16.000Z
2022-03-28T23:46:58.000Z
priv/repo/migrations/20210728180507_add_num_players_to_experiments.exs
babe-project/BABE
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
1
2019-07-28T19:17:43.000Z
2019-07-28T19:17:43.000Z
defmodule Magpie.Repo.Migrations.AddNumPlayersToExperiments do use Ecto.Migration def up do drop( index(:experiment_statuses, [:experiment_id, :generation, :variant, :chain]) ) drop( index( :experiment_results, [:experiment_id, :generation, :variant, :chain, :is_intermediat...
26.591398
105
0.647392
21900d159d0c6d9a14a11167ddd4653e9e41ba85
559
ex
Elixir
lib/panda/application.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
lib/panda/application.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
lib/panda/application.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
defmodule Panda.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false # List all child processes to be supervised children = [ worker(Panda.M...
26.619048
66
0.713775
2190a5bd9665973afc776acb3167581a00195840
2,420
ex
Elixir
lib/harness/renderer/utils.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
lib/harness/renderer/utils.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
lib/harness/renderer/utils.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
defmodule Harness.Renderer.Utils do @moduledoc false alias IO.ANSI # generally useful functions for rendering @doc """ Formats a native time into a human readable format Most times will be in the µs range because file operations are kinda slow. A generator would have to be fairly large and a computer ...
30.25
79
0.672727
2190c1535ea9910724e6bf385c7481dc0fbbfb3a
355
ex
Elixir
lib/transit_realtime/alert/effect.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
lib/transit_realtime/alert/effect.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
lib/transit_realtime/alert/effect.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule TransitRealtime.Alert.Effect do @moduledoc false use Protobuf, enum: true, syntax: :proto2 field(:NO_SERVICE, 1) field(:REDUCED_SERVICE, 2) field(:SIGNIFICANT_DELAYS, 3) field(:DETOUR, 4) field(:ADDITIONAL_SERVICE, 5) field(:MODIFIED_SERVICE, 6) field(:OTHER_EFFECT, 7) field(:UNKNOWN_EFFE...
23.666667
43
0.726761
21910ae3054d649638eb53773d508ac6cab81122
155
ex
Elixir
lib/mango_web/views/category_view.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
4
2019-07-17T04:46:37.000Z
2020-09-20T14:15:23.000Z
lib/mango_web/views/category_view.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
null
null
null
lib/mango_web/views/category_view.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
1
2019-07-17T04:46:39.000Z
2019-07-17T04:46:39.000Z
defmodule MangoWeb.CategoryView do use MangoWeb, :view def title_case(name) do name |> String.downcase() |> String.capitalize() end end
15.5
34
0.677419
21915791919e1de942b73f645c99742565aa8af9
903
ex
Elixir
test/support/conn_case.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
null
null
null
test/support/conn_case.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
2
2021-03-09T16:25:19.000Z
2021-05-10T11:12:55.000Z
test/support/conn_case.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
1
2021-07-04T09:01:31.000Z
2021-07-04T09:01:31.000Z
defmodule HippoGameLiveWeb.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,...
27.363636
59
0.734219
21918cd81a5164a81ff67ae2f35e69b34cf937b0
2,220
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/customer_encryption_key.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/customer_encryption_key.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/customer_encryption_key.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...
39.642857
213
0.723423
2191c24a205eb8bcd83058dab66e6869287052e6
5,965
ex
Elixir
lib/mix/tasks/conduit.gen.broker.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
lib/mix/tasks/conduit.gen.broker.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
lib/mix/tasks/conduit.gen.broker.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Conduit.Gen.Broker do use Mix.Task import Mix.Generator import Mix.Shell.IO @shortdoc "Generates a broker for sending and receiving messages" @moduledoc """ Generates a broker for sending and receiving messages. mix conduit.gen.broker [--adapter ADAPTER] [--module BROKER_MODULE] ...
25.711207
90
0.605365
2191f83f41783db50c9aff38a8820086c4aee82c
1,503
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/empty_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/empty_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/empty_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.978723
112
0.747838
219218e20f8019d3a0feb77ce3b4ed9ff47a3e29
9,299
ex
Elixir
lib/states_language.ex
CityBaseInc/states_language
474b8a46f392b62d03c5ff5ed7f10f576b3166d7
[ "MIT" ]
67
2019-12-04T07:31:58.000Z
2020-04-02T21:52:44.000Z
lib/states_language.ex
CityBaseInc/states_language
474b8a46f392b62d03c5ff5ed7f10f576b3166d7
[ "MIT" ]
5
2019-12-04T18:53:08.000Z
2020-04-02T19:02:34.000Z
lib/states_language.ex
CityBaseInc/states_language
474b8a46f392b62d03c5ff5ed7f10f576b3166d7
[ "MIT" ]
7
2019-12-05T11:41:48.000Z
2020-04-02T14:08:27.000Z
defmodule StatesLanguage do @moduledoc """ A macro to parse [StatesLanguage](https://states-language.net/spec.html) JSON and create :gen_statem modules """ alias StatesLanguage.{AST, Graph, SchemaLoader} alias Xema.Validator require Logger @schema :states_language |> :code.priv_dir() ...
32.400697
285
0.600065
21925ed2dfbac9eed7b36b9390c67cda58a309c0
3,101
ex
Elixir
lib/bokken/gamification.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
7
2020-10-19T14:06:46.000Z
2022-02-19T09:53:02.000Z
lib/bokken/gamification.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
5
2017-08-24T10:38:46.000Z
2021-05-26T16:48:22.000Z
lib/bokken/gamification.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
2
2017-08-25T18:38:11.000Z
2021-07-15T00:57:33.000Z
defmodule Bokken.Gamification do @moduledoc """ The Gamification context. """ import Ecto.Query, warn: false alias Bokken.Repo alias Bokken.Accounts alias Bokken.Gamification.Badge alias Bokken.Gamification.BadgeNinja alias Bokken.Uploaders.Emblem @doc """ Returns the list of badges. Takes a...
20.006452
86
0.609803
21927755fbe6355d08c8f08819c9b05c6d48b664
169
ex
Elixir
lib/client/photo/photo_response.ex
factor18/pexels
c6655f7dd0e58a9a06b6b7a02e74b3f009cd7b01
[ "MIT" ]
5
2021-05-10T12:10:02.000Z
2021-05-24T08:15:42.000Z
lib/client/photo/photo_response.ex
factor18/pexels
c6655f7dd0e58a9a06b6b7a02e74b3f009cd7b01
[ "MIT" ]
null
null
null
lib/client/photo/photo_response.ex
factor18/pexels
c6655f7dd0e58a9a06b6b7a02e74b3f009cd7b01
[ "MIT" ]
1
2021-05-13T16:49:17.000Z
2021-05-13T16:49:17.000Z
defmodule Pexels.Client.Photo.PhotoResponse do alias Pexels.Photo use Accessible use Construct do field :photo, Photo field :liked, :boolean end end
15.363636
46
0.721893
2192808b1ed5de8bc734461ec38859d63522435c
803
ex
Elixir
lib/terp/io.ex
tpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
23
2017-09-22T07:13:34.000Z
2021-06-08T14:50:06.000Z
lib/terp/io.ex
smpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
5
2017-08-26T18:40:54.000Z
2017-09-28T00:24:50.000Z
lib/terp/io.ex
smpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
4
2017-09-27T23:14:59.000Z
2021-06-08T14:50:12.000Z
defmodule Terp.IO do @moduledoc """ Read and evaluate a file containing terp code. """ alias Terp.Error alias Terp.TypeSystem @doc """ Given a filepath, reads the file and evaluates its contents. Valid terp files end in `.tp`. """ def run_terp(file) do with true <- is_terp_file(file), ...
22.942857
63
0.60274
2192996078f1796065a564e2f612d980a78b297f
2,852
ex
Elixir
clients/books/lib/google_api/books/v1/model/usersettings_notification.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/usersettings_notification.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/lib/google_api/books/v1/model/usersettings_notification.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.269841
127
0.755259
2192f61c7da7765ceabb7f07498164be2ac30d2a
585
ex
Elixir
priv/catalogue/catalogue.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
priv/catalogue/catalogue.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
priv/catalogue/catalogue.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.Catalogue do @moduledoc """ Catalogue implementation for Lotus. Allows calalogue tools to properly run examples and playgrounds provided by this lib. """ use Surface.Catalogue load_asset("assets/app.js", as: :app_js) load_asset("assets/app.css", as: :app_css) @impl true def config...
21.666667
74
0.605128
2193160255201569d984ab519bb80d0ddff87b01
4,392
exs
Elixir
test/sanbase_web/graphql/projects/projects_by_function_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase_web/graphql/projects/projects_by_function_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase_web/graphql/projects/projects_by_function_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.ProjectsByFunctionTest do use SanbaseWeb.ConnCase, async: false import SanbaseWeb.Graphql.TestHelpers import Sanbase.Factory setup do infr_eth = insert(:infrastructure, %{code: "ETH"}) stablecoin = insert(:market_segment, %{name: "stablecoin"}) coin = insert(:market_s...
33.022556
97
0.616803
21931624c5c9487a55516334ff12814f6cc93b12
1,075
ex
Elixir
lib/tangent/test.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
lib/tangent/test.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
lib/tangent/test.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
defmodule Tangent.Test do @moduledoc """ Test helpers to register agent state overloads. ## Usage defmodule MyTest do use ExUnit.Case, async: true use Tangent.Test setup do Tangent.Test.overload(MyAgent) end # // ... end """ defmacro __using__...
24.431818
87
0.652093
21933c4a4cb1cf70829cb8eedde9ecc9bb1d2314
1,450
exs
Elixir
mix.exs
adriankumpf/fritz-api
ba84025a6c418990123fc1c6279c8a0e0939c2c3
[ "MIT" ]
4
2018-05-20T14:00:59.000Z
2021-01-22T04:44:55.000Z
mix.exs
adriankumpf/fritz-api
ba84025a6c418990123fc1c6279c8a0e0939c2c3
[ "MIT" ]
48
2019-05-27T12:39:40.000Z
2022-03-07T18:13:22.000Z
mix.exs
adriankumpf/fritz-api
ba84025a6c418990123fc1c6279c8a0e0939c2c3
[ "MIT" ]
null
null
null
defmodule FritzApi.Mixfile do use Mix.Project @name "FritzApi" @version "2.0.0" @url "https://github.com/adriankumpf/fritz-api" def project do [ app: :fritz_api, version: @version, elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: ...
23.770492
96
0.59931
2193867a03cc0918bf5b890a56dd6727a9a1e92f
3,847
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.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...
48.0875
206
0.721341
219391e346eb90bed3932e00f8891e9f98cde1e0
1,257
exs
Elixir
2019/day07/pass.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2019/day07/pass.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2019/day07/pass.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
defmodule PassAround do import :timer, only: [ sleep: 1 ] def pass(controller, name, nextpid \\ nil) do receive do {:next, nextpid} when is_pid(nextpid) -> pass(controller, name, nextpid) {value} when is_integer(value) -> case value > 0 do true -> IO.puts("#{na...
24.647059
80
0.550517
2193cbff7f8220a84d2db292e8a3529e5fa47bf1
2,213
exs
Elixir
app/config/prod.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/config/prod.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/config/prod.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "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 # ReadingListWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # ...
34.046154
67
0.726615
2193d65614cd6768b1fd13c573b521c9eff62c48
12,225
ex
Elixir
lib/mix/tasks/phx.gen.context.ex
jwarwick/phoenix
46dccaec5c7b79ab3fa863b2138d5a9eb6b4a34b
[ "MIT" ]
1
2021-06-26T03:57:48.000Z
2021-06-26T03:57:48.000Z
lib/mix/tasks/phx.gen.context.ex
jwarwick/phoenix
46dccaec5c7b79ab3fa863b2138d5a9eb6b4a34b
[ "MIT" ]
1
2020-04-28T21:39:07.000Z
2020-04-28T21:39:07.000Z
lib/mix/tasks/phx.gen.context.ex
jwarwick/phoenix
46dccaec5c7b79ab3fa863b2138d5a9eb6b4a34b
[ "MIT" ]
1
2021-06-22T08:06:06.000Z
2021-06-22T08:06:06.000Z
defmodule Mix.Tasks.Phx.Gen.Context do @shortdoc "Generates a context with functions around an Ecto schema" @moduledoc """ Generates a context with functions around an Ecto schema. mix phx.gen.context Accounts User users name:string age:integer The first argument is the context module followed by the s...
33.677686
143
0.70544
2193d9d3b74848a071605c159bcf547514cd72fd
91
ex
Elixir
day1/hello.ex
tochukaso/elixir-study
34e7ee4643e4c5f7becf233630c51146fae15140
[ "MIT" ]
3
2020-12-21T07:31:53.000Z
2021-07-07T05:11:32.000Z
day1/hello.ex
tochukaso/elixir-study
34e7ee4643e4c5f7becf233630c51146fae15140
[ "MIT" ]
null
null
null
day1/hello.ex
tochukaso/elixir-study
34e7ee4643e4c5f7becf233630c51146fae15140
[ "MIT" ]
null
null
null
defmodule Hello do def hello(name \\ "") do IO.puts("Hello world #{name}") end end
15.166667
34
0.615385
2193f5a880daa78b9be02d433e57b4bb64306f45
790
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/effective_route.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/effective_route.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/effective_route.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.EffectiveRoute do @moduledoc """ Effective Route """ @derive [Poison.Encoder] defstruct [ ...
21.944444
87
0.655696
219416a1d642eb21194df74bdf4e6e32fc8f991a
8,007
ex
Elixir
lib/fun_land/monad.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
47
2016-07-10T15:40:21.000Z
2019-04-22T09:41:01.000Z
lib/fun_land/monad.ex
Qqwy/elixir-fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
34
2019-08-30T05:27:17.000Z
2022-03-23T18:22:32.000Z
lib/fun_land/monad.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
3
2016-07-23T16:23:31.000Z
2019-02-03T17:18:47.000Z
defmodule FunLand.Monad do @moduledoc """ A Monad: a sequence of operations inside a context. Monads are hard to explain, because they are very powerful but extremely general at the same time. Simply put: To be a Monad, something has to be Applicative, as well as Chainable (and therefore also be Appliable and...
34.07234
227
0.660297
219481f898bffc977961c518c85d68c15254415a
10,527
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/api/operations.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 ...
47.85
196
0.649853
2194c34357c646d3593d2ac4de249dc020184fa3
5,683
ex
Elixir
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommender/lib/google_api/recommender/v1/model/google_cloud_recommender_v1_recommendation.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...
55.715686
527
0.733239
2194ce9906d9097cb030a7300f4b39cbcbea21b3
171
ex
Elixir
lib/fake_server/env.ex
JacksonIsaac/fake_server
a646287b252d1ce4da4b61eac50e897a6423b7ed
[ "Apache-2.0" ]
null
null
null
lib/fake_server/env.ex
JacksonIsaac/fake_server
a646287b252d1ce4da4b61eac50e897a6423b7ed
[ "Apache-2.0" ]
null
null
null
lib/fake_server/env.ex
JacksonIsaac/fake_server
a646287b252d1ce4da4b61eac50e897a6423b7ed
[ "Apache-2.0" ]
null
null
null
defmodule FakeServer.Env do @moduledoc false defstruct [ip: "127.0.0.1", port: nil, routes: [], hits: 0] def new(port) do %FakeServer.Env{port: port} end end
19
61
0.654971