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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74ce2bc0747737e6c5812feb94ce25fe30b020a4 | 2,577 | ex | Elixir | lib/client/connect.ex | anthony-freitas/ex-homerico | 66d94f9a46643a57050db9781931424a4858cd87 | [
"MIT"
] | null | null | null | lib/client/connect.ex | anthony-freitas/ex-homerico | 66d94f9a46643a57050db9781931424a4858cd87 | [
"MIT"
] | null | null | null | lib/client/connect.ex | anthony-freitas/ex-homerico | 66d94f9a46643a57050db9781931424a4858cd87 | [
"MIT"
] | null | null | null |
##########################################################################################################################
defmodule Homerico.Client.Connection do
defstruct [
host: "127.0.0.1",
port: 80,
token: "",
menus: []
]
end
##################################################################... | 29.284091 | 122 | 0.535506 |
74cea00011937128c31a10010de7a008556c0d35 | 2,109 | ex | Elixir | clients/iap/lib/google_api/iap/v1/model/brand.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/iap/lib/google_api/iap/v1/model/brand.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/iap/lib/google_api/iap/v1/model/brand.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... | 35.15 | 134 | 0.704599 |
74cea3ab7576ec65001ece5e613a02691eef43ca | 3,778 | ex | Elixir | lib/eigr_functions_controller/k8s/deployment.ex | eigr/eigr-functions-controller | e14a3b68c9c5e9daf46dd3f1c9cc4583bea955fb | [
"Apache-2.0"
] | null | null | null | lib/eigr_functions_controller/k8s/deployment.ex | eigr/eigr-functions-controller | e14a3b68c9c5e9daf46dd3f1c9cc4583bea955fb | [
"Apache-2.0"
] | 3 | 2022-01-25T23:34:42.000Z | 2022-02-10T13:45:23.000Z | lib/eigr_functions_controller/k8s/deployment.ex | eigr/eigr-functions-controller | e14a3b68c9c5e9daf46dd3f1c9cc4583bea955fb | [
"Apache-2.0"
] | null | null | null | defmodule Eigr.FunctionsController.K8S.Deployment do
@behaviour Eigr.FunctionsController.K8S.Manifest
import Eigr.FunctionsController.K8S.Limits
@impl true
def manifest(ns, name, params), do: gen_deployment(ns, name, params)
defp gen_deployment(ns, name, params) do
image = Map.get(params, "image")
... | 32.016949 | 84 | 0.40577 |
74cea7fdf43365af28c3d9b8ecce38683894a02a | 118 | exs | Elixir | application/elixir/drone_app/test/drone_app_test.exs | o-kurnenkov/otp_basis | 9717d73151a2f898d9c52485df91452bbb46548a | [
"MIT"
] | 1 | 2016-11-01T18:03:26.000Z | 2016-11-01T18:03:26.000Z | release/elixir/drone_app/test/drone_app_test.exs | o-kurnenkov/otp_basis | 9717d73151a2f898d9c52485df91452bbb46548a | [
"MIT"
] | null | null | null | release/elixir/drone_app/test/drone_app_test.exs | o-kurnenkov/otp_basis | 9717d73151a2f898d9c52485df91452bbb46548a | [
"MIT"
] | null | null | null | defmodule DroneAppTest do
use ExUnit.Case
doctest DroneApp
test "the truth" do
assert 1 + 1 == 2
end
end
| 13.111111 | 25 | 0.677966 |
74cef7757a5892446e3240b90844ddf3fec8c9bd | 1,232 | ex | Elixir | lib/google_api/you_tube/v3/model/video_monetization_details.ex | jesteracer/ytb | 67e3cab899e4f69e586383f7be2c3855c6beea49 | [
"Apache-2.0"
] | null | null | null | lib/google_api/you_tube/v3/model/video_monetization_details.ex | jesteracer/ytb | 67e3cab899e4f69e586383f7be2c3855c6beea49 | [
"Apache-2.0"
] | null | null | null | lib/google_api/you_tube/v3/model/video_monetization_details.ex | jesteracer/ytb | 67e3cab899e4f69e586383f7be2c3855c6beea49 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 31.589744 | 88 | 0.75487 |
74cf21ed7ba910aad0f2db6b6b5883d1b3143c6e | 693 | ex | Elixir | web/controllers/request_controller.ex | rubencaro/pedro | b550b3af700962283fa9e3985e1dcc2da2e14d0d | [
"MIT"
] | null | null | null | web/controllers/request_controller.ex | rubencaro/pedro | b550b3af700962283fa9e3985e1dcc2da2e14d0d | [
"MIT"
] | null | null | null | web/controllers/request_controller.ex | rubencaro/pedro | b550b3af700962283fa9e3985e1dcc2da2e14d0d | [
"MIT"
] | null | null | null | require Logger
defmodule Pedro.RequestController do
use Pedro.Web, :controller
def request(conn, params) do
res = generate_response(params)
conn
|> put_resp_content_type("application/json")
|> send_resp(200, res |> Poison.encode!)
end
defp generate_response(params) do
request = params |> ... | 28.875 | 103 | 0.672439 |
74cf240bca9311214666c5920a6b9600da8c0239 | 784 | exs | Elixir | mix.exs | cnsa/phoenix_ecto | 90ba79feef55e31573047f789b3561f4ab7f30f6 | [
"MIT"
] | null | null | null | mix.exs | cnsa/phoenix_ecto | 90ba79feef55e31573047f789b3561f4ab7f30f6 | [
"MIT"
] | null | null | null | mix.exs | cnsa/phoenix_ecto | 90ba79feef55e31573047f789b3561f4ab7f30f6 | [
"MIT"
] | null | null | null | defmodule PhoenixEcto.Mixfile do
use Mix.Project
@version "3.0.0"
def project do
[app: :phoenix_ecto,
version: @version,
elixir: "~> 1.2",
deps: deps(),
# Hex
description: "Integration between Phoenix & Ecto",
package: package(),
# Docs
name: "Phoenix/Ecto",
do... | 21.189189 | 78 | 0.595663 |
74cf4de5d8d1b9cbde5bd3bf702c04d7194c22a9 | 3,763 | ex | Elixir | clients/jobs/lib/google_api/jobs/v3/model/request_metadata.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/jobs/lib/google_api/jobs/v3/model/request_metadata.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/jobs/lib/google_api/jobs/v3/model/request_metadata.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... | 40.031915 | 170 | 0.711135 |
74cf5d5b161782776fe8d9815802917f744bff2d | 5,261 | ex | Elixir | lib/central_web/controllers/communication/post_controller.ex | badosu/teiserver | 19b623aeb7c2ab28756405f7486e92b714777c54 | [
"MIT"
] | 4 | 2021-07-29T16:23:20.000Z | 2022-02-23T05:34:36.000Z | lib/central_web/controllers/communication/post_controller.ex | badosu/teiserver | 19b623aeb7c2ab28756405f7486e92b714777c54 | [
"MIT"
] | 14 | 2021-08-01T02:36:14.000Z | 2022-01-30T21:15:03.000Z | lib/central_web/controllers/communication/post_controller.ex | badosu/teiserver | 19b623aeb7c2ab28756405f7486e92b714777c54 | [
"MIT"
] | 7 | 2021-05-13T12:55:28.000Z | 2022-01-14T06:39:06.000Z | defmodule CentralWeb.Communication.PostController do
use CentralWeb, :controller
alias Central.Communication
alias Central.Communication.Post
plug Bodyguard.Plug.Authorize,
policy: Central.Communication.Post,
action: {Phoenix.Controller, :action_name},
user: {Central.Account.AuthLib, :current_user... | 27.259067 | 88 | 0.574225 |
74cf69d872d1e7cc68cb9875e6c3d6c9222de443 | 291 | exs | Elixir | priv/chronik_repo/migrations/20170912165434_chronik_repo_add_version.exs | parody/chronik | ec2dbc5b415433d8732575db6ce24b02ebaf5da3 | [
"MIT"
] | 28 | 2017-09-12T13:54:17.000Z | 2021-07-20T22:04:28.000Z | priv/chronik_repo/migrations/20170912165434_chronik_repo_add_version.exs | parody/chronik | ec2dbc5b415433d8732575db6ce24b02ebaf5da3 | [
"MIT"
] | 18 | 2017-09-22T14:06:00.000Z | 2018-06-09T14:18:35.000Z | priv/chronik_repo/migrations/20170912165434_chronik_repo_add_version.exs | parody/chronik | ec2dbc5b415433d8732575db6ce24b02ebaf5da3 | [
"MIT"
] | 2 | 2018-05-11T09:36:50.000Z | 2019-09-23T18:29:58.000Z | defmodule Chronik.Repo.Migrations.AddVersion do
use Ecto.Migration
def change do
alter table(:domain_events) do
add :version, :integer
end
create unique_index :domain_events, [:version], unique: true
execute "UPDATE domain_events SET version = id - 1"
end
end
| 20.785714 | 64 | 0.71134 |
74cf6dd2dc6d7f95678d27f4cd14861b70a57890 | 82,039 | ex | Elixir | lib/aws/generated/rds.ex | qyon-brazil/aws-elixir | f7f21bebffc6776f95ffe9ef563cf368773438af | [
"Apache-2.0"
] | null | null | null | lib/aws/generated/rds.ex | qyon-brazil/aws-elixir | f7f21bebffc6776f95ffe9ef563cf368773438af | [
"Apache-2.0"
] | null | null | null | lib/aws/generated/rds.ex | qyon-brazil/aws-elixir | f7f21bebffc6776f95ffe9ef563cf368773438af | [
"Apache-2.0"
] | 1 | 2020-10-28T08:56:54.000Z | 2020-10-28T08:56:54.000Z | # WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.
defmodule AWS.RDS do
@moduledoc """
Amazon Relational Database Service
Amazon Relational Database Service (Amazon RDS) is a web service that makes it
easier to set up, operate, and scale a relational d... | 42.750912 | 236 | 0.747986 |
74cf6fa1b58cb569423acae14747c14a0c960c9c | 1,144 | ex | Elixir | lib/ex_nifcloud/request/url.ex | kzmake/ex_nifcloud | 87e69bb78fba4132b767decbc33eeb10bd79c593 | [
"MIT"
] | null | null | null | lib/ex_nifcloud/request/url.ex | kzmake/ex_nifcloud | 87e69bb78fba4132b767decbc33eeb10bd79c593 | [
"MIT"
] | null | null | null | lib/ex_nifcloud/request/url.ex | kzmake/ex_nifcloud | 87e69bb78fba4132b767decbc33eeb10bd79c593 | [
"MIT"
] | null | null | null | defmodule ExNifcloud.Request.Url do
@moduledoc false
@doc """
Builds URL for an operation and a config"
"""
def build(operation, config) do
config
|> Map.take([:scheme, :host, :port])
|> Map.put(:query, query(operation))
|> Map.put(:path, operation.path)
|> normalize_scheme
|> normali... | 23.833333 | 75 | 0.625 |
74cf85441e3bb96f271c9e05f1019a09050bd62f | 723 | ex | Elixir | lib/bittrex/subaccount.ex | straw-hat-team/bittrex | 3b6d5c9559d473b685bec7e70d2cd58501805ded | [
"MIT"
] | 9 | 2017-11-17T21:07:50.000Z | 2018-01-19T09:53:03.000Z | lib/bittrex/subaccount.ex | straw-hat-team/bittrex | 3b6d5c9559d473b685bec7e70d2cd58501805ded | [
"MIT"
] | 27 | 2017-12-13T12:21:10.000Z | 2019-11-01T10:25:39.000Z | lib/bittrex/subaccount.ex | straw-hat-llc/elixir_bittrex | 3b6d5c9559d473b685bec7e70d2cd58501805ded | [
"MIT"
] | 5 | 2017-11-20T20:04:43.000Z | 2018-10-03T16:47:37.000Z | defmodule Bittrex.Subaccount do
@moduledoc """
A Bittrex Subaccount.
"""
alias StrawHat.Response
@typedoc """
- `id`: unique ID of this subaccount.
- `created_at`: when the account was created.
"""
@type t :: %__MODULE__{
id: String.t(),
created_at: NaiveDateTime.t()
}
... | 17.634146 | 60 | 0.600277 |
74cfa4b309e35e36bde06fb31ec2f2325a79acb3 | 1,113 | exs | Elixir | apps/bingo/config/config.exs | marcdel/bingo | 898dc4a5fb53f3941038796793a3bd7606c70567 | [
"Unlicense"
] | 2 | 2018-05-30T11:17:19.000Z | 2018-11-08T19:04:09.000Z | apps/bingo/config/config.exs | marcdel/bingo | 898dc4a5fb53f3941038796793a3bd7606c70567 | [
"Unlicense"
] | null | null | null | apps/bingo/config/config.exs | marcdel/bingo | 898dc4a5fb53f3941038796793a3bd7606c70567 | [
"Unlicense"
] | 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... | 35.903226 | 73 | 0.754717 |
74cfac589770e6d010ce8ee5aacb5eb8d8973741 | 506 | ex | Elixir | lib/salty/hash_sha512.ex | benknowles/libsalty | 38a10812865cb855bfa46cf266bb68d51a296f39 | [
"Apache-2.0"
] | 23 | 2017-07-04T19:29:43.000Z | 2021-02-16T19:44:38.000Z | lib/salty/hash_sha512.ex | benknowles/libsalty | 38a10812865cb855bfa46cf266bb68d51a296f39 | [
"Apache-2.0"
] | 16 | 2017-08-13T15:31:25.000Z | 2019-06-19T14:44:13.000Z | lib/salty/hash_sha512.ex | benknowles/libsalty | 38a10812865cb855bfa46cf266bb68d51a296f39 | [
"Apache-2.0"
] | 19 | 2017-08-10T19:01:49.000Z | 2021-06-20T01:34:59.000Z | defmodule Salty.Hash.Sha512 do
use Salty.Hash
def bytes do
C.hash_sha512_BYTES()
end
def hash(data) do
C.hash_sha512(data)
end
def verify(data, expected) do
C.hash_sha512_verify(data, expected)
end
def init do
C.hash_sha512_init()
end
def update(state, data) do
C.hash_sha512... | 15.333333 | 47 | 0.697628 |
74cfde0fa60404fac626cdf905c494793c11e06f | 115 | exs | Elixir | test/day5_test.exs | anamba/adventofcode2019 | a5de43ddce8b40f67c3017f349d8563c73c94e20 | [
"MIT"
] | null | null | null | test/day5_test.exs | anamba/adventofcode2019 | a5de43ddce8b40f67c3017f349d8563c73c94e20 | [
"MIT"
] | null | null | null | test/day5_test.exs | anamba/adventofcode2019 | a5de43ddce8b40f67c3017f349d8563c73c94e20 | [
"MIT"
] | null | null | null | defmodule Day4Test do
use ExUnit.Case
# doctest Day5.IntcodeInterpreter
doctest Day5.IntcodeInterpreter2
end
| 19.166667 | 35 | 0.817391 |
74cfeaf589f89b98065986e3c5114f59f99ff34c | 739 | ex | Elixir | web/controllers/v1/registration_controller.ex | gilacost/task_manager | 550d8ce603b555f017dd689a2db6819b85ddbbd1 | [
"MIT"
] | null | null | null | web/controllers/v1/registration_controller.ex | gilacost/task_manager | 550d8ce603b555f017dd689a2db6819b85ddbbd1 | [
"MIT"
] | null | null | null | web/controllers/v1/registration_controller.ex | gilacost/task_manager | 550d8ce603b555f017dd689a2db6819b85ddbbd1 | [
"MIT"
] | null | null | null | defmodule HomeWorkManager.RegistrationController do
use HomeWorkManager.Web, :controller
alias HomeWorkManager.{Repo, User}
plug :scrub_params, "user" when action in [:create]
def create(conn, %{"user" => user_params}) do
changeset = User.changeset(%User{}, user_params)
case Repo.insert(changeset) ... | 29.56 | 87 | 0.660352 |
74d0144e40d3ff9d862068e1a8b7df4b8fc58539 | 1,167 | ex | Elixir | lib/altstatus_web/controllers/batch_controller.ex | AltCampus/altstatus_backend | 70bf7a9d337e570f54002c3a7df264e88372adfa | [
"MIT"
] | 1 | 2020-01-20T18:17:59.000Z | 2020-01-20T18:17:59.000Z | lib/altstatus_web/controllers/batch_controller.ex | AltCampus/altstatus_backend | 70bf7a9d337e570f54002c3a7df264e88372adfa | [
"MIT"
] | null | null | null | lib/altstatus_web/controllers/batch_controller.ex | AltCampus/altstatus_backend | 70bf7a9d337e570f54002c3a7df264e88372adfa | [
"MIT"
] | 2 | 2018-09-09T08:05:24.000Z | 2018-09-09T08:35:18.000Z | defmodule AltstatusWeb.BatchController do
use AltstatusWeb, :controller
alias Altstatus.Admission
alias Altstatus.Admission.Batch
action_fallback AltstatusWeb.FallbackController
def index(conn, _params) do
batches = Admission.list_batches()
render(conn, "index.json", batches: batches)
end
def ... | 27.139535 | 82 | 0.653813 |
74d01f7f7c86fb7ae8ec1a234174d4a425c96dd8 | 480 | ex | Elixir | lib/client/auth.ex | terianil/sendgridex | e2a998fcea794cf71ab9df1ffb0b73198f916206 | [
"MIT"
] | null | null | null | lib/client/auth.ex | terianil/sendgridex | e2a998fcea794cf71ab9df1ffb0b73198f916206 | [
"MIT"
] | null | null | null | lib/client/auth.ex | terianil/sendgridex | e2a998fcea794cf71ab9df1ffb0b73198f916206 | [
"MIT"
] | null | null | null | defmodule SendGridEx.Client.Auth do
@moduledoc """
Set SendGrid Authorization header for all requests
## Example usage
```
defmodule Myclient do
use Tesla
plug SendGridEx.Client.Auth
end
```
"""
@behaviour Tesla.Middleware
@impl Tesla.Middleware
def call(env, next, _opts) do
api_k... | 17.777778 | 66 | 0.66875 |
74d05b512feece821ddd8f8486350a63320d07cd | 1,000 | exs | Elixir | mix.exs | aforward-oss/decimal | b261fa9daeacfdfa1a675b540ffd2194901f7592 | [
"Apache-2.0"
] | null | null | null | mix.exs | aforward-oss/decimal | b261fa9daeacfdfa1a675b540ffd2194901f7592 | [
"Apache-2.0"
] | null | null | null | mix.exs | aforward-oss/decimal | b261fa9daeacfdfa1a675b540ffd2194901f7592 | [
"Apache-2.0"
] | null | null | null | defmodule Decimal.Mixfile do
use Mix.Project
def project do
[app: :decimal,
version: "0.2.5-dev",
elixir: "~> 0.15.0 or ~> 1.0.0-rc1",
deps: deps,
build_per_environment: false,
name: "Decimal",
source_url: "https://github.com/ericmj/decimal",
docs: fn ->
{ref, 0} = Sys... | 23.809524 | 81 | 0.591 |
74d05efc4fc5881ac8c9beb6221592c48f921346 | 976 | exs | Elixir | test/proper_test.exs | yrashk/properex | edbec94af889f4bb9a3cae85f74e161a7ab1c480 | [
"MIT"
] | 9 | 2015-06-21T02:05:09.000Z | 2020-01-14T00:14:27.000Z | test/proper_test.exs | yrashk/properex | edbec94af889f4bb9a3cae85f74e161a7ab1c480 | [
"MIT"
] | null | null | null | test/proper_test.exs | yrashk/properex | edbec94af889f4bb9a3cae85f74e161a7ab1c480 | [
"MIT"
] | 3 | 2016-01-28T12:10:39.000Z | 2016-03-30T12:39:55.000Z | defmodule Proper.Test do
use ExUnit.Case
test "module" do
assert is_list(Proper.module(Proper.TestModule))
end
test "quickcheck" do
assert Proper.quickcheck(property)
end
test "run" do
{_, failures} = Proper.run(__MODULE__)
assert length(failures) == 0
end
... | 20.765957 | 80 | 0.602459 |
74d06707759a86b7ba1671dc85bf1877d811a6cc | 3,610 | ex | Elixir | lib/etfs/stream.ex | tsutsu/etfs | 629b40105c4da3aab2eab5ef279f49fbb238fd4c | [
"MIT"
] | 3 | 2018-06-20T05:17:17.000Z | 2019-05-08T03:57:04.000Z | lib/etfs/stream.ex | tsutsu/etfs | 629b40105c4da3aab2eab5ef279f49fbb238fd4c | [
"MIT"
] | null | null | null | lib/etfs/stream.ex | tsutsu/etfs | 629b40105c4da3aab2eab5ef279f49fbb238fd4c | [
"MIT"
] | null | null | null | defmodule ETFs.Stream do
defstruct path: nil, format: :v3
@fourcc "ETFs"
@doc false
def open(path, opts \\ []) do
format = Keyword.get(opts, :format, :v3)
%__MODULE__{path: path, format: format}
end
def record_count(%__MODULE__{path: path, format: :v3}) do
with {:ok, f} <- File.open(path, [:r... | 26.350365 | 94 | 0.564543 |
74d079b2cb2bd85b6249dd75a04a3674426d5050 | 8,757 | ex | Elixir | lib/elixir/unicode/unicode.ex | ludios/elixir | 1a4018adb9863c1265b306028a6b5d1146479266 | [
"Apache-2.0"
] | 1 | 2019-05-07T12:01:44.000Z | 2019-05-07T12:01:44.000Z | lib/elixir/unicode/unicode.ex | ludios/elixir | 1a4018adb9863c1265b306028a6b5d1146479266 | [
"Apache-2.0"
] | null | null | null | lib/elixir/unicode/unicode.ex | ludios/elixir | 1a4018adb9863c1265b306028a6b5d1146479266 | [
"Apache-2.0"
] | null | null | null | # How to update the Unicode files
#
# 1. Update PropList.txt by copying original as is
# 2. Update SpecialCasing.txt by copying original and removing conditional mappings
# 3. Update GraphemeBreakProperty.txt by copying original as is
# 4. Copy Extended_Pictographic from emoji-data at the end of GraphemeBreakProperty.t... | 28.52443 | 93 | 0.660957 |
74d09bfc5b8863f72b3799ef713a4c2df8474f49 | 544 | exs | Elixir | code/macros/eg.exs | alvarocamillont/introdu-o_elixir | 1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1 | [
"MIT"
] | null | null | null | code/macros/eg.exs | alvarocamillont/introdu-o_elixir | 1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1 | [
"MIT"
] | 1 | 2021-03-09T16:27:25.000Z | 2021-03-09T16:27:25.000Z | programming-elixir-book/code/macros/eg.exs | jordanhubbard/elixir-projects | dee341d672e83a45a17a4a85abd54a480f95c506 | [
"BSD-2-Clause"
] | null | null | null | #---
# Excerpted from "Programming Elixir ≥ 1.6",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material,
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purpose.
# Visit http... | 28.631579 | 85 | 0.733456 |
74d0b5c653d0d0d0d94eb63b05fb6d020ee0ad19 | 6,253 | exs | Elixir | .credo.exs | CraigCottingham/ksp-maps | ffd81c5e667cf6ca7770e717c736e51489c0c3d3 | [
"Apache-2.0"
] | 6 | 2019-01-25T12:07:43.000Z | 2021-09-09T20:31:39.000Z | .credo.exs | CraigCottingham/ksp-maps | ffd81c5e667cf6ca7770e717c736e51489c0c3d3 | [
"Apache-2.0"
] | 144 | 2019-01-26T02:20:07.000Z | 2021-07-21T06:28:23.000Z | .credo.exs | CraigCottingham/ksp-maps | ffd81c5e667cf6ca7770e717c736e51489c0c3d3 | [
"Apache-2.0"
] | 2 | 2019-07-31T21:11:00.000Z | 2020-04-15T19:51:14.000Z | # This file contains the configuration for Credo and you are probably reading
# this after creating it with `mix credo.gen.config`.
#
# If you find anything wrong or unclear in this file, please report an
# issue on GitHub: https://github.com/rrrene/credo/issues
#
%{
#
# You can have as many configs as you like in ... | 38.838509 | 83 | 0.612186 |
74d0e8c13c970d71c943fc38701b6a28abf4ed45 | 440 | ex | Elixir | lib/absinthe/validation/required_input.ex | scrogson/absinthe | aa7e9c83dc10603c72f80e09a60d12495bc1c6b7 | [
"Unlicense"
] | 1 | 2019-05-07T15:05:52.000Z | 2019-05-07T15:05:52.000Z | lib/absinthe/validation/required_input.ex | scrogson/absinthe | aa7e9c83dc10603c72f80e09a60d12495bc1c6b7 | [
"Unlicense"
] | null | null | null | lib/absinthe/validation/required_input.ex | scrogson/absinthe | aa7e9c83dc10603c72f80e09a60d12495bc1c6b7 | [
"Unlicense"
] | null | null | null | defprotocol Absinthe.Validation.RequiredInput do
@moduledoc false
@fallback_to_any true
@doc "Whether input from/of a given type is required"
@spec required?(AbsintheType.t) :: boolean
def required?(t)
end
defimpl Absinthe.Validation.RequiredInput, for: Any do
@doc "Input of a type is required if it i... | 22 | 56 | 0.738636 |
74d107428f2017c9462eb6113e4edbc8cbf5e75b | 1,530 | ex | Elixir | clients/compute/lib/google_api/compute/v1/model/ssl_policy_reference.ex | leandrocp/elixir-google-api | a86e46907f396d40aeff8668c3bd81662f44c71e | [
"Apache-2.0"
] | null | null | null | clients/compute/lib/google_api/compute/v1/model/ssl_policy_reference.ex | leandrocp/elixir-google-api | a86e46907f396d40aeff8668c3bd81662f44c71e | [
"Apache-2.0"
] | null | null | null | clients/compute/lib/google_api/compute/v1/model/ssl_policy_reference.ex | leandrocp/elixir-google-api | a86e46907f396d40aeff8668c3bd81662f44c71e | [
"Apache-2.0"
] | 1 | 2020-11-10T16:58:27.000Z | 2020-11-10T16:58:27.000Z | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 31.875 | 179 | 0.748366 |
74d11ecd256f6bd6ac11d11caf36bc44ac698915 | 4,663 | exs | Elixir | .credo.exs | lee-dohm/pseudoloc | 25cb36895e0657dd15b6dd1b16794b227735eb01 | [
"MIT"
] | 2 | 2019-06-13T05:55:51.000Z | 2020-01-26T17:54:30.000Z | .credo.exs | lee-dohm/pseudoloc | 25cb36895e0657dd15b6dd1b16794b227735eb01 | [
"MIT"
] | 4 | 2019-06-12T16:42:33.000Z | 2019-06-12T20:41:49.000Z | .credo.exs | lee-dohm/pseudoloc | 25cb36895e0657dd15b6dd1b16794b227735eb01 | [
"MIT"
] | null | null | null | %{
configs: [
%{
name: "default",
files: %{
included: ["lib/", "src/", "test/", "web/", "apps/"],
excluded: [~r"/_build/", ~r"/deps/"]
},
requires: [],
strict: true,
color: true,
checks: [
#
## Consistency Checks
#
{Credo.Ch... | 39.184874 | 88 | 0.61484 |
74d1548badb8c81fe6bf23826c53823e22c25b35 | 2,068 | ex | Elixir | lib/cryptopunk/crypto/tron.ex | ayrat555/cryptopunk | 9d41028739dd13b762838912f9fa1e18ac1160a8 | [
"MIT"
] | 12 | 2021-10-31T07:10:48.000Z | 2022-02-21T18:13:17.000Z | lib/cryptopunk/crypto/tron.ex | ayrat555/cryptopunk | 9d41028739dd13b762838912f9fa1e18ac1160a8 | [
"MIT"
] | null | null | null | lib/cryptopunk/crypto/tron.ex | ayrat555/cryptopunk | 9d41028739dd13b762838912f9fa1e18ac1160a8 | [
"MIT"
] | null | null | null | defmodule Cryptopunk.Crypto.Tron do
@moduledoc """
Tron address generation logic.
"""
alias Cryptopunk.Key
@version_bytes %{
mainnet: <<0x41>>,
testnet: <<0xA0>>
}
@doc """
Generate a tron address.
It accepts two parameters:
- public or private key. if a private key is provided, it will... | 32.3125 | 358 | 0.640232 |
74d161f11d3ed9a21a4f0fee71dd8bc26bee371a | 903 | exs | Elixir | mix.exs | Sitata/jwt-google-tokens | 40fb2224474bec181d32969276f9298702f96de1 | [
"Apache-2.0"
] | 25 | 2017-03-15T15:54:39.000Z | 2021-04-26T08:23:01.000Z | mix.exs | Sitata/jwt-google-tokens | 40fb2224474bec181d32969276f9298702f96de1 | [
"Apache-2.0"
] | 12 | 2016-09-10T04:08:46.000Z | 2020-06-15T08:15:03.000Z | mix.exs | Sitata/jwt-google-tokens | 40fb2224474bec181d32969276f9298702f96de1 | [
"Apache-2.0"
] | 26 | 2017-06-02T00:14:32.000Z | 2022-03-17T14:48:14.000Z | defmodule Jwt.Mixfile do
use Mix.Project
def project do
[
app: :jwt,
version: "0.6.0",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
... | 22.575 | 74 | 0.522702 |
74d1648ca84ce34441043293f5ccfddb475e4086 | 296 | exs | Elixir | backend/priv/repo/migrations/20170608185600_add_predict_structure_options_to_jobs.exs | ui-icts/aptamer-web | a28502c22a4e55ab1fbae8bbeaa6b11c9a477c06 | [
"MIT"
] | null | null | null | backend/priv/repo/migrations/20170608185600_add_predict_structure_options_to_jobs.exs | ui-icts/aptamer-web | a28502c22a4e55ab1fbae8bbeaa6b11c9a477c06 | [
"MIT"
] | 7 | 2019-02-08T18:28:49.000Z | 2022-02-12T06:44:59.000Z | backend/priv/repo/migrations/20170608185600_add_predict_structure_options_to_jobs.exs | ui-icts/aptamer-web | a28502c22a4e55ab1fbae8bbeaa6b11c9a477c06 | [
"MIT"
] | null | null | null | defmodule Aptamer.Repo.Migrations.AddPredictStructureOptionsToJobs do
use Ecto.Migration
def change do
alter table(:jobs) do
add(
:predict_structure_options_id,
references(:predict_structure_options, on_delete: :nothing, type: :binary_id)
)
end
end
end
| 22.769231 | 85 | 0.712838 |
74d1660f737720c001fd518e01c26e0044ee690e | 5,148 | ex | Elixir | lib/changelog_web/controllers/admin/person_controller.ex | d-m-u/changelog.com | bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325 | [
"MIT"
] | null | null | null | lib/changelog_web/controllers/admin/person_controller.ex | d-m-u/changelog.com | bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325 | [
"MIT"
] | null | null | null | lib/changelog_web/controllers/admin/person_controller.ex | d-m-u/changelog.com | bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325 | [
"MIT"
] | null | null | null | defmodule ChangelogWeb.Admin.PersonController do
use ChangelogWeb, :controller
alias Changelog.{Mailer, Episode, EpisodeRequest, NewsItem, Person, Slack, Subscription}
alias ChangelogWeb.Email
plug :assign_person when action in [:edit, :update, :delete, :slack]
plug Authorize, [Policies.Person, :person]
p... | 27.382979 | 92 | 0.628594 |
74d1796b651c4a3c08cb364eb59adafc804e9501 | 2,603 | ex | Elixir | clients/firebase/lib/google_api/firebase/v1beta1/model/stream_mapping.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | null | null | null | clients/firebase/lib/google_api/firebase/v1beta1/model/stream_mapping.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-12-18T09:25:12.000Z | 2020-12-18T09:25:12.000Z | clients/firebase/lib/google_api/firebase/v1beta1/model/stream_mapping.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... | 49.113208 | 427 | 0.752593 |
74d17eacc85b56bcaa9dd1dd280bb971974d63b9 | 15,783 | exs | Elixir | test/phoenix/test/conn_test.exs | mirego/phoenix | 5871888b77b9d34f9a4a33a3644b87f91c8b30ed | [
"MIT"
] | 1 | 2018-07-26T10:42:26.000Z | 2018-07-26T10:42:26.000Z | test/phoenix/test/conn_test.exs | mirego/phoenix | 5871888b77b9d34f9a4a33a3644b87f91c8b30ed | [
"MIT"
] | null | null | null | test/phoenix/test/conn_test.exs | mirego/phoenix | 5871888b77b9d34f9a4a33a3644b87f91c8b30ed | [
"MIT"
] | null | null | null | defmodule Phoenix.Test.ConnTest.CatchAll do
def init(opts), do: opts
def call(conn, :stat), do: conn.params["action"].(conn)
def call(conn, _opts), do: Plug.Conn.assign(conn, :catch_all, true)
end
defmodule Phoenix.Test.ConnTest.RedirRouter do
use Phoenix.Router
alias Phoenix.Test.ConnTest.CatchAll
get "/... | 30.886497 | 145 | 0.613065 |
74d1971bbd4183b3a36696e9c3b64f0df855fb16 | 3,862 | ex | Elixir | lib/quantum.ex | fatboypunk/quantum-core | f264e1c5d6b0e13e60f0920ae09c287f342b9d7c | [
"Apache-2.0"
] | null | null | null | lib/quantum.ex | fatboypunk/quantum-core | f264e1c5d6b0e13e60f0920ae09c287f342b9d7c | [
"Apache-2.0"
] | null | null | null | lib/quantum.ex | fatboypunk/quantum-core | f264e1c5d6b0e13e60f0920ae09c287f342b9d7c | [
"Apache-2.0"
] | null | null | null | defmodule Quantum do
@moduledoc """
Contains config functions to aid the rest of the lib
"""
require Logger
alias Quantum.{Job, Normalizer, RunStrategy.Random, Storage.Noop}
@defaults [
global: false,
cron: [],
timeout: 5_000,
schedule: nil,
overlap: true,
timezone: :utc,
run_... | 32.183333 | 97 | 0.715173 |
74d1e51d7aa1ff903287311254127b87363592fc | 1,040 | ex | Elixir | lib/sidemash/sdk/client.ex | sidemash/sdk-elixir | 6535e07f65a4f2fe57434b50a11bfd0a7500f1e4 | [
"Apache-2.0"
] | null | null | null | lib/sidemash/sdk/client.ex | sidemash/sdk-elixir | 6535e07f65a4f2fe57434b50a11bfd0a7500f1e4 | [
"Apache-2.0"
] | null | null | null | lib/sidemash/sdk/client.ex | sidemash/sdk-elixir | 6535e07f65a4f2fe57434b50a11bfd0a7500f1e4 | [
"Apache-2.0"
] | null | null | null | # Copyright © 2020 Sidemash Cloud
#
# 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... | 28.888889 | 69 | 0.695192 |
74d1edebe3626fa70a515e711b8d8014641fc8e3 | 197 | exs | Elixir | priv/repo/migrations/20171126223317_add_is_admin_field.exs | johndavedecano/CoderJobs | a185c3129f92430d8e72184f359c16f93f24c43b | [
"MIT"
] | 28 | 2017-11-20T02:01:17.000Z | 2021-05-08T16:52:58.000Z | priv/repo/migrations/20171126223317_add_is_admin_field.exs | johndavedecano/CoderJobs | a185c3129f92430d8e72184f359c16f93f24c43b | [
"MIT"
] | 1 | 2018-12-05T06:07:36.000Z | 2018-12-09T17:33:28.000Z | priv/repo/migrations/20171126223317_add_is_admin_field.exs | johndavedecano/CoderJobs | a185c3129f92430d8e72184f359c16f93f24c43b | [
"MIT"
] | 3 | 2017-12-21T03:29:39.000Z | 2019-08-11T02:56:08.000Z | defmodule Coderjobs.Repo.Migrations.AddIsAdminField do
use Ecto.Migration
def change do
alter table(:users) do
add :is_admin, :boolean, default: false, null: false
end
end
end
| 19.7 | 58 | 0.715736 |
74d1f3b48636789b0c69aef8213c4f02c82a6d92 | 409 | ex | Elixir | apps/sim/lib/sim/laboratory/supervisor.ex | grrrisu/thundermoon-mvp | 17939d51c7b07216dfd63ba1b2ba53d56f94a48d | [
"MIT"
] | 10 | 2019-08-02T06:41:23.000Z | 2022-03-09T16:12:30.000Z | apps/sim/lib/sim/laboratory/supervisor.ex | grrrisu/thundermoon-mvp | 17939d51c7b07216dfd63ba1b2ba53d56f94a48d | [
"MIT"
] | 319 | 2019-06-11T20:16:26.000Z | 2022-03-09T16:24:22.000Z | apps/sim/lib/sim/laboratory/supervisor.ex | grrrisu/thundermoon-mvp | 17939d51c7b07216dfd63ba1b2ba53d56f94a48d | [
"MIT"
] | 4 | 2019-08-15T19:52:07.000Z | 2021-12-02T14:52:54.000Z | defmodule Sim.Laboratory.Supervisor do
use Supervisor
alias Sim.Laboratory.Server
def start_link(opts) do
Supervisor.start_link(__MODULE__, :ok, name: opts[:name] || __MODULE__)
end
def init(:ok) do
children = [
Server,
{DynamicSupervisor, name: Sim.Laboratory.InVitroSupervisor, strateg... | 21.526316 | 89 | 0.709046 |
74d1f7e045783c2d2c1ad0120dffe924cfe474cf | 5,142 | ex | Elixir | apps/blockchain/lib/blockchain/account/repo/cache.ex | atoulme/mana | cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | apps/blockchain/lib/blockchain/account/repo/cache.ex | atoulme/mana | cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | apps/blockchain/lib/blockchain/account/repo/cache.ex | atoulme/mana | cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | defmodule Blockchain.Account.Repo.Cache do
alias Blockchain.Account
alias Blockchain.Account.Address
alias MerklePatriciaTree.Trie
defstruct storage_cache: %{}, accounts_cache: %{}
@type key_cache() :: %{
integer() => %{current_value: integer() | :deleted, initial_value: integer() | nil}
}... | 34.510067 | 96 | 0.708674 |
74d1fc431245ede2d4678e9a60b2b3659157732e | 22,982 | exs | Elixir | test/math/predicates_test.exs | patricknevindwyer/chunky | e17df98df24d079c84fc8c51fbbd3ec57f77166b | [
"BSD-3-Clause"
] | 1 | 2020-12-18T11:00:32.000Z | 2020-12-18T11:00:32.000Z | test/math/predicates_test.exs | patricknevindwyer/chunky | e17df98df24d079c84fc8c51fbbd3ec57f77166b | [
"BSD-3-Clause"
] | null | null | null | test/math/predicates_test.exs | patricknevindwyer/chunky | e17df98df24d079c84fc8c51fbbd3ec57f77166b | [
"BSD-3-Clause"
] | null | null | null | defmodule Chunky.Math.PredicatesTest do
use ExUnit.Case, async: true
@moduledoc """
Tests for predicate functions in Chunky.Math.Predicates.
"""
alias Chunky.Math
alias Chunky.Math.Predicates
doctest Chunky.Math.Predicates
describe "is_3_smooth?/1" do
test "yes" do
[1, 2, 3, 4, 6, 8, 144]
... | 30.199737 | 423 | 0.694718 |
74d216fdae92f24e3a5697b73c299239c144da44 | 327 | exs | Elixir | machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/41.exs | AdityaPrasadMishra/NLP--Project-Group-16 | fb62cc6a1db4a494058171f11c14a2be3933a9a1 | [
"MIT"
] | null | null | null | machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/41.exs | AdityaPrasadMishra/NLP--Project-Group-16 | fb62cc6a1db4a494058171f11c14a2be3933a9a1 | [
"MIT"
] | null | null | null | machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/41.exs | AdityaPrasadMishra/NLP--Project-Group-16 | fb62cc6a1db4a494058171f11c14a2be3933a9a1 | [
"MIT"
] | null | null | null | **EXAMPLE FILE**
noun cm noun demonstrative quantifier;
noun cm verb cm quantifier;
verb_aux noun neg verb quantifier;
pnoun cm neg verb quantifier;
cardinal noun verb cm quantifier;
verb_aux pn verb verb_aux adjective;
cm demonstrative noun cm quantifier;
pn verb noun cm quantifier;
pn particle noun cm quant... | 27.25 | 39 | 0.785933 |
74d22990733ee68a310375f602419ff7f34f610f | 400 | ex | Elixir | project1/lib/project1.ex | shubhamagiwal/DOSFall2017 | 3c1522c4163f57402f147b50614d4051b05a080f | [
"MIT"
] | 3 | 2019-10-28T21:02:55.000Z | 2020-10-01T02:29:37.000Z | project1/lib/project1.ex | shubhamagiwal/DOSFall2017 | 3c1522c4163f57402f147b50614d4051b05a080f | [
"MIT"
] | null | null | null | project1/lib/project1.ex | shubhamagiwal/DOSFall2017 | 3c1522c4163f57402f147b50614d4051b05a080f | [
"MIT"
] | 4 | 2019-10-12T19:41:58.000Z | 2021-09-24T20:24:47.000Z | defmodule Project1 do
def main(args \\ []) do
case Project1.Libfunctions.ip_address_check(to_string(args)) do
:true-> Project1.Client.start_client(to_string(args)) |> Project1.Client.connect_to_server# Go to client
:false-> Project1.Libfunctions.get_ip_address(to_string(args)) |... | 33.333333 | 130 | 0.69 |
74d280c89a8187222d74183b4d3a5f81f865bdef | 8,121 | ex | Elixir | apps/aevm/lib/state.ex | aeternity/epoch-elixir | d35613f5541a9bbebe61f90b8503a9b3416fe8b4 | [
"0BSD"
] | 131 | 2018-03-10T01:35:56.000Z | 2021-12-27T13:44:41.000Z | apps/aevm/lib/state.ex | aeternity/elixir-node | d35613f5541a9bbebe61f90b8503a9b3416fe8b4 | [
"0BSD"
] | 445 | 2018-03-12T09:46:17.000Z | 2018-12-12T09:52:07.000Z | apps/aevm/lib/state.ex | aeternity/epoch-elixir | d35613f5541a9bbebe61f90b8503a9b3416fe8b4 | [
"0BSD"
] | 23 | 2018-03-12T12:01:28.000Z | 2022-03-06T09:22:17.000Z | defmodule Aevm.State do
@moduledoc """
Module for handling and accessing values from the VM's internal state.
"""
alias Aevm.AevmUtil
@doc """
Initialize the VM's internal state.
`exec` - transaction information
`env` - environmental Information
`pre` - previous world state (mappin... | 25.45768 | 98 | 0.58281 |
74d2a4e41dafe0d65e3c2ee90f5b2ea6fa37a13c | 36 | exs | Elixir | test/weddell/client/client_test.exs | mladenml/weddell | 3b28cc06d6acd94279152b44f025cd8a70fc04fc | [
"MIT"
] | 1 | 2018-05-18T15:47:34.000Z | 2018-05-18T15:47:34.000Z | test/weddell/client/client_test.exs | mladenml/weddell | 3b28cc06d6acd94279152b44f025cd8a70fc04fc | [
"MIT"
] | 1 | 2020-06-24T18:52:41.000Z | 2020-06-24T18:52:41.000Z | test/weddell/client/client_test.exs | mladenml/weddell | 3b28cc06d6acd94279152b44f025cd8a70fc04fc | [
"MIT"
] | 1 | 2018-05-18T15:46:51.000Z | 2018-05-18T15:46:51.000Z | defmodule Weddell.ClientTest do
end
| 12 | 31 | 0.861111 |
74d2a91aff76d3dcd03ca3279513bd867458ba3c | 898 | ex | Elixir | clients/tool_results/lib/google_api/tool_results/v1beta3/metadata.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | clients/tool_results/lib/google_api/tool_results/v1beta3/metadata.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | clients/tool_results/lib/google_api/tool_results/v1beta3/metadata.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 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... | 33.259259 | 74 | 0.762806 |
74d2b02c299b94bbe6c262dcf4f3b3f8a3b09474 | 1,786 | ex | Elixir | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_human_agent_assistant_config_conversation_model_config.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_human_agent_assistant_config_conversation_model_config.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_human_agent_assistant_config_conversation_model_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... | 33.074074 | 129 | 0.763718 |
74d2e35563b87c62d4b0ca50a7c1ac993b70bf66 | 1,058 | ex | Elixir | test/support/conn_case.ex | nuclearfurnace/stormcaster | 2ba34f2a6ee18dfa0b8fa546ba82483827785c4c | [
"MIT"
] | null | null | null | test/support/conn_case.ex | nuclearfurnace/stormcaster | 2ba34f2a6ee18dfa0b8fa546ba82483827785c4c | [
"MIT"
] | null | null | null | test/support/conn_case.ex | nuclearfurnace/stormcaster | 2ba34f2a6ee18dfa0b8fa546ba82483827785c4c | [
"MIT"
] | null | null | null | defmodule StormcasterWeb.ConnCase do
@moduledoc """
This module defines the test case to be used by
tests that require setting up a connection.
Such tests rely on `Phoenix.ConnTest` and also
import other functionality to make it easier
to build common datastructures and query the data layer.
Finally, if... | 27.128205 | 73 | 0.724953 |
74d2ec2df899afb717885be41d3a3501e306f80e | 2,724 | exs | Elixir | installer/phoenix/templates/phx_api/user_controller_test.exs | elixircnx/sanction | 5b270fd6eef980d37c06429271f64ec14e0f622d | [
"BSD-3-Clause"
] | 130 | 2016-06-21T07:58:46.000Z | 2022-01-01T21:45:23.000Z | installer/phoenix/templates/phx_api/user_controller_test.exs | elixircnx/sanction | 5b270fd6eef980d37c06429271f64ec14e0f622d | [
"BSD-3-Clause"
] | 50 | 2016-06-29T16:01:42.000Z | 2019-08-07T21:33:49.000Z | installer/phoenix/templates/phx_api/user_controller_test.exs | elixircnx/sanction | 5b270fd6eef980d37c06429271f64ec14e0f622d | [
"BSD-3-Clause"
] | 20 | 2016-07-02T11:37:33.000Z | 2018-10-26T19:12:41.000Z | defmodule <%= base %>.UserControllerTest do
use <%= base %>.ConnCase
import <%= base %>.TestHelpers
alias <%= base %>.{Repo, User}
@valid_attrs %{email: "bill@mail.com", username: "bill", password: "^hEsdg*F899"}
@invalid_attrs %{email: "", password: ""}
setup %{conn: conn} = config do
if username = ... | 33.62963 | 91 | 0.635095 |
74d2ed4f0390aecc6290f42d43233f6bce636afd | 1,245 | exs | Elixir | mix.exs | fhunleth/elixir_bme680 | b0dadd877e9eff9a7a3ad166702899cf552c7ab1 | [
"Apache-2.0"
] | null | null | null | mix.exs | fhunleth/elixir_bme680 | b0dadd877e9eff9a7a3ad166702899cf552c7ab1 | [
"Apache-2.0"
] | null | null | null | mix.exs | fhunleth/elixir_bme680 | b0dadd877e9eff9a7a3ad166702899cf552c7ab1 | [
"Apache-2.0"
] | null | null | null | defmodule ElixirBme680.MixProject do
use Mix.Project
def project do
[
app: :elixir_bme680,
version: "0.2.1",
elixir: "~> 1.7",
compilers: [:elixir_make] ++ Mix.compilers,
aliases: aliases(),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
... | 24.411765 | 179 | 0.570281 |
74d301c7801680a1acb9bbb9a68c21fd19880c74 | 1,608 | ex | Elixir | lib/adoptoposs/jobs/project_recommendations.ex | paulgoetze/adoptoposs | 1a143917ac5a192f12054fff4410a1ee18935353 | [
"MIT"
] | 120 | 2020-03-30T13:58:40.000Z | 2022-03-30T10:17:50.000Z | lib/adoptoposs/jobs/project_recommendations.ex | paulgoetze/adoptoposs | 1a143917ac5a192f12054fff4410a1ee18935353 | [
"MIT"
] | 34 | 2020-04-01T23:11:59.000Z | 2022-03-13T08:14:37.000Z | lib/adoptoposs/jobs/project_recommendations.ex | paulgoetze/adoptoposs | 1a143917ac5a192f12054fff4410a1ee18935353 | [
"MIT"
] | 16 | 2020-04-24T17:14:23.000Z | 2022-03-27T22:32:48.000Z | defmodule Adoptoposs.Jobs.ProjectRecommendations do
@moduledoc """
Job for emailing project recommendations to subscribed users.
"""
import Ecto.Query, only: [from: 2]
alias Adoptoposs.{Repo, Accounts, Submissions}
alias Adoptoposs.Accounts.User
alias AdoptopossWeb.Mailer
@project_per_tag 3
@task_t... | 25.52381 | 94 | 0.681592 |
74d318e4150716db400ebffbda16ae46fec091e4 | 5,064 | ex | Elixir | lib/absinthe/federation/notation.ex | trbngr/absinthe_federation | 7ebe9c26c16ea088e42914df9797acd04e9d9894 | [
"MIT"
] | null | null | null | lib/absinthe/federation/notation.ex | trbngr/absinthe_federation | 7ebe9c26c16ea088e42914df9797acd04e9d9894 | [
"MIT"
] | null | null | null | lib/absinthe/federation/notation.ex | trbngr/absinthe_federation | 7ebe9c26c16ea088e42914df9797acd04e9d9894 | [
"MIT"
] | null | null | null | defmodule Absinthe.Federation.Notation do
@moduledoc """
Module that includes macros for annotating a schema with federation directives.
## Example
defmodule MyApp.MySchema.Types do
use Absinthe.Schema.Notation
+ use Absinthe.Federation.Notation
end
"""
defmacro __using__(_opts) ... | 25.705584 | 119 | 0.634874 |
74d321dfe1413c66ab75d317ca606daee649caf6 | 354 | ex | Elixir | test/support/response_case.ex | Codaisseur/intercomx | 5d4b6d54c65d8babc3fca3252ae22305fa064917 | [
"MIT"
] | 1 | 2019-11-25T08:58:22.000Z | 2019-11-25T08:58:22.000Z | test/support/response_case.ex | antonioparisi/intercomx | 65e25bbeb366b200c10c098765ecc08983f1521a | [
"MIT"
] | 1 | 2020-02-07T12:22:59.000Z | 2020-02-07T12:22:59.000Z | test/support/response_case.ex | antonioparisi/intercomx | 65e25bbeb366b200c10c098765ecc08983f1521a | [
"MIT"
] | 1 | 2019-11-22T14:21:39.000Z | 2019-11-22T14:21:39.000Z | defmodule IntercomX.ResponseCase do
use ExUnit.CaseTemplate
def data(resource) do
File.read!(Path.expand(__ENV__.file <> "/../fixtures/" <> resource <> ".json"))
end
using do
quote do
def fixture(resource, type) do
IntercomX.ResponseCase.data(resource)
|> type.process_response_bo... | 19.666667 | 83 | 0.649718 |
74d3366a77a50b29a5fdf8153532057304bf0d53 | 1,964 | ex | Elixir | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_text_input.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | null | null | null | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_text_input.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-12-18T09:25:12.000Z | 2020-12-18T09:25:12.000Z | clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_text_input.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2021-03-04T13:43:47.000Z | 2021-03-04T13:43:47.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.28 | 344 | 0.748473 |
74d35dd1f58273e857c1f9ac8d67e08460ae0f88 | 4,523 | exs | Elixir | test/actions/multitenancy_test.exs | smt116/ash | 880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f | [
"MIT"
] | 528 | 2019-12-08T01:51:54.000Z | 2022-03-30T10:09:45.000Z | test/actions/multitenancy_test.exs | smt116/ash | 880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f | [
"MIT"
] | 278 | 2019-12-04T15:25:06.000Z | 2022-03-31T03:40:51.000Z | test/actions/multitenancy_test.exs | smt116/ash | 880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f | [
"MIT"
] | 53 | 2020-08-17T22:08:09.000Z | 2022-03-24T01:58:59.000Z | defmodule Ash.Actions.MultitenancyTest do
use ExUnit.Case, async: true
require Ash.Query
defmodule User do
@moduledoc false
use Ash.Resource, data_layer: Ash.DataLayer.Ets
ets do
private?(true)
end
multitenancy do
strategy(:attribute)
attribute(:org_id)
end
actio... | 21.745192 | 96 | 0.610214 |
74d37f304b470192242a41618772b20de13fc96e | 2,021 | ex | Elixir | clients/compute/lib/google_api/compute/v1/model/log_config_counter_options.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/compute/lib/google_api/compute/v1/model/log_config_counter_options.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/compute/lib/google_api/compute/v1/model/log_config_counter_options.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.844828 | 172 | 0.716477 |
74d38985e2a571c42785403e382b51cff222f704 | 787 | ex | Elixir | lib/membrane_rtsp/supervisor.ex | simoexpo/membrane_rtsp | f5fe12364535fd4ca234bc80c57a2f0c89e5fe25 | [
"Apache-2.0"
] | null | null | null | lib/membrane_rtsp/supervisor.ex | simoexpo/membrane_rtsp | f5fe12364535fd4ca234bc80c57a2f0c89e5fe25 | [
"Apache-2.0"
] | null | null | null | lib/membrane_rtsp/supervisor.ex | simoexpo/membrane_rtsp | f5fe12364535fd4ca234bc80c57a2f0c89e5fe25 | [
"Apache-2.0"
] | null | null | null | defmodule Membrane.RTSP.Supervisor do
@moduledoc """
This module provides Supervisor you can start in your Supervision tree and use
with `Membrane.RTSP.Session.new/4`.
"""
use DynamicSupervisor
alias Membrane.RTSP.Session
@spec start_link() :: Supervisor.on_start()
def start_link do
DynamicSupervis... | 27.137931 | 97 | 0.709022 |
74d398fb9b316a6277316f400370fdae86ce552c | 153 | exs | Elixir | test/rclex_samples_test.exs | kikuzo/rclex_samples | 7b22c10b99d5e2dc006785c701758942bf3662c1 | [
"Apache-2.0"
] | 1 | 2021-04-14T02:12:57.000Z | 2021-04-14T02:12:57.000Z | test/rclex_samples_test.exs | kikuzo/rclex_samples | 7b22c10b99d5e2dc006785c701758942bf3662c1 | [
"Apache-2.0"
] | 2 | 2021-06-10T01:32:03.000Z | 2021-11-30T09:13:44.000Z | test/rclex_samples_test.exs | kikuzo/rclex_samples | 7b22c10b99d5e2dc006785c701758942bf3662c1 | [
"Apache-2.0"
] | 1 | 2021-06-09T16:10:44.000Z | 2021-06-09T16:10:44.000Z | defmodule RclexSamplesTest do
use ExUnit.Case
doctest RclexSamples
test "greets the world" do
assert RclexSamples.hello() == :world
end
end
| 17 | 41 | 0.738562 |
74d3df45a9336392e000d797ab60cd682cbba1fa | 27,531 | exs | Elixir | test/groupher_server_web/mutation/cms/cms_test.exs | mydearxym/mastani_server | f24034a4a5449200165cf4a547964a0961793eab | [
"Apache-2.0"
] | 2 | 2018-03-26T08:56:21.000Z | 2018-07-02T22:34:51.000Z | test/groupher_server_web/mutation/cms/cms_test.exs | mydearxym/mastani_server | f24034a4a5449200165cf4a547964a0961793eab | [
"Apache-2.0"
] | 22 | 2018-03-21T03:40:50.000Z | 2018-07-10T06:33:10.000Z | test/groupher_server_web/mutation/cms/cms_test.exs | mydearxym/mastani_server | f24034a4a5449200165cf4a547964a0961793eab | [
"Apache-2.0"
] | null | null | null | defmodule GroupherServer.Test.Mutation.CMS.Basic do
@moduledoc false
use GroupherServer.TestTools
alias GroupherServer.{Accounts, CMS}
alias Accounts.Model.User
alias CMS.Model.{Category, Community, CommunityEditor, Passport}
alias Helper.ORM
alias CMS.Constant
@community_normal Constant.pending(:n... | 34.030902 | 126 | 0.64026 |
74d3efeede47db882225f40ed97ff836828777d9 | 124 | exs | Elixir | test/combinators_test.exs | gornik/val | cad203fdb14360d5595501f14732d4f6ae18f645 | [
"MIT"
] | 1 | 2020-02-23T14:59:07.000Z | 2020-02-23T14:59:07.000Z | test/combinators_test.exs | gornik/val | cad203fdb14360d5595501f14732d4f6ae18f645 | [
"MIT"
] | null | null | null | test/combinators_test.exs | gornik/val | cad203fdb14360d5595501f14732d4f6ae18f645 | [
"MIT"
] | null | null | null | defmodule Val.Test.CombinatorsTest do
use ExUnit.Case
import Val
import Val.Combinators
doctest Val.Combinators
end
| 17.714286 | 37 | 0.798387 |
74d3f40a914b67509d6a841356002746d237aebd | 132 | exs | Elixir | priv/repo/migrations/20210419120110_add_oban_jobs_table.exs | ScapeGuru/osrs_api_proxy | 7d4cace8e5185ec60a324de274df225a58049b7a | [
"Apache-2.0"
] | null | null | null | priv/repo/migrations/20210419120110_add_oban_jobs_table.exs | ScapeGuru/osrs_api_proxy | 7d4cace8e5185ec60a324de274df225a58049b7a | [
"Apache-2.0"
] | 37 | 2021-04-19T23:56:46.000Z | 2022-02-28T15:14:04.000Z | priv/repo/migrations/20210419120110_add_oban_jobs_table.exs | ScapeGuru/osrs_api_proxy | 7d4cace8e5185ec60a324de274df225a58049b7a | [
"Apache-2.0"
] | null | null | null | defmodule OsrsApiProxy.Repo.Migrations.AddObanJobsTable do
use Ecto.Migration
def change do
Oban.Migrations.up()
end
end
| 16.5 | 58 | 0.772727 |
74d41a9b283623e0dcccbe718f7cc1c9a8188b18 | 141 | ex | Elixir | Sources/server/lib/storage.ex | Zimtir/Meeter | a88b09576cb6f20c352c01d4a8bb71757e1be41c | [
"MIT"
] | null | null | null | Sources/server/lib/storage.ex | Zimtir/Meeter | a88b09576cb6f20c352c01d4a8bb71757e1be41c | [
"MIT"
] | null | null | null | Sources/server/lib/storage.ex | Zimtir/Meeter | a88b09576cb6f20c352c01d4a8bb71757e1be41c | [
"MIT"
] | null | null | null | defmodule Storage do
use Application
def start(_type, _args) do
Storage.Application.start_link(name: Storage.Application)
end
end
| 17.625 | 61 | 0.765957 |
74d4466a99f9c8adbb8d873de389b31c08cc46a1 | 1,038 | exs | Elixir | test/mqtt_matcher_test.exs | timbuchwaldt/mqtt_matcher | 1c32cd7ccac264044690056c1203781e2395c487 | [
"MIT"
] | 2 | 2017-10-23T02:00:37.000Z | 2020-09-22T07:59:35.000Z | test/mqtt_matcher_test.exs | timbuchwaldt/mqtt_matcher | 1c32cd7ccac264044690056c1203781e2395c487 | [
"MIT"
] | null | null | null | test/mqtt_matcher_test.exs | timbuchwaldt/mqtt_matcher | 1c32cd7ccac264044690056c1203781e2395c487 | [
"MIT"
] | null | null | null | defmodule MQTTMatcherTest do
use ExUnit.Case
test "single wildcard" do
assert SampleMatcher.match("foo", "payload") == :single_wildcard
end
test "multiple wildcards" do
assert SampleMatcher.match("test/ignored_bar/ignored_baz", "payload") == {:wildcard, "test"}
end
test "ignored wildcards" do
... | 27.315789 | 97 | 0.573218 |
74d44e6a7e8d07966bcd4037632545a134990672 | 833 | ex | Elixir | lib/code/formatter.ex | tlossen/elixir | 38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b | [
"MIT"
] | 1 | 2015-10-25T11:30:13.000Z | 2015-10-25T11:30:13.000Z | lib/code/formatter.ex | tlossen/elixir | 38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b | [
"MIT"
] | null | null | null | lib/code/formatter.ex | tlossen/elixir | 38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b | [
"MIT"
] | null | null | null | % This module contains some utilities function that formats objects
% and backtraces to be exhibited in output.
module Code::Formatter
def format_stacktrace({module, method, arity})
if Erlang.is_list(arity)
"#{module}##{method}(#{format_object(arity)[1,-2]})"
else
"#{module}##{method}/#{arity}"
... | 27.766667 | 72 | 0.672269 |
74d45d66263137bc21ec36adaad114aea36c862b | 3,736 | ex | Elixir | lib/coherence_assent/strategies/oauth2.ex | Schultzer/coherence_assent | 5adf518d7760641e686ca2c588def0e8f62ea093 | [
"MIT",
"Unlicense"
] | null | null | null | lib/coherence_assent/strategies/oauth2.ex | Schultzer/coherence_assent | 5adf518d7760641e686ca2c588def0e8f62ea093 | [
"MIT",
"Unlicense"
] | null | null | null | lib/coherence_assent/strategies/oauth2.ex | Schultzer/coherence_assent | 5adf518d7760641e686ca2c588def0e8f62ea093 | [
"MIT",
"Unlicense"
] | null | null | null | defmodule CoherenceAssent.Strategies.OAuth2 do
@moduledoc """
OAuth 2.0 strategy.
"""
@doc false
def authorize_url(conn: conn, config: config) do
state = gen_state()
redirect_uri = config[:redirect_uri]
params = authorization_params(config, state, redirect_uri)
url = co... | 38.515464 | 140 | 0.638116 |
74d48f3f66651a9275d6a6398902f089e1999475 | 1,144 | ex | Elixir | lib/ccs811/registries.ex | Efesto/ccs811 | eb3b0dda8000c0b20bb154705000623f757547d9 | [
"Apache-2.0"
] | 2 | 2021-01-25T21:35:56.000Z | 2021-02-04T23:10:17.000Z | lib/ccs811/registries.ex | Efesto/ccs811 | eb3b0dda8000c0b20bb154705000623f757547d9 | [
"Apache-2.0"
] | 1 | 2022-01-08T21:27:49.000Z | 2022-01-27T17:48:57.000Z | lib/ccs811/registries.ex | Efesto/ccs811 | eb3b0dda8000c0b20bb154705000623f757547d9 | [
"Apache-2.0"
] | null | null | null | defmodule Ccs811.Registries do
def all() do
%{
status: %{address: 0x00, bytes: 1, read: true, write: false},
meas_mode: %{address: 0x01, bytes: 1, read: true, write: true},
alg_result_data: %{address: 0x02, bytes: 8, read: true, write: false},
raw_data: %{address: 0x03, bytes: 2, read: tru... | 44 | 76 | 0.618007 |
74d4a89aacdd842c6009e8adf1d3289784cd1e13 | 3,662 | exs | Elixir | test/themoviedb_alexa_test.exs | qgadrian/themoviedb_alexa | 8dbfa236bd0621ba83d5e8cbf2721d6a4dac4418 | [
"MIT"
] | 1 | 2020-01-12T18:49:14.000Z | 2020-01-12T18:49:14.000Z | test/themoviedb_alexa_test.exs | qgadrian/themoviedb_alexa | 8dbfa236bd0621ba83d5e8cbf2721d6a4dac4418 | [
"MIT"
] | null | null | null | test/themoviedb_alexa_test.exs | qgadrian/themoviedb_alexa | 8dbfa236bd0621ba83d5e8cbf2721d6a4dac4418 | [
"MIT"
] | null | null | null | defmodule ThemoviedbAlexaTest do
use ExUnit.Case
doctest ThemoviedbAlexa
import Mox
alias Themoviedb.MovieInfo
@context_request %{}
@launch_request %{
"request" => %{
"locale" => "es-ES",
"requestId" => "amzn1.echo-api.request",
"shouldLinkResultBeReturned" => false,
"timesta... | 26.536232 | 130 | 0.494812 |
74d4aae81130e4158dfb8f8b474e8c44024e83a4 | 737 | exs | Elixir | test/svg_builder_test.exs | stuart/svg_builder | b7e1eaa24c36adbd4e7c7c1fe4d30fa8be057b7c | [
"MIT"
] | null | null | null | test/svg_builder_test.exs | stuart/svg_builder | b7e1eaa24c36adbd4e7c7c1fe4d30fa8be057b7c | [
"MIT"
] | null | null | null | test/svg_builder_test.exs | stuart/svg_builder | b7e1eaa24c36adbd4e7c7c1fe4d30fa8be057b7c | [
"MIT"
] | null | null | null | defmodule SvgBuilderTest do
use ExUnit.Case
use SvgBuilder
doctest SvgBuilder
test "creating an svg element" do
assert {:svg,
%{
height: "200",
version: "1.1",
viewBox: "0 0 100 200",
width: "100",
xmlns: "http://www.w3.org/... | 26.321429 | 73 | 0.521031 |
74d4c746eb6ce75497acf9f391c8ebdb8726614b | 1,671 | ex | Elixir | lib/google_api/storage/v1/model/bucket_lifecycle_action.ex | albert-io/elixir-google-api-storage | 302144ec2c1261104d1a20942482796b2fc0905f | [
"Apache-2.0"
] | null | null | null | lib/google_api/storage/v1/model/bucket_lifecycle_action.ex | albert-io/elixir-google-api-storage | 302144ec2c1261104d1a20942482796b2fc0905f | [
"Apache-2.0"
] | null | null | null | lib/google_api/storage/v1/model/bucket_lifecycle_action.ex | albert-io/elixir-google-api-storage | 302144ec2c1261104d1a20942482796b2fc0905f | [
"Apache-2.0"
] | 1 | 2019-04-17T05:52:55.000Z | 2019-04-17T05:52:55.000Z | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 30.944444 | 127 | 0.743268 |
74d4d0a1994dd1fe171979547fdfdb6df997b5d0 | 1,820 | ex | Elixir | farmbot_celery_script/lib/farmbot_celery_script/ast/factory.ex | elbow-jason/farmbot_os | f5dfc8f58a309285ca3d441b1b7272f15315b2a9 | [
"MIT"
] | null | null | null | farmbot_celery_script/lib/farmbot_celery_script/ast/factory.ex | elbow-jason/farmbot_os | f5dfc8f58a309285ca3d441b1b7272f15315b2a9 | [
"MIT"
] | null | null | null | farmbot_celery_script/lib/farmbot_celery_script/ast/factory.ex | elbow-jason/farmbot_os | f5dfc8f58a309285ca3d441b1b7272f15315b2a9 | [
"MIT"
] | null | null | null | defmodule FarmbotCeleryScript.AST.Factory do
@moduledoc """
Helpers for creating ASTs.
"""
alias FarmbotCeleryScript.AST
def new do
%AST{body: []}
end
def new(kind, args \\ %{}, body \\ []) do
AST.new(kind, Map.new(args), body)
end
def rpc_request(%AST{} = ast, label) when is_binary(label)... | 21.666667 | 96 | 0.633516 |
74d4d304786847e9b8e198708e22ff282eb432fe | 130 | ex | Elixir | lib/nano_planner_web/views/lesson_view.ex | ysaito8015/nano_planner | 1819b4091e490a6478d6ca91adb39c6e54930e94 | [
"MIT"
] | null | null | null | lib/nano_planner_web/views/lesson_view.ex | ysaito8015/nano_planner | 1819b4091e490a6478d6ca91adb39c6e54930e94 | [
"MIT"
] | null | null | null | lib/nano_planner_web/views/lesson_view.ex | ysaito8015/nano_planner | 1819b4091e490a6478d6ca91adb39c6e54930e94 | [
"MIT"
] | null | null | null | defmodule NanoPlannerWeb.LessonView do
use NanoPlannerWeb, :view
def document_title(_assigns) do
"NanoPlanner"
end
end
| 16.25 | 38 | 0.769231 |
74d4e9c38edf862edb3661f96aa5df8ccace4b83 | 2,030 | ex | Elixir | lib/ex_hl7/composite/default/pl.ex | workpathco/ex_hl7 | 20f2fadb158e903cf1752f69cd0ecdeae377c2c3 | [
"Apache-2.0"
] | 38 | 2015-06-21T17:44:44.000Z | 2021-10-03T08:46:08.000Z | lib/ex_hl7/composite/default/pl.ex | workpathco/ex_hl7 | 20f2fadb158e903cf1752f69cd0ecdeae377c2c3 | [
"Apache-2.0"
] | 2 | 2019-08-27T17:27:37.000Z | 2021-02-05T14:27:28.000Z | lib/ex_hl7/composite/default/pl.ex | workpathco/ex_hl7 | 20f2fadb158e903cf1752f69cd0ecdeae377c2c3 | [
"Apache-2.0"
] | 14 | 2016-02-04T15:11:55.000Z | 2021-11-13T20:28:19.000Z | defmodule HL7.Composite.Default.PL do
@moduledoc """
2.9.29 PL - person location
Components:
- `point_of_care` (IS)
- `room` (IS)
- `bed` (IS)
- `facility` (HD)
- `location_status` (IS )
- `person_location_type` (IS)
- `building` (IS )
- `floor` (IS)
- `location_description` ... | 31.71875 | 77 | 0.683251 |
74d4f3cf77c880a4e56cd9246b92c5a6686fe2b2 | 1,945 | ex | Elixir | apps/core/lib/core_web/telemetry.ex | votiakov/petal | ec03551da6dadc0c3482b25a5f5dcd400c36db43 | [
"MIT"
] | null | null | null | apps/core/lib/core_web/telemetry.ex | votiakov/petal | ec03551da6dadc0c3482b25a5f5dcd400c36db43 | [
"MIT"
] | null | null | null | apps/core/lib/core_web/telemetry.ex | votiakov/petal | ec03551da6dadc0c3482b25a5f5dcd400c36db43 | [
"MIT"
] | null | null | null | defmodule Legendary.CoreWeb.Telemetry do
@moduledoc """
Collects metrics for the application and allows them to be transmitted using the Telemetry framework.
"""
use Supervisor
import Telemetry.Metrics
def start_link(arg) do
Supervisor.start_link(__MODULE__, arg, name: __MODULE__)
end
@impl true
... | 32.966102 | 103 | 0.675578 |
74d505e8e03fc0068388a0e54da4fed1ddf0beee | 1,483 | exs | Elixir | test/service/time_formater_test.exs | TheLe0/bankingixir | 3f5f81452ad26f813b160c046143d316baa3985e | [
"MIT"
] | null | null | null | test/service/time_formater_test.exs | TheLe0/bankingixir | 3f5f81452ad26f813b160c046143d316baa3985e | [
"MIT"
] | 1 | 2022-01-31T14:04:19.000Z | 2022-01-31T14:06:46.000Z | test/service/time_formater_test.exs | TheLe0/bankingixir | 3f5f81452ad26f813b160c046143d316baa3985e | [
"MIT"
] | null | null | null | defmodule TimeTest do
use ExUnit.Case
alias TimeFormater
describe "Get time now" do
test "milliseconds" do
time = TimeFormater.now(:milliseconds)
assert time > 1_643_488_076
end
end
describe "Get time yesterday" do
test "milliseconds" do
today = TimeFormater.now(:milliseconds... | 21.808824 | 57 | 0.681052 |
74d5103f7efe035ba2c488f2031b102814d45005 | 33,769 | ex | Elixir | lib/livebook/session.ex | chitacan/livebook | f44e34d3d75a59dc0cc0ccc86cf1de9f1924c002 | [
"Apache-2.0"
] | null | null | null | lib/livebook/session.ex | chitacan/livebook | f44e34d3d75a59dc0cc0ccc86cf1de9f1924c002 | [
"Apache-2.0"
] | null | null | null | lib/livebook/session.ex | chitacan/livebook | f44e34d3d75a59dc0cc0ccc86cf1de9f1924c002 | [
"Apache-2.0"
] | null | null | null | defmodule Livebook.Session do
@moduledoc false
# Server corresponding to a single notebook session.
#
# The process keeps the current notebook state and serves
# as a source of truth that multiple clients talk to.
# Receives update requests from the clients and notifies
# them of any changes applied to t... | 30.952337 | 98 | 0.680506 |
74d55a4588c0f32b6ed2f0fa464d7a3dc5f965e6 | 19,686 | ex | Elixir | lib/elixir/lib/protocol.ex | gsphanikumar/elixir | 6ca225da4e016200a462888348ff1c3feb625b78 | [
"Apache-2.0"
] | 4 | 2015-12-22T02:46:39.000Z | 2016-04-26T06:11:09.000Z | lib/elixir/lib/protocol.ex | alco/elixir | 4407170349aa12c58664cab2122374167e827f5e | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/protocol.ex | alco/elixir | 4407170349aa12c58664cab2122374167e827f5e | [
"Apache-2.0"
] | null | null | null | defmodule Protocol do
@moduledoc """
Functions for working with protocols.
"""
@doc """
Defines a new protocol function.
Protocols do not allow functions to be defined directly, instead, the
regular `Kernel.def/*` macros are replaced by this macro which
defines the protocol functions with the appropri... | 30.193252 | 116 | 0.626638 |
74d55b3d3c8b949bcf81f54848d8fcb39f340d96 | 2,392 | ex | Elixir | clients/analytics/lib/google_api/analytics/v3/model/goal_url_destination_details.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/analytics/lib/google_api/analytics/v3/model/goal_url_destination_details.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/analytics/lib/google_api/analytics/v3/model/goal_url_destination_details.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... | 40.542373 | 160 | 0.714883 |
74d56fcdcfa74e1c75da31190f4bf91d0b0cddfa | 169 | ex | Elixir | test/support/components/outer.ex | rktjmp/temple | 6fe46cbb4998477d76147fa95c9fd9c7841545ef | [
"MIT"
] | null | null | null | test/support/components/outer.ex | rktjmp/temple | 6fe46cbb4998477d76147fa95c9fd9c7841545ef | [
"MIT"
] | null | null | null | test/support/components/outer.ex | rktjmp/temple | 6fe46cbb4998477d76147fa95c9fd9c7841545ef | [
"MIT"
] | null | null | null | defmodule Temple.Components.Outer do
use Temple.Component
render do
c Temple.Components.Inner, outer_id: "from-outer" do
@inner_content
end
end
end
| 16.9 | 56 | 0.715976 |
74d57955bb56fcc52fdc318d1304121720a8b636 | 916 | exs | Elixir | config/config.exs | Zesky665/GradProject | dad0152de7be505338b1ddbbfcfa82fafe613b68 | [
"Unlicense"
] | null | null | null | config/config.exs | Zesky665/GradProject | dad0152de7be505338b1ddbbfcfa82fafe613b68 | [
"Unlicense"
] | null | null | null | config/config.exs | Zesky665/GradProject | dad0152de7be505338b1ddbbfcfa82fafe613b68 | [
"Unlicense"
] | null | null | null | # This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config
# General application configuration
config :chat,
ecto_repos: [Chat.Repo]
# Config... | 32.714286 | 86 | 0.753275 |
74d5abc1c8c0f71f06fecd0640a291a3201ce186 | 14,702 | ex | Elixir | lib/phoenix_live_view/html_formatter.ex | feliperenan/phoenix_live_view | af65bb51fe12ea88e7c66808d2b1118e1c491ddd | [
"MIT"
] | null | null | null | lib/phoenix_live_view/html_formatter.ex | feliperenan/phoenix_live_view | af65bb51fe12ea88e7c66808d2b1118e1c491ddd | [
"MIT"
] | null | null | null | lib/phoenix_live_view/html_formatter.ex | feliperenan/phoenix_live_view | af65bb51fe12ea88e7c66808d2b1118e1c491ddd | [
"MIT"
] | null | null | null | defmodule Phoenix.LiveView.HTMLFormatter do
@moduledoc """
Format HEEx templates from `.heex` files or `~H` sigils.
This is a `mix format` [plugin](https://hexdocs.pm/mix/main/Mix.Tasks.Format.html#module-plugins).
> Note: The HEEx HTML Formatter requires Elixir v1.13.4 or later.
## Setup
Add it as plug... | 32.170678 | 118 | 0.607128 |
74d5b341eec5f7be4bb70a25c6b610edd8d681fa | 79 | ex | Elixir | priv/templates/coherence.install/views/coherence/unlock_view.ex | remigijusj/coherence | 36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a | [
"MIT"
] | 1 | 2022-03-06T16:30:21.000Z | 2022-03-06T16:30:21.000Z | priv/templates/coherence.install/views/coherence/unlock_view.ex | ysbaddaden/coherence | 5c4f26d3c87f6a16638adf623d041e2723ccf2b8 | [
"MIT"
] | null | null | null | priv/templates/coherence.install/views/coherence/unlock_view.ex | ysbaddaden/coherence | 5c4f26d3c87f6a16638adf623d041e2723ccf2b8 | [
"MIT"
] | 2 | 2017-09-22T16:54:36.000Z | 2021-11-09T20:55:58.000Z | defmodule Coherence.UnlockView do
use <%= base %>.Coherence.Web, :view
end
| 13.166667 | 38 | 0.708861 |
74d5c338c4fd7c5c2179ddc081c14872854a8b40 | 186 | exs | Elixir | priv/test_repo/migrations/20170111185653_create_category.exs | nickolaich/formex_ecto | 322907daa4924d1c297acc7f9e60f99bc8f2f6f3 | [
"MIT"
] | 20 | 2017-06-25T12:30:03.000Z | 2021-04-25T06:43:31.000Z | priv/test_repo/migrations/20170111185653_create_category.exs | nickolaich/formex_ecto | 322907daa4924d1c297acc7f9e60f99bc8f2f6f3 | [
"MIT"
] | 8 | 2017-11-19T17:15:32.000Z | 2020-02-02T12:50:03.000Z | priv/test_repo/migrations/20170111185653_create_category.exs | nickolaich/formex_ecto | 322907daa4924d1c297acc7f9e60f99bc8f2f6f3 | [
"MIT"
] | 9 | 2018-03-30T22:14:13.000Z | 2021-11-15T12:12:56.000Z | defmodule Formex.Repo.Migrations.CreateCategory do
use Ecto.Migration
def change do
create table(:categories) do
add :name, :string
timestamps()
end
end
end
| 14.307692 | 50 | 0.682796 |
74d5c49dfdc56a045234a1d7b481f41d122a1d16 | 5,704 | ex | Elixir | clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/http_request.ex | renovate-bot/elixir-google-api | 1da34cd39b670c99f067011e05ab90af93fef1f6 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/http_request.ex | swansoffiee/elixir-google-api | 9ea6d39f273fb430634788c258b3189d3613dde0 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/http_request.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... | 92 | 1,307 | 0.744039 |
74d5d6a2cbd4e6e4c74b3e4cf2df0cec0aaaee7f | 944 | exs | Elixir | test/ex_machina/sequence_test.exs | cnsa/ex_machina | 8a55155df735b2d0c143676f451a7a1ee191dc85 | [
"MIT"
] | null | null | null | test/ex_machina/sequence_test.exs | cnsa/ex_machina | 8a55155df735b2d0c143676f451a7a1ee191dc85 | [
"MIT"
] | null | null | null | test/ex_machina/sequence_test.exs | cnsa/ex_machina | 8a55155df735b2d0c143676f451a7a1ee191dc85 | [
"MIT"
] | null | null | null | defmodule ExMachina.SequenceTest do
use ExUnit.Case
alias ExMachina.Sequence
setup do
Agent.update(ExMachina.Sequence, fn(_) -> HashDict.new end)
end
test "increments the sequence each time it is called" do
assert "joe0" == Sequence.next(:name, &"joe#{&1}")
assert "joe1" == Sequence.next(:name,... | 28.606061 | 63 | 0.661017 |
74d5e450bd06594fa384d3751f45d58bce755cb0 | 389 | ex | Elixir | lib/rocketpay/accounts/withdraw.ex | henrique-tavares/rocketpay | 0c37071cd3e63dd51cae16d773522eb6a5de84d4 | [
"MIT"
] | null | null | null | lib/rocketpay/accounts/withdraw.ex | henrique-tavares/rocketpay | 0c37071cd3e63dd51cae16d773522eb6a5de84d4 | [
"MIT"
] | null | null | null | lib/rocketpay/accounts/withdraw.ex | henrique-tavares/rocketpay | 0c37071cd3e63dd51cae16d773522eb6a5de84d4 | [
"MIT"
] | null | null | null | defmodule Rocketpay.Accounts.Withdraw do
alias Rocketpay.{Repo, Accounts.Operation}
def call(params) do
params
|> Operation.call(:withdraw)
|> run_transaction()
end
defp run_transaction(multi) do
case Repo.transaction(multi) do
{:error, _operaions, reason, _changes} -> {:error, reason}
... | 22.882353 | 64 | 0.663239 |
74d5f1b5ad380414d946ef623cc141e0b55e9560 | 2,217 | exs | Elixir | apps/admin_api/test/admin_api/v1/controllers/provider_auth/self_controller_test.exs | vanmil/ewallet | 6c1aca95a83e0a9d93007670a40d8c45764a8122 | [
"Apache-2.0"
] | null | null | null | apps/admin_api/test/admin_api/v1/controllers/provider_auth/self_controller_test.exs | vanmil/ewallet | 6c1aca95a83e0a9d93007670a40d8c45764a8122 | [
"Apache-2.0"
] | null | null | null | apps/admin_api/test/admin_api/v1/controllers/provider_auth/self_controller_test.exs | vanmil/ewallet | 6c1aca95a83e0a9d93007670a40d8c45764a8122 | [
"Apache-2.0"
] | null | null | null | defmodule AdminAPI.V1.ProviderAuth.SelfControllerTest do
use AdminAPI.ConnCase, async: true
import Ecto.Query
alias EWalletDB.{Membership, Repo}
describe "/me.get" do
test "gets access_key:unauthorized back" do
response = provider_request("/me.get")
refute response["success"]
assert resp... | 29.56 | 85 | 0.635995 |
74d5fb6d1e0a3c725c3448bbe977b6ae76d10846 | 1,092 | exs | Elixir | mix.exs | eldelto/chunker | 7a598d84f45448bac013a384e6811d9c3f872548 | [
"Apache-2.0"
] | null | null | null | mix.exs | eldelto/chunker | 7a598d84f45448bac013a384e6811d9c3f872548 | [
"Apache-2.0"
] | null | null | null | mix.exs | eldelto/chunker | 7a598d84f45448bac013a384e6811d9c3f872548 | [
"Apache-2.0"
] | null | null | null | defmodule Chunker.MixProject do
use Mix.Project
def project do
[
app: :chunker,
version: "0.12.1",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/eldelto/chunke... | 22.75 | 72 | 0.576007 |
74d6314a9833406d6607e32e1579988d9b48cc6c | 6,111 | ex | Elixir | apps/auth/lib/auth/test_helper.ex | calebcarroll1/smartcitiesdata | b0f03496f6c592c82ba14aebf6c5996311cf3cd0 | [
"Apache-2.0"
] | 26 | 2019-09-20T23:54:45.000Z | 2020-08-20T14:23:32.000Z | apps/auth/lib/auth/test_helper.ex | calebcarroll1/smartcitiesdata | b0f03496f6c592c82ba14aebf6c5996311cf3cd0 | [
"Apache-2.0"
] | 757 | 2019-08-15T18:15:07.000Z | 2020-09-18T20:55:31.000Z | apps/auth/lib/auth/test_helper.ex | calebcarroll1/smartcitiesdata | b0f03496f6c592c82ba14aebf6c5996311cf3cd0 | [
"Apache-2.0"
] | 9 | 2019-11-12T16:43:46.000Z | 2020-03-25T16:23:16.000Z | defmodule Auth.TestHelper do
@moduledoc """
Helper functions and valid values for testing auth things.
"""
def valid_jwt() do
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik9ESXlSRU5ETkVZelFrVkVNakF5TnpFNFJUTkNNVE0yUVROR1JqVTJOVVUzUXpaRFFVUTFPUSJ9.eyJodHRwczovL2FuZGkuc21hcnRjb2x1bWJ1c29zLmNvbS9yb2xlcyI6WyJ... | 92.590909 | 1,074 | 0.90378 |
74d63332b645dbe87cbccf8ce43bea5c23641799 | 1,451 | ex | Elixir | lib/code_corps/stripe_testing/subscription.ex | superdev999/Phoenix-project | ab13ac9366cdd0aa9581da7faf993b11aaa5344c | [
"MIT"
] | null | null | null | lib/code_corps/stripe_testing/subscription.ex | superdev999/Phoenix-project | ab13ac9366cdd0aa9581da7faf993b11aaa5344c | [
"MIT"
] | null | null | null | lib/code_corps/stripe_testing/subscription.ex | superdev999/Phoenix-project | ab13ac9366cdd0aa9581da7faf993b11aaa5344c | [
"MIT"
] | null | null | null | defmodule CodeCorps.StripeTesting.Subscription do
def create(map, _opts \\ []) do
{:ok, do_create(map)}
end
def retrieve(map, _opts \\ []) do
{:ok, do_retrieve(map)}
end
defp do_create(%{quantity: quantity}) do
{:ok, plan} = CodeCorps.StripeTesting.Plan.create(%{}, [])
%Stripe.Subscription{... | 23.403226 | 62 | 0.605789 |
74d63ffa04e0c21c6dc0e155019a8b41ac7b8f38 | 2,093 | ex | Elixir | clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_metric_value_set.ex | mcrumm/elixir-google-api | 544f22797cec52b3a23dfb6e39117f0018448610 | [
"Apache-2.0"
] | null | null | null | clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_metric_value_set.ex | mcrumm/elixir-google-api | 544f22797cec52b3a23dfb6e39117f0018448610 | [
"Apache-2.0"
] | null | null | null | clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_metric_value_set.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... | 34.883333 | 160 | 0.746297 |
74d6436d7c40a3c0fb10331a6101c4d94e1eaa49 | 4,868 | ex | Elixir | clients/app_engine/lib/google_api/app_engine/v1/model/instance.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/app_engine/lib/google_api/app_engine/v1/model/instance.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/app_engine/lib/google_api/app_engine/v1/model/instance.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... | 51.242105 | 193 | 0.672555 |
74d6449d62547892a2eeeedeb4cf90f785d2df25 | 566 | exs | Elixir | template/$PROJECT_NAME$/apps/util/mix.exs | mitjok/gen_template_litslink_umbrella | eadef26e83a1bb540a360f0bf5db0f519a100f8b | [
"Apache-2.0"
] | 1 | 2020-07-01T07:09:02.000Z | 2020-07-01T07:09:02.000Z | template/$PROJECT_NAME$/apps/util/mix.exs | mitjok/gen_template_litslink_umbrella | eadef26e83a1bb540a360f0bf5db0f519a100f8b | [
"Apache-2.0"
] | null | null | null | template/$PROJECT_NAME$/apps/util/mix.exs | mitjok/gen_template_litslink_umbrella | eadef26e83a1bb540a360f0bf5db0f519a100f8b | [
"Apache-2.0"
] | null | null | null | defmodule Util.MixProject do
use Mix.Project
def project do
[
app: :util,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applicat... | 19.517241 | 87 | 0.572438 |
74d648f54ab2ab58eff19fa5ee633d8ec65e2a17 | 4,553 | ex | Elixir | lib/ex_rabbit_m_q/config/connection.ex | StoiximanServices/exrabbitmq | 66b37555a5aa50a3b938c7bac2b8485df58f0639 | [
"MIT"
] | 14 | 2017-10-23T11:56:13.000Z | 2021-08-24T10:38:52.000Z | lib/ex_rabbit_m_q/config/connection.ex | StoiximanServices/exrabbitmq | 66b37555a5aa50a3b938c7bac2b8485df58f0639 | [
"MIT"
] | 10 | 2017-09-18T15:32:10.000Z | 2020-03-20T07:25:47.000Z | lib/ex_rabbit_m_q/config/connection.ex | StoiximanServices/exrabbitmq | 66b37555a5aa50a3b938c7bac2b8485df58f0639 | [
"MIT"
] | 7 | 2017-09-18T15:32:39.000Z | 2019-07-10T11:13:57.000Z | defmodule ExRabbitMQ.Config.Connection do
@moduledoc """
A structure holding the necessary information about a connection to a RabbitMQ node.
#### Connection configuration example:
```elixir
# :connection is this connection's configuration name
config :exrabbitmq, :my_connection_config,
# username fo... | 29.953947 | 113 | 0.666593 |
74d68b74af22e2aae6fcc925de07f4d7db6a4914 | 5,293 | ex | Elixir | lib/infinity_one_web/coherence_messages.ex | smpallen99/ucx_ucc | 47225f205a6ac4aacdb9bb4f7512dcf4092576ad | [
"MIT"
] | 11 | 2017-05-15T18:35:05.000Z | 2018-02-05T18:27:40.000Z | lib/infinity_one_web/coherence_messages.ex | anndream/infinity_one | 47225f205a6ac4aacdb9bb4f7512dcf4092576ad | [
"MIT"
] | 15 | 2017-11-27T10:38:05.000Z | 2018-02-09T20:42:08.000Z | lib/infinity_one_web/coherence_messages.ex | anndream/infinity_one | 47225f205a6ac4aacdb9bb4f7512dcf4092576ad | [
"MIT"
] | 4 | 2017-09-13T11:34:16.000Z | 2018-02-26T13:37:06.000Z | defmodule InfinityOneWeb.Coherence.Messages do
@moduledoc """
Application facing messages generated by the Coherence application.
This module was created by the coh.install mix task. It contains all the
messages used in the coherence application except those in other generated
files like the view and templat... | 66.1625 | 137 | 0.767995 |
74d6baf676ee58168f0fa56726a530a1467e3859 | 1,129 | exs | Elixir | example/config/config.exs | axelson/docception | 09ba947b483518c1e123de24f64de912d996cbba | [
"Apache-2.0"
] | 21 | 2019-05-15T09:43:20.000Z | 2021-01-12T10:04:47.000Z | example/config/config.exs | axelson/docception | 09ba947b483518c1e123de24f64de912d996cbba | [
"Apache-2.0"
] | 5 | 2019-09-02T21:49:40.000Z | 2021-10-04T14:12:05.000Z | example/config/config.exs | arjan/sworm | a76a5fed2108db2a58615cd2d1721139d608ef23 | [
"MIT"
] | 2 | 2019-09-02T17:46:56.000Z | 2021-05-07T12:44:42.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.419355 | 73 | 0.751107 |
74d6cbb878725a86d757ebb1058594fb39aca79d | 1,495 | ex | Elixir | clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex | renovate-bot/elixir-google-api | 1da34cd39b670c99f067011e05ab90af93fef1f6 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex | swansoffiee/elixir-google-api | 9ea6d39f273fb430634788c258b3189d3613dde0 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.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... | 31.808511 | 123 | 0.748495 |
74d6d202674bc088237259f12fe6c260ad1b5a60 | 174 | ex | Elixir | lib/mix/tasks/register_plugins.build.ex | crosscloudci/ex_ci_proxy | 906b8d2f51f4324893f205ab647edaf34c271170 | [
"Apache-2.0"
] | null | null | null | lib/mix/tasks/register_plugins.build.ex | crosscloudci/ex_ci_proxy | 906b8d2f51f4324893f205ab647edaf34c271170 | [
"Apache-2.0"
] | 2 | 2019-12-18T18:08:10.000Z | 2020-11-30T23:01:37.000Z | lib/mix/tasks/register_plugins.build.ex | crosscloudci/ex_ci_proxy | 906b8d2f51f4324893f205ab647edaf34c271170 | [
"Apache-2.0"
] | null | null | null | defmodule Mix.Tasks.RegisterPlugins.Build do
use Mix.Task
@shortdoc "Build all plugins"
def run(_) do
ExCiProxy.RegisterPlugin.register_all_ci_systems()
end
end
| 19.333333 | 54 | 0.764368 |
74d6ddf979e8e6b12f730899c42d050997f85e89 | 73 | ex | Elixir | lib/demo_fixtures_web/views/layout_view.ex | Aridjar/demo_fixtures | 3f427c3bd9aa6debab21b75122e0ba164f7fc217 | [
"MIT"
] | null | null | null | lib/demo_fixtures_web/views/layout_view.ex | Aridjar/demo_fixtures | 3f427c3bd9aa6debab21b75122e0ba164f7fc217 | [
"MIT"
] | 2 | 2021-03-09T19:18:16.000Z | 2021-05-10T16:10:11.000Z | lib/demo_fixtures_web/views/layout_view.ex | Aridjar/demo_fixtures | 3f427c3bd9aa6debab21b75122e0ba164f7fc217 | [
"MIT"
] | null | null | null | defmodule DemoFixturesWeb.LayoutView do
use DemoFixturesWeb, :view
end
| 18.25 | 39 | 0.835616 |
74d7d266b0e0d681925c5409ae9b3a5f47e19f23 | 2,775 | ex | Elixir | clients/chat/lib/google_api/chat/v1/model/annotation.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/chat/lib/google_api/chat/v1/model/annotation.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/chat/lib/google_api/chat/v1/model/annotation.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 47.844828 | 733 | 0.699459 |
74d7dcc30e6f7e1755f88922a0bde25ffc1eebc2 | 1,030 | ex | Elixir | anituber/lib/anituber/application.ex | Ogiwara-CostlierRain464/Anituber | 5ce128883ee609e785416b18cc9ca3ebc3877258 | [
"MIT"
] | null | null | null | anituber/lib/anituber/application.ex | Ogiwara-CostlierRain464/Anituber | 5ce128883ee609e785416b18cc9ca3ebc3877258 | [
"MIT"
] | null | null | null | anituber/lib/anituber/application.ex | Ogiwara-CostlierRain464/Anituber | 5ce128883ee609e785416b18cc9ca3ebc3877258 | [
"MIT"
] | null | null | null | defmodule Anituber.Application do
use Application
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
def start(_type, _args) do
import Supervisor.Spec
# Define workers and child supervisors to be supervised
children = [
# Start the Ecto repository
... | 32.1875 | 86 | 0.715534 |
74d7e0d4252ca8006edb804cbf0f4a33abfc15b3 | 12,031 | ex | Elixir | apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices.ex | Gazler/nerves_hub_web | 9a636a17310382819eaa6cee590e053cb47f0dcc | [
"Apache-2.0"
] | null | null | null | apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices.ex | Gazler/nerves_hub_web | 9a636a17310382819eaa6cee590e053cb47f0dcc | [
"Apache-2.0"
] | null | null | null | apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices.ex | Gazler/nerves_hub_web | 9a636a17310382819eaa6cee590e053cb47f0dcc | [
"Apache-2.0"
] | null | null | null | defmodule NervesHubWebCore.Devices do
import Ecto.Query
alias Ecto.Changeset
alias NervesHubWebCore.{
Deployments.Deployment,
Firmwares.FirmwareMetadata,
AuditLogs,
AuditLogs.AuditLog,
Accounts.Org,
Repo
}
alias NervesHubWebCore.Devices.{Device, DeviceCertificate, CACertificate}
... | 26.914989 | 100 | 0.629457 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.