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
e9b1b95669a8611d45b0125acfc3c79178d84c43
6,225
exs
Elixir
test/text_delta_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
48
2017-05-29T19:39:42.000Z
2022-03-28T15:53:29.000Z
test/text_delta_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
1
2017-05-26T15:03:30.000Z
2017-05-26T15:37:16.000Z
test/text_delta_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
6
2017-11-30T16:54:27.000Z
2021-05-19T10:27:12.000Z
defmodule TextDeltaTest do use ExUnit.Case use EQC.ExUnit import TextDelta.Generators alias TextDelta.Operation doctest TextDelta describe "compaction" do property "consecutive operations with same attributes compact" do forall ops <- list(oneof([bitstring_insert(), retain(), delete()])) do ...
27.302632
76
0.564016
e9b1e462a9d9ea1b4b51ca686ce56a34a7263cf3
1,586
ex
Elixir
test/support/data_case.ex
sekunho/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
1
2020-03-22T12:07:10.000Z
2020-03-22T12:07:10.000Z
test/support/data_case.ex
unsek/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
null
null
null
test/support/data_case.ex
unsek/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
null
null
null
defmodule Didgencoughtoday.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes ...
28.321429
78
0.699243
e9b1f86786d0928256fe77ec41c78dca56438c9a
2,134
exs
Elixir
test/module_information_test.exs
Health-Union/doctor
9dd8305dfaf31efafd71d9f7fe30e3c769bfdffd
[ "MIT" ]
null
null
null
test/module_information_test.exs
Health-Union/doctor
9dd8305dfaf31efafd71d9f7fe30e3c769bfdffd
[ "MIT" ]
1
2022-02-23T21:26:30.000Z
2022-02-23T21:28:17.000Z
test/module_information_test.exs
Health-Union/doctor
9dd8305dfaf31efafd71d9f7fe30e3c769bfdffd
[ "MIT" ]
null
null
null
defmodule Doctor.ModuleInformationTest do use ExUnit.Case alias Doctor.{ModuleInformation, ModuleReport} describe "build/2" do test "should find all of the docs for a module where all docs are present" do full_func_list = [:func_1, :func_2, :func_3, :func_4, :func_5, :func_5, :func_6] module_in...
30.056338
86
0.629803
e9b25ecbc1d2ad5f8ec21991cda4a7b7c2f5428e
1,661
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/activity_content_details_favorite.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/activity_content_details_favorite.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/lib/google_api/you_tube/v3/model/activity_content_details_favorite.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...
35.340426
193
0.758579
e9b25f422da9ba4d5ec17c5ec3b762a69475ace7
743
exs
Elixir
streamer/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
streamer/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
streamer/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Streamer.Mixfile do use Mix.Project def project do [app: :streamer, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for ...
21.852941
79
0.625841
e9b29aa4868e32ca9ecff039a36ce4cbf8ca8f67
128
exs
Elixir
apps/fileTransfers/test/fileTransfers_test.exs
dcbartlett/exFACI
ab8ba1c9490dbe22960d4241434452ba0f55f4ef
[ "MIT" ]
null
null
null
apps/fileTransfers/test/fileTransfers_test.exs
dcbartlett/exFACI
ab8ba1c9490dbe22960d4241434452ba0f55f4ef
[ "MIT" ]
null
null
null
apps/fileTransfers/test/fileTransfers_test.exs
dcbartlett/exFACI
ab8ba1c9490dbe22960d4241434452ba0f55f4ef
[ "MIT" ]
null
null
null
defmodule FileTransfersTest do use ExUnit.Case doctest FileTransfers test "the truth" do assert 1 + 1 == 2 end end
14.222222
30
0.703125
e9b2a3b5380f3a05a264b36880e0e141e3bcfd36
2,367
exs
Elixir
test/test_helper.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/test_helper.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
test/test_helper.exs
jdoig/ecto_mnesia
592cc47219a18158176e1445132370890a4f0be3
[ "MIT" ]
null
null
null
Code.require_file "support/test_repo.exs", __DIR__ ExUnit.start(exclude: [ :composite_pk, :unique_constraint, :join, :foreign_key_constraint, :returning, :with_conflict_target, :without_conflict_target, :invalid_prefix, ]) # Configure Ecto for support and tests Application.put_env(:ecto, :primary_key_t...
29.962025
87
0.768483
e9b2a85edceec2938716aece3c34d042d315d2e8
1,157
ex
Elixir
lib/teslamate_web/router.ex
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
lib/teslamate_web/router.ex
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
lib/teslamate_web/router.ex
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.Router do use TeslaMateWeb, :router alias TeslaMate.Settings pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug TeslaMateWeb.LocalePlug, backend: TeslaMateWeb.Gettext plug Phoenix.LiveView.Flash plug :protect_from_forgery pl...
27.547619
96
0.700086
e9b2b8650f1f5bf3cf22d2ee96ffa6e6cbee765c
7,546
ex
Elixir
lib/mojito.ex
Vaysman/mojito
abfbedceea04bbdd66a1bbe20d3cb22b10642039
[ "MIT" ]
null
null
null
lib/mojito.ex
Vaysman/mojito
abfbedceea04bbdd66a1bbe20d3cb22b10642039
[ "MIT" ]
null
null
null
lib/mojito.ex
Vaysman/mojito
abfbedceea04bbdd66a1bbe20d3cb22b10642039
[ "MIT" ]
null
null
null
defmodule Mojito do @moduledoc ~S""" Mojito is an easy-to-use, high-performance HTTP client built using the low-level [Mint library](https://github.com/ericmj/mint). Mojito is built for comfort _and_ for speed. Behind a simple and predictable interface, there is a sophisticated connection pool manager tha...
38.896907
330
0.69507
e9b2d89f18fbcdcd87beaf4261349457294db6db
7,103
ex
Elixir
lib/goth/config.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
lib/goth/config.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
lib/goth/config.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
defmodule Goth.Config do @moduledoc """ `Goth.Config` is a `GenServer` that holds the current configuration. This configuration is loaded from one of four places: 1. a JSON string passed in via your application's config 2. a ENV variable passed in via your application's config 3. The Application Default Cr...
28.412
106
0.635225
e9b2e547492e1a4266d0806d4def431dd84933ef
799
ex
Elixir
lib/phoenix_gon/pipeline.ex
percygrunwald/phoenix_gon
2cbb6328872db1cdf32cfd762a4906747a5b6c76
[ "MIT" ]
null
null
null
lib/phoenix_gon/pipeline.ex
percygrunwald/phoenix_gon
2cbb6328872db1cdf32cfd762a4906747a5b6c76
[ "MIT" ]
null
null
null
lib/phoenix_gon/pipeline.ex
percygrunwald/phoenix_gon
2cbb6328872db1cdf32cfd762a4906747a5b6c76
[ "MIT" ]
null
null
null
defmodule PhoenixGon.Pipeline do import Plug.Conn @moduledoc """ Plug for initializing gon with settings. """ @doc """ Initializer methods. Returns map wiith configuration settings. """ @spec init(Keyword.t) :: Map.t def init(defaults) do %{ env: Keyword.get(defaults, :env, Mix.env), asse...
24.212121
89
0.682103
e9b2ee1a58ec1792debc9f6c27d8fd3cea5d8afe
1,971
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/sql_instances_start_external_sync_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/sql_instances_start_external_sync_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/sql_instances_start_external_sync_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.188679
155
0.739726
e9b2f16cf7cb7fe0a36437a334af873dc969cb8f
40,004
ex
Elixir
lib/ecto/repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
36.334242
132
0.674483
e9b333f81d0101cfaa503c6ece7b6b15652c9d0d
712
ex
Elixir
lib/ex_changerate/latest_rates.ex
81dr/ex_changerate
b5df0d1aeac755d2826d000b08e23077ca7a0c62
[ "0BSD" ]
2
2020-06-07T09:29:23.000Z
2020-11-16T01:59:40.000Z
lib/ex_changerate/latest_rates.ex
81dr/ex_changerate
b5df0d1aeac755d2826d000b08e23077ca7a0c62
[ "0BSD" ]
null
null
null
lib/ex_changerate/latest_rates.ex
81dr/ex_changerate
b5df0d1aeac755d2826d000b08e23077ca7a0c62
[ "0BSD" ]
null
null
null
defmodule ExChangerate.LatestRates do @moduledoc """ Enables the use of Latest Rates Endpoint *Note from documentation: Get the latest foreign exchange reference rates. Latest endpoint will return exchange rate data updated on daily basis.* """ @endpoint "/latest" alias ExChangerate.Handler def get(opt...
33.904762
148
0.728933
e9b34458c04ba2547d0125f1e5934a06b5088905
384
exs
Elixir
src/config/config.exs
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
59
2019-02-16T00:09:58.000Z
2020-03-29T23:37:36.000Z
src/config/config.exs
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
19
2019-02-15T22:41:43.000Z
2020-02-15T19:20:57.000Z
src/config/config.exs
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
9
2020-05-07T00:02:36.000Z
2021-09-17T18:17:46.000Z
use Mix.Config config :harald, env: Mix.env() config :hook, mappings: [], resolve_at: :compile_time, top_level_module_allowlist: [Harald] case Mix.env() do :dev -> config :mix_test_watch, clear: true, tasks: [ "test --stale", "format --check-formatted" ] :test -> ...
14.222222
38
0.575521
e9b382811f5f9ac4db91f52f3b5b10ef12f2a6db
679
ex
Elixir
lib/ex_gherkin/errors/unexpected_token.ex
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
4
2020-07-31T09:07:16.000Z
2020-08-31T12:12:28.000Z
lib/ex_gherkin/errors/unexpected_token.ex
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
1
2020-07-23T03:55:01.000Z
2020-08-31T12:53:50.000Z
lib/ex_gherkin/errors/unexpected_token.ex
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
null
null
null
defmodule ExGherkin.UnexpectedTokenError do @moduledoc false defstruct [:line, :expected_tokens, :comment] defimpl ExGherkin.ParserException do def get_message(%{} = me) do location = struct!(ExGherkin.Token, line: me.line) |> ExGherkin.Token.get_location() expected_string = Enum.join(me.expected...
35.736842
90
0.670103
e9b3a3edbcc02aa7696442b5864f06f7ff0a6215
149
exs
Elixir
year_2020/test/day_14_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_14_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_14_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day14Test do use ExUnit.Case test "it computes the sum of memory values" do assert Day14.part_one(InputTestFile) == 165 end end
18.625
48
0.738255
e9b3a5fe848868c32bc15a8641db17b02dcc2f20
6,541
ex
Elixir
apps/core/lib/core/services/versions.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/services/versions.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/lib/core/services/versions.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.Services.Versions do use Core.Services.Base import Core.Policies.Version alias Core.PubSub alias Core.Services.{Charts, Terraform} alias Core.Schema.{Version, User, VersionTag, PackageScan, ChartInstallation, TerraformInstallation} @type tool_type :: :helm | :terraform @type version_resp ...
33.54359
102
0.647302
e9b3dd7d9ff58deb2712e37b0a57a535c581827f
1,135
exs
Elixir
mix.exs
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
4
2018-12-07T10:52:37.000Z
2021-01-22T21:31:10.000Z
mix.exs
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
11
2017-11-29T12:01:05.000Z
2020-03-04T09:42:32.000Z
mix.exs
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
2
2017-11-29T12:00:37.000Z
2019-04-16T12:43:04.000Z
defmodule Loppers.Mixfile do use Mix.Project def project do [app: :loppers, version: "1.0.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package()] end def package do [ licenses: ["MIT"], maint...
24.148936
79
0.612335
e9b3f01773fa7a21b21844caff7c6f39b675674c
2,110
ex
Elixir
clients/content/lib/google_api/content/v21/model/orderreturns_create_order_return_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orderreturns_create_order_return_request.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/v21/model/orderreturns_create_order_return_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.678571
140
0.723697
e9b3fbc6ab84fc4b7d18dc6c49adec1a29b53150
2,129
ex
Elixir
lib/cain/client.ex
timstawowski/cain
03665749802284b2e6000561f8bf0429d7c22c88
[ "Apache-2.0" ]
6
2019-12-17T12:40:19.000Z
2022-01-18T07:25:20.000Z
lib/cain/client.ex
timstawowski/cain
03665749802284b2e6000561f8bf0429d7c22c88
[ "Apache-2.0" ]
9
2019-12-18T13:01:11.000Z
2021-02-12T14:24:43.000Z
lib/cain/client.ex
timstawowski/cain
03665749802284b2e6000561f8bf0429d7c22c88
[ "Apache-2.0" ]
1
2020-09-16T09:19:08.000Z
2020-09-16T09:19:08.000Z
defmodule Cain.Client do @moduledoc """ Defines required api function for using `Cain.ExternalWorker` and `Cain.DecisionTable`. If no client module is added when using `Cain.ExternalWorker` or `Cain.DecisionTable`, `Cain.Client.Default` will be used. """ @callback submit(Cain.Endpoint.request()) :: Cain.E...
26.6125
104
0.670268
e9b4146b85951d6210ecfe99c3c1af8779f5c6f6
24,526
ex
Elixir
lib/ecto_adapters_dynamodb/migration.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
lib/ecto_adapters_dynamodb/migration.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
lib/ecto_adapters_dynamodb/migration.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
1
2018-09-12T13:11:05.000Z
2018-09-12T13:11:05.000Z
defmodule Ecto.Adapters.DynamoDB.Migration do import Ecto.Adapters.DynamoDB, only: [ecto_dynamo_log: 2, ecto_dynamo_log: 3] alias ExAws.Dynamo @moduledoc""" Implements Ecto migrations for `create table` and `alter table`. The functions, `add`, `remove` and `modify` correspond to indexes on the DynamoDB t...
47.34749
597
0.700481
e9b42bd1c41ee3a9d2b22ab3f9f34dad53bbc138
269
exs
Elixir
apps/e2e/config/config.exs
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/e2e/config/config.exs
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/e2e/config/config.exs
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :e2e, divo: "test/docker-compose.yml", divo_wait: [dwell: 1_000, max_tries: 120], elsa_brokers: [{:localhost, 9092}] config :prestige, :session_opts, url: "http://localhost:8080", catalog: "hive", schema: "default", user: "foobar"
20.692308
44
0.672862
e9b434923505cd6019f636595576ba02404559b4
3,828
ex
Elixir
lib/koans/12_pattern_matching.ex
rShetty/elixir-koans
d76369c5cf4418b8172e0efc9bb96ccbd7308b2f
[ "MIT" ]
1
2018-08-09T17:29:02.000Z
2018-08-09T17:29:02.000Z
lib/koans/12_pattern_matching.ex
rShetty/elixir-koans
d76369c5cf4418b8172e0efc9bb96ccbd7308b2f
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
rShetty/elixir-koans
d76369c5cf4418b8172e0efc9bb96ccbd7308b2f
[ "MIT" ]
1
2019-03-24T23:56:21.000Z
2019-03-24T23:56:21.000Z
defmodule PatternMatching do use Koans @intro "PatternMatching" koan "One matches one" do assert match?(1, 1) end koan "Patterns can be used to pull things apart" do [head | tail] = [1, 2, 3, 4] assert head == 1 assert tail == [2, 3, 4] end koan "And then put them back together" do ...
22.922156
101
0.595873
e9b4379b925dc7bacfb7256cb307195eac097a46
69
ex
Elixir
web/views/page_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/page_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/page_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
defmodule SchoolAgenda.PageView do use SchoolAgenda.Web, :view end
17.25
34
0.811594
e9b4448fb754f6d4bd0c9505c7c2be76a6c2f40b
636
exs
Elixir
config/prod.secret.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
config/prod.secret.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
2
2021-03-09T09:26:25.000Z
2021-05-09T08:58:51.000Z
config/prod.secret.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
null
null
null
use Mix.Config # In this file, we keep production configuration that # you'll likely want to automate and keep away from # your version control system. # # You should document the content of this # file or create a script for recreating it, since it's # kept out of version control and might be hard to recover # or rec...
31.8
85
0.775157
e9b456344ea9fb04393ead94b520294da3b539ec
97,941
ex
Elixir
lib/codes/codes_s20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_S20 do alias IcdCode.ICDCode def _S2000XA do %ICDCode{full_code: "S2000XA", category_code: "S20", short_code: "00XA", full_name: "Contusion of breast, unspecified breast, initial encounter", short_name: "Contusion of breast, unspecified brea...
45.196585
117
0.66149
e9b466562cd10da3d5c58ec0a3220971cc41d472
833
ex
Elixir
13elixirtut_enumerable.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
13elixirtut_enumerable.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
13elixirtut_enumerable.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
defmodule M do def main do do_stuff() end def do_stuff do IO.puts "Even List : #{Enum.all?([1,2,3], fn(n) -> rem(n,2) == 0 end)}" IO.puts "Even List : #{Enum.any?([1,2,3], fn(n) -> rem(n,2) == 0 end)}" Enum.each([1,2,3], fn(n) -> IO.puts n end) ...
20.317073
66
0.438175
e9b46df3e5cd9368ed372a6b0a49e62372fb59d9
3,353
ex
Elixir
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
44.706667
443
0.74918
e9b4945f014bf88b8f5a48e70af57aa53e3d4afc
841
exs
Elixir
mix.exs
preciz/fast_ngram
15f3f240e52de1c9a637044091c4a8bf635a169e
[ "MIT" ]
1
2021-05-27T09:31:28.000Z
2021-05-27T09:31:28.000Z
mix.exs
preciz/fast_ngram
15f3f240e52de1c9a637044091c4a8bf635a169e
[ "MIT" ]
7
2020-09-17T04:54:04.000Z
2022-02-24T04:12:25.000Z
mix.exs
preciz/fast_ngram
15f3f240e52de1c9a637044091c4a8bf635a169e
[ "MIT" ]
null
null
null
defmodule FastNgram.MixProject do use Mix.Project @version "1.2.0" @github "https://github.com/preciz/fast_ngram" def project do [ app: :fast_ngram, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: pack...
17.893617
93
0.551724
e9b499511d3335b084eab439133a7e7e993f7128
1,360
ex
Elixir
lib/coinfloor/coinfloor.ex
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
lib/coinfloor/coinfloor.ex
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
lib/coinfloor/coinfloor.ex
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
defmodule CryptoApis.Coinfloor do @moduledoc """ https://github.com/coinfloor/API/blob/master/BIST.md """ @root_url "https://webapi.coinfloor.co.uk/bist" alias CryptoApis.Pair defp process_pair(pair) do pair |> Pair.new() |> Pair.to_tuple() end defp parse_crypto("BTC"), do: "XBT" defp parse_cr...
22.666667
67
0.628676
e9b4e7d160176d8670311382303dd396f8cf8dea
1,607
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_vertex.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_vertex.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_vertex.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...
31.509804
90
0.723086
e9b523767e3e28fb84b085cc59c707b3adbabee4
1,248
ex
Elixir
sous_chef/test/support/conn_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/support/conn_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/support/conn_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule SousChefWeb.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.363636
70
0.725962
e9b53723f0e6a62e44dc28f95a12ab221ba8dbcf
20,706
ex
Elixir
lib/zxcvbn/matching.ex
teerawat1992/zxcvbn-ex
8d8c7d8e723ffe8f9ca52a3b79d344105af9beb1
[ "MIT" ]
null
null
null
lib/zxcvbn/matching.ex
teerawat1992/zxcvbn-ex
8d8c7d8e723ffe8f9ca52a3b79d344105af9beb1
[ "MIT" ]
null
null
null
lib/zxcvbn/matching.ex
teerawat1992/zxcvbn-ex
8d8c7d8e723ffe8f9ca52a3b79d344105af9beb1
[ "MIT" ]
null
null
null
defmodule Zxcvbn.Matching do @moduledoc false alias Zxcvbn.Scoring @l33t_table %{ a: ["4", "@"], b: ["8"], c: ["(", "{", "[", "<"], e: ["3"], g: ["6", "9"], i: ["1", "!", "|"], l: ["1", "|", "7"], o: ["0"], s: ["$", "5"], t: ["+", "7"], x: ["%"], z: ["2"] } @...
31.855385
101
0.543224
e9b56901a5c7c2402d73560d73fab88ae686d0d3
5,108
exs
Elixir
test/river/frame_test.exs
peburrows/river
e8968535d02a86e70a7942a690c8e461fed55913
[ "MIT" ]
86
2016-08-19T21:59:28.000Z
2022-01-31T20:14:18.000Z
test/river/frame_test.exs
peburrows/river
e8968535d02a86e70a7942a690c8e461fed55913
[ "MIT" ]
7
2016-09-27T14:44:16.000Z
2017-08-08T14:57:45.000Z
test/river/frame_test.exs
peburrows/river
e8968535d02a86e70a7942a690c8e461fed55913
[ "MIT" ]
4
2016-09-26T10:57:24.000Z
2018-04-03T14:30:19.000Z
defmodule River.FrameTest do use ExUnit.Case, async: true require River.FrameTypes alias River.{Frame, FrameTypes} alias River.Frame.{ Data, GoAway, Headers, Ping, Priority, PushPromise, RstStream, Settings, WindowUpdate } test "the http2 header is correct" do asser...
27.462366
98
0.479836
e9b570f24ea26df8e7d1f03fd728760fdac6b0c3
1,415
exs
Elixir
advent_umbrella_2016/apps/day7/test/circuit_parser_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day7/test/circuit_parser_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day7/test/circuit_parser_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule CircuitParserTest do use ExUnit.Case doctest CircuitParser test "Number lexer" do {:ok, [{:number, 1, 42}], _} = CircuitParser.lex("42") end test "identifier lexer" do {:ok, [{:identifier, 1, :ab}], _} = CircuitParser.lex("ab") {:ok, [{:identifier, 1, :a}], _} = CircuitParser.lex("a") ...
28.877551
74
0.555477
e9b5bd4fc086e5164d362ffab25e96afb3ab253e
10,293
ex
Elixir
lib/ecto_shortcuts.ex
Q2Worlds/ecto_shortcuts
45e1373d2ade79b909f515314db060f0ca7fd547
[ "MIT" ]
null
null
null
lib/ecto_shortcuts.ex
Q2Worlds/ecto_shortcuts
45e1373d2ade79b909f515314db060f0ca7fd547
[ "MIT" ]
null
null
null
lib/ecto_shortcuts.ex
Q2Worlds/ecto_shortcuts
45e1373d2ade79b909f515314db060f0ca7fd547
[ "MIT" ]
null
null
null
defmodule EctoShortcuts do @moduledoc """ Shortcuts for Ecto gets, insertions, deletes, updates, where clauses, counts, etc. This module is strictly meant to simplify common Ecto usecases and you should defer to the Ecto way for more complicated logic that these shortcuts can't handle. Examples are in the [R...
25.992424
112
0.569027
e9b5d265ad70f3bdaa1edf111cf37d639dc871d6
2,126
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/value.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.290323
88
0.677799
e9b5d32c1dde493dc7fc133ca759e8c14737a12d
11,125
ex
Elixir
lib/ecto/query/builder/select.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
1
2019-05-03T08:51:16.000Z
2019-05-03T08:51:16.000Z
lib/ecto/query/builder/select.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/select.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.Select do @moduledoc false alias Ecto.Query.Builder @doc """ Escapes a select. It allows tuples, lists and variables at the top level. Inside the tuples and lists query expressions are allowed. ## Examples iex> escape({1, 2}, [], _...
31.695157
116
0.596674
e9b5ed568838fa3f40f600173b1405a83d76f70d
823
ex
Elixir
2021/elixir/apps/day3/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day3/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day3/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day3Part2 do @moduledoc """ Day3 - Part2 """ def solve(input) do input |> String.split("\n", trim: true) |> then(fn list -> rating(list, :oxygen) * rating(list, :co2) end) end defp rating(list, type) do rating(list, type, 0) end defp rating(list, type, bit) when length(list)...
22.243243
70
0.582017
e9b5ef43a5688b770302c90a5b3a4cb9dc567a4c
660
ex
Elixir
lib/guss/config.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2018-11-29T01:04:51.000Z
2020-01-29T17:55:37.000Z
lib/guss/config.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2018-12-14T00:33:44.000Z
2020-02-24T03:53:28.000Z
lib/guss/config.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2019-08-24T21:01:07.000Z
2020-02-20T18:43:23.000Z
defmodule Guss.Config do @moduledoc false alias Guss.Resource @spec for_resource(mod :: atom, Guss.Resource.t()) :: {:error, {:config, binary()}} | {:ok, {any(), any()}} def for_resource(mod, %Resource{account: account}) when is_atom(mod) do with {:ok, email} <- from_config(mod, account, "client_...
30
74
0.607576
e9b606a29ec8d7603750be83d239931dcbbf3f00
519
exs
Elixir
config/test.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
config/test.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
config/test.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "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 :shopping_list, ShoppingList.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :shopping_li...
25.95
56
0.747592
e9b60bb1727b05f0f91c61129533bc3c3a48e413
1,211
exs
Elixir
config/config.exs
access-company/antikythera_aws
77d20a08f7009e8d8f71b787c4ba6a162397ffb6
[ "Apache-2.0" ]
3
2018-04-26T07:49:40.000Z
2018-04-28T00:31:41.000Z
config/config.exs
access-company/antikythera_aws
77d20a08f7009e8d8f71b787c4ba6a162397ffb6
[ "Apache-2.0" ]
7
2018-06-05T10:26:40.000Z
2021-02-26T07:06:22.000Z
config/config.exs
access-company/antikythera_aws
77d20a08f7009e8d8f71b787c4ba6a162397ffb6
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Mix.Config # Import mandatory antikythera configurations for development/testing. # They should be supplied by antikythera instances when this package is used as a dependency. dep_antikythera_dir = Path.expand(Path.join([__DIR__, "..", "deps", "antiky...
40.366667
123
0.763006
e9b611c777783174742afb339a87b34e97953f1a
748
exs
Elixir
priv/repo/migrations/20210923085201_create_accounts.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
priv/repo/migrations/20210923085201_create_accounts.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
priv/repo/migrations/20210923085201_create_accounts.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
defmodule Philopets.Repo.Migrations.CreateAccounts do use Ecto.Migration def change do create table(:accounts) do add(:username, :string, size: 24, null: false) # two things we gain by this (not just because discord do this) # 1. a lil bit harder to do bruteforce attack # 2. usernames a...
32.521739
92
0.668449
e9b62385948c742cb1e89bc8bc4f56aa20a533c4
1,117
exs
Elixir
config/config.exs
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
68
2016-09-10T20:04:37.000Z
2022-03-16T14:53:27.000Z
config/config.exs
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
1
2018-02-14T20:22:45.000Z
2018-02-14T20:22:45.000Z
config/config.exs
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
8
2017-02-11T19:28:56.000Z
2021-04-13T08:07:55.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
e9b62e0f1e16aa51532ca99aaa394f4546460a4d
652
ex
Elixir
lib/ex_lcd/io.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
17
2017-03-28T03:04:07.000Z
2021-07-07T18:11:59.000Z
lib/ex_lcd/io.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
5
2017-03-28T02:36:19.000Z
2021-01-18T11:39:29.000Z
lib/ex_lcd/io.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
9
2017-03-30T11:49:55.000Z
2020-11-29T15:02:44.000Z
defmodule ExLCD.IO do @moduledoc false defmacro __using__(_) do quote do @gpio Application.get_env(:ex_lcd, :gpio, ElixirALE.GPIO) @i2c Application.get_env(:ex_lcd, :i2c, ElixirALE.I2C) @spi Application.get_env(:ex_lcd, :spi, ElixirALE.SPI) end end end defmodule ExLCD.GPIO do @module...
16.717949
63
0.679448
e9b6649bc5e33edaddda6a038e503187baa539eb
253
ex
Elixir
lib/phone/es/tf.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
lib/phone/es/tf.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
lib/phone/es/tf.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
defmodule Phone.ES.TF do @moduledoc false use Helper.Area def regex, do: ~r/^(34)(922|822)(.{6})/ def area_name, do: "Santa Cruz de Tenerife" def area_type, do: "province" def area_abbreviation, do: "TF" matcher(["34922", "34822"]) end
19.461538
45
0.656126
e9b6ee264a3188087c9862812b00f842304e2c11
296
exs
Elixir
package.exs
lfex/ltool
2f3b7611991fee8c6c8a15b8f00265e92d9dd4ad
[ "Apache-2.0" ]
null
null
null
package.exs
lfex/ltool
2f3b7611991fee8c6c8a15b8f00265e92d9dd4ad
[ "Apache-2.0" ]
5
2015-01-08T06:36:58.000Z
2016-05-23T03:33:00.000Z
package.exs
lfex/ltool
2f3b7611991fee8c6c8a15b8f00265e92d9dd4ad
[ "Apache-2.0" ]
null
null
null
Expm.Package.new( name: "lfetool", description: "lfetool", version: "2.0.0-dev", keywords: ["LFE", "Lisp", "Library", "Utility", "Tool", "CLI", "Command Line"], maintainers: [[name: "Duncan McGreggor", email: "oubiwann@lfe.io"]], repositories: [[github: "lfe/lfetool"]])
32.888889
70
0.60473
e9b703591ff8f477e37eec299eeb06ccc8b517a1
2,911
ex
Elixir
lib/ueberauth/strategy/hatena/oauth.ex
pocketberserker/ueberauth_hatena
116bd27a1ccaa5cb2e3b71c6ea54693a6fc47de3
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/hatena/oauth.ex
pocketberserker/ueberauth_hatena
116bd27a1ccaa5cb2e3b71c6ea54693a6fc47de3
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/hatena/oauth.ex
pocketberserker/ueberauth_hatena
116bd27a1ccaa5cb2e3b71c6ea54693a6fc47de3
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Hatena.OAuth do @moduledoc """ OAuth1 for Hatena. Add `consumer_key` and `consumer_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Hatena.OAuth, consumer_key: System.get_env("HATENA_CONSUMER_KEY"), consumer_secret: System.get_env("HATENA_CONSUMER_SECRET"...
27.72381
90
0.650636
e9b7088d0d3404bf73b1961912847dfce29d4122
1,851
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/model/list_repos_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/list_repos_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/list_repos_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.294118
214
0.745003
e9b70ca67476941c2591159e48be8d24a7a24e35
19,003
exs
Elixir
lib/elixir/test/elixir/stream_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule StreamTest do use ExUnit.Case, async: true test "streams as enumerables" do stream = Stream.map([1,2,3], &(&1 * 2)) # Reduce assert Enum.map(stream, &(&1 + 1)) == [3,5,7] # Member assert Enum.member?(stream, 4) refute Enum.member?(str...
32.651203
113
0.561017
e9b7731abc6f5bf8e22137004bc606e87697837d
13,228
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
53.991837
1,213
0.707892
e9b77b181aedf982d29a2a0d410025f5687a32f2
4,945
exs
Elixir
test/scenic_new_example_test.exs
boydm/scenic_new
1794c1291630bbd7c0073ae961b1ce767e8e25d6
[ "Apache-2.0" ]
123
2018-09-07T20:10:53.000Z
2022-01-12T20:18:38.000Z
test/scenic_new_example_test.exs
boydm/scenic_new
1794c1291630bbd7c0073ae961b1ce767e8e25d6
[ "Apache-2.0" ]
44
2018-09-07T22:18:17.000Z
2021-10-21T03:41:52.000Z
test/scenic_new_example_test.exs
boydm/scenic_new
1794c1291630bbd7c0073ae961b1ce767e8e25d6
[ "Apache-2.0" ]
33
2018-09-07T21:36:07.000Z
2021-03-02T16:45:21.000Z
Code.require_file("mix_helper.exs", __DIR__) defmodule Mix.Tasks.Scenic.NewExampleTest do use ExUnit.Case, async: false import ScenicNew.MixHelper import ExUnit.CaptureIO @app_name "scenic_demo" @module_name "ScenicDemo" test "new.example with defaults" do in_tmp("new with defaults", fn -> ass...
38.937008
98
0.597978
e9b7915b3e065427a59eaf62756b1f7b48b0b1be
1,374
ex
Elixir
apps/load_tester/lib/load_tester/scenarios/user_get_wallets.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/load_tester/lib/load_tester/scenarios/user_get_wallets.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/load_tester/lib/load_tester/scenarios/user_get_wallets.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# 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 ...
29.869565
96
0.691412
e9b7d5428daabc5ccc2fae48b97babdee0d1300e
1,114
ex
Elixir
lib/green_worker/ctx.ex
renderedtext/green-worker
ca69c243e5a98590a6d82ca2872996783948b8fb
[ "Apache-2.0" ]
1
2019-09-05T14:40:33.000Z
2019-09-05T14:40:33.000Z
lib/green_worker/ctx.ex
renderedtext/green-worker
ca69c243e5a98590a6d82ca2872996783948b8fb
[ "Apache-2.0" ]
null
null
null
lib/green_worker/ctx.ex
renderedtext/green-worker
ca69c243e5a98590a6d82ca2872996783948b8fb
[ "Apache-2.0" ]
null
null
null
defmodule GreenWorker.Ctx do @moduledoc """ Contains GreenWorker process context """ defstruct store: %{}, cache: %{} @type t :: %GreenWorker.Ctx{store: Map.t(), cache: Map.t()} def new(collectable = %__MODULE__{}), do: collectable def new(store), do: new(store, %{}) def new(store, cache), do: struc...
30.944444
79
0.674147
e9b8468d07cbc0c522e49c7eebc8e089304630db
3,968
ex
Elixir
lib/livebook/runtime/erl_dist.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.ErlDist do @moduledoc false # This module allows for initializing nodes connected using # Erlang Distribution with modules and processes necessary for evaluation. # # To ensure proper isolation between sessions, # code evaluation may take place in a separate Elixir runtime, # w...
33.91453
202
0.701613
e9b89278fd250058210b37a9bd7bd39724849d89
406
ex
Elixir
lib/ecto/fixtures/conditioners/function_call.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
139
2016-02-07T12:28:18.000Z
2022-02-15T11:39:58.000Z
lib/ecto/fixtures/conditioners/function_call.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
17
2016-05-16T18:59:26.000Z
2020-09-11T16:53:53.000Z
lib/ecto/fixtures/conditioners/function_call.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
10
2016-02-23T09:25:09.000Z
2020-02-29T14:21:21.000Z
defmodule EctoFixtures.Conditioners.FunctionCall do def process(data, path) do Enum.reduce get_in(data, path ++ [:data]), data, fn({column, value}, data) -> case value do {_, _, _} -> value = value |> Code.eval_quoted |> elem(0) put_in(data, pa...
23.882353
81
0.507389
e9b898af9a682f07e925f36cf0306274edf8dd40
362
exs
Elixir
elixir/scripts/hello_branch.exs
RyoWakabayashi/hello-worlds
803ccde0a0b5e3a157225befc3449d93849462a2
[ "MIT" ]
1
2021-04-30T10:11:53.000Z
2021-04-30T10:11:53.000Z
elixir/scripts/hello_branch.exs
RyoWakabayashi/hello-worlds
803ccde0a0b5e3a157225befc3449d93849462a2
[ "MIT" ]
null
null
null
elixir/scripts/hello_branch.exs
RyoWakabayashi/hello-worlds
803ccde0a0b5e3a157225befc3449d93849462a2
[ "MIT" ]
null
null
null
hello_world = "Hello, world!" _ = cond do hello_world == "Good morning" -> "morning" String.contains?(hello_world, "Hello") -> "noon" true -> "night" end |> IO.puts() _ = case hello_world do "Hello, world!" -> "noon" "Good morning, world!" -> "morning" ...
12.928571
45
0.497238
e9b89b4e964851d111d1593c5e2a703538b1f613
169
exs
Elixir
test/vexbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
test/vexbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
test/vexbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
defmodule Exnoops.VexbotTest do use ExUnit.Case doctest Exnoops.Vexbot test "404" do assert Exnoops.Vexbot.get_vector(error: true) == {:error, 404} end end
18.777778
66
0.721893
e9b8adca87652dccf719f099bd6b8f5e4c384262
1,954
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_occurrences_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_occurrences_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_occurrences_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...
39.08
209
0.755885
e9b8ba01b157316233ac79676f5912dac14f9e64
2,016
exs
Elixir
test/cocoon/transformer_test.exs
malomohq/cocoon-elixir
c573e2d311bc6b1cf9574600be1ef7a665978f9f
[ "MIT" ]
1
2021-06-29T13:50:59.000Z
2021-06-29T13:50:59.000Z
test/cocoon/transformer_test.exs
malomohq/cocoon
c573e2d311bc6b1cf9574600be1ef7a665978f9f
[ "MIT" ]
null
null
null
test/cocoon/transformer_test.exs
malomohq/cocoon
c573e2d311bc6b1cf9574600be1ef7a665978f9f
[ "MIT" ]
null
null
null
defmodule Cocoon.TransformerTest do use ExUnit.Case, async: true alias Cocoon.{ Transformer } describe "call/2" do test "transforms nil with no errors" do mappings = [{ :k1, ["k1"] }] assert %{ k1: nil } = Transformer.call(nil, mappings) end test "transforms an empty map with no errors...
24.585366
76
0.538194
e9b8c7faf7383e859bc59c65aee14a48b89a783a
2,110
ex
Elixir
lib/class_roll/protocol/http/router.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/protocol/http/router.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/protocol/http/router.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
defmodule ClassRoll.Protocol.HTTP.Router do use Mazurka.Protocol.HTTP.Router use Mazurka.Mediatype.Hyperjson.Hyperpath use ClassRoll.Dispatch plug :match if Mix.env == :dev do use Plug.Debugger plug Plug.Logger end plug Plug.Parsers, parsers: [Plug.Parsers.JSON, Plu...
62.058824
114
0.545024
e9b8ea0c8bd17c4164cbf9fbf31ad37e967c254c
192
ex
Elixir
simple-http-server/lib/todo.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
simple-http-server/lib/todo.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
simple-http-server/lib/todo.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
defmodule Todo do @moduledoc """ Documentation for `Todo`. """ @doc """ Hello world. ## Examples iex> Todo.hello() :world """ def hello do :world end end
10.105263
27
0.536458
e9b939a05d49ae81931d563363c2089013e10497
676
ex
Elixir
test/support/factory.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
test/support/factory.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
test/support/factory.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
defmodule CabiShop.Factory do @moduledoc """ This module wraps the functions related to create data for testing purposes. """ alias CabiShop.Product def build_voucher(rules \\ %{payx: %{pay: 1, get: 2}}) do %Product{ code: "VOUCHER", name: "Test Voucher", price: 5.00, rules: ...
18.777778
66
0.556213
e9b954b6229ef2eb096cefa94af15f7023f42ec8
1,970
ex
Elixir
clients/content/lib/google_api/content/v2/model/unit_invoice_additional_charge.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice_additional_charge.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice_additional_charge.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.481481
101
0.747716
e9b978354f0c9f2f3f41f085f24f34880a854edc
93
exs
Elixir
test/p7_test.exs
joekain/ds_p7
8ad22fca2d40897314c74b5cc0e3f62e59970000
[ "MIT" ]
1
2017-06-18T19:06:48.000Z
2017-06-18T19:06:48.000Z
test/p7_test.exs
joekain/ds_p7
8ad22fca2d40897314c74b5cc0e3f62e59970000
[ "MIT" ]
null
null
null
test/p7_test.exs
joekain/ds_p7
8ad22fca2d40897314c74b5cc0e3f62e59970000
[ "MIT" ]
null
null
null
defmodule P7Test do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
11.625
21
0.634409
e9b97c1f3d4173a75b08637e7b566885a72586fa
33,938
exs
Elixir
lib/elixir/test/elixir/exception_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/exception_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/exception_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule ExceptionTest do use ExUnit.Case, async: true defp capture_err(fun) do ExUnit.CaptureIO.capture_io(:stderr, fun) end doctest Exception test "message/1" do defmodule BadException do def message(exception) do if exception.raise do...
36.969499
163
0.588338
e9b98423d158ecf3ab5143884a07ff2720bd28fc
992
ex
Elixir
lib/surface/components/form/search_input.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2020-12-29T10:43:19.000Z
2020-12-29T10:43:19.000Z
lib/surface/components/form/search_input.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
lib/surface/components/form/search_input.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.SearchInput do @moduledoc """ An input field that let the user enter **search** queries. Provides a wrapper for Phoenix.HTML.Form's `search_input/3` function. All options passed via `opts` will be sent to `search_input/3`, `value` and `class` can be set directly and will ov...
28.342857
86
0.683468
e9b98e0365ab71928b6df935c616538530bd5224
1,951
ex
Elixir
lib/level/tutorials.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level/tutorials.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level/tutorials.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Tutorials do @moduledoc """ The Tutorials context. """ alias Ecto.Changeset alias Level.Repo alias Level.Schemas.SpaceUser alias Level.Schemas.Tutorial @doc """ Updates the current step for a particular user. """ @spec update_current_step(SpaceUser.t(), String.t(), integer()) :: ...
24.696203
70
0.623783
e9b9a2b11020947824a24b51d1eec667f051e256
1,734
ex
Elixir
lib/witchcraft/category.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
null
null
null
lib/witchcraft/category.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
null
null
null
lib/witchcraft/category.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
1
2020-11-18T18:26:12.000Z
2020-11-18T18:26:12.000Z
import TypeClass defclass Witchcraft.Category do @moduledoc """ A category is some collection of objects and relationships (morphisms) between them. This idea is captured by the notion of an identity function for objects, and the ability to compose relationships between objects. In most cases, these are ver...
23.12
86
0.674164
e9b9bec4d9c528bfd4da38d553f77737d1a79d22
150
ex
Elixir
web/controllers/tp_action_trigger_import_job_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/controllers/tp_action_trigger_import_job_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/controllers/tp_action_trigger_import_job_controller.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpActionTriggerImportJobController do use CgratesWebJsonapi.CsvImportJob, module: CgratesWebJsonapi.TpActionTrigger end
37.5
79
0.9
e9b9c736e0ebcf7591a30d212859b9e99721a633
5,317
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/stream/workers/service.ex
CyberFlameGO/ockam
86a07655c54f71fe884168fd4988b08240353647
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/stream/workers/service.ex
CyberFlameGO/ockam
86a07655c54f71fe884168fd4988b08240353647
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/stream/workers/service.ex
CyberFlameGO/ockam
86a07655c54f71fe884168fd4988b08240353647
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Stream.Workers.Service do @moduledoc false use Ockam.Worker use Ockam.Protocol.Mapping alias Ockam.Stream.Workers.Stream, as: StreamWorker alias Ockam.Message alias Ockam.Protocol.Stream, as: StreamProtocol require Logger @type state() :: map() @type stream_id() :: {String.t(), i...
29.538889
99
0.647546
e9b9da9ae2ff33a93e6479117e4936e2187475a1
67
ex
Elixir
apps/grenadier/lib/grenadier_web/views/layout_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/grenadier/lib/grenadier_web/views/layout_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/grenadier/lib/grenadier_web/views/layout_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule GrenadierWeb.LayoutView do use GrenadierWeb, :view end
16.75
36
0.820896
e9b9dc8da2c582a0e2c61ffa15f458533ceab728
2,119
ex
Elixir
lib/sanbase_web/graphql/schema/types/user_list_types.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase_web/graphql/schema/types/user_list_types.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase_web/graphql/schema/types/user_list_types.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.UserListTypes do use Absinthe.Schema.Notation import Absinthe.Resolution.Helpers import SanbaseWeb.Graphql.Cache, only: [cache_resolve: 1] alias SanbaseWeb.Graphql.SanbaseRepo alias SanbaseWeb.Graphql.Resolvers.UserListResolver enum(:color_enum, values: [:none, :blue, :red, :...
27.881579
87
0.713072
e9b9f576b310112c3d42f6491fc226ab61e4734f
2,515
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_output_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_output_config.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_output_config.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...
39.296875
276
0.768986
e9b9f6ded026e865cf1b421188c7eaaee8898acf
443
ex
Elixir
lib/changelog_web/views/admin/post_view.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/post_view.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/post_view.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.PostView do use ChangelogWeb, :admin_view alias Changelog.{Post, Topic} def status_label(post) do if post.published do content_tag :span, "Published", class: "ui tiny green basic label" else content_tag :span, "Draft", class: "ui tiny yellow basic label" end ...
20.136364
72
0.672686
e9b9f8467f0e070b7462dca14f7437ad713c15cf
29,086
exs
Elixir
test/bejo/parser_test.exs
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
test/bejo/parser_test.exs
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
test/bejo/parser_test.exs
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
defmodule Bejo.ParserTest do use ExUnit.Case alias TestEvaluator, as: TE alias TestParser, as: TP test "integer" do str = """ 123 """ assert {:integer, {1, 0, 3}, 123} == TestParser.expression!(str) end describe "boolean" do test "true" do str = "true" assert {:boolean, {...
28.97012
98
0.42921
e9b9fc6b30bd6b03fd50dd1239030eacde2d095b
1,402
ex
Elixir
lib/portfolio_web/telemetry.ex
abullard/portfolio
fb3190b5b1d1f0ca6cda394e312fbb2d1a908a23
[ "MIT" ]
null
null
null
lib/portfolio_web/telemetry.ex
abullard/portfolio
fb3190b5b1d1f0ca6cda394e312fbb2d1a908a23
[ "MIT" ]
null
null
null
lib/portfolio_web/telemetry.ex
abullard/portfolio
fb3190b5b1d1f0ca6cda394e312fbb2d1a908a23
[ "MIT" ]
null
null
null
defmodule PortfolioWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
28.612245
86
0.671184
e9ba2b3f514a73089c338c0f2219a4eb6a76de3a
487
ex
Elixir
lib/chess_web/views/error_view.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
lib/chess_web/views/error_view.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
lib/chess_web/views/error_view.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
defmodule ChessWeb.ErrorView do use ChessWeb, :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. Fo...
28.647059
61
0.73306
e9ba431acfb45b0efc6f9781c2ed6c2ebc975a98
3,227
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/expr.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...
44.819444
225
0.727301
e9ba61981f73e7456eec17691a46a0b1af2efef4
398
exs
Elixir
test/radex/writer/index_test.exs
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
3
2017-10-12T18:23:33.000Z
2019-05-14T21:28:09.000Z
test/radex/writer/index_test.exs
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
null
null
null
test/radex/writer/index_test.exs
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
null
null
null
defmodule Radex.Writer.IndexTest do use ExUnit.Case alias Radex.Conn alias Radex.Metadata alias Radex.Writer.Index test "filters out empty examples from metadata" do metadata = %{ "key1" => %Metadata{success: true}, "key2" => %Metadata{success: true, conns: [%Conn{}]} } assert Index...
23.411765
83
0.658291
e9ba7bc702924569836cfeb03603d1aa56ac4e36
1,081
exs
Elixir
test/let/lets_with_befores_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
test/let/lets_with_befores_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
test/let/lets_with_befores_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule LetsWithBeforesTest do use ExUnit.Case, async: true defmodule SomeSpec do use ESpec before do: {:ok, a: 1} it do: shared.a |> should(eq 1) let :b, do: shared.a + 1 it do: b() |> should(eq 2) let! :c, do: b() + 1 it do: c() |> should(eq 3) before do: {:ok, d: c() + 1} ...
22.520833
52
0.614246
e9ba81265281df69a38817c705fd24e365a70f15
1,114
exs
Elixir
demos/my_system/mix.exs
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
demos/my_system/mix.exs
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
demos/my_system/mix.exs
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
defmodule MySystem.MixProject do use Mix.Project def project do [ app: :my_system, version: "0.1.0", elixir: "~> 1.10.0", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:boundary, :phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: ...
24.217391
68
0.56912
e9ba8939b4890d36975e6cc00bc68d4c43ec9cf9
1,745
ex
Elixir
clients/task_queue/lib/google_api/task_queue/v1beta2/model/task_queue_stats.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/task_queue/lib/google_api/task_queue/v1beta2/model/task_queue_stats.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/task_queue/lib/google_api/task_queue/v1beta2/model/task_queue_stats.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.557692
119
0.747278
e9ba8ebf9fece456350eabbeb690bc6eeba4b377
37,674
exs
Elixir
test/ecto/adapters/mysql_test.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/mysql_test.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/mysql_test.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Adapters.MySQLTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Queryable alias Ecto.Adapters.MySQL.Connection, as: SQL alias Ecto.Migration.Reference defmodule Schema do use Ecto.Schema sche...
40.905537
156
0.577985
e9baa2065f37797fd227b40de626873a7dd87bd9
981
ex
Elixir
lib/mongo/connection/auth.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
lib/mongo/connection/auth.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
lib/mongo/connection/auth.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Connection.Auth do @moduledoc false def setup(%{auth: nil, opts: opts} = s) do database = opts[:database] username = opts[:username] password = opts[:password] auth = opts[:auth] || [] auth = Enum.map(auth, fn opts -> username = opts[:username] passwor...
22.813953
67
0.58002
e9bab9f791e4515f7b1093c3e7af98e384e92f1a
18,326
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.842105
371
0.667685
e9bac44cc99202c5dd36f38f66d6216f2ea94c5e
101,328
ex
Elixir
lib/generated/fetch.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/generated/fetch.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/generated/fetch.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule(Kayrock.Fetch) do @api :fetch @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 7 ) defmodule(V0.Request) do @vsn 0 @api :fetch @schema replica_id: :int32, max_wait_time: :int32, ...
31.274074
130
0.509336
e9bae35797334e21c8a7349303fc4928707ac171
1,783
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/struct_type.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/struct_type.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/struct_type.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.145833
398
0.752103
e9baf5f7682290dd1264b88e16c332e874a5969f
342
ex
Elixir
lib/supabase_surface/components/icons/icon_printer.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_printer.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_printer.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconPrinter do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.printer(width: icon_size, height: icon_size)} </IconContain...
22.8
65
0.719298
e9bb4c16bd24da8e15140a386369a86c7b12b605
1,377
exs
Elixir
test/mongo_cursor_test.exs
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
test/mongo_cursor_test.exs
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
test/mongo_cursor_test.exs
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule Mongo.Cursor.Test do use ExUnit.Case, async: false # In order to run the tests a mongodb server must be listening locally on the default port setup do mongo = Mongo.connect! db = Mongo.db(mongo, "test") anycoll = Mongo.Db.collection(db, "coll_cu...
33.585366
129
0.622367
e9bb5534409394d172d6eb51c49d19a698688b1f
65
ex
Elixir
web/views/layout_view.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
web/views/layout_view.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
web/views/layout_view.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
defmodule Kickstart.LayoutView do use Kickstart.Web, :view end
16.25
33
0.8
e9bb6c0585cf4ac3668f69b71207384698ea6810
9,037
ex
Elixir
lib/utility_web/live/regex.ex
zestcreative/elixir-utilities-web
6d7545b61939a038bb277790bb9a9ccd683dd16a
[ "MIT" ]
25
2020-09-16T22:01:53.000Z
2022-03-12T02:01:01.000Z
lib/utility_web/live/regex.ex
zestcreative/elixir-utilities-web
6d7545b61939a038bb277790bb9a9ccd683dd16a
[ "MIT" ]
2
2021-07-26T20:30:26.000Z
2022-03-29T19:51:48.000Z
lib/utility_web/live/regex.ex
zestcreative/elixir-utilities-web
6d7545b61939a038bb277790bb9a9ccd683dd16a
[ "MIT" ]
null
null
null
defmodule UtilityWeb.RegexLive do @moduledoc """ Perform regex on a given string, and visualize the matches back to the user """ use UtilityWeb, :live_view use Ecto.Schema alias Ecto.Changeset alias Utility.Cache require Logger @primary_key false embedded_schema do field :id, Ecto.UUID fie...
32.160142
98
0.633839
e9bb6f4e6bd48512e5581e4cb36deeecdbca3226
1,898
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_recognition_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_recognition_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_recognition_result.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.509091
158
0.746048
e9bb8adf892300f9e48f8839120d3e9a3e6c0608
1,337
ex
Elixir
lib/vista_storage.ex
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
lib/vista_storage.ex
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
lib/vista_storage.ex
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
defmodule VistaStorage do alias VistaStorage.State alias VistaClient.{Session, Film, Cinema} def get_cinemas do # Using ItemServer (no reloads as we're probably not building a site every day) VistaStorage.CinemasServer |> Process.whereis() |> VistaStorage.CinemasServer.get() |> handle_state(...
27.285714
89
0.694839
e9bb919fc0c61e267241688048ee6cbb74f24c20
811
ex
Elixir
test/support/case_template.ex
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
241
2017-01-09T04:44:26.000Z
2022-03-25T13:46:29.000Z
test/support/case_template.ex
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
99
2017-01-10T15:42:10.000Z
2022-03-16T02:21:22.000Z
test/support/case_template.ex
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
85
2017-01-09T10:17:46.000Z
2021-06-15T18:32:11.000Z
defmodule Guardian.DB.TestSupport.CaseTemplate do @moduledoc false use ExUnit.CaseTemplate alias Guardian.DB.TestSupport.Repo alias Guardian.DB.Token import Guardian.DB.TestSupport.FileHelpers using _opts do quote do import Guardian.DB.TestSupport.CaseTemplate alias Guardian.DB.TestSupport...
22.527778
68
0.701603
e9bb92884bf08eb7bb57ab4c2285f212bd6cbafc
2,395
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/regular_file.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/regular_file.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/testing/lib/google_api/testing/v1/model/regular_file.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...
47.9
821
0.747808
e9bbcfaab09100b1aea0a6a842c6f00214e48400
1,265
ex
Elixir
test/support/fake_oauth_server.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
test/support/fake_oauth_server.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
test/support/fake_oauth_server.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defmodule BearingsWeb.FakeOAuthServer do @moduledoc """ Fake server to simulate interaction with a third party OAuth server. In this case the behavior is closely matched to the parts of the GitHub OAuth flow since that's all that is supported so far. """ alias Plug.Conn def open do Bypass.open() e...
26.354167
92
0.600791
e9bbe25f34db88877f9bbd559b95a539554d6658
1,348
ex
Elixir
lib/faker/avatar.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/avatar.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/avatar.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
defmodule Faker.Avatar do @moduledoc """ Functions for generate random urls for avatars. """ @doc """ Return avatar url with random set and background. """ @spec image_url() :: String.t def image_url do "http://robohash.org#{set}#{bg}/#{Faker.Lorem.characters(1..20)}" end @doc """ Return ava...
25.923077
80
0.653561
e9bbe29b04efb0c0886de33a3407eb7467de02bf
245
exs
Elixir
lib/mix/test/fixtures/custom_mixfile/mix.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
1
2017-10-29T16:37:08.000Z
2017-10-29T16:37:08.000Z
lib/mix/test/fixtures/custom_mixfile/mix.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
lib/mix/test/fixtures/custom_mixfile/mix.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
defmodule MyProject do use Mix.Project def project do [ app: :my_project, version: "0.1.0", test_pattern: "test/**/test_*.exs", test_helper: "test/my_helper.exs", compile_first: ["lib/c.ex"] ] end end
18.846154
41
0.587755