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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c80861f4b405bf8af954223556c8dc094751ea4b | 1,813 | ex | Elixir | lib/diary/cli.ex | LauraBeatris/elixir-diary | d28966e6fa437a1273b859e0d7cbb6d77ca07f1b | [
"MIT"
] | 2 | 2020-08-16T18:57:17.000Z | 2021-03-13T14:48:17.000Z | lib/diary/cli.ex | LauraBeatris/elixir-diary | d28966e6fa437a1273b859e0d7cbb6d77ca07f1b | [
"MIT"
] | null | null | null | lib/diary/cli.ex | LauraBeatris/elixir-diary | d28966e6fa437a1273b859e0d7cbb6d77ca07f1b | [
"MIT"
] | null | null | null | defmodule Diary.CLI do
@moduledoc """
Outputs the diary notes on the CLI
"""
import Diary.CLI.Constants
@doc """
Outputs a greeting to the user
"""
@doc since: "0.1.0"
@spec greeting() :: :ok
def greeting do
today = Timex.today
formatted_date = "#{Timex.month_name(today.month)} #{Timex... | 20.370787 | 102 | 0.600662 |
c808a5b3890e7d64afe87623ddcce45331f875f1 | 2,240 | ex | Elixir | clients/you_tube/lib/google_api/you_tube/v3/model/video_content_details_region_restriction.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | clients/you_tube/lib/google_api/you_tube/v3/model/video_content_details_region_restriction.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | clients/you_tube/lib/google_api/you_tube/v3/model/video_content_details_region_restriction.ex | kolorahl/elixir-google-api | 46bec1e092eb84c6a79d06c72016cb1a13777fa6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 38.62069 | 128 | 0.731696 |
c808afd9b56eaa7be0de144436b2e31da76a3f15 | 11,465 | ex | Elixir | lib/aws/generated/appflow.ex | andrewhr/aws-elixir | 861dc2fafca50a2b2f83badba4cdcb44b5b0c171 | [
"Apache-2.0"
] | null | null | null | lib/aws/generated/appflow.ex | andrewhr/aws-elixir | 861dc2fafca50a2b2f83badba4cdcb44b5b0c171 | [
"Apache-2.0"
] | null | null | null | lib/aws/generated/appflow.ex | andrewhr/aws-elixir | 861dc2fafca50a2b2f83badba4cdcb44b5b0c171 | [
"Apache-2.0"
] | null | null | null | # WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.
defmodule AWS.Appflow do
@moduledoc """
Welcome to the Amazon AppFlow API reference.
This guide is for developers who need detailed information about the Amazon
AppFlow API operations, data types, and ... | 23.835759 | 145 | 0.634365 |
c808c3f0f677fb55e92adc4c6a3fd183bbdf14a4 | 4,663 | ex | Elixir | lib/snap/bulk/bulk.ex | outstand/snap | 8d41b1effdc4ec98b21df6eaa2b43986d6255645 | [
"MIT"
] | null | null | null | lib/snap/bulk/bulk.ex | outstand/snap | 8d41b1effdc4ec98b21df6eaa2b43986d6255645 | [
"MIT"
] | null | null | null | lib/snap/bulk/bulk.ex | outstand/snap | 8d41b1effdc4ec98b21df6eaa2b43986d6255645 | [
"MIT"
] | null | null | null | defmodule Snap.Bulk do
@moduledoc """
Supports streaming bulk operations against a `Snap.Cluster`.
"""
@default_page_size 5000
@default_page_wait 15_000
alias Snap.Bulk.Actions
@doc """
Performs a bulk operation.
Takes an `Enumerable` of action structs, where each struct is one of:
* `Snap.Bulk... | 27.922156 | 97 | 0.64036 |
c808d531c06d3d209a6d94d09295f29e7137cdde | 1,129 | exs | Elixir | config/config.exs | andersonmcook/filter_map | f52e98168724aa5a939cacb0f80a48922bb8a432 | [
"MIT"
] | null | null | null | config/config.exs | andersonmcook/filter_map | f52e98168724aa5a939cacb0f80a48922bb8a432 | [
"MIT"
] | null | null | null | config/config.exs | andersonmcook/filter_map | f52e98168724aa5a939cacb0f80a48922bb8a432 | [
"MIT"
] | null | null | null | # This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
# file won't be loaded nor affect the paren... | 36.419355 | 73 | 0.752879 |
c808d79f1dad646444bc532b5e2c6ead655f1f9e | 1,888 | exs | Elixir | server/mix.exs | Nymrinae/TimeManager | 5048280da7c497909bca7faf7d2256c07438d442 | [
"MIT"
] | null | null | null | server/mix.exs | Nymrinae/TimeManager | 5048280da7c497909bca7faf7d2256c07438d442 | [
"MIT"
] | null | null | null | server/mix.exs | Nymrinae/TimeManager | 5048280da7c497909bca7faf7d2256c07438d442 | [
"MIT"
] | null | null | null | defmodule Server.Mixfile do
use Mix.Project
def project do
[
app: :server,
version: "0.1.0",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
de... | 27.362319 | 84 | 0.5625 |
c808df48df857b89d427628a1a33a948e50fcb15 | 1,690 | ex | Elixir | lib/nebulex_redis_adapter/command.ex | scottming/nebulex_redis_adapter | 896a023f7048473f7330e85274e4e90789eafdaf | [
"MIT"
] | null | null | null | lib/nebulex_redis_adapter/command.ex | scottming/nebulex_redis_adapter | 896a023f7048473f7330e85274e4e90789eafdaf | [
"MIT"
] | null | null | null | lib/nebulex_redis_adapter/command.ex | scottming/nebulex_redis_adapter | 896a023f7048473f7330e85274e4e90789eafdaf | [
"MIT"
] | null | null | null | defmodule NebulexRedisAdapter.Command do
# Redix command executor
@moduledoc false
alias NebulexRedisAdapter.{Cluster, Pool, RedisCluster}
@spec exec!(
Nebulex.Adapter.adapter_meta(),
Redix.command(),
Nebulex.Cache.key()
) :: any | no_return
def exec!(%{cache: cache} = ... | 26.825397 | 97 | 0.644379 |
c8090aa62a4e108758f58fecd6fb8e40c584f8b7 | 2,136 | ex | Elixir | clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"Apache-2.0"
] | null | null | null | clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"Apache-2.0"
] | null | null | null | clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"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.555556 | 194 | 0.719101 |
c8093b79b296b875c89a95bd0ed7066811c35065 | 8,197 | ex | Elixir | lib/pow_assent/plug.ex | gabrieltaylor/pow_assent | c8f4bd75a000f610c511360372662fe889436c5d | [
"MIT"
] | null | null | null | lib/pow_assent/plug.ex | gabrieltaylor/pow_assent | c8f4bd75a000f610c511360372662fe889436c5d | [
"MIT"
] | null | null | null | lib/pow_assent/plug.ex | gabrieltaylor/pow_assent | c8f4bd75a000f610c511360372662fe889436c5d | [
"MIT"
] | null | null | null | defmodule PowAssent.Plug do
@moduledoc """
Plug helper methods.
If you wish to configure PowAssent through the Pow plug interface rather than
environment config, please add PowAssent config with `:pow_assent` config:
plug Pow.Plug.Session,
repo: MyApp.Repo,
user: MyApp.User,
pow_... | 33.321138 | 171 | 0.673539 |
c80946bf5fc08382c0ac2ff9feb000c99c0e1290 | 1,319 | ex | Elixir | lib/tokenizer/regex/regex.ex | szTheory/Woolly | cf7ad76cbaa6d9be38121816c5da223f18853653 | [
"MIT"
] | 47 | 2016-05-20T10:16:00.000Z | 2020-06-25T09:38:49.000Z | lib/tokenizer/regex/regex.ex | pjhampton/woolly | 58f6d4901c21b715ec18e01afdf8608a37e1ca61 | [
"MIT"
] | 8 | 2016-05-24T15:31:40.000Z | 2020-03-03T18:33:54.000Z | lib/tokenizer/regex/regex.ex | pjhampton/woolly | 58f6d4901c21b715ec18e01afdf8608a37e1ca61 | [
"MIT"
] | 8 | 2016-07-09T21:46:22.000Z | 2020-03-03T16:42:30.000Z | defmodule Woolly.Tokenizer.Regex do
@moduledoc ~S"""
A Regular-Expression based Tokenizer
## Overview
The `Regex.tokenize` splits a string, or list of
strings using regular expressions. Regular Expression
based tokenizers tend to work on germanic and romantic
languages due to their inherit syntactical ... | 30.674419 | 62 | 0.680061 |
c8097011eb4acda0a4f5e3c6c0263770ad2848bc | 1,715 | ex | Elixir | clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type.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... | 35.729167 | 316 | 0.75102 |
c8097284b8df74b266688b1661eb3c3e8fe2f452 | 2,014 | ex | Elixir | clients/display_video/lib/google_api/display_video/v1/model/parent_entity_filter.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/display_video/lib/google_api/display_video/v1/model/parent_entity_filter.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/display_video/lib/google_api/display_video/v1/model/parent_entity_filter.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... | 38 | 221 | 0.719464 |
c809c89a6be9cb1c4a1bb03738bdab66ffe1f85d | 1,481 | exs | Elixir | apps/trip_plan/mix.exs | noisecapella/dotcom | d5ef869412102d2230fac3dcc216f01a29726227 | [
"MIT"
] | 42 | 2019-05-29T16:05:30.000Z | 2021-08-09T16:03:37.000Z | apps/trip_plan/mix.exs | noisecapella/dotcom | d5ef869412102d2230fac3dcc216f01a29726227 | [
"MIT"
] | 872 | 2019-05-29T17:55:50.000Z | 2022-03-30T09:28:43.000Z | apps/trip_plan/mix.exs | noisecapella/dotcom | d5ef869412102d2230fac3dcc216f01a29726227 | [
"MIT"
] | 12 | 2019-07-01T18:33:21.000Z | 2022-03-10T02:13:57.000Z | defmodule TripPlan.Mixfile do
use Mix.Project
def project do
[
app: :trip_plan,
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.4",
build_embedded: Mix.env() ... | 26.446429 | 79 | 0.573261 |
c809e2448ab0363ea1619051cc6fed28e5565f9f | 234 | ex | Elixir | demos/phoenix/lib/phoenix_demo/application.ex | bucha/site_encrypt | b5559fa26ce84fd8cb84ebfcddb1b9967214e2eb | [
"MIT"
] | 387 | 2018-05-22T21:46:20.000Z | 2022-03-26T18:51:01.000Z | demos/phoenix/lib/phoenix_demo/application.ex | bucha/site_encrypt | b5559fa26ce84fd8cb84ebfcddb1b9967214e2eb | [
"MIT"
] | 41 | 2018-06-03T13:02:24.000Z | 2022-02-14T11:16:24.000Z | demos/phoenix/lib/phoenix_demo/application.ex | bucha/site_encrypt | b5559fa26ce84fd8cb84ebfcddb1b9967214e2eb | [
"MIT"
] | 24 | 2018-05-24T07:04:12.000Z | 2022-02-09T08:21:05.000Z | defmodule PhoenixDemo.Application do
use Application
def start(_type, _args) do
Supervisor.start_link(
[{SiteEncrypt.Phoenix, PhoenixDemo.Endpoint}],
strategy: :one_for_one,
name: __MODULE__
)
end
end
| 19.5 | 52 | 0.696581 |
c809f9719ee85a8dd73e7fbcba4c016e793d6f30 | 165,307 | ex | Elixir | lib/elixir/lib/kernel.ex | nolman/elixir | 88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/kernel.ex | nolman/elixir | 88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/kernel.ex | nolman/elixir | 88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d | [
"Apache-2.0"
] | null | null | null | # Use elixir_bootstrap module to be able to bootstrap Kernel.
# The bootstrap module provides simpler implementations of the
# functions removed, simple enough to bootstrap.
import Kernel,
except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2]
import :elixir_bootstrap
defmodul... | 27.024195 | 116 | 0.632726 |
c809ff9a2895230834cb3eba26612864a5120f00 | 1,585 | ex | Elixir | clients/service_directory/lib/google_api/service_directory/v1beta1/model/test_iam_permissions_response.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | null | null | null | clients/service_directory/lib/google_api/service_directory/v1beta1/model/test_iam_permissions_response.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-12-18T09:25:12.000Z | 2020-12-18T09:25:12.000Z | clients/service_directory/lib/google_api/service_directory/v1beta1/model/test_iam_permissions_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... | 33.723404 | 143 | 0.755836 |
c80a446b3aa3a01635b42885edbe7a39f68f5e63 | 2,011 | ex | Elixir | mix/support/normalize/normalize_units.ex | mskv/cldr | 92d10d264602db914fe9fb3ea3c8468ee2442678 | [
"Apache-2.0"
] | null | null | null | mix/support/normalize/normalize_units.ex | mskv/cldr | 92d10d264602db914fe9fb3ea3c8468ee2442678 | [
"Apache-2.0"
] | null | null | null | mix/support/normalize/normalize_units.ex | mskv/cldr | 92d10d264602db914fe9fb3ea3c8468ee2442678 | [
"Apache-2.0"
] | null | null | null | # credo:disable-for-this-file
defmodule Cldr.Normalize.Units do
@moduledoc false
alias Cldr.Substitution
def normalize(content, locale) do
content
|> normalize_units(locale)
end
@unit_types ["short", "long", "narrow"]
def normalize_units(content, locale) do
units =
units_for_locale(loca... | 23.940476 | 85 | 0.624068 |
c80a55efcead2a52dae7554422117a2e771dd293 | 177 | ex | Elixir | elixir/rocketpay/lib/rocketpay/users/list.ex | HRsniper/Next-Level-Week-4 | e8a4e33311513e354b6dc4efd79daa22feae1633 | [
"MIT"
] | null | null | null | elixir/rocketpay/lib/rocketpay/users/list.ex | HRsniper/Next-Level-Week-4 | e8a4e33311513e354b6dc4efd79daa22feae1633 | [
"MIT"
] | null | null | null | elixir/rocketpay/lib/rocketpay/users/list.ex | HRsniper/Next-Level-Week-4 | e8a4e33311513e354b6dc4efd79daa22feae1633 | [
"MIT"
] | null | null | null | defmodule Rocketpay.Users.List do
alias Rocketpay.{Account, Repo, User}
def call() do
Repo.all(User)
end
end
# https://hexdocs.pm/ecto/3.5.8/Ecto.Multi.html#summary
| 17.7 | 55 | 0.706215 |
c80a8b11deeb79334c3f8c08b9744fd3177134d5 | 33,114 | ex | Elixir | lib/scaffolding/internal/domain_object/entity/field.macros.ex | noizu-labs/advanced_elixir_scaffolding | 9e7a1199a4b25fcc16fc5a795104b926d2f238df | [
"MIT"
] | null | null | null | lib/scaffolding/internal/domain_object/entity/field.macros.ex | noizu-labs/advanced_elixir_scaffolding | 9e7a1199a4b25fcc16fc5a795104b926d2f238df | [
"MIT"
] | null | null | null | lib/scaffolding/internal/domain_object/entity/field.macros.ex | noizu-labs/advanced_elixir_scaffolding | 9e7a1199a4b25fcc16fc5a795104b926d2f238df | [
"MIT"
] | null | null | null | #-------------------------------------------------------------------------------
# Author: Keith Brings <keith.brings@noizu.com>
# Copyright (C) 2021 Noizu Labs Inc. All rights reserved.
#-------------------------------------------------------------------------------
defmodule Noizu.AdvancedScaffolding.Internal.Domai... | 37.501699 | 175 | 0.583409 |
c80a8c451404e023fa9498943e29d8612683a529 | 1,176 | exs | Elixir | config/config.exs | alissonfpmorais/tucano | d22480fc416d14b44862be2ed89040d92b7c08d1 | [
"MIT"
] | null | null | null | config/config.exs | alissonfpmorais/tucano | d22480fc416d14b44862be2ed89040d92b7c08d1 | [
"MIT"
] | null | null | null | config/config.exs | alissonfpmorais/tucano | d22480fc416d14b44862be2ed89040d92b7c08d1 | [
"MIT"
] | null | null | null | # This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config
# General application configuration
config :tucano,
ecto_repos: [Tucano.Repo]
# Co... | 31.783784 | 86 | 0.757653 |
c80aa611879125395ac606882725da790d4b4575 | 1,697 | ex | Elixir | clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_dns_challenge.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_dns_challenge.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_dns_challenge.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.94 | 146 | 0.73188 |
c80af33b24a83e07bf8bfca9ff905f924e6e13b8 | 3,068 | ex | Elixir | clients/monitoring/lib/google_api/monitoring/v3/model/windows_based_sli.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/monitoring/lib/google_api/monitoring/v3/model/windows_based_sli.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2020-08-18T00:11:23.000Z | 2020-08-18T00:44:16.000Z | clients/monitoring/lib/google_api/monitoring/v3/model/windows_based_sli.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.133333 | 248 | 0.741199 |
c80b0d422d025b219d8f8fca17c06f151eb4cd60 | 883 | exs | Elixir | frameworks/Elixir/phoenix/config/prod.exs | fire/FrameworkBenchmarks | 83ab3ab0caa5504e7e42f9a7210a9fe644580792 | [
"BSD-3-Clause"
] | null | null | null | frameworks/Elixir/phoenix/config/prod.exs | fire/FrameworkBenchmarks | 83ab3ab0caa5504e7e42f9a7210a9fe644580792 | [
"BSD-3-Clause"
] | null | null | null | frameworks/Elixir/phoenix/config/prod.exs | fire/FrameworkBenchmarks | 83ab3ab0caa5504e7e42f9a7210a9fe644580792 | [
"BSD-3-Clause"
] | null | null | null | use Mix.Config
config :hello, Hello.Endpoint,
url: [host: "0.0.0.0"],
http: [port: 8080, protocol_options: [max_keepalive: :infinity], backlog: 8096],
cache_static_lookup: false,
check_origin: false,
debug_errors: false,
code_reloader: false,
server: true
config :hello, Hello.Repo,
adapter: Ecto.Adapt... | 25.228571 | 82 | 0.689694 |
c80b6c6f071aeced603eaabd8aa20548509dc515 | 384 | ex | Elixir | lib/matchalert/web/views/error_view.ex | troelsim/matchalert | 9379796b3046e0ce28674432568f9cb5b01aab6f | [
"Apache-2.0"
] | null | null | null | lib/matchalert/web/views/error_view.ex | troelsim/matchalert | 9379796b3046e0ce28674432568f9cb5b01aab6f | [
"Apache-2.0"
] | null | null | null | lib/matchalert/web/views/error_view.ex | troelsim/matchalert | 9379796b3046e0ce28674432568f9cb5b01aab6f | [
"Apache-2.0"
] | null | null | null | defmodule Matchalert.Web.ErrorView do
use Matchalert.Web, :view
def render("404.html", _assigns) do
"Page not found"
end
def render("500.html", _assigns) do
"Internal server error"
end
# In case no render clause matches or no
# template is found, let's render it as 500
def template_not_found(... | 21.333333 | 47 | 0.703125 |
c80b71089f93b37039f9c4e4539cfca8833876d8 | 4,444 | ex | Elixir | lib/glimesh_web/controllers/channel_moderator_controller.ex | Megami-Studios/glimesh.tv | 57dde3a328fabdcc3305be48ae1b82df27b83c9b | [
"MIT"
] | 328 | 2020-07-23T22:13:49.000Z | 2022-03-31T21:22:28.000Z | lib/glimesh_web/controllers/channel_moderator_controller.ex | Megami-Studios/glimesh.tv | 57dde3a328fabdcc3305be48ae1b82df27b83c9b | [
"MIT"
] | 362 | 2020-07-23T22:38:38.000Z | 2022-03-24T02:11:16.000Z | lib/glimesh_web/controllers/channel_moderator_controller.ex | Megami-Studios/glimesh.tv | 57dde3a328fabdcc3305be48ae1b82df27b83c9b | [
"MIT"
] | 72 | 2020-07-23T22:50:46.000Z | 2022-02-02T11:59:32.000Z | defmodule GlimeshWeb.ChannelModeratorController do
use GlimeshWeb, :controller
action_fallback GlimeshWeb.FallbackController
alias Glimesh.ChannelLookups
alias Glimesh.StreamModeration
alias Glimesh.Streams.ChannelModerator
plug :put_layout, "user-sidebar.html"
def index(conn, _params) do
user = c... | 34.449612 | 95 | 0.689469 |
c80b8d7ab805f90fc0f7390ca364f8a465793037 | 1,028 | ex | Elixir | elixir/scrap_preview/test/support/conn_case.ex | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | 1 | 2018-12-11T14:09:14.000Z | 2018-12-11T14:09:14.000Z | elixir/scrap_preview/test/support/conn_case.ex | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | null | null | null | elixir/scrap_preview/test/support/conn_case.ex | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | null | null | null | defmodule ScrapWeb.ConnCase do
@moduledoc """
This module defines the test case to be used by
tests that require setting up a connection.
Such tests rely on `Phoenix.ConnTest` and also
import other functionality to make it easier
to build common datastructures and query the data layer.
Finally, if the t... | 26.358974 | 67 | 0.716926 |
c80b96af27f210fe7f338430f09bbd0c16e1501b | 54,927 | ex | Elixir | lib/phoenix_live_view/test/live_view_test.ex | easink/phoenix_live_view | 13642bc44193150e5cba8ecf7f550ebdc8ba6e38 | [
"MIT"
] | null | null | null | lib/phoenix_live_view/test/live_view_test.ex | easink/phoenix_live_view | 13642bc44193150e5cba8ecf7f550ebdc8ba6e38 | [
"MIT"
] | null | null | null | lib/phoenix_live_view/test/live_view_test.ex | easink/phoenix_live_view | 13642bc44193150e5cba8ecf7f550ebdc8ba6e38 | [
"MIT"
] | null | null | null | defmodule Phoenix.LiveViewTest do
@moduledoc ~S'''
Conveniences for testing Phoenix LiveViews.
In LiveView tests, we interact with views via process
communication in substitution of a browser. Like a browser,
our test process receives messages about the rendered updates
from the view which can be asserted ... | 31.315279 | 98 | 0.650937 |
c80b97bc6df7094dd3023127c76ccb4f532693e3 | 968 | ex | Elixir | clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/request_builder.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/request_builder.ex | mocknen/elixir-google-api | dac4877b5da2694eca6a0b07b3bd0e179e5f3b70 | [
"Apache-2.0"
] | null | null | null | clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/request_builder.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... | 37.230769 | 77 | 0.765496 |
c80b98e024cba83375b21c488e9d810b70ffaff1 | 8,057 | ex | Elixir | clients/content/lib/google_api/content/v2/model/order.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/content/lib/google_api/content/v2/model/order.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/content/lib/google_api/content/v2/model/order.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... | 52.660131 | 341 | 0.685243 |
c80ba7231041090d6be9f618f08f68e4ef26bb66 | 514 | exs | Elixir | config/test.exs | sdost/game_service | d3dc16ceec2c414cbc10839db19d325d45f4ca04 | [
"MIT"
] | 1 | 2017-06-26T23:38:47.000Z | 2017-06-26T23:38:47.000Z | config/test.exs | sdost/game_service | d3dc16ceec2c414cbc10839db19d325d45f4ca04 | [
"MIT"
] | null | null | null | config/test.exs | sdost/game_service | d3dc16ceec2c414cbc10839db19d325d45f4ca04 | [
"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 :game_service, GameService.Endpoint,
http: [port: 4001],
server: false
# Print only warnings and errors during test
config :logger, level: :warn
# Configure your database
config :game_service,... | 25.7 | 56 | 0.745136 |
c80bc4bbfbdd259e26f780ad1cb8e4902e2165fa | 107 | exs | Elixir | test/test_helper.exs | regularfellow/downstream | 436de5d57eabc58e60e1bf43c3dab78170dbe8e3 | [
"MIT"
] | 21 | 2018-03-23T03:40:38.000Z | 2022-01-31T01:51:30.000Z | test/test_helper.exs | regularfellow/downstream | 436de5d57eabc58e60e1bf43c3dab78170dbe8e3 | [
"MIT"
] | 3 | 2021-05-06T18:52:57.000Z | 2021-12-23T13:07:24.000Z | test/test_helper.exs | regularfellow/downstream | 436de5d57eabc58e60e1bf43c3dab78170dbe8e3 | [
"MIT"
] | 6 | 2020-02-27T00:16:22.000Z | 2021-12-22T19:39:37.000Z | Downstream.start()
Application.ensure_all_started(:mimic)
Mimic.copy(Downstream.Download)
ExUnit.start()
| 15.285714 | 38 | 0.813084 |
c80bdfaba920e0f2cd316e1c8a5251353d962f6b | 119 | exs | Elixir | .formatter.exs | HoffsMH/slax | b91ee30b9fd71a4cb7826f50b605ce580b7c1651 | [
"MIT"
] | 11 | 2016-07-05T18:56:21.000Z | 2021-09-15T22:23:54.000Z | .formatter.exs | HoffsMH/slax | b91ee30b9fd71a4cb7826f50b605ce580b7c1651 | [
"MIT"
] | 181 | 2016-06-23T00:47:13.000Z | 2022-03-10T11:23:44.000Z | .formatter.exs | HoffsMH/slax | b91ee30b9fd71a4cb7826f50b605ce580b7c1651 | [
"MIT"
] | 7 | 2019-01-30T21:38:28.000Z | 2022-03-01T07:13:39.000Z | # Used by "mix format"
[
import_deps: [:phoenix],
inputs: ["*.{ex,exs}", "{config,lib,priv,test}/**/*.{ex,exs}"]
]
| 19.833333 | 64 | 0.554622 |
c80be57beb279b7dc013b5a5395402712412b1f5 | 459 | exs | Elixir | playground/elixir-live-doom-fire/test/live_doom_fire_web/views/error_view_test.exs | allmonty/doom-fire-algorithm | dac483b85973020c5f86962d3d9344018711043b | [
"MIT"
] | 12 | 2019-03-26T18:34:01.000Z | 2021-04-23T05:17:39.000Z | playground/elixir-live-doom-fire/test/live_doom_fire_web/views/error_view_test.exs | allmonty/doom-fire-algorithm | dac483b85973020c5f86962d3d9344018711043b | [
"MIT"
] | 5 | 2020-07-16T21:02:50.000Z | 2020-09-19T19:40:24.000Z | playground/elixir-live-doom-fire/test/live_doom_fire_web/views/error_view_test.exs | allmonty/doom-fire-algorithm | dac483b85973020c5f86962d3d9344018711043b | [
"MIT"
] | 1 | 2019-07-23T12:59:02.000Z | 2019-07-23T12:59:02.000Z | defmodule LiveDoomFireWeb.ErrorViewTest do
use LiveDoomFireWeb.ConnCase, async: true
# Bring render/3 and render_to_string/3 for testing custom views
import Phoenix.View
test "renders 404.html" do
assert render_to_string(LiveDoomFireWeb.ErrorView, "404.html", []) ==
"Not Found"
end
test "r... | 27 | 73 | 0.71024 |
c80be869358982abe19b3bd8836daab8b37349a7 | 102 | ex | Elixir | lib/powit/repo.ex | tenzil-rpx/powit | 0feebbfc11c7bd2a45ef0664632deb9b0537fb5c | [
"MIT"
] | null | null | null | lib/powit/repo.ex | tenzil-rpx/powit | 0feebbfc11c7bd2a45ef0664632deb9b0537fb5c | [
"MIT"
] | null | null | null | lib/powit/repo.ex | tenzil-rpx/powit | 0feebbfc11c7bd2a45ef0664632deb9b0537fb5c | [
"MIT"
] | null | null | null | defmodule Powit.Repo do
use Ecto.Repo,
otp_app: :powit,
adapter: Ecto.Adapters.Postgres
end
| 17 | 35 | 0.715686 |
c80bf33d64b873c89bdc7e90ff31ed3300cb6684 | 3,000 | ex | Elixir | clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_credential.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_credential.ex | medikent/elixir-google-api | 98a83d4f7bfaeac15b67b04548711bb7e49f9490 | [
"Apache-2.0"
] | null | null | null | clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_credential.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... | 43.478261 | 172 | 0.706333 |
c80c2bf95b3c6485db729d871c7e467f9b44061c | 1,719 | ex | Elixir | lib/twitterz_phx/tweets.ex | eendroroy/twitterz_phx | 2611b344bc6216c45c3be8a6352a9405ea643d6b | [
"MIT"
] | 1 | 2019-04-08T04:49:52.000Z | 2019-04-08T04:49:52.000Z | lib/twitterz_phx/tweets.ex | eendroroy/twitterz_phx | 2611b344bc6216c45c3be8a6352a9405ea643d6b | [
"MIT"
] | null | null | null | lib/twitterz_phx/tweets.ex | eendroroy/twitterz_phx | 2611b344bc6216c45c3be8a6352a9405ea643d6b | [
"MIT"
] | null | null | null | defmodule TwitterZPhx.Tweets do
@moduledoc """
The Tweets context.
"""
import Ecto.Query, warn: false
alias TwitterZPhx.Repo
alias TwitterZPhx.Tweets.Tweet
@doc """
Returns the list of tweets.
## Examples
iex> list_tweets()
[%Tweet{}, ...]
"""
def list_tweets do
Repo.all(Twee... | 16.371429 | 60 | 0.579988 |
c80c38d27166259e3103520bceb986b52eecd2e0 | 13,813 | ex | Elixir | clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_input.ex | linjunpop/elixir-google-api | 444cb2b2fb02726894535461a474beddd8b86db4 | [
"Apache-2.0"
] | null | null | null | clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_input.ex | linjunpop/elixir-google-api | 444cb2b2fb02726894535461a474beddd8b86db4 | [
"Apache-2.0"
] | null | null | null | clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_input.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 "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... | 126.724771 | 3,962 | 0.735539 |
c80c63cd24fccdae14405f7b2daf7b85e715f1d9 | 5,416 | exs | Elixir | apps/re_integrations/test/orulo/orulo_test.exs | ruby2elixir/emcasa-backend | 70d7f4f233555417941ffa6ada84cf8740c21dd2 | [
"MIT"
] | 4 | 2019-11-01T16:29:31.000Z | 2020-10-10T21:20:12.000Z | apps/re_integrations/test/orulo/orulo_test.exs | eduardomartines/emcasa-backend | 70d7f4f233555417941ffa6ada84cf8740c21dd2 | [
"MIT"
] | null | null | null | apps/re_integrations/test/orulo/orulo_test.exs | eduardomartines/emcasa-backend | 70d7f4f233555417941ffa6ada84cf8740c21dd2 | [
"MIT"
] | 5 | 2019-11-04T21:25:45.000Z | 2020-02-13T23:49:36.000Z | defmodule ReIntegrations.OruloTest do
@moduledoc false
use Mockery
import Re.CustomAssertion
import ReIntegrations.Factory
use ReIntegrations.ModelCase
alias ReIntegrations.{
Orulo,
Orulo.JobQueue,
Repo
}
alias Ecto.Multi
describe "get_building_payload/2" do
test "create o new job... | 28.656085 | 82 | 0.614106 |
c80c714538ee9103231e50bffeaf5770a164c446 | 23,590 | ex | Elixir | lib/sweet_xml.ex | liberza/sweet_xml | 3b80d8139c0e997ec5189659aa424a933a54f4ff | [
"MIT"
] | 1 | 2020-02-20T15:44:35.000Z | 2020-02-20T15:44:35.000Z | lib/sweet_xml.ex | liberza/sweet_xml | 3b80d8139c0e997ec5189659aa424a933a54f4ff | [
"MIT"
] | 3 | 2020-02-20T10:59:05.000Z | 2020-02-20T11:30:59.000Z | lib/sweet_xml.ex | liberza/sweet_xml | 3b80d8139c0e997ec5189659aa424a933a54f4ff | [
"MIT"
] | null | null | null | defmodule SweetXpath do
defmodule Priv do
@moduledoc false
@doc false
def self_val(val), do: val
end
defstruct path: ".",
is_value: true,
is_list: false,
is_keyword: false,
is_optional: false,
cast_to: false,
transform_fun: &(Priv.self_val/1),
namespaces: []
end
defmodul... | 33.651926 | 161 | 0.597796 |
c80cbe8040aab185d78d11fe2636b665ff8099ba | 588 | exs | Elixir | peep_blog_api/test/views/error_view_test.exs | ultimatemonty/embloginator | b1b25374d56899e054e6df73a3841d388d095d83 | [
"MIT"
] | null | null | null | peep_blog_api/test/views/error_view_test.exs | ultimatemonty/embloginator | b1b25374d56899e054e6df73a3841d388d095d83 | [
"MIT"
] | null | null | null | peep_blog_api/test/views/error_view_test.exs | ultimatemonty/embloginator | b1b25374d56899e054e6df73a3841d388d095d83 | [
"MIT"
] | null | null | null | defmodule PeepBlogApi.ErrorViewTest do
use PeepBlogApi.ConnCase, async: true
# Bring render/3 and render_to_string/3 for testing custom views
import Phoenix.View
test "renders 404.html" do
assert render_to_string(PeepBlogApi.ErrorView, "404.html", []) ==
"Page not found"
end
test "render 5... | 26.727273 | 69 | 0.687075 |
c80ce746945dda423a9444635079360ac0facf5c | 9,268 | ex | Elixir | lib/elixir/lib/kernel/parallel_compiler.ex | jbcrail/elixir | f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb | [
"Apache-2.0"
] | 1 | 2015-02-23T00:01:48.000Z | 2015-02-23T00:01:48.000Z | lib/elixir/lib/kernel/parallel_compiler.ex | jbcrail/elixir | f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/kernel/parallel_compiler.ex | jbcrail/elixir | f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb | [
"Apache-2.0"
] | null | null | null | defmodule Kernel.ParallelCompiler do
@moduledoc """
A module responsible for compiling files in parallel.
"""
@doc """
Compiles the given files.
Those files are compiled in parallel and can automatically
detect dependencies between them. Once a dependency is found,
the current file stops being compile... | 35.509579 | 132 | 0.655589 |
c80cf50e76ed3a1702187f93bc6ec8669b61d180 | 487 | ex | Elixir | lib/mibli_web/views/error_view.ex | FabriDamazio/mibli | 853fe5e7575040fdbade5ed5997465a68bcc529d | [
"MIT"
] | null | null | null | lib/mibli_web/views/error_view.ex | FabriDamazio/mibli | 853fe5e7575040fdbade5ed5997465a68bcc529d | [
"MIT"
] | null | null | null | lib/mibli_web/views/error_view.ex | FabriDamazio/mibli | 853fe5e7575040fdbade5ed5997465a68bcc529d | [
"MIT"
] | null | null | null | defmodule MibliWeb.ErrorView do
use MibliWeb, :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 |
c80d063513995cd8bcdc52830f0c0ba9380e4ed1 | 3,744 | ex | Elixir | clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_notifications_rule.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"Apache-2.0"
] | 1 | 2021-10-01T09:20:41.000Z | 2021-10-01T09:20:41.000Z | clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_notifications_rule.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"Apache-2.0"
] | null | null | null | clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_notifications_rule.ex | kyleVsteger/elixir-google-api | 3a0dd498af066a4361b5b0fd66ffc04a57539488 | [
"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... | 61.377049 | 713 | 0.76656 |
c80d0c60e40f7cef09fa35bb1dbcc73709546abe | 3,901 | ex | Elixir | lib/shared/ipp/parser/parser_utils.ex | greenealexander/print_react | f6d29884cc11b0bbf143df866e08bfaf4607de0c | [
"MIT-0"
] | null | null | null | lib/shared/ipp/parser/parser_utils.ex | greenealexander/print_react | f6d29884cc11b0bbf143df866e08bfaf4607de0c | [
"MIT-0"
] | null | null | null | lib/shared/ipp/parser/parser_utils.ex | greenealexander/print_react | f6d29884cc11b0bbf143df866e08bfaf4607de0c | [
"MIT-0"
] | null | null | null | defmodule IPP.Parser.Utils do
alias IPP.Enums
alias Enums.Tags
def parse_value(tag_id, group, binary) do
<<value_length::16, binary::binary>> = binary
tag = Tags.lookup(tag_id)
case tag do
keyword
when keyword in [
"nameWithoutLanguage",
"textWithoutLanguage",
... | 25.00641 | 132 | 0.591387 |
c80d5799d4bae930eb282f1ab50defc22fcdd56e | 86 | exs | Elixir | test/ratethedub_web/views/page_view_test.exs | rushsteve1/RateTheDub | 89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081 | [
"Apache-2.0"
] | 4 | 2021-04-26T21:50:45.000Z | 2021-04-27T18:37:51.000Z | test/ratethedub_web/views/page_view_test.exs | rushsteve1/RateTheDub | 89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081 | [
"Apache-2.0"
] | 25 | 2021-04-26T21:39:21.000Z | 2021-09-07T13:59:14.000Z | test/ratethedub_web/views/page_view_test.exs | rushsteve1/RateTheDub | 89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081 | [
"Apache-2.0"
] | null | null | null | defmodule RateTheDubWeb.PageViewTest do
use RateTheDubWeb.ConnCase, async: true
end
| 21.5 | 41 | 0.837209 |
c80d6669d1eadeaea504f7790d36cdb93528e955 | 50 | exs | Elixir | elixir_demo/test/elixir_demo_test.exs | vanvoljg/KafkaDemo | 25c735111dd44c5df46bb7f2b7495d330fffc903 | [
"MIT"
] | null | null | null | elixir_demo/test/elixir_demo_test.exs | vanvoljg/KafkaDemo | 25c735111dd44c5df46bb7f2b7495d330fffc903 | [
"MIT"
] | null | null | null | elixir_demo/test/elixir_demo_test.exs | vanvoljg/KafkaDemo | 25c735111dd44c5df46bb7f2b7495d330fffc903 | [
"MIT"
] | null | null | null | defmodule ElixirDemoTest do
use ExUnit.Case
end
| 12.5 | 27 | 0.82 |
c80d7ec0f064c54f0b5951ae959b1d726c3b9095 | 207 | exs | Elixir | farmbot_core/priv/asset/migrations/20200220214323_invalidate_local_points_gantry_mounted.exs | adamswsk/farmbot_os | d177d3b74888c1e7bcbf8f8595818708ee97f73b | [
"MIT"
] | 1 | 2021-08-23T13:36:14.000Z | 2021-08-23T13:36:14.000Z | farmbot_core/priv/asset/migrations/20200220214323_invalidate_local_points_gantry_mounted.exs | adamswsk/farmbot_os | d177d3b74888c1e7bcbf8f8595818708ee97f73b | [
"MIT"
] | null | null | null | farmbot_core/priv/asset/migrations/20200220214323_invalidate_local_points_gantry_mounted.exs | adamswsk/farmbot_os | d177d3b74888c1e7bcbf8f8595818708ee97f73b | [
"MIT"
] | null | null | null | defmodule FarmbotCore.Asset.Repo.Migrations.InvalidateLocalPointsGantryMounted do
use Ecto.Migration
def change do
execute("UPDATE points SET updated_at = \"1970-11-07 16:52:31.618000\"")
end
end
| 25.875 | 81 | 0.772947 |
c80da8563b2017db931da5c445be0e819f0428e3 | 84 | ex | Elixir | lib/smwc/mailer.ex | druu/smwcbot | 0c9e3530c470028c767b6a77be8a939481756438 | [
"MIT"
] | 2 | 2022-03-09T18:04:42.000Z | 2022-03-11T22:24:25.000Z | lib/smwc/mailer.ex | druu/smwcbot | 0c9e3530c470028c767b6a77be8a939481756438 | [
"MIT"
] | null | null | null | lib/smwc/mailer.ex | druu/smwcbot | 0c9e3530c470028c767b6a77be8a939481756438 | [
"MIT"
] | 2 | 2022-02-27T22:00:17.000Z | 2022-02-28T02:20:21.000Z | defmodule SMWC.Mailer do
@moduledoc false
use Swoosh.Mailer, otp_app: :smwc
end
| 16.8 | 35 | 0.761905 |
c80dc86db5d6eed1041ce770c38b4eb3d2033c17 | 1,191 | exs | Elixir | config/prod.secret.exs | SquashConsulting/hopper | d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b | [
"BSD-3-Clause"
] | 1 | 2019-12-22T16:00:11.000Z | 2019-12-22T16:00:11.000Z | config/prod.secret.exs | SquashConsulting/hopper | d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b | [
"BSD-3-Clause"
] | 2 | 2021-03-10T02:31:42.000Z | 2021-05-10T22:02:29.000Z | config/prod.secret.exs | SquashConsulting/hopper | d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b | [
"BSD-3-Clause"
] | null | null | null | # In this file, we load production configuration and secrets
# from environment variables. You can also hardcode secrets,
# although such is generally not recommended and you have to
# remember to add this file to your .gitignore.
use Mix.Config
database_url =
System.get_env("DATABASE_URL") ||
raise """
envi... | 30.538462 | 76 | 0.722922 |
c80df2c18d083e587de1c066cf770b5667db1008 | 1,748 | ex | Elixir | lib/ketbin_web/controllers/user_reset_password_controller.ex | ATechnoHazard/katbin | 20a0b45954cf7819cd9d51c401db06be0f47666b | [
"MIT"
] | 4 | 2020-08-05T20:05:34.000Z | 2020-10-01T10:01:56.000Z | lib/ketbin_web/controllers/user_reset_password_controller.ex | ATechnoHazard/katbin | 20a0b45954cf7819cd9d51c401db06be0f47666b | [
"MIT"
] | 1 | 2020-07-08T05:02:12.000Z | 2020-09-25T10:05:11.000Z | lib/ketbin_web/controllers/user_reset_password_controller.ex | ATechnoHazard/katbin | 20a0b45954cf7819cd9d51c401db06be0f47666b | [
"MIT"
] | 1 | 2020-08-30T12:59:49.000Z | 2020-08-30T12:59:49.000Z | defmodule KetbinWeb.UserResetPasswordController do
use KetbinWeb, :controller
alias Ketbin.Accounts
plug :get_user_by_reset_password_token when action in [:edit, :update]
def new(conn, _params) do
render(conn, "new.html")
end
def create(conn, %{"user" => %{"email" => email}}) do
if user = Accoun... | 29.133333 | 101 | 0.660183 |
c80dfaa07d164428f27e6390498870834cedb6c3 | 393 | ex | Elixir | lib/ex_clubhouse/model/member_info.ex | pootsbook/exclubhouse | 3b93cded0124e4e5df489db4f9262a560595bb8e | [
"MIT"
] | 4 | 2020-03-17T00:42:10.000Z | 2021-04-11T16:39:52.000Z | lib/ex_clubhouse/model/member_info.ex | pootsbook/exclubhouse | 3b93cded0124e4e5df489db4f9262a560595bb8e | [
"MIT"
] | 7 | 2020-03-21T20:22:13.000Z | 2021-12-30T16:32:07.000Z | lib/ex_clubhouse/model/member_info.ex | pootsbook/exclubhouse | 3b93cded0124e4e5df489db4f9262a560595bb8e | [
"MIT"
] | 4 | 2020-03-25T18:34:49.000Z | 2021-09-13T16:44:00.000Z | defmodule ExClubhouse.Model.MemberInfo do
@moduledoc """
Member info model
"""
alias ExClubhouse.Model
@type t :: %__MODULE__{
id: binary(),
mention_name: binary(),
name: binary(),
workspace2: Model.BasicWorkspaceInfo.t()
}
defstruct id: nil,
m... | 19.65 | 50 | 0.557252 |
c80e073cdee5d2fa4996ce48d37ec3ec755333f9 | 1,213 | ex | Elixir | test/support/conn_case.ex | jenny-codes/music-dating-app | ac0bdba90d26cad327992bc0c3ead34f42b3f82f | [
"MIT"
] | 8 | 2020-06-06T02:12:36.000Z | 2021-10-12T16:47:20.000Z | test/support/conn_case.ex | jenny-codes/music-dating-app | ac0bdba90d26cad327992bc0c3ead34f42b3f82f | [
"MIT"
] | 2 | 2021-03-10T18:43:20.000Z | 2021-07-16T04:37:20.000Z | test/support/conn_case.ex | jenny-codes/music-dating-app | ac0bdba90d26cad327992bc0c3ead34f42b3f82f | [
"MIT"
] | 1 | 2020-06-24T08:41:09.000Z | 2020-06-24T08:41:09.000Z | defmodule SongmateWeb.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.880952 | 70 | 0.726298 |
c80e168faf8fd52737694aac8c4ab07b555e91e6 | 2,119 | ex | Elixir | clients/sheets/lib/google_api/sheets/v4/model/data_filter.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | null | null | null | clients/sheets/lib/google_api/sheets/v4/model/data_filter.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-12-18T09:25:12.000Z | 2020-12-18T09:25:12.000Z | clients/sheets/lib/google_api/sheets/v4/model/data_filter.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.981132 | 232 | 0.741387 |
c80e2930de2ed6a32eac51faa8a44a2509d7e866 | 113 | exs | Elixir | test/pigeon/notification_queue_test.exs | VoiSmart/pigeon | 54735f869dd5500991dfa0b13dc71ca2191cd0ff | [
"MIT"
] | 545 | 2015-09-06T15:50:32.000Z | 2022-03-21T08:21:11.000Z | test/pigeon/notification_queue_test.exs | VoiSmart/pigeon | 54735f869dd5500991dfa0b13dc71ca2191cd0ff | [
"MIT"
] | 178 | 2016-01-14T22:21:20.000Z | 2022-02-18T22:34:30.000Z | test/pigeon/notification_queue_test.exs | VoiSmart/pigeon | 54735f869dd5500991dfa0b13dc71ca2191cd0ff | [
"MIT"
] | 124 | 2016-01-17T11:30:16.000Z | 2022-02-28T16:59:41.000Z | defmodule Pigeon.NotificationQueueTest do
use ExUnit.Case
doctest Pigeon.NotificationQueue, import: true
end
| 22.6 | 48 | 0.831858 |
c80e51e7a3639991f324a70da76e574ea8c0b2b7 | 67 | ex | Elixir | test/fixtures/output/elixir/httpoison/custom-method.ex | DaniruKun/httpsnippet | 59c3205be37c59dc7f9316710370dfd6895cec06 | [
"MIT"
] | null | null | null | test/fixtures/output/elixir/httpoison/custom-method.ex | DaniruKun/httpsnippet | 59c3205be37c59dc7f9316710370dfd6895cec06 | [
"MIT"
] | null | null | null | test/fixtures/output/elixir/httpoison/custom-method.ex | DaniruKun/httpsnippet | 59c3205be37c59dc7f9316710370dfd6895cec06 | [
"MIT"
] | null | null | null | HTTPoison.request(
:propfind,
"http://mockbin.com/har",
""
)
| 11.166667 | 27 | 0.61194 |
c80e528182a2e41c2d4160170d9288eb720ee600 | 345 | exs | Elixir | templates/default/mix.exs | Mendor/weber | 3c4fceff2bc6cf6ce38138b7e1c042c3f2536221 | [
"MIT"
] | 1 | 2018-02-21T07:56:22.000Z | 2018-02-21T07:56:22.000Z | templates/default/mix.exs | Mendor/weber | 3c4fceff2bc6cf6ce38138b7e1c042c3f2536221 | [
"MIT"
] | null | null | null | templates/default/mix.exs | Mendor/weber | 3c4fceff2bc6cf6ce38138b7e1c042c3f2536221 | [
"MIT"
] | null | null | null | defmodule #{projectNamespace}.Mixfile do
use Mix.Project
def project do
[
app: :#{projectName},
version: "0.0.1",
deps: deps
]
end
def application do
[
applications: [],
mod: {#{projectNamespace}, []}
]
end
defp deps do
[
{ :weber, github: "0xAX/w... | 13.8 | 40 | 0.521739 |
c80e64b33a84d6de6c737c5c232c4a2aa949f25f | 1,511 | exs | Elixir | mix.exs | krainboltgreene/plug_telemetry_server_timing | 823528a333743142bbc7736c1257cb18e7fd5a21 | [
"MIT"
] | null | null | null | mix.exs | krainboltgreene/plug_telemetry_server_timing | 823528a333743142bbc7736c1257cb18e7fd5a21 | [
"MIT"
] | null | null | null | mix.exs | krainboltgreene/plug_telemetry_server_timing | 823528a333743142bbc7736c1257cb18e7fd5a21 | [
"MIT"
] | null | null | null | defmodule PlugServerTiming.MixProject do
use Mix.Project
def project do
ver = version()
[
app: :plug_telemetry_server_timing,
version: ver,
description: "Plug for providing Telemetry metrics within browser DevTools",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
... | 21.898551 | 82 | 0.549305 |
c80e84d4311869a037e263dc7ef74fb9a67f007c | 1,124 | ex | Elixir | lib/slacker/command.ex | mikfreedman/slacker | 9e13b2ab232828ae7050f1c460233e572984d508 | [
"MIT"
] | 1 | 2016-05-19T05:10:16.000Z | 2016-05-19T05:10:16.000Z | lib/slacker/command.ex | pivotal-sydney/slacker | 9e13b2ab232828ae7050f1c460233e572984d508 | [
"MIT"
] | 3 | 2016-01-17T09:07:17.000Z | 2016-01-19T21:55:21.000Z | lib/slacker/command.ex | mikfreedman/slacker | 9e13b2ab232828ae7050f1c460233e572984d508 | [
"MIT"
] | null | null | null | defmodule Slacker.Command do
defmacro __using__(_opts) do
quote do
@before_compile unquote(__MODULE__)
use GenEvent
def respond(reply_text, %{bot_pid: bot_pid, message: %{channel: %{id: channel_id}}}) do
send bot_pid, {:reply, channel_id, reply_text}
end
def respond(reply_t... | 28.1 | 108 | 0.629004 |
c80e968629a3e067fd96702d29f674cfe4dbf3c2 | 850 | exs | Elixir | mix.exs | elpulgardelpanda/syscrap | 03e5dee924df8cd69db4eddb1e557168ea0ee04f | [
"MIT"
] | null | null | null | mix.exs | elpulgardelpanda/syscrap | 03e5dee924df8cd69db4eddb1e557168ea0ee04f | [
"MIT"
] | null | null | null | mix.exs | elpulgardelpanda/syscrap | 03e5dee924df8cd69db4eddb1e557168ea0ee04f | [
"MIT"
] | null | null | null | defmodule Syscrap.Mixfile do
use Mix.Project
def project do
[app: :syscrap,
version: get_version_number,
elixir: "~> 1.2",
deps: deps]
end
def application do
[applications: [:logger, :ssh, :harakiri],
included_applications: [:mix, :iex],
mod: {Syscrap, []}]
end
defp deps ... | 25 | 85 | 0.58 |
c80eb3342d05f8dde659e0dbf61a418dcf870c5a | 394 | exs | Elixir | priv/repo/migrations/20200608143337_constraints_task_collections.exs | bikebrigade/dispatch | eb622fe4f6dab7c917d678d3d7a322a01f97da44 | [
"Apache-2.0"
] | 28 | 2021-10-11T01:53:53.000Z | 2022-03-24T17:45:55.000Z | priv/repo/migrations/20200608143337_constraints_task_collections.exs | bikebrigade/dispatch | eb622fe4f6dab7c917d678d3d7a322a01f97da44 | [
"Apache-2.0"
] | 20 | 2021-10-21T08:12:31.000Z | 2022-03-31T13:35:53.000Z | priv/repo/migrations/20200608143337_constraints_task_collections.exs | bikebrigade/dispatch | eb622fe4f6dab7c917d678d3d7a322a01f97da44 | [
"Apache-2.0"
] | null | null | null | defmodule BikeBrigade.Repo.Migrations.ConstraintsTaskCollections do
use Ecto.Migration
def change do
alter table(:task_collections_tasks) do
modify :task_collection_id, references(:task_collections, on_delete: :delete_all),
from: references(:task_collections)
modify :task_id, references(:t... | 30.307692 | 91 | 0.753807 |
c80eb715299188254c2113333a7183dcecb2d4ad | 2,210 | exs | Elixir | server/config/prod.exs | kylesmith-1/blazeneu | 83cb68b8112bac8d51c9f92e709720d7e7ba1472 | [
"MIT"
] | null | null | null | server/config/prod.exs | kylesmith-1/blazeneu | 83cb68b8112bac8d51c9f92e709720d7e7ba1472 | [
"MIT"
] | null | null | null | server/config/prod.exs | kylesmith-1/blazeneu | 83cb68b8112bac8d51c9f92e709720d7e7ba1472 | [
"MIT"
] | 1 | 2021-04-10T18:37:30.000Z | 2021-04-10T18:37:30.000Z | use Mix.Config
# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
# when generating URLs.
#
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix phx.digest` task,
# ... | 35.645161 | 66 | 0.71086 |
c80ed4556a9214b16154895af87929620cdad448 | 4,524 | exs | Elixir | test/kayrock/member_assignment_test.exs | homespotter/kayrock | 9d4a1777654fd7c7270fdf5bf1f7c913e1934749 | [
"MIT"
] | 24 | 2019-06-26T22:08:13.000Z | 2022-01-27T00:10:41.000Z | test/kayrock/member_assignment_test.exs | homespotter/kayrock | 9d4a1777654fd7c7270fdf5bf1f7c913e1934749 | [
"MIT"
] | 10 | 2020-04-10T07:48:53.000Z | 2021-03-26T10:50:25.000Z | test/kayrock/member_assignment_test.exs | homespotter/kayrock | 9d4a1777654fd7c7270fdf5bf1f7c913e1934749 | [
"MIT"
] | 11 | 2019-10-30T12:53:09.000Z | 2022-03-09T23:16:42.000Z | defmodule Kayrock.MemberAssignmentTest do
use ExUnit.Case
alias Kayrock.MemberAssignment
test "deserialize empty assignments" do
assert MemberAssignment.deserialize(<<>>) == {%MemberAssignment{}, <<>>}
end
# This matches the response from an error response to SyncGroup, for example
test "deserialize ... | 34.272727 | 98 | 0.535146 |
c80ede3b0ac49fd3e3b6dc6d87b709de756bf1af | 892 | ex | Elixir | lib/livebook/notebook/section.ex | aleDsz/livebook | 3ad817ac69b8459b684ff8d00c879ae7787b6dcc | [
"Apache-2.0"
] | 1,846 | 2021-04-13T14:46:36.000Z | 2021-07-14T20:37:40.000Z | lib/livebook/notebook/section.ex | aleDsz/livebook | 3ad817ac69b8459b684ff8d00c879ae7787b6dcc | [
"Apache-2.0"
] | 411 | 2021-07-15T07:41:54.000Z | 2022-03-31T21:34:22.000Z | lib/livebook/notebook/section.ex | aleDsz/livebook | 3ad817ac69b8459b684ff8d00c879ae7787b6dcc | [
"Apache-2.0"
] | 130 | 2021-04-13T15:43:55.000Z | 2021-07-12T16:57:46.000Z | defmodule Livebook.Notebook.Section do
@moduledoc false
# Data structure representing a single section in a notebook.
#
# Each section contains a number of cells and serves as a way
# of grouping related cells.
#
# A section may optionally have a parent, in which case it's
# a branching section. Such s... | 22.3 | 63 | 0.616592 |
c80efe8ffa4def52cfbc5d4db91630e044a10a4c | 2,268 | exs | Elixir | test/lib/stats/stats_analyzer_test.exs | soleo/changelog.com | 621c7471b23379e1cdd4a0c960b66ed98d8d1a53 | [
"MIT"
] | 1 | 2018-01-22T20:07:10.000Z | 2018-01-22T20:07:10.000Z | test/lib/stats/stats_analyzer_test.exs | soleo/changelog.com | 621c7471b23379e1cdd4a0c960b66ed98d8d1a53 | [
"MIT"
] | null | null | null | test/lib/stats/stats_analyzer_test.exs | soleo/changelog.com | 621c7471b23379e1cdd4a0c960b66ed98d8d1a53 | [
"MIT"
] | null | null | null | defmodule ChangelogStatsAnalyzerTest do
use ExUnit.Case
alias Changelog.Stats.{Analyzer, Entry}
describe "downloads" do
test "it defaults to 0" do
assert Analyzer.downloads([], 1000) == 0
assert Analyzer.downloads([], 0) == 0
end
test "it derives downloads from episode bytes and entries... | 25.772727 | 71 | 0.554674 |
c80f0a07f56e1a5e4e65bcf4fc45d817fcde1128 | 178 | ex | Elixir | lib/teslamate_web/views/geo_fence_view.ex | shagberg/teslamate | 1f139b29bd5c2c93b158bdef10c66f9f3556e95c | [
"MIT"
] | 1 | 2019-10-14T20:49:45.000Z | 2019-10-14T20:49:45.000Z | lib/teslamate_web/views/geo_fence_view.ex | shagberg/teslamate | 1f139b29bd5c2c93b158bdef10c66f9f3556e95c | [
"MIT"
] | 1 | 2021-05-12T00:04:50.000Z | 2021-05-12T00:04:50.000Z | lib/teslamate_web/views/geo_fence_view.ex | shagberg/teslamate | 1f139b29bd5c2c93b158bdef10c66f9f3556e95c | [
"MIT"
] | 1 | 2019-10-24T13:17:57.000Z | 2019-10-24T13:17:57.000Z | defmodule TeslaMateWeb.GeoFenceView do
use TeslaMateWeb, :view
alias TeslaMateWeb.GeoFenceLive
alias TeslaMate.Log.Car
import TeslaMate.Convert, only: [m_to_ft: 1]
end
| 19.777778 | 46 | 0.786517 |
c80f145cc6fa297bb7b99803d1f96e5a8a50fd21 | 713 | ex | Elixir | lib/mix/lib/mix/tasks/deps.loadpaths.ex | guilleiguaran/elixir | 952052869ff7af0e293d2a7160b1aebc68fc46be | [
"Apache-2.0"
] | null | null | null | lib/mix/lib/mix/tasks/deps.loadpaths.ex | guilleiguaran/elixir | 952052869ff7af0e293d2a7160b1aebc68fc46be | [
"Apache-2.0"
] | null | null | null | lib/mix/lib/mix/tasks/deps.loadpaths.ex | guilleiguaran/elixir | 952052869ff7af0e293d2a7160b1aebc68fc46be | [
"Apache-2.0"
] | null | null | null | defmodule Mix.Tasks.Deps.Loadpaths do
use Mix.Task
@hidden true
@shortdoc "Load all dependencies build paths"
@moduledoc """
Loads all dependencies for the current build.
This is invoked directly by `loadpaths` when
the CLI boots.
## Command line options
* `--no-deps-check` - skip dependency check... | 22.28125 | 81 | 0.667602 |
c80f2f1bcabe657fd87cdf9bb502585397984547 | 271 | ex | Elixir | lib/hl7/2.5/segments/nte.ex | calvinb/elixir-hl7 | 5e953fa11f9184857c0ec4dda8662889f35a6bec | [
"Apache-2.0"
] | null | null | null | lib/hl7/2.5/segments/nte.ex | calvinb/elixir-hl7 | 5e953fa11f9184857c0ec4dda8662889f35a6bec | [
"Apache-2.0"
] | null | null | null | lib/hl7/2.5/segments/nte.ex | calvinb/elixir-hl7 | 5e953fa11f9184857c0ec4dda8662889f35a6bec | [
"Apache-2.0"
] | null | null | null | defmodule HL7.V2_5.Segments.NTE do
@moduledoc false
require Logger
alias HL7.V2_5.{DataTypes}
use HL7.Segment,
fields: [
segment: nil,
set_id_nte: nil,
source_of_comment: nil,
comment: nil,
comment_type: DataTypes.Ce
]
end
| 16.9375 | 34 | 0.645756 |
c80f30a363fa8e449aee8b65c901f0fc901a9db9 | 4,592 | ex | Elixir | clients/content/lib/google_api/content/v21/model/repricing_rule.ex | mcrumm/elixir-google-api | 544f22797cec52b3a23dfb6e39117f0018448610 | [
"Apache-2.0"
] | null | null | null | clients/content/lib/google_api/content/v21/model/repricing_rule.ex | mcrumm/elixir-google-api | 544f22797cec52b3a23dfb6e39117f0018448610 | [
"Apache-2.0"
] | null | null | null | clients/content/lib/google_api/content/v21/model/repricing_rule.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... | 56.691358 | 268 | 0.723214 |
c80f38748785a4eb0fb5f8c92a4e2b0a5620358b | 678 | ex | Elixir | lib/blockfrost/response/cardano/transactions/transaction_delegation_certificates_response.ex | blockfrost/blockfrost-elixir | b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec | [
"Apache-2.0"
] | 13 | 2021-08-31T03:54:37.000Z | 2022-01-30T17:39:40.000Z | lib/blockfrost/response/cardano/transactions/transaction_delegation_certificates_response.ex | blockfrost/blockfrost-elixir | b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec | [
"Apache-2.0"
] | 6 | 2021-08-30T04:45:52.000Z | 2021-09-23T09:15:08.000Z | lib/blockfrost/response/cardano/transactions/transaction_delegation_certificates_response.ex | blockfrost/blockfrost-elixir | b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec | [
"Apache-2.0"
] | null | null | null | defmodule Blockfrost.Response.TransactionDelegationCertificatesResponse do
defmodule DelegationCertificate do
use Blockfrost.Response.BaseSchema
embedded_schema do
field(:index, :integer)
field(:cert_index, :integer)
field(:address, :string)
field(:pool_id, :string)
field(:activ... | 25.111111 | 74 | 0.616519 |
c80f419ca75bc3d9241f9ab9c738200e381c3151 | 671 | ex | Elixir | lib/hai_elixir/cli.ex | shawnHartsell/hai-elixir | 384383fa4e69f541a41247d4454b73eba31486e2 | [
"MIT"
] | null | null | null | lib/hai_elixir/cli.ex | shawnHartsell/hai-elixir | 384383fa4e69f541a41247d4454b73eba31486e2 | [
"MIT"
] | null | null | null | lib/hai_elixir/cli.ex | shawnHartsell/hai-elixir | 384383fa4e69f541a41247d4454b73eba31486e2 | [
"MIT"
] | null | null | null | defmodule HaiElixir.Cli do
use Pipe
import HaiElixir.StudentGrades
import HaiElixir.Display
def run(argv) do
argv
|> parse_args
|> start_task
|> display
end
#TODO: do something with errors?
def parse_args(argv) do
parse = OptionParser.parse(... | 25.807692 | 79 | 0.536513 |
c80f6acb02b31acb906c7daefc6f0a2b88a496fe | 380 | ex | Elixir | web/views/error_view.ex | meilab/meilab_blog | 86fca779c8b01559440ea3f686695700e8cf5ed2 | [
"MIT"
] | null | null | null | web/views/error_view.ex | meilab/meilab_blog | 86fca779c8b01559440ea3f686695700e8cf5ed2 | [
"MIT"
] | null | null | null | web/views/error_view.ex | meilab/meilab_blog | 86fca779c8b01559440ea3f686695700e8cf5ed2 | [
"MIT"
] | null | null | null | defmodule MeilabBlog.ErrorView do
use MeilabBlog.Web, :view
def render("404.html", _assigns) do
"Page not found"
end
def render("500.html", _assigns) do
"Internal server error"
end
# In case no render clause matches or no
# template is found, let's render it as 500
def template_not_found(_tem... | 21.111111 | 47 | 0.702632 |
c80f702bb0a6f5b2752bae143bcaa3ddbca976f0 | 745 | ex | Elixir | lib/changelog_web/meta/apple.ex | gustavoarmoa/changelog.com | e898a9979a237ae66962714821ed8633a4966f37 | [
"MIT"
] | 1 | 2019-11-02T08:32:25.000Z | 2019-11-02T08:32:25.000Z | lib/changelog_web/meta/apple.ex | sdrees/changelog.com | 955cdcf93d74991062f19a03e34c9f083ade1705 | [
"MIT"
] | null | null | null | lib/changelog_web/meta/apple.ex | sdrees/changelog.com | 955cdcf93d74991062f19a03e34c9f083ade1705 | [
"MIT"
] | null | null | null | defmodule ChangelogWeb.Meta.Apple do
alias ChangelogWeb.{EpisodeView, Meta, PodcastView}
def get(type, conn) do
assigns = Meta.prep_assigns(conn)
case type do
:podcasts_id -> podcasts_id(assigns)
end
end
# Episode page
defp podcasts_id(%{
view_module: EpisodeView,
view_tem... | 21.911765 | 68 | 0.638926 |
c80f814b127372eabb28df894cd304111474f600 | 7,369 | exs | Elixir | test/grpc/integration/server_test.exs | braverhealth/grpc | eff8a8828d27ddd7f63a3c1dd5aae86246df215e | [
"Apache-2.0"
] | 561 | 2019-03-18T09:10:57.000Z | 2022-03-27T17:34:59.000Z | test/grpc/integration/server_test.exs | braverhealth/grpc | eff8a8828d27ddd7f63a3c1dd5aae86246df215e | [
"Apache-2.0"
] | 94 | 2019-03-20T09:34:38.000Z | 2022-02-27T20:44:04.000Z | test/grpc/integration/server_test.exs | braverhealth/grpc | eff8a8828d27ddd7f63a3c1dd5aae86246df215e | [
"Apache-2.0"
] | 112 | 2019-03-25T03:27:26.000Z | 2022-03-21T12:43:59.000Z | defmodule GRPC.Integration.ServerTest do
use GRPC.Integration.TestCase
defmodule FeatureServer do
use GRPC.Server, service: Routeguide.RouteGuide.Service
def get_feature(point, _stream) do
Routeguide.Feature.new(location: point, name: "#{point.latitude},#{point.longitude}")
end
end
defmodul... | 33.802752 | 97 | 0.663455 |
c80f8500a8b5385c4231991ef12336f62f4e8bce | 1,216 | exs | Elixir | mix.exs | xlrl/opml_ex | 22a61a4578cf85e62aaea37dd1a170dc88948592 | [
"MIT"
] | 1 | 2020-03-25T15:15:25.000Z | 2020-03-25T15:15:25.000Z | mix.exs | xlrl/opml_ex | 22a61a4578cf85e62aaea37dd1a170dc88948592 | [
"MIT"
] | null | null | null | mix.exs | xlrl/opml_ex | 22a61a4578cf85e62aaea37dd1a170dc88948592 | [
"MIT"
] | null | null | null | defmodule Opml.MixProject do
use Mix.Project
def project do
[
app: :opml,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
dialyzer: [plt_add_deps: :transitive],
preferred_cli_env: [
coveralls: :te... | 24.32 | 77 | 0.530428 |
c80f9226c9364bea415c5520602cc852f4b4bba2 | 1,910 | exs | Elixir | clients/artifact_registry/mix.exs | MMore/elixir-google-api | 0574ec1439d9bbfe22d63965be1681b0f45a94c9 | [
"Apache-2.0"
] | null | null | null | clients/artifact_registry/mix.exs | MMore/elixir-google-api | 0574ec1439d9bbfe22d63965be1681b0f45a94c9 | [
"Apache-2.0"
] | null | null | null | clients/artifact_registry/mix.exs | MMore/elixir-google-api | 0574ec1439d9bbfe22d63965be1681b0f45a94c9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 28.507463 | 143 | 0.665445 |
c80fbe90cc59aff7dcf76576c8b5ad414f83bf42 | 2,194 | exs | Elixir | lib/elixir/docs.exs | LaudateCorpus1/elixir | b131f874640775fdf08707d5b2fbbc1e91722cd0 | [
"Apache-2.0"
] | 2 | 2021-11-10T01:18:41.000Z | 2021-11-10T01:35:54.000Z | lib/elixir/docs.exs | LaudateCorpus1/elixir | b131f874640775fdf08707d5b2fbbc1e91722cd0 | [
"Apache-2.0"
] | 1 | 2021-10-21T08:22:30.000Z | 2021-10-21T08:22:30.000Z | lib/elixir/docs.exs | LaudateCorpus1/elixir | b131f874640775fdf08707d5b2fbbc1e91722cd0 | [
"Apache-2.0"
] | 1 | 2020-12-18T19:20:35.000Z | 2020-12-18T19:20:35.000Z | # Returns config for Elixir docs
canonical = System.fetch_env!("CANONICAL")
[
extras: Path.wildcard("lib/elixir/pages/*.md") ++ ["CHANGELOG.md"],
deps: [
eex: "https://hexdocs.pm/eex/#{canonical}",
ex_unit: "https://hexdocs.pm/ex_unit/#{canonical}",
iex: "https://hexdocs.pm/iex/#{canonical}",
logg... | 18.59322 | 95 | 0.538286 |
c80fc0e1e35aa048f3e2c1494847dcd9a65a5746 | 684 | ex | Elixir | lib/kirby_web/controllers/user_session_controller.ex | prefeitura-municipal-campos/kirby | 290835751a28cd7e39be2e721de243e495273be7 | [
"BSD-3-Clause"
] | null | null | null | lib/kirby_web/controllers/user_session_controller.ex | prefeitura-municipal-campos/kirby | 290835751a28cd7e39be2e721de243e495273be7 | [
"BSD-3-Clause"
] | null | null | null | lib/kirby_web/controllers/user_session_controller.ex | prefeitura-municipal-campos/kirby | 290835751a28cd7e39be2e721de243e495273be7 | [
"BSD-3-Clause"
] | null | null | null | defmodule KirbyWeb.UserSessionController do
use KirbyWeb, :controller
alias Kirby.Context.Accounts
alias KirbyWeb.UserAuth
def new(conn, _params) do
render(conn, "new.html", error_message: nil)
end
def create(conn, %{"user" => user_params}) do
%{"email" => email, "password" => password} = user_pa... | 25.333333 | 74 | 0.692982 |
c80fec4e1c17c22f254a21ce295254e776fff7e8 | 6,446 | ex | Elixir | lib/gexbot/auth/auth.ex | jakewilkins/gexbot | b92cd5bae794becaedbee9c8884e4b66942198b7 | [
"WTFPL"
] | null | null | null | lib/gexbot/auth/auth.ex | jakewilkins/gexbot | b92cd5bae794becaedbee9c8884e4b66942198b7 | [
"WTFPL"
] | null | null | null | lib/gexbot/auth/auth.ex | jakewilkins/gexbot | b92cd5bae794becaedbee9c8884e4b66942198b7 | [
"WTFPL"
] | null | null | null | defmodule Gexbot.Auth do
alias Gexbot.Github.Event
@moduledoc """
The Auth context.
"""
import Ecto.Query, warn: false
alias Gexbot.Repo
alias Gexbot.Auth.Installation
@doc """
Returns the list of installations.
## Examples
iex> list_installations()
[%Installation{}, ...]
"""
d... | 20.14375 | 99 | 0.632175 |
c8102c4f839fb4d746c8f13fa3c90167707d909f | 1,191 | exs | Elixir | mix.exs | Devotu/magirator_app_channel | 75810edaef8f781981366702556da85460c07073 | [
"MIT"
] | null | null | null | mix.exs | Devotu/magirator_app_channel | 75810edaef8f781981366702556da85460c07073 | [
"MIT"
] | null | null | null | mix.exs | Devotu/magirator_app_channel | 75810edaef8f781981366702556da85460c07073 | [
"MIT"
] | null | null | null | defmodule MagiratorAppChannel.Mixfile do
use Mix.Project
def project do
[
app: :magirator_app_channel,
version: "0.0.1",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
start_permanent: Mix.env == :prod,
deps: ... | 24.8125 | 56 | 0.570109 |
c81047de9510041e47493678b347a57dbfcb1c46 | 2,012 | exs | Elixir | apps/plant_monitor/test/user/user_test.exs | bartoszgorka/PlantMonitor | 23e18cd76c51bd8eee021ee98668926de885047b | [
"MIT"
] | 2 | 2019-01-25T21:21:56.000Z | 2021-02-24T08:18:51.000Z | apps/plant_monitor/test/user/user_test.exs | bartoszgorka/PlantMonitor | 23e18cd76c51bd8eee021ee98668926de885047b | [
"MIT"
] | null | null | null | apps/plant_monitor/test/user/user_test.exs | bartoszgorka/PlantMonitor | 23e18cd76c51bd8eee021ee98668926de885047b | [
"MIT"
] | null | null | null | defmodule PlantMonitor.UserTest do
use PlantMonitor.DataCase
alias PlantMonitor.User
import PlantMonitor.UserFactory
# CHANGESET
test "[VALID][CHANGESET] New changeset with User" do
parameters = %{
email: "john@example.com",
password: "JohnExample"
}
changeset =
%User{}
|... | 20.742268 | 112 | 0.618787 |
c8108332910e40bfbfb3dbb4edad160d2a5d09a1 | 2,092 | ex | Elixir | clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request.ex | pojiro/elixir-google-api | 928496a017d3875a1929c6809d9221d79404b910 | [
"Apache-2.0"
] | 1 | 2021-12-20T03:40:53.000Z | 2021-12-20T03:40:53.000Z | clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request.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_v1beta1_create_annotation_spec_set_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... | 36.068966 | 307 | 0.775335 |
c810adc4b458698fca0222433c2941c80dd585a9 | 1,366 | ex | Elixir | lib/akin/algorithms/overlap.ex | vanessaklee/akin | fc97befb871536b6c7ef0b35740fe6efc032c566 | [
"Apache-2.0"
] | 8 | 2021-10-31T21:24:37.000Z | 2022-02-27T05:30:24.000Z | lib/akin/algorithms/overlap.ex | vanessaklee/akin | fc97befb871536b6c7ef0b35740fe6efc032c566 | [
"Apache-2.0"
] | 1 | 2021-10-31T17:57:41.000Z | 2021-11-09T22:54:50.000Z | lib/akin/algorithms/overlap.ex | vanessaklee/akin | fc97befb871536b6c7ef0b35740fe6efc032c566 | [
"Apache-2.0"
] | null | null | null | defmodule Akin.Overlap do
@moduledoc """
Implements the Overlap Similarity Metric.
"""
@behaviour Akin.Task
import Akin.Util, only: [ngram_tokenize: 2, opts: 2, intersect: 2]
alias Akin.Corpus
@spec compare(%Corpus{}, %Corpus{}, Keyword.t()) :: float()
@doc """
Compares two values using the Overlap S... | 31.767442 | 113 | 0.636896 |
c810ba892c6e3d7b00f6e694c5cf918a7171e84d | 2,805 | exs | Elixir | test/generate/add_object_response_test.exs | smiyabe/cwmp_ex | 9db322497aa3208b5985ccf496ada5286cde3925 | [
"Artistic-2.0"
] | 3 | 2017-11-29T05:07:35.000Z | 2019-12-18T17:16:41.000Z | test/generate/add_object_response_test.exs | smiyabe/cwmp_ex | 9db322497aa3208b5985ccf496ada5286cde3925 | [
"Artistic-2.0"
] | 1 | 2021-12-02T19:35:28.000Z | 2022-03-29T09:40:52.000Z | test/generate/add_object_response_test.exs | smiyabe/cwmp_ex | 9db322497aa3208b5985ccf496ada5286cde3925 | [
"Artistic-2.0"
] | 2 | 2017-11-29T05:07:30.000Z | 2020-11-10T07:10:42.000Z | defmodule CWMP.Protocol.Generator.AddObjectResponseTest do
use ExUnit.Case, async: true
@sample ~s|<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cwmp="urn:dslforum-org:cwmp-1-4" xmlns:xsd="http://www.w3.org/2001/XMLSch... | 59.680851 | 289 | 0.758645 |
c810bf36a42a0e127130afa10a507b23dfc613f6 | 1,202 | ex | Elixir | lib/servantex_web/views/gaction_view.ex | alisinabh/servantex | 03bd4b7c1c47fc926a37b52670394f827c2d97ad | [
"Apache-2.0"
] | null | null | null | lib/servantex_web/views/gaction_view.ex | alisinabh/servantex | 03bd4b7c1c47fc926a37b52670394f827c2d97ad | [
"Apache-2.0"
] | null | null | null | lib/servantex_web/views/gaction_view.ex | alisinabh/servantex | 03bd4b7c1c47fc926a37b52670394f827c2d97ad | [
"Apache-2.0"
] | null | null | null | defmodule ServantexWeb.GactionView do
use ServantexWeb, :view
alias Servantex.DeviceManager
def render("sync.json", %{conn: conn, devices: devices, user_id: user_id}) do
google_devices =
for dev <- devices do
render_device_sync(dev)
end
%{
"requestId" => conn.private[:request_... | 25.574468 | 88 | 0.59401 |
c810eea47313c1c2ac4f3dfd2f4387b409932f11 | 62,110 | ex | Elixir | lib/elixir/lib/kernel/special_forms.ex | razuf/elixir | a80b6d00738668f5ca2325bfc8c3581af5d531dc | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/kernel/special_forms.ex | razuf/elixir | a80b6d00738668f5ca2325bfc8c3581af5d531dc | [
"Apache-2.0"
] | null | null | null | lib/elixir/lib/kernel/special_forms.ex | razuf/elixir | a80b6d00738668f5ca2325bfc8c3581af5d531dc | [
"Apache-2.0"
] | null | null | null | defmodule Kernel.SpecialForms do
@moduledoc """
Special forms are the basic building blocks of Elixir, and therefore
cannot be overridden by the developer.
The `Kernel.SpecialForms` module consists solely of macros that can be
invoked anywhere in Elixir code without the use of the
`Kernel.SpecialForms.` pr... | 28.688222 | 117 | 0.631251 |
c81116e517021e40c0208feb413b9a9076f4d784 | 890 | ex | Elixir | lib/conduit/blog/commands/comment_on_article.ex | rudyyazdi/conduit | 8defa60962482fb81f5093ea5d58b71a160db3c4 | [
"MIT"
] | null | null | null | lib/conduit/blog/commands/comment_on_article.ex | rudyyazdi/conduit | 8defa60962482fb81f5093ea5d58b71a160db3c4 | [
"MIT"
] | 2 | 2022-01-15T02:09:30.000Z | 2022-01-22T10:18:43.000Z | lib/conduit/blog/commands/comment_on_article.ex | rudyyazdi/conduit | 8defa60962482fb81f5093ea5d58b71a160db3c4 | [
"MIT"
] | null | null | null | defmodule Conduit.Blog.Commands.CommentOnArticle do
defstruct [
comment_uuid: "",
body: "",
article_uuid: "",
author_uuid: "",
]
use ExConstructor
use Vex.Struct
alias Conduit.Blog.Projections.{Article,Author}
alias Conduit.Blog.Commands.CommentOnArticle
validates :comment_uuid, uuid: t... | 27.8125 | 84 | 0.730337 |
c81121213f521e6d019fce883e86a67b9172ee9d | 114 | ex | Elixir | lib/image.ex | Buckshot-77/Elixir-Identicon | dc00d3e4c150ecf247dab5c449712d2f95304b6e | [
"MIT"
] | null | null | null | lib/image.ex | Buckshot-77/Elixir-Identicon | dc00d3e4c150ecf247dab5c449712d2f95304b6e | [
"MIT"
] | null | null | null | lib/image.ex | Buckshot-77/Elixir-Identicon | dc00d3e4c150ecf247dab5c449712d2f95304b6e | [
"MIT"
] | null | null | null | defmodule Identicon.Image do
@moduledoc false
defstruct hex: nil, colour: nil, grid: nil, pixel_map: nil
end
| 19 | 60 | 0.745614 |
c811240d308a11ae04469372006900bd5edf609c | 10,333 | exs | Elixir | test/storage/gcs_test.exs | jackjoe/arc_gcs | 263afa32fcaa689c5e708069a2c72f394c39c07e | [
"Apache-2.0"
] | null | null | null | test/storage/gcs_test.exs | jackjoe/arc_gcs | 263afa32fcaa689c5e708069a2c72f394c39c07e | [
"Apache-2.0"
] | null | null | null | test/storage/gcs_test.exs | jackjoe/arc_gcs | 263afa32fcaa689c5e708069a2c72f394c39c07e | [
"Apache-2.0"
] | null | null | null | defmodule ArcTest.Storage.GCS do
use ExUnit.Case, async: true
@img_name "image.png"
@img_path "test/support/#{@img_name}"
defmodule DummyDefinition do
use Arc.Definition
def __storage, do: Arc.Storage.GCS
@acl :public_read
def storage_dir(_, _), do: "arc-test"
def filename(_, {file, nam... | 33.440129 | 97 | 0.661957 |
c81126fec37e81399069ecba886f47b427a7c5fd | 1,981 | ex | Elixir | clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_image.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | null | null | null | clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_image.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-12-18T09:25:12.000Z | 2020-12-18T09:25:12.000Z | clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_image.ex | MasashiYokota/elixir-google-api | 975dccbff395c16afcb62e7a8e411fbb58e9ab01 | [
"Apache-2.0"
] | 1 | 2020-10-04T10:12:44.000Z | 2020-10-04T10:12:44.000Z | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 32.47541 | 93 | 0.707723 |
c81138dc1d4a2a72f8896f5e6ca9c652af2962ca | 1,407 | exs | Elixir | mix.exs | petrus-jvrensburg/shoehorn | 253b677b2ac68faf22b864ed0ab346ae02e8709a | [
"Apache-2.0"
] | null | null | null | mix.exs | petrus-jvrensburg/shoehorn | 253b677b2ac68faf22b864ed0ab346ae02e8709a | [
"Apache-2.0"
] | null | null | null | mix.exs | petrus-jvrensburg/shoehorn | 253b677b2ac68faf22b864ed0ab346ae02e8709a | [
"Apache-2.0"
] | null | null | null | defmodule Shoehorn.Mixfile do
use Mix.Project
@version "0.6.0"
@source_url "https://github.com/nerves-project/shoehorn"
def project do
[
app: :shoehorn,
version: @version,
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
elixirc... | 21.984375 | 65 | 0.5629 |
c8114ef05506b4f3be90fb65f7660e5cc33b1ca4 | 458 | ex | Elixir | lib/ash/data_layer/delegate/transformers/ensure_api_compiled.ex | QuinnWilton/ash | 78cde9cacf4d44b5287028bed6c6641dc7ca689e | [
"MIT"
] | 1 | 2021-12-27T09:43:29.000Z | 2021-12-27T09:43:29.000Z | lib/ash/data_layer/delegate/transformers/ensure_api_compiled.ex | QuinnWilton/ash | 78cde9cacf4d44b5287028bed6c6641dc7ca689e | [
"MIT"
] | null | null | null | lib/ash/data_layer/delegate/transformers/ensure_api_compiled.ex | QuinnWilton/ash | 78cde9cacf4d44b5287028bed6c6641dc7ca689e | [
"MIT"
] | null | null | null | defmodule Ash.DataLayer.Delegate.Transformers.EnsureApiCompiled do
@moduledoc "Validates and caches the primary key of a resource"
use Ash.Dsl.Transformer
alias Ash.DataLayer.Delegate
alias Ash.Resouce.Transformers
def transform(resource, dsl_state) do
resource
|> Delegate.api()
|> Code.ensure_c... | 24.105263 | 66 | 0.744541 |
c8115da79b30910b26c765c314dd7f3d4f9a46b5 | 924 | ex | Elixir | lib/hound/json_driver/navigation.ex | manukall/hound | 5a96b714b5ae0b64f9cbee3ee4955d209895b92e | [
"MIT"
] | null | null | null | lib/hound/json_driver/navigation.ex | manukall/hound | 5a96b714b5ae0b64f9cbee3ee4955d209895b92e | [
"MIT"
] | null | null | null | lib/hound/json_driver/navigation.ex | manukall/hound | 5a96b714b5ae0b64f9cbee3ee4955d209895b92e | [
"MIT"
] | null | null | null | defmodule Hound.JsonDriver.Navigation do
@moduledoc "Provides navigation functions."
import Hound.JsonDriver.Utils
@spec current_url() :: String.t
def current_url do
session_id = Hound.current_session_id
make_req(:get, "session/#{session_id}/url")
end
@spec navigate_to(String.t) :: :ok
def nav... | 22.536585 | 61 | 0.704545 |
c81169b58b4abeaedded7b6c61923fcdb34e0c43 | 1,885 | ex | Elixir | lib/true_false_case_statements.ex | emibloque/nicene | f22560520bf7da573ed3e046c49526b16eb4b407 | [
"MIT"
] | 34 | 2020-01-16T09:55:27.000Z | 2021-11-12T12:09:19.000Z | lib/true_false_case_statements.ex | emibloque/nicene | f22560520bf7da573ed3e046c49526b16eb4b407 | [
"MIT"
] | 21 | 2020-02-06T09:08:29.000Z | 2021-04-12T12:57:23.000Z | lib/true_false_case_statements.ex | emibloque/nicene | f22560520bf7da573ed3e046c49526b16eb4b407 | [
"MIT"
] | 9 | 2020-01-27T10:46:45.000Z | 2021-02-22T19:27:09.000Z | defmodule Nicene.TrueFalseCaseStatements do
@moduledoc """
Do not use `case` when the only matches are `true` and `false`.
"""
@explanation [check: @moduledoc]
use Credo.Check, base_priority: :high, category: :readability
@doc false
@spec run(Credo.SourceFile.t(), list()) :: list(Credo.Issue.t())
def... | 24.166667 | 97 | 0.542706 |
c8116facae4e6c91680a9799badbc7cfa9a28577 | 765 | exs | Elixir | config/releases.exs | the-harry/blog_phx | db7604259f2a1cd32b0243bb1039694ef986b3aa | [
"MIT"
] | null | null | null | config/releases.exs | the-harry/blog_phx | db7604259f2a1cd32b0243bb1039694ef986b3aa | [
"MIT"
] | null | null | null | config/releases.exs | the-harry/blog_phx | db7604259f2a1cd32b0243bb1039694ef986b3aa | [
"MIT"
] | null | null | null | import Config
database_url =
System.get_env("DATABASE_URL") ||
raise """
environment variable DATABASE_URL is missing.
For example: ecto://USER:PASS@HOST/DATABASE
"""
config :blog_phx, BlogPhx.Repo,
# ssl: true,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10... | 25.5 | 67 | 0.703268 |
c81187c863297773774336613918946723d3f475 | 21,945 | ex | Elixir | lib/aws/cloud_hsm.ex | RAM9/aws-elixir | 2890ba722c977e03212df6a957a19d466c05cdf6 | [
"Apache-2.0"
] | 2 | 2019-11-17T02:31:18.000Z | 2019-11-20T22:00:29.000Z | lib/aws/cloud_hsm.ex | RAM9/aws-elixir | 2890ba722c977e03212df6a957a19d466c05cdf6 | [
"Apache-2.0"
] | null | null | null | lib/aws/cloud_hsm.ex | RAM9/aws-elixir | 2890ba722c977e03212df6a957a19d466c05cdf6 | [
"Apache-2.0"
] | 1 | 2019-11-16T18:08:18.000Z | 2019-11-16T18:08:18.000Z | # WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/jkakar/aws-codegen for more details.
defmodule AWS.CloudHSM do
@moduledoc """
AWS CloudHSM Service
This is documentation for **AWS CloudHSM Classic**. For more information,
see [AWS CloudHSM Classic
FAQs](http://aws.amazon.com/cloudhsm/fa... | 41.095506 | 77 | 0.723308 |
c811c103855d4fb503291d6402beb11ae2b622ff | 2,173 | exs | Elixir | config/prod.exs | jec/spelt | b6e5070226b646e1eb5dfc28453db7e7bf5030d9 | [
"BSD-3-Clause"
] | null | null | null | config/prod.exs | jec/spelt | b6e5070226b646e1eb5dfc28453db7e7bf5030d9 | [
"BSD-3-Clause"
] | null | null | null | config/prod.exs | jec/spelt | b6e5070226b646e1eb5dfc28453db7e7bf5030d9 | [
"BSD-3-Clause"
] | null | null | null | use Mix.Config
# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
# when generating URLs.
#
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix phx.digest` task,
# ... | 35.048387 | 66 | 0.712839 |
c811fc9bd6df763f136f622e710c3ade4369c21a | 970 | ex | Elixir | test/support/channel_case.ex | Skoda091/dobble-generator | 6dd084d6af55beeac4369772a3cba1be76ec8d41 | [
"MIT"
] | 4 | 2020-04-11T23:00:13.000Z | 2022-02-07T14:51:18.000Z | test/support/channel_case.ex | Skoda091/dobble-generator | 6dd084d6af55beeac4369772a3cba1be76ec8d41 | [
"MIT"
] | 2 | 2021-03-10T13:32:34.000Z | 2021-05-11T09:27:10.000Z | test/support/channel_case.ex | Skoda091/dobble-generator | 6dd084d6af55beeac4369772a3cba1be76ec8d41 | [
"MIT"
] | null | null | null | defmodule DobbleGeneratorWeb.ChannelCase do
@moduledoc """
This module defines the test case to be used by
channel tests.
Such tests rely on `Phoenix.ChannelTest` and also
import other functionality to make it easier
to build common data structures and query the data layer.
Finally, if the test case int... | 25.526316 | 77 | 0.724742 |
c811fd98b628d03cfe8d8e18b35d789949860ccf | 4,022 | ex | Elixir | apps/core/lib/core/clients/hydra.ex | michaeljguarino/forge | 50ee583ecb4aad5dee4ef08fce29a8eaed1a0824 | [
"Apache-2.0"
] | 59 | 2021-09-16T19:29:39.000Z | 2022-03-31T20:44:24.000Z | apps/core/lib/core/clients/hydra.ex | svilenkov/plural | ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026 | [
"Apache-2.0"
] | 111 | 2021-08-15T09:56:37.000Z | 2022-03-31T23:59:32.000Z | apps/core/lib/core/clients/hydra.ex | svilenkov/plural | ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026 | [
"Apache-2.0"
] | 4 | 2021-12-13T09:43:01.000Z | 2022-03-29T18:08:44.000Z | defmodule Core.Clients.Hydra do
require Logger
alias Core.Schema.User
defmodule Response, do: defstruct [:redirect_to]
defmodule Client do
defstruct [
:client_id,
:client_secret,
:client_uri,
:redirect_uris,
:client_name,
:logo_uri
]
end
defmodule LoginRequest d... | 25.948387 | 92 | 0.64719 |
c8121beab886aa2125db53445651c6501af83d14 | 258 | ex | Elixir | test/support/biblio/author.ex | jan-sti/gim | 1b8be6c2163577f375825170cc9b01674e59b646 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-01-21T09:15:24.000Z | 2021-02-04T21:21:56.000Z | test/support/biblio/author.ex | jan-sti/gim | 1b8be6c2163577f375825170cc9b01674e59b646 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-04-06T05:20:09.000Z | 2020-06-09T09:56:20.000Z | test/support/biblio/author.ex | jan-sti/gim | 1b8be6c2163577f375825170cc9b01674e59b646 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-04-22T08:44:35.000Z | 2020-04-22T08:44:35.000Z | defmodule GimTest.Biblio.Author do
@moduledoc false
use Gim.Schema
alias GimTest.Biblio.Book
schema do
property(:name, index: :unique)
property(:age, default: 0, index: true)
has_edges(:author_of, Book, reflect: :authored_by)
end
end
| 19.846154 | 54 | 0.709302 |
c8124b6adbfe282b9c07e82563e3fbc1fbc14560 | 3,521 | ex | Elixir | lib/wechat/official_account/custom_service.ex | hsieh/wechat | 6a49033d3a35a80358481778a0609f214c340a0c | [
"Apache-2.0"
] | 7 | 2021-01-22T04:07:29.000Z | 2021-12-14T14:01:30.000Z | lib/wechat/official_account/custom_service.ex | hsieh/wechat | 6a49033d3a35a80358481778a0609f214c340a0c | [
"Apache-2.0"
] | 1 | 2021-03-17T15:44:26.000Z | 2021-03-17T15:44:26.000Z | lib/wechat/official_account/custom_service.ex | hsieh/wechat | 6a49033d3a35a80358481778a0609f214c340a0c | [
"Apache-2.0"
] | 2 | 2021-03-17T14:35:56.000Z | 2021-08-10T07:44:10.000Z | defmodule WeChat.CustomService do
@moduledoc """
客服帐号管理
[官方文档](https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html#0){:target="_blank"}
"""
import Jason.Helpers
import WeChat.Utils, only: [doc_link_prefix: 0]
alias Tesla.Multipart
@doc_link "#{doc_link_pref... | 29.099174 | 126 | 0.67992 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.