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
9e5b36e77ec8f3980582c589e4c486d165dd0471
24,205
exs
Elixir
lib/mix/test/mix/tasks/deps_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/mix/test/mix/tasks/deps_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.DepsTest do use MixTest.Case defmodule DepsApp do def project do [ app: :deps, version: "0.1.0", deps: [ {:ok, "0.1.0", github: "elixir-lang/ok"}, {:invalidvsn, "0.2.0", path: "deps/invali...
29.162651
133
0.60471
9e5b5cfae19fe10708cf990d5370815495487696
669
ex
Elixir
solutions/infinite-house-of-pancakes/elixir/approach4.ex
EdwinFajardoBarrera/google-code-jam
3bc2979c726a3a40d1a82888439534ea429c2327
[ "MIT" ]
15
2015-02-27T01:34:41.000Z
2022-02-03T23:16:47.000Z
solutions/infinite-house-of-pancakes/elixir/approach4.ex
EdwinFajardoBarrera/google-code-jam
3bc2979c726a3a40d1a82888439534ea429c2327
[ "MIT" ]
35
2015-02-17T15:55:33.000Z
2021-05-10T16:52:46.000Z
solutions/infinite-house-of-pancakes/elixir/approach4.ex
EdwinFajardoBarrera/google-code-jam
3bc2979c726a3a40d1a82888439534ea429c2327
[ "MIT" ]
163
2015-02-10T19:19:51.000Z
2021-10-19T04:20:15.000Z
defmodule Pancakes do IO.puts("hola") def minutes do {tests,_} = IO.gets("") |> Integer.parse for i <- 1..tests do {non_empty,_} = IO.gets("") |> Integer.parse chain = IO.gets("") chain = String.replace(chain, "\n","") chain = String.split(chain, " ") chain = Enum.map(chain, fn ...
23.892857
83
0.530643
9e5b61479a9a1eba039c1d5c07ab9e121caaab36
362
ex
Elixir
lib/class_roll/service/date.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/service/date.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/service/date.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
defmodule ClassRoll.Service.Date do def list(class) do {:ok, 1..5} end def get(id) do {:ok, %{id: id, date: "2015-08-22T07:18:52Z"}} end def list_by_member(class, member) do {:ok, 1..15} end def create(class, date) do {:ok, %{id: 1524, date: "2015-08-22T07:18:52Z"}} end def update(...
17.238095
52
0.588398
9e5b7db8995aeb5962f10df707b6742b8efe3877
430
ex
Elixir
lib/cloudevents/format/v_0_2/encoder/avro.ex
mmacai/cloudevents-ex
ef7ab9e39019112e0bec2058c3611ebcd04db605
[ "Apache-2.0" ]
7
2020-03-17T22:54:51.000Z
2021-09-10T17:33:03.000Z
lib/cloudevents/format/v_0_2/encoder/avro.ex
mmacai/cloudevents-ex
ef7ab9e39019112e0bec2058c3611ebcd04db605
[ "Apache-2.0" ]
2
2020-07-13T23:01:52.000Z
2020-07-16T17:05:56.000Z
lib/cloudevents/format/v_0_2/encoder/avro.ex
mmacai/cloudevents-ex
ef7ab9e39019112e0bec2058c3611ebcd04db605
[ "Apache-2.0" ]
1
2020-07-07T19:49:25.000Z
2020-07-07T19:49:25.000Z
defimpl Cloudevents.Format.Encoder.Avro, for: Cloudevents.Format.V_0_2.Event do @moduledoc false def encode(event) do case Cloudevents.Config.avro_event_schema_name() do nil -> {:error, "The name of the Avro-schema used to encode events is not set"} schema_name -> event |> ...
26.875
80
0.676744
9e5b81f788a5659a0537abe9cd4cfe274f019327
2,352
ex
Elixir
clients/double_click_search/lib/google_api/double_click_search/v2/model/report_request_time_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/report_request_time_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/report_request_time_range.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...
42
218
0.734269
9e5bd6c94f98d8922160811c93da6829da115e08
300
ex
Elixir
web/controllers/page_controller.ex
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
defmodule Betazoids.PageController do use Betazoids.Web, :controller def index(conn, _params) do conn |> put_flash(:info, "Welcome to Phoenix, from flash info!") |> put_flash(:error, "Let's pretend we have an error.") # |> put_layout(false) |> render("index.html") end end
25
63
0.666667
9e5c04b5a8dc44364ee1e20d7de75618d23d141a
4,928
ex
Elixir
lib/json/encoder/default_implementations.ex
ryosan-470/elixir-json
2a7080440814401b16529eb5e12425d656c9219e
[ "BSD-3-Clause" ]
null
null
null
lib/json/encoder/default_implementations.ex
ryosan-470/elixir-json
2a7080440814401b16529eb5e12425d656c9219e
[ "BSD-3-Clause" ]
null
null
null
lib/json/encoder/default_implementations.ex
ryosan-470/elixir-json
2a7080440814401b16529eb5e12425d656c9219e
[ "BSD-3-Clause" ]
null
null
null
defimpl JSON.Encoder, for: Tuple do @doc """ Encodes an Elixir tuple into a JSON array """ def encode(term), do: term |> Tuple.to_list() |> JSON.Encoder.Helpers.enum_encode() @doc """ Returns an atom that represents the JSON type for the term """ def typeof(_), do: :array end defimpl JSON.Encoder, for...
26.212766
94
0.657468
9e5c248ecaa50cb5f89827313ea9e65f62f52b81
8,141
exs
Elixir
test/goth/config_test.exs
ananthakumaran/goth
9b40537ae98dd425f06c4210f5c7965c3c5ac9aa
[ "MIT" ]
1
2019-08-24T20:56:59.000Z
2019-08-24T20:56:59.000Z
test/goth/config_test.exs
ananthakumaran/goth
9b40537ae98dd425f06c4210f5c7965c3c5ac9aa
[ "MIT" ]
null
null
null
test/goth/config_test.exs
ananthakumaran/goth
9b40537ae98dd425f06c4210f5c7965c3c5ac9aa
[ "MIT" ]
1
2021-09-22T20:18:04.000Z
2021-09-22T20:18:04.000Z
defmodule Goth.ConfigTest do use ExUnit.Case alias Goth.Config def check_config(map) do check_config(map, fn key -> Config.get(key) end) end def check_config(map, get_config) do map |> Map.keys() |> Enum.each(fn key -> assert {:ok, map[key]} == get_config.(key) end) end setup ...
30.605263
95
0.672153
9e5c4ba6fbd83094ad6b2211e37e47c7e36eabbc
1,125
exs
Elixir
config/config.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "Unlicense" ]
1
2020-01-27T00:49:16.000Z
2020-01-27T00:49:16.000Z
config/config.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "Unlicense" ]
null
null
null
config/config.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "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...
36.290323
73
0.755556
9e5ca34576acea4fdea5297abd6980c4ca93ad30
4,513
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/request_builder.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/request_builder.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/request_builder.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.RequestBuilder do @moduledoc """ Helper functions for building Tesla requests """ @doc """ Specify the request method when bu...
27.186747
137
0.646577
9e5ca7c98ad048d11669e54903c6ee3443241fb9
1,828
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/advanced_machine_features.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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.893617
346
0.764223
9e5cc4495cd0ae886080ce0281fc25cb03f52f30
548
exs
Elixir
mix.exs
IncludeSecurity/safeurl-elixir
507f5aa0f92709bbbfa250dac156f4d56b4bf02b
[ "MIT" ]
4
2021-05-04T15:02:28.000Z
2021-08-10T23:13:34.000Z
mix.exs
IncludeSecurity/safeurl-elixir
507f5aa0f92709bbbfa250dac156f4d56b4bf02b
[ "MIT" ]
2
2021-05-02T06:44:13.000Z
2021-05-03T13:54:02.000Z
mix.exs
IncludeSecurity/elixir-safeurl
507f5aa0f92709bbbfa250dac156f4d56b4bf02b
[ "MIT" ]
1
2021-05-02T04:24:38.000Z
2021-05-02T04:24:38.000Z
defmodule SafeURL.MixProject do use Mix.Project def project do [ app: :safeurl, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), ] end def application do [env: default_configs()] end defp default_configs do [ schem...
15.657143
42
0.509124
9e5d2e61272fe5e6f77960585efd9fb7d77a216b
445
exs
Elixir
config/config.exs
ohyecloudy/bitcoin_price_scraper
888eca9641c555e961739f9292d0ddd3d3172b92
[ "MIT" ]
1
2021-09-06T06:09:11.000Z
2021-09-06T06:09:11.000Z
config/config.exs
data-miner00/bitcoin_price_scraper
888eca9641c555e961739f9292d0ddd3d3172b92
[ "MIT" ]
null
null
null
config/config.exs
data-miner00/bitcoin_price_scraper
888eca9641c555e961739f9292d0ddd3d3172b92
[ "MIT" ]
2
2021-06-27T03:35:27.000Z
2022-03-28T17:38:51.000Z
import Config config :bitcoin_price_scraper, upbit_access_key: "SUPER_ACCESS_KEY", upbit_secret_key: "SUPER_SECRET_KEY", scrap_days: 4 * 365 # https://github.com/deadtrickster/prometheus-httpd/blob/master/doc/prometheus_httpd.md config :prometheus, :prometheus_http, path: String.to_charlist("/metrics"), for...
26.176471
87
0.748315
9e5d32aba2668d47deaf6616959bf02ebae14f19
7,524
exs
Elixir
config/config.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
config/config.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
config/config.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
use Mix.Config import Cog.Config.Helpers # ======================================================================== # Cog Telemetry - This has been turned off for now, as it is no longer # a running service to send telemetry data to. # ======================================================================== config :c...
34.833333
102
0.6353
9e5d5f925388af189f6f403257fb3d6627b4ff6a
1,345
exs
Elixir
deps/cidr/mix.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
deps/cidr/mix.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
deps/cidr/mix.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. defmodule CIDR.Mixfile do use Mix.Project @version "1.1.0" def project do [ app: :cidr, elixir: ...
25.865385
88
0.537546
9e5d653776abcc4239e7cb3c07152fd0d866d82e
135
exs
Elixir
2021/test/aoc001_test.exs
axler8r/aoc
d36e59a60e6062e1c76486034108c7f22ddbd9aa
[ "BSD-3-Clause" ]
null
null
null
2021/test/aoc001_test.exs
axler8r/aoc
d36e59a60e6062e1c76486034108c7f22ddbd9aa
[ "BSD-3-Clause" ]
null
null
null
2021/test/aoc001_test.exs
axler8r/aoc
d36e59a60e6062e1c76486034108c7f22ddbd9aa
[ "BSD-3-Clause" ]
null
null
null
defmodule Aoc001Test do use ExUnit.Case doctest Aoc001 test "greets the world" do assert Aoc001.hello() == :world end end
15
35
0.703704
9e5ddf4b37bc38c56b08f4823e81fc723a341ff7
2,001
exs
Elixir
test/lib/type/g2g_types_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
test/lib/type/g2g_types_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
test/lib/type/g2g_types_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. defmodule Antikythera.G2gTypesTest do use ExUnit.Case test "G2gRequest: new/1" do alias Antikythera.G2gRequest, as: GRq assert GRq.new([method: :get, path: "/"]) == {:ok, %GRq{body: "", cookies: %{}, headers: %{}, metho...
76.961538
176
0.537231
9e5de9007b713ab604c18c9433a8d18dc6624a41
2,204
exs
Elixir
config/prod.exs
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
config/prod.exs
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
config/prod.exs
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # EmcBackendWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # #...
33.907692
67
0.725499
9e5e03e1a8507306b4f6ea6ebebdf0939e88f204
1,280
exs
Elixir
mix.exs
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
1
2021-08-17T02:31:07.000Z
2021-08-17T02:31:07.000Z
mix.exs
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
null
null
null
mix.exs
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
1
2021-08-17T02:31:14.000Z
2021-08-17T02:31:14.000Z
defmodule Keywords.MixProject do use Mix.Project def project do [ app: :keywords, version: "0.2.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), compilers: Mix.compilers(), rustler_cra...
22.068966
97
0.585938
9e5e5623ce4ff19342b8ff66ecb0aa3f67f73b2f
9,160
ex
Elixir
lib/aws/generated/polly.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/polly.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/polly.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "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.Polly do @moduledoc """ Amazon Polly is a web service that makes it easy to synthesize speech from text. The Amazon Polly service provides API operations for synthesizing high-quality spe...
25.658263
116
0.641921
9e5e88e84bd70ab1cc6f8b49f738ebe704cd7a64
1,447
ex
Elixir
lib/bittrex/order_cancel_result.ex
straw-hat-team/bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
9
2017-11-17T21:07:50.000Z
2018-01-19T09:53:03.000Z
lib/bittrex/order_cancel_result.ex
straw-hat-team/bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
27
2017-12-13T12:21:10.000Z
2019-11-01T10:25:39.000Z
lib/bittrex/order_cancel_result.ex
straw-hat-llc/elixir_bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
5
2017-11-20T20:04:43.000Z
2018-10-03T16:47:37.000Z
defmodule Bittrex.OrderCancelResult do @moduledoc """ A Bittrex Order Cancel Result. """ alias StrawHat.Response @typedoc """ - `id`: unique ID of this order. - `fill_quantity`: fill quantity. - `commission`: commission. - `proceeds`: proceeds. - `client_order_id`: client-provided identifier for a...
23.721311
78
0.612301
9e5e93c907c951b2ddd54444556bff83a85e9b5a
92
ex
Elixir
lib/nexmo/phone.ex
CarouselSMS/nexmo_elixir
f9be807bb5198a165b6453bc0aa5cdb6a3dc1a05
[ "MIT" ]
null
null
null
lib/nexmo/phone.ex
CarouselSMS/nexmo_elixir
f9be807bb5198a165b6453bc0aa5cdb6a3dc1a05
[ "MIT" ]
null
null
null
lib/nexmo/phone.ex
CarouselSMS/nexmo_elixir
f9be807bb5198a165b6453bc0aa5cdb6a3dc1a05
[ "MIT" ]
null
null
null
defmodule Nexmo.Record do require Logger def submit do end def encode do end end
10.222222
25
0.717391
9e5e95b4bb5df74243631248c5fb6e856479040b
1,618
ex
Elixir
lib/dapp_demo/server_registry.ex
arpnetwork/dapp_demo
ff87809625ae6053378ddffd63e27c6225d93370
[ "Apache-2.0" ]
null
null
null
lib/dapp_demo/server_registry.ex
arpnetwork/dapp_demo
ff87809625ae6053378ddffd63e27c6225d93370
[ "Apache-2.0" ]
null
null
null
lib/dapp_demo/server_registry.ex
arpnetwork/dapp_demo
ff87809625ae6053378ddffd63e27c6225d93370
[ "Apache-2.0" ]
null
null
null
defmodule DappDemo.ServerRegistry do @moduledoc false use GenServer def start_link(_opts) do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def create(address, amount) do GenServer.call(__MODULE__, {:create, address, amount}) end def lookup(address) do case :ets.lookup(__MODULE...
21.864865
92
0.573548
9e5ebf2c4538c8c6fae8de167ec5ce644e2aba80
1,086
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/crop_hints_params.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/crop_hints_params.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/crop_hints_params.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.351351
77
0.751381
9e5f020b6309d0cd7f03642436964859d12cdf03
1,122
exs
Elixir
mix.exs
faithandbrave/elixir-phoenix-chunked-response-example
3390aba36a9fe9fa55316205021eef1f566b57a6
[ "MIT" ]
3
2016-12-16T03:00:32.000Z
2020-09-17T16:04:58.000Z
mix.exs
faithandbrave/elixir-phoenix-chunked-response-example
3390aba36a9fe9fa55316205021eef1f566b57a6
[ "MIT" ]
null
null
null
mix.exs
faithandbrave/elixir-phoenix-chunked-response-example
3390aba36a9fe9fa55316205021eef1f566b57a6
[ "MIT" ]
null
null
null
defmodule ChunkServer.Mixfile do use Mix.Project def project do [app: :chunk_server, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, ...
28.05
102
0.606952
9e5f5f139abda7b2f5f3b984ce7edc4c781a5d52
868
ex
Elixir
2021/elixir/apps/day5/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day5/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day5/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day5Part1 do @moduledoc """ Day5 - Part1 """ def solve(input) do input |> String.split("\n", trim: true) |> Enum.reduce(%{}, fn line, points -> add_points(points, line) end) |> Enum.count(fn {_point, count} -> count >= 2 end) end defp add_points(points, line) do line |> p...
22.842105
72
0.5553
9e5f6c7c6c1aa9dd7a19cf99b3f2b3420812a3b0
1,574
ex
Elixir
clients/double_click_search/lib/google_api/double_click_search/v2/model/custom_metric.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/custom_metric.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/custom_metric.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
30.862745
81
0.733164
9e5fa5044fc018c896a340d3aa4b9f9f67424ad3
697
exs
Elixir
test/message_test.exs
gabrielelana/twitter-kata
eb0406a64b208dd4e078a844e51ab719b0944f42
[ "MIT" ]
2
2015-07-19T21:33:15.000Z
2015-07-23T10:26:23.000Z
test/message_test.exs
gabrielelana/twitter-kata
eb0406a64b208dd4e078a844e51ab719b0944f42
[ "MIT" ]
null
null
null
test/message_test.exs
gabrielelana/twitter-kata
eb0406a64b208dd4e078a844e51ab719b0944f42
[ "MIT" ]
null
null
null
defmodule Twitter.MessageTest do use ExUnit.Case alias Twitter.Message alias Twitter.Clock test "format" do a_time = Clock.now after_3_minutes = Clock.at(a_time, {:after, 3, :minutes}) message = %Message{at: a_time, from: "Alice", text: "Programming is fun!"} assert Message.format(message, afte...
34.85
109
0.69297
9e5faa58eb7b58177e7c259e8c0d1177d1fd145b
1,079
ex
Elixir
lib/rocketpay/user.ex
leandroslc/rocketpay
92e807998ca48e842a30f10be681481271905691
[ "MIT" ]
null
null
null
lib/rocketpay/user.ex
leandroslc/rocketpay
92e807998ca48e842a30f10be681481271905691
[ "MIT" ]
null
null
null
lib/rocketpay/user.ex
leandroslc/rocketpay
92e807998ca48e842a30f10be681481271905691
[ "MIT" ]
null
null
null
defmodule Rocketpay.User do use Ecto.Schema import Ecto.Changeset alias Ecto.Changeset alias Rocketpay.Account @primary_key {:id, :binary_id, autogenerate: true} @required_params [:name, :age, :email, :password, :nickname] schema "users" do field :name, :string field :age, :integer field ...
25.093023
97
0.690454
9e5fba7caa092a619d2561aed7155eeeda62d03b
422
ex
Elixir
lib/philopets/sellers/seller.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
lib/philopets/sellers/seller.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
lib/philopets/sellers/seller.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
defmodule Philopets.Sellers.Seller do use Philopets.Schema import Ecto.Changeset schema "sellers" do field :name, :string field :display_pic, :id timestamps() end @required_fields ~w[name]a @optional_fields ~w[display_pic]a @doc false def changeset(profile, attrs) do profile |> c...
19.181818
56
0.706161
9e5fd89d2b00be476bc54b55dacdbdd502e9c9eb
1,395
exs
Elixir
mix.exs
acutario/ravenx_email
ea4f079e5345b54129de7003af396be0f4ce3886
[ "MIT" ]
null
null
null
mix.exs
acutario/ravenx_email
ea4f079e5345b54129de7003af396be0f4ce3886
[ "MIT" ]
null
null
null
mix.exs
acutario/ravenx_email
ea4f079e5345b54129de7003af396be0f4ce3886
[ "MIT" ]
1
2021-03-07T04:41:23.000Z
2021-03-07T04:41:23.000Z
defmodule RavenxEmail.MixProject do use Mix.Project def project do [ app: :ravenx_email, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), ...
22.5
70
0.546953
9e5fdcd1aabba94cff36d38c2d9129e387652c7b
87
ex
Elixir
tests/fixtures/elixir.ex
mangs/leasot
e29c4ef7349a310da19c4f51a50f9044985ac49e
[ "MIT" ]
null
null
null
tests/fixtures/elixir.ex
mangs/leasot
e29c4ef7349a310da19c4f51a50f9044985ac49e
[ "MIT" ]
null
null
null
tests/fixtures/elixir.ex
mangs/leasot
e29c4ef7349a310da19c4f51a50f9044985ac49e
[ "MIT" ]
null
null
null
defmodule Leasot do # TODO: add "!" def hello do IO.inspect("world") end end
12.428571
23
0.62069
9e5fe57fb121824853f45e450c5bda4fb0360b8e
469
exs
Elixir
config/test.exs
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
config/test.exs
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
config/test.exs
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "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 :taskasync, TaskasyncWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :taskasync, Task...
24.684211
56
0.73774
9e5ffb4e6e2b00cabf3e45d4a4cf72dd9185e00a
3,082
ex
Elixir
lib/vutuv_web/controllers/user_controller.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
lib/vutuv_web/controllers/user_controller.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
lib/vutuv_web/controllers/user_controller.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.UserController do use VutuvWeb, :controller import VutuvWeb.Authorize alias Phauxth.Log alias Vutuv.{UserProfiles, UserProfiles.User, Devices, Publications} alias VutuvWeb.EmailAddressController @dialyzer {:nowarn_function, new: 3} def action(conn, _), do: auth_action_slug(conn, __M...
33.868132
95
0.678456
9e60019c949ae5f97e9702fec6e08eef78cb90fa
826
exs
Elixir
test/ex_aws/cognito_idp_test.exs
Theuns-Botha/ex_aws_cognito
5f640e53f183e68238dbab78d567238ebd211e9c
[ "MIT" ]
1
2018-08-27T20:55:49.000Z
2018-08-27T20:55:49.000Z
test/ex_aws/cognito_idp_test.exs
Theuns-Botha/ex_aws_cognito
5f640e53f183e68238dbab78d567238ebd211e9c
[ "MIT" ]
2
2018-03-17T14:43:18.000Z
2019-08-04T17:40:20.000Z
test/ex_aws/cognito_idp_test.exs
Theuns-Botha/ex_aws_cognito
5f640e53f183e68238dbab78d567238ebd211e9c
[ "MIT" ]
5
2018-09-28T12:47:01.000Z
2020-04-07T14:45:45.000Z
defmodule ExAws.CognitoIdpTest do use ExUnit.Case, async: true alias ExAws.CognitoIdp test "admin_create_user" do opts = [ desired_delivery_mediums: ["foo", "bar"], force_alias_creation: true, message_action: "email", user_attributes: [%{name: "name", value: "value"}] ] oper...
29.5
101
0.588378
9e60061a91e1c65147bc2b818e3446c9a74b828e
1,158
ex
Elixir
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/connection.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/connection.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/connection.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.090909
74
0.749568
9e600bbc2556cd32c2cff6dddadbe15524ed8908
443
exs
Elixir
test/readme_test.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
7
2018-01-30T14:09:13.000Z
2021-01-22T22:38:32.000Z
test/readme_test.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
null
null
null
test/readme_test.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
1
2018-01-30T14:09:17.000Z
2018-01-30T14:09:17.000Z
defmodule ReadmeTest do use ExUnit.Case, async: true test "README deps example references current version" do expected = SpaceEx.Mixfile.project()[:version] actual = get_readme_version() assert expected == actual end def get_readme_version() do readme = File.read!("README.md") case Regex....
23.315789
72
0.636569
9e600d9261f8535bec4e1baa9ecf65ac50c8c159
10,102
ex
Elixir
lib/honeydew/sources/ecto_source.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
717
2015-06-15T19:30:54.000Z
2022-03-22T06:10:09.000Z
lib/honeydew/sources/ecto_source.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
106
2015-06-25T05:38:05.000Z
2021-12-08T23:17:19.000Z
lib/honeydew/sources/ecto_source.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
60
2015-06-07T00:48:37.000Z
2022-03-06T08:20:23.000Z
# # The goal of this module is to lamprey a queue onto an existing ecto schema with as few requirements and as little # disruption as possible. It adds two fields to the schema, a "lock" field and a "private" field. # # The lock field is an integer overloaded with three jobs: # 1. Acts as a lock, to ensure that only o...
36.734545
175
0.551871
9e601bedd49d997e8272edbc1139c17aa5072f14
2,382
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/update_conditional_format_rule_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/update_conditional_format_rule_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/update_conditional_format_rule_response.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...
42.535714
191
0.725861
9e604b6ebc895d9d6b1fd01de8d9bcaa939f0ee7
322
exs
Elixir
test/stix/bundle_test.exs
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
test/stix/bundle_test.exs
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
test/stix/bundle_test.exs
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
defmodule StixBundleTest do use ExUnit.Case test "bundle" do result = Stix.bundle([Stix.object("indicator")]) assert Map.keys(result) == [:id, :objects, :type] end test "bundle object" do result = Stix.bundle(Stix.object("indicator")) assert Map.keys(result) == [:id, :objects, :type] end en...
21.466667
53
0.65528
9e60577f4e3c74b92fb35a0d1ae0bd2cb7e55913
443
exs
Elixir
hgw/config/dogma.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
hgw/config/dogma.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
hgw/config/dogma.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
# dogma config to override some settings use Mix.Config alias Dogma.Rule config :dogma, rule_set: Dogma.RuleSet.All, exclude: [ ~r(\Apriv/|\Atest/), ], override: [ %Rule.ModuleDoc{enabled: false}, %Rule.LineLength{enabled: false}, %Rule.ComparisonToBoolean{enabled: false}, %Rule.FunctionAr...
23.315789
50
0.697517
9e6058cd47e2d261dd21cc032a6023ccbd03db5c
2,747
ex
Elixir
lib/bakeit.ex
efine/bakeit_ex
3bec62b98e1117bad439ba74cf77cc19571b1092
[ "BSD-3-Clause" ]
null
null
null
lib/bakeit.ex
efine/bakeit_ex
3bec62b98e1117bad439ba74cf77cc19571b1092
[ "BSD-3-Clause" ]
null
null
null
lib/bakeit.ex
efine/bakeit_ex
3bec62b98e1117bad439ba74cf77cc19571b1092
[ "BSD-3-Clause" ]
null
null
null
defmodule Bakeit do @pastery_url "https://www.pastery.net/api/paste/" def upload(input, opts) do api_key = Bakeit.INI.read[:api_key] opts[:debug] && ( IO.write "Opts: #{inspect opts}\n" IO.write "#{api_key}\n" ) HTTPoison.start body = get_body(input) headers = %{"User-Agent" => "...
26.161905
71
0.569712
9e605dd3d9c0e662fc9480a806f0717562de1334
21,756
exs
Elixir
test/websockex/frame_test.exs
Ma233/gunpowder
c1de28940c42aee6af6fb8aed53afe30bbb2eda9
[ "MIT" ]
null
null
null
test/websockex/frame_test.exs
Ma233/gunpowder
c1de28940c42aee6af6fb8aed53afe30bbb2eda9
[ "MIT" ]
1
2021-12-24T06:23:32.000Z
2021-12-24T06:23:32.000Z
test/websockex/frame_test.exs
Ma233/gunpowder
c1de28940c42aee6af6fb8aed53afe30bbb2eda9
[ "MIT" ]
1
2021-12-24T06:03:18.000Z
2021-12-24T06:03:18.000Z
defmodule WebSockex.FrameTest do use ExUnit.Case, async: true # Frame: (val::bitsize) # << fin::1, 0::3, opcode::4, 0::1, payload_len::7 >> # << 1::1, 0::3, [8,9,10]::4, 0::1, payload_len::7 >> # << 1::1, 0::3, [8,9,10]::4, 0::1, payload_len::7 >> # << fin::1, 0::3, [0,1,2]::4, 0::1, payload_len::7 >> # <...
36.688027
116
0.56913
9e60ad04fdd14b2f8468f70e6aff8674fd0816ba
1,109
ex
Elixir
languages/elixir/exercises/concept/community-garden/.meta/example.ex
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
languages/elixir/exercises/concept/community-garden/.meta/example.ex
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
1,938
2019-12-12T08:07:10.000Z
2021-01-29T12:56:13.000Z
languages/elixir/exercises/concept/community-garden/.meta/example.ex
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
239
2019-12-12T14:09:08.000Z
2022-03-18T00:04:07.000Z
defmodule Plot do @enforce_keys [:plot_id, :registered_to] defstruct [:plot_id, :registered_to] end defmodule CommunityGarden do def start(opts \\ []) do Agent.start(fn -> %{registry: %{}, next_id: 1} end, opts) end def list_registrations(pid) do Agent.get(pid, fn state -> Map.values(state.reg...
25.204545
83
0.649234
9e60f743e51a80489e4b9efdbc9fc6ad9cfec1a6
26,598
ex
Elixir
lib/teiserver/tcp/tcp_server.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
1
2021-02-23T22:34:12.000Z
2021-02-23T22:34:12.000Z
lib/teiserver/tcp/tcp_server.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
lib/teiserver/tcp/tcp_server.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
defmodule Teiserver.TcpServer do @moduledoc false use GenServer require Logger alias Teiserver.{User, Client} alias Teiserver.Tcp.{TcpLobby} # Duration refers to how long it will track commands for # Limit is the number of commands that can be sent in that time @cmd_flood_duration 10 @cmd_flood_limi...
30.642857
167
0.647041
9e61224e5ed39d9988c18521dde85649b1b9dd31
21,201
exs
Elixir
lib/elixir/test/elixir/macro_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/macro_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/macro_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule Macro.ExternalTest do defmacro external do line = 18 file = __ENV__.file ^line = __CALLER__.line ^file = __CALLER__.file ^line = Macro.Env.location(__CALLER__)[:line] ^file = Macro.Env.location(__CALLER__)[:file] end defmacro oror(le...
33.023364
124
0.562521
9e612d3c5bb6ffa810ee53f60adbe1f700a1bf7e
1,927
exs
Elixir
clients/double_click_bid_manager/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
28.761194
132
0.668915
9e614db3b1b01f2387134f8e3d16cd26ff41903f
755
ex
Elixir
lib/mechanics/units.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/mechanics/units.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/mechanics/units.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.Mechanics.Units do @moduledoc """ All build times are specified in microseconds. """ alias LaFamiglia.Unit def units do [ %Unit{ id: 1, key: :unit_1, build_time: 10_000_000, costs: %{ resource_1: 1, resource_2: 0, r...
17.55814
48
0.451656
9e616ad3bafb1ba4bfe06d6e43ea778bf374e997
155
exs
Elixir
test/friends_app_test.exs
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
1
2020-10-28T01:16:50.000Z
2020-10-28T01:16:50.000Z
test/friends_app_test.exs
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
null
null
null
test/friends_app_test.exs
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
null
null
null
defmodule FriendsAppTest do use ExUnit.Case doctest FriendsApp test "greets the world" do assert FriendsApp.hello() == :world end end
17.222222
40
0.690323
9e617744a3eabddd8468d780d04412df47841836
5,784
exs
Elixir
.credo.exs
mirego/sigaws
d16d6bc72859ef9664f3892dad001e628e6263e3
[ "MIT" ]
8
2017-04-18T05:28:21.000Z
2022-01-20T16:32:35.000Z
.credo.exs
mirego/sigaws
d16d6bc72859ef9664f3892dad001e628e6263e3
[ "MIT" ]
11
2017-04-09T18:51:33.000Z
2021-11-11T00:10:17.000Z
.credo.exs
mirego/sigaws
d16d6bc72859ef9664f3892dad001e628e6263e3
[ "MIT" ]
14
2017-08-06T22:11:46.000Z
2022-03-17T18:24:49.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 ...
41.913043
80
0.662172
9e617799c5a44c6556c81a49bd9fea3f5f0b1acf
5,441
ex
Elixir
lib/oli/delivery/page/page_context.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/delivery/page/page_context.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/delivery/page/page_context.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Page.PageContext do @moduledoc """ Defines the context required to render a page in delivery mode. """ @enforce_keys [ :review_mode, :page, :progress_state, :resource_attempts, :activities, :objectives, :latest_attempts ] defstruct [ :review_mode, ...
33.380368
107
0.70079
9e61a09062c102468af2429c3428980ea6fd7fbb
495
ex
Elixir
spec/espec_phoenix_extend.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
1
2018-01-20T00:58:33.000Z
2018-01-20T00:58:33.000Z
spec/espec_phoenix_extend.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
spec/espec_phoenix_extend.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
defmodule ESpec.Phoenix.Extend do def model do quote do alias AuditApi.Repo end end def controller do quote do alias AuditApi.Repo import AuditApi.Router.Helpers end end def request do quote do alias AuditApi.Repo import AuditApi.Router.Helpers end end...
15.46875
50
0.656566
9e61b4b855721a71a5ef79c3b4439ade227e9741
6,694
ex
Elixir
clients/url_shortener/lib/google_api/url_shortener/v1/api/url.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/url_shortener/lib/google_api/url_shortener/v1/api/url.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/url_shortener/lib/google_api/url_shortener/v1/api/url.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.609467
170
0.68061
9e61cfe45b253ad28c1ff1749e7bd72697b446d1
4,540
ex
Elixir
lib/mnemonix/application.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
36
2016-10-30T21:40:19.000Z
2021-05-03T10:51:50.000Z
lib/mnemonix/application.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
52
2016-10-30T20:57:35.000Z
2017-12-28T03:39:57.000Z
lib/mnemonix/application.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
5
2017-01-25T22:02:58.000Z
2018-01-30T14:27:55.000Z
defmodule Mnemonix.Application do @moduledoc """ Automatically starts stores when your application starts. Mnemonix can manage your stores for you. To do so, it looks in your config files for named stores: config :mnemonix, stores: [:foo, :bar] For all stores so listed, it will check for store-specific...
31.748252
108
0.678634
9e61d37e7177d404f2658746a04ee932202fc061
1,579
ex
Elixir
lib/edgedb/types/config_memory.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/types/config_memory.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/types/config_memory.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.ConfigMemory do @moduledoc """ An immutable value represeting an EdgeDB `cfg::memory` value as a quantity of memory storage. ```elixir iex(1)> {:ok, pid} = EdgeDB.start_link() iex(2)> mem = EdgeDB.query_required_single!(pid, "SELECT <cfg::memory>'5KiB'") #EdgeDB.ConfigMemory<"5KiB"> iex(...
22.884058
95
0.568714
9e61d874804ee6cf1eb2c0cb24a15b91e5ce5324
1,237
ex
Elixir
lib/grizzly/zwave/commands/thermostat_setpoint_get.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/thermostat_setpoint_get.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/thermostat_setpoint_get.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.Commands.ThermostatSetpointGet do @moduledoc """ This module implements command THERMOSTAT_SETPOINT_GET of the COMMAND_CLASS_THERMOSTAT_SETPOINT command class. This command is used to request the target value for a given setpoint type. Params: * `:type` - the setback type (requi...
24.254902
78
0.678254
9e61df20ee691653446749e54faac723880b91b6
1,208
ex
Elixir
lib/sir_alex_web/router.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2019-05-19T05:27:37.000Z
2020-04-21T06:23:08.000Z
lib/sir_alex_web/router.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2017-10-28T20:52:07.000Z
2017-11-24T08:15:27.000Z
lib/sir_alex_web/router.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
1
2020-04-15T16:31:28.000Z
2020-04-15T16:31:28.000Z
defmodule SirAlexWeb.Router do use SirAlexWeb, :router import SirAlexWeb.Plugs.CurrentUser pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :get_current_user plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do pl...
30.2
88
0.71606
9e61f2713ef5589cb87f2afc0482f2606682af05
554
exs
Elixir
mix.exs
kianmeng/ssl_verify_fun.erl
b503f3e1a0397c495dca9930f131613190cea25b
[ "MIT" ]
260
2015-01-02T12:59:27.000Z
2022-03-13T00:43:38.000Z
mix.exs
kianmeng/ssl_verify_fun.erl
b503f3e1a0397c495dca9930f131613190cea25b
[ "MIT" ]
107
2015-01-03T21:51:25.000Z
2021-12-22T05:09:46.000Z
deps/ssl_verify_fun/mix.exs
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
34
2015-02-11T05:49:41.000Z
2020-07-13T21:07:43.000Z
defmodule SSLVerifyFun.Mixfile do use Mix.Project def project do [app: :ssl_verify_fun, language: :erlang, version: "1.1.6", description: description(), package: package()] end defp description() do """ SSL verification functions for Erlang """ end defp package() do ...
22.16
83
0.619134
9e6201e3a546700dbac9d8d105082e00971bfd6b
2,592
exs
Elixir
config/prod.exs
mitchellhenke/bus_kiosk
9814b0b10190bb06c823b00315616391100c5bfa
[ "BSD-3-Clause" ]
2
2020-02-21T15:40:27.000Z
2020-12-06T21:50:39.000Z
config/prod.exs
mitchellhenke/bus_kiosk
9814b0b10190bb06c823b00315616391100c5bfa
[ "BSD-3-Clause" ]
3
2020-02-19T17:06:24.000Z
2020-04-20T14:33:07.000Z
config/prod.exs
mitchellhenke/bus_kiosk
9814b0b10190bb06c823b00315616391100c5bfa
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config config :bus_kiosk, ecto_repos: [BusKiosk.Repo], mcts_api_key: System.fetch_env!("MCTS_API_KEY"), real_time_module: BusKiosk.RealTime # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include t...
35.027027
68
0.710262
9e621c73a4c7fc1b9b950da993c5299abe77416e
1,248
ex
Elixir
lib/blog_post_api_web/endpoint.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
lib/blog_post_api_web/endpoint.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
lib/blog_post_api_web/endpoint.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
defmodule BlogPostApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :blog_post_api # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "...
28.363636
63
0.716346
9e62245a7369be1af6fd17e98e77ae3505938414
207
ex
Elixir
try-elixir/level1/calculating-investment.ex
kidchenko/playground
750f1d12a793f6851df68bbd1b9d3ec32b5f70a3
[ "MIT" ]
4
2016-11-10T02:29:32.000Z
2017-08-24T15:19:12.000Z
try-elixir/level1/calculating-investment.ex
kidchenko/playground
750f1d12a793f6851df68bbd1b9d3ec32b5f70a3
[ "MIT" ]
13
2019-09-16T20:01:18.000Z
2022-02-13T11:00:49.000Z
try-elixir/level1/calculating-investment.ex
kidchenko/playground
750f1d12a793f6851df68bbd1b9d3ec32b5f70a3
[ "MIT" ]
1
2022-02-24T06:35:25.000Z
2022-02-24T06:35:25.000Z
defmodule Account do def investment_return(initial, interest) do initial + (initial * interest) end end amount = Account.investment_return(1000, 0.0001) IO.puts "Investment return: $#{amount}"
25.875
48
0.724638
9e62269f77b6e1fd33a33779abe1ba8a09b03417
1,686
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/store_environment_state_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/composer/lib/google_api/composer/v1beta1/model/store_environment_state_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/composer/lib/google_api/composer/v1beta1/model/store_environment_state_response.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...
35.87234
283
0.759786
9e622a13c527ff5a3cc12bb4903e60579743f13c
604
ex
Elixir
lib/ex_pwned/pastes.ex
Grantimus9/ex_pwned
e26035372edc35c0b5167446ee852f133800aa03
[ "Apache-2.0" ]
18
2017-03-04T11:35:34.000Z
2020-04-29T22:24:26.000Z
lib/ex_pwned/pastes.ex
Grantimus9/ex_pwned
e26035372edc35c0b5167446ee852f133800aa03
[ "Apache-2.0" ]
11
2018-05-16T04:36:57.000Z
2020-04-07T19:47:40.000Z
lib/ex_pwned/pastes.ex
Grantimus9/ex_pwned
e26035372edc35c0b5167446ee852f133800aa03
[ "Apache-2.0" ]
8
2018-05-16T18:15:51.000Z
2020-06-23T16:58:52.000Z
defmodule ExPwned.Pastes do @moduledoc """ Module to interact with hibp API to retrive breaches data """ use ExPwned.Api @doc """ The API takes a single parameter which is the email address to be searched for. Unlike searching for breaches, usernames that are not email addresses cannot be searched for. ...
30.2
95
0.735099
9e6236e0b4146185e76c1f5933b7e65fed12f843
1,407
exs
Elixir
test/unit/xsd/datatypes/any_uri_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/xsd/datatypes/any_uri_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/xsd/datatypes/any_uri_test.exs
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.AnyURITest do use RDF.XSD.Datatype.Test.Case, datatype: RDF.XSD.AnyURI, name: "anyURI", primitive: true, applicable_facets: [ RDF.XSD.Facets.MinLength, RDF.XSD.Facets.MaxLength, RDF.XSD.Facets.Length, RDF.XSD.Facets.Pattern ], facets: %{ max_leng...
31.977273
77
0.574982
9e6238c8f8a096ead330edc17eedd16ec7f8120f
16,101
ex
Elixir
tools/astarte_e2e/lib/astarte_e2e/client.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
tools/astarte_e2e/lib/astarte_e2e/client.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
tools/astarte_e2e/lib/astarte_e2e/client.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Cospyright 2020 Ispirata Srl # # 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 app...
27.760345
116
0.638842
9e625c4cf99a7c4756747d8ffba1b50550cd58a2
7,685
exs
Elixir
test/phoenix_live_view/integrations/update_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/update_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/update_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
defmodule LiveElement.UpdateTest do use ExUnit.Case, async: true import Phoenix.ConnTest import LiveElementTest alias LiveElementTest.{Endpoint, DOM} @endpoint Endpoint @moduletag :capture_log setup config do {:ok, conn: Plug.Test.init_test_session(Phoenix.ConnTest.build_conn(), config[:sessio...
37.125604
95
0.490956
9e6263d2b92be0e66b93580789e625718638a471
5,343
ex
Elixir
lib/niacademy_web/live/activity_live/show.ex
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
lib/niacademy_web/live/activity_live/show.ex
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
lib/niacademy_web/live/activity_live/show.ex
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
defmodule NiacademyWeb.ActivityLive.Show do use Phoenix.LiveView, layout: {NiacademyWeb.LayoutView, "live.html"} alias Niacademy.Session alias NiacademyWeb.ActivityView alias NiacademyWeb.Router.Helpers, as: Routes require Logger @impl true def mount(_params, _session, socket) do Niacademy.LiveMonito...
27.4
127
0.645705
9e628ab81334b3af9df75f1b8bf84455be3243d9
3,140
ex
Elixir
lib/koans/03_numbers.ex
samstarling/elixir-koans
9f9546e2b795cfedbafa8cec5661972ca1fc4b8d
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
samstarling/elixir-koans
9f9546e2b795cfedbafa8cec5661972ca1fc4b8d
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
samstarling/elixir-koans
9f9546e2b795cfedbafa8cec5661972ca1fc4b8d
[ "MIT" ]
null
null
null
defmodule Numbers do require Integer use Koans @intro "Why is the number six so scared? Because seven eight nine!\nWe should get to know numbers a bit more!" koan "Is an integer equal to its float equivalent?" do assert 1 == 1.0 == true end koan "Is an integer threequal to its float equivalent?" do ...
23.969466
112
0.635032
9e629e57cdcdb79413636677ad9fde436f6987d3
343
ex
Elixir
lib/supabase_surface/components/icons/icon_volume_1.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_volume_1.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_volume_1.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconVolume1 do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.volume_1(width: icon_size, height: icon_size)} </IconContai...
22.866667
66
0.720117
9e62a620b3590b8b28900b379f59bc23490e296f
284
ex
Elixir
lib/ucl.ex
skunkwerks/ucl-elixir
059183f107db4997958e8cd57ae5a2e1557835a7
[ "MIT" ]
null
null
null
lib/ucl.ex
skunkwerks/ucl-elixir
059183f107db4997958e8cd57ae5a2e1557835a7
[ "MIT" ]
null
null
null
lib/ucl.ex
skunkwerks/ucl-elixir
059183f107db4997958e8cd57ae5a2e1557835a7
[ "MIT" ]
null
null
null
defmodule UCL do alias UCL.AST alias UCL.Merge alias UCL.Parser @doc """ Parse an UCL string into a single map """ def parse(string) do case Parser.parse(string) do {:ok, ast} -> ast |> AST.walk() |> Merge.collapse() end end end
15.777778
39
0.566901
9e62a825198f36788c8b604e179642c61fea8fa6
634
exs
Elixir
test/board_test.exs
ckampfe/chess
a4aec40ecbc5c6d109363e6b982cd9eaab338fd4
[ "BSD-3-Clause" ]
1
2021-10-06T12:59:52.000Z
2021-10-06T12:59:52.000Z
test/board_test.exs
ckampfe/chess
a4aec40ecbc5c6d109363e6b982cd9eaab338fd4
[ "BSD-3-Clause" ]
null
null
null
test/board_test.exs
ckampfe/chess
a4aec40ecbc5c6d109363e6b982cd9eaab338fd4
[ "BSD-3-Clause" ]
null
null
null
defmodule BoardTest do use ExUnit.Case alias Chess.Board test "to_string/1" do default_board = """ ┌───────────────────────────────┐ │ ♜ │ ♞ │ ♝ │ ♛ │ ♚ │ ♝ │ ♞ │ ♜ │ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │ ...
26.416667
64
0.231861
9e62d36bb4093341574f2ebc7b61f66f477679f0
1,585
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/category_group_v5.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/category_group_v5.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/category_group_v5.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.7
109
0.728076
9e62d546a5869b251c9e83355759c77a48be0c83
1,593
ex
Elixir
api/lib/remote_day_web/views/error_helpers.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
api/lib/remote_day_web/views/error_helpers.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
24
2018-10-19T07:54:11.000Z
2022-02-26T13:28:55.000Z
api/lib/remote_day_web/views/error_helpers.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
defmodule RemoteDayWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static ar...
30.634615
78
0.655995
9e62dadfe659bac1fefaed1abd98433854815049
2,198
exs
Elixir
test/companion_web/controllers/auth_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
1
2018-10-10T18:20:22.000Z
2018-10-10T18:20:22.000Z
test/companion_web/controllers/auth_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
23
2018-06-07T15:13:15.000Z
2019-07-30T09:06:03.000Z
test/companion_web/controllers/auth_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
null
null
null
defmodule CompanionWeb.AuthControllerTest do use CompanionWeb.ConnCase @ueberauth_auth %{ credentials: %{token: "pretendthisisavalidtoken"}, info: %{email: "test@example.org", urls: %{website: "example.org"}}, provider: "google" } @user %{email: "test@example.org", provider: "google"} test "red...
26.804878
91
0.628298
9e62e6899260afa3accff25655ddc6798684f9d6
1,428
exs
Elixir
test/jwt/claim_test.exs
tzumby/elixir-jwt
1e44bef4d1f706062050fedad79bdd9b3b4d81a5
[ "MIT" ]
13
2017-05-15T13:37:11.000Z
2021-07-29T23:06:23.000Z
test/jwt/claim_test.exs
tzumby/elixir-jwt
1e44bef4d1f706062050fedad79bdd9b3b4d81a5
[ "MIT" ]
7
2019-01-26T12:42:24.000Z
2021-03-16T23:01:00.000Z
test/jwt/claim_test.exs
tzumby/elixir-jwt
1e44bef4d1f706062050fedad79bdd9b3b4d81a5
[ "MIT" ]
3
2019-07-26T06:03:48.000Z
2020-01-14T20:42:55.000Z
defmodule JWT.ClaimTest do use ExUnit.Case doctest JWT.Claim @now DateTime.to_unix(DateTime.utc_now) @after_now (@now + 5) @before_now (@now - 5) test "verify/2 w rejected_claims" do claims = %{"exp" => @before_now} assert {:error, _rejected_claims} = JWT.Claim.verify(claims, %{}) end test "...
23.409836
74
0.614146
9e62e9852640e9453270fd977a3825daf64a03ee
294
ex
Elixir
plugins/ucc_chat/lib/ucc_chat_web/flex_bar/tab/rooms_mode.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/flex_bar/tab/rooms_mode.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/flex_bar/tab/rooms_mode.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.FlexBar.Tab.RoomsMode do use UccChatWeb.FlexBar.Helpers alias UcxUcc.TabBar.Tab def add_buttons do TabBar.add_button Tab.new( __MODULE__, ~w[im], "rooms-mode", ~g"Rooms Mode", "icon-hash", View, "", 2) end end
15.473684
45
0.598639
9e62f9cfed479d9564a2861ae80a4ef7626efde6
749
ex
Elixir
clients/hydra/elixir/lib/ory/model/plugin_mount.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/plugin_mount.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/plugin_mount.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.PluginMount do @moduledoc """ PluginMount plugin mount """ @derive [Poison.Encoder] defstruct [ :"Description", :"Destina...
19.710526
91
0.611482
9e6303f799dd8f37bc520959ebac458888685f4e
698
ex
Elixir
lib/srp/identity_verifier.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
15
2018-11-03T18:39:21.000Z
2022-02-21T22:17:50.000Z
lib/srp/identity_verifier.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
7
2018-10-21T16:36:58.000Z
2018-10-25T00:56:05.000Z
lib/srp/identity_verifier.ex
thiamsantos/spr
c1db6c338543ecb9ec4d855d05a125a490c1606b
[ "Apache-2.0" ]
3
2019-05-14T16:24:04.000Z
2019-07-06T21:47:40.000Z
defmodule SRP.IdentityVerifier do @moduledoc """ A user identity verifier. This verifier is formed by the username, a random salt generated at registration time, and a password verifier derived from the user password. """ @enforce_keys [:username, :salt, :password_verifier] defstruct [:username, :salt, :...
30.347826
91
0.722063
9e631848f43688cedbac75cf659182e9a78d0cbd
525
ex
Elixir
base/fc_state_storage/lib/fc_state_storage.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
base/fc_state_storage/lib/fc_state_storage.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
base/fc_state_storage/lib/fc_state_storage.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCStateStorage do @store Application.get_env(:fc_state_storage, :adapter) @callback get(key :: String.t(), opts :: keyword) :: any @callback put(key :: String.t(), record :: map, opts :: keyword) :: {:ok, any} | {:error, any} @callback delete(key :: String.t(), opts :: keyword) :: :ok @callback res...
37.5
96
0.630476
9e6331214a75c41ec819acb16f6882ea819fe30f
1,174
exs
Elixir
test/oauth2/strategy/auth_code_test.exs
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
test/oauth2/strategy/auth_code_test.exs
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
test/oauth2/strategy/auth_code_test.exs
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
defmodule OAuth2.Strategy.AuthCodeTest do use ExUnit.Case, async: true use Plug.Test test "new" do conn = call(Client, conn(:get, "/")) strategy = conn.private.oauth2_strategy assert strategy.client_id == "client_id" assert strategy.client_secret == "secret" assert strategy.site ...
30.102564
84
0.653322
9e63593f7c5d09a7d56ad17bf29939f90be07b08
1,471
ex
Elixir
lib/artsy_web/views/error_helpers.ex
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
1
2019-10-26T07:17:24.000Z
2019-10-26T07:17:24.000Z
lib/artsy_web/views/error_helpers.ex
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
2
2021-03-09T21:15:44.000Z
2021-05-10T17:59:48.000Z
lib/artsy_web/views/error_helpers.ex
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
null
null
null
defmodule ArtsyWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:s...
32.688889
74
0.668933
9e637207421f1e94e0cdd06a479d61f340615871
794
ex
Elixir
lib/ash/error/side_load/no_such_relationship.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
lib/ash/error/side_load/no_such_relationship.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
lib/ash/error/side_load/no_such_relationship.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
defmodule Ash.Error.SideLoad.NoSuchRelationship do @moduledoc "Used when attempting to side load a relationship that does not exist" use Ash.Error.Exception def_ash_error([:resource, :relationship, :side_load_path], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code...
29.407407
101
0.678841
9e6388319c38ef791bdc18e252833824f569d7e8
1,825
ex
Elixir
lib/sgp40/transport.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
2
2021-06-13T21:09:19.000Z
2021-06-16T13:20:14.000Z
lib/sgp40/transport.ex
elixir-sensors/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
3
2021-06-14T13:09:08.000Z
2021-06-26T19:43:55.000Z
lib/sgp40/transport.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
null
null
null
defmodule SGP40.Transport do @moduledoc false defstruct [:ref, :bus_address] @type t :: %__MODULE__{ref: reference(), bus_address: 0..127} @type option :: {:bus_name, String.t()} | {:bus_address, 0..127} @callback open([option()]) :: {:ok, t()} | {:error, any()} @callback read(t(), pos_integer()) :: {:o...
26.071429
90
0.680548
9e63e2da6503ae0dbe2bff5d8d048a3cf6aba137
83
exs
Elixir
9-elixir-phoenix/test/test_helper.exs
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
3
2017-02-22T08:45:53.000Z
2017-04-29T13:40:23.000Z
9-elixir-phoenix/test/test_helper.exs
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
null
null
null
9-elixir-phoenix/test/test_helper.exs
smddzcy/learning-new-technologies
cf3645ff649f6dfe89c77e90ceaf089b66da2482
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(AwesomeprojectBackend.Repo, :manual)
16.6
67
0.819277
9e6405ed058dfba020a10cda30ad1c1ed83b9754
97
ex
Elixir
lib/app/aviasales/countries.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
null
null
null
lib/app/aviasales/countries.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
1
2017-12-11T21:11:44.000Z
2017-12-11T21:11:44.000Z
lib/app/aviasales/countries.ex
ilgarsh/travelbot
f6a10bf39e1942e46d571b59b41fb3001436f520
[ "MIT" ]
null
null
null
defmodule Country do @derive[Poison.Encoder] defstruct [:code, :name, :currency] end
12.125
24
0.670103
9e64241cc55f8a8d56b5dd02be185d83fdcdb49f
1,945
ex
Elixir
lib/ex_onixo/parser/product/descriptive_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
1
2021-12-11T06:44:18.000Z
2021-12-11T06:44:18.000Z
lib/ex_onixo/parser/product/descriptive_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
lib/ex_onixo/parser/product/descriptive_detail.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
defmodule ExOnixo.Parser.Product.DescriptiveDetail do import SweetXml alias ExOnixo.Helper.ElementYml alias ExOnixo.Parser.Product.DescriptiveDetail.{ ProductFormDetail, Extent, EpubUsageConstraint, Collection, TitleDetail, Contributor, Subject, LanguageCode, LanguageRole } def parse_recursive(xm...
47.439024
133
0.722365
9e64350726015ab9769b3eff9436ff1c6698ef2c
2,334
ex
Elixir
lib/dispatch/repositories/contributors.ex
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
21
2019-02-13T15:26:00.000Z
2021-09-18T13:05:42.000Z
lib/dispatch/repositories/contributors.ex
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
26
2019-02-13T18:42:44.000Z
2021-09-16T15:40:05.000Z
lib/dispatch/repositories/contributors.ex
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
2
2020-05-26T09:09:19.000Z
2021-04-21T20:43:07.000Z
defmodule Dispatch.Repositories.Contributors do alias Dispatch.SelectedUser alias Dispatch.Utils.{Random, TimeHelper} @doc """ Loop through each contributors and randomly select one based on his relevancy Example: Given a list of 3 contributors %{username: "John", relevancy: 1} %{username: "Jane", re...
26.522727
124
0.656812
9e643536dac968c83ff3321305bbd6ad0ea89ddf
5,241
ex
Elixir
lib/ebnf_parser/sparql.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/ebnf_parser/sparql.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/ebnf_parser/sparql.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
defmodule EbnfParser.Sparql do require Logger require ALog use GenServer @moduledoc """ Parser which allows you to efficiently fetch the parsed spraql syntax. """ @spec split_single_form(String.t(), boolean) :: {atom, {boolean, any}} @type syntax :: %{optional(atom) => any} ### GenServer API @d...
40.007634
945
0.569357
9e643fc24456324c000a94b7b90e815bda83c670
3,756
ex
Elixir
lib/ultimatum_game.ex
xeejp/ultimatum-game
2d2b0c00e47de31814de33d9a66bc78b4838688d
[ "MIT" ]
null
null
null
lib/ultimatum_game.ex
xeejp/ultimatum-game
2d2b0c00e47de31814de33d9a66bc78b4838688d
[ "MIT" ]
null
null
null
lib/ultimatum_game.ex
xeejp/ultimatum-game
2d2b0c00e47de31814de33d9a66bc78b4838688d
[ "MIT" ]
null
null
null
defmodule UltimatumGame do use XeeThemeScript require Logger alias UltimatumGame.Host alias UltimatumGame.Participant alias UltimatumGame.Main alias UltimatumGame.Actions # Callbacks def script_type do :message end def install, do: nil def init do {:ok, %{data: %{ dynamic_text: %...
32.37931
104
0.629393
9e6446c5036dbbf229cccf151ed8a71590d4e8e4
4,324
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/90.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/90.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/90.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun * verb_aux cm * verb_aux * verb; adjective * verb_aux particle * verb_aux * verb; adjective * pn cm * noun * verb; adjective * verb_aux verb a32 verb_aux * verb; noun * verb_aux cm * verb_aux * verb; cm * verb_aux noun * verb * verb; verb * verb cm * verb_aux * verb_aux; neg * verb_aux ad...
39.669725
49
0.681082
9e6497afc0cc8e691332b17c783c350058773c30
3,209
exs
Elixir
test/protein/server_test.exs
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
9
2018-01-16T12:25:58.000Z
2021-11-24T13:19:35.000Z
test/protein/server_test.exs
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-09-07T16:09:57.000Z
2019-02-19T10:37:13.000Z
test/protein/server_test.exs
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-05-27T08:56:52.000Z
2021-11-24T13:19:37.000Z
defmodule Protein.ServerTest do use ExUnit.Case, async: false @moduletag :external alias Mix.Config alias Protein.{ EmptyClient, EmptyServer } import TestUtil describe "start_link/1" do test "graceful shutdown success" do Config.persist( protein: [ mocking_enabled: ...
20.703226
100
0.549704
9e64ad19430d664810843a6c89d7ec6cb8b699e1
1,952
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/genomics/lib/google_api/genomics/v1/model/event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.148148
235
0.727971
9e64bf3ebfae9e8bd62e166b5391d9ee88a4c6c9
1,747
ex
Elixir
deps_local/resampler/lib/resampler_worker.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
44
2016-09-22T21:37:48.000Z
2021-10-09T03:43:32.000Z
deps_local/resampler/lib/resampler_worker.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
3
2016-09-23T08:41:22.000Z
2017-05-24T10:58:54.000Z
deps_local/resampler/lib/resampler_worker.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
5
2016-09-25T18:52:00.000Z
2021-07-28T21:12:33.000Z
defmodule Resampler.Worker do @server_path Path.expand("../priv_dir/convert", "#{__DIR__}") def start_link([]) do :gen_server.start_link(__MODULE__, [], []) end def init(state) do server_options = %{pty: true, stdin: true, stdout: true, stderr: true} {:ok, server_pid, server_os_pid} = Exexec.run...
36.395833
105
0.647968
9e64cafe53e02ba5db7c0a063708fd0c53297e7f
70
exs
Elixir
test/views/page_view_test.exs
soarpatriot/flour
52a57c553da84bd3abad5834014e06370f40a20b
[ "MIT" ]
1
2016-08-05T07:03:43.000Z
2016-08-05T07:03:43.000Z
test/views/page_view_test.exs
soarpatriot/flour
52a57c553da84bd3abad5834014e06370f40a20b
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
soarpatriot/flour
52a57c553da84bd3abad5834014e06370f40a20b
[ "MIT" ]
null
null
null
defmodule Flour.PageViewTest do use Flour.ConnCase, async: true end
17.5
33
0.8
9e64dd61b61bbd074ccc4154af9fddc025e8a1fa
643
ex
Elixir
lib/accent/scopes/language.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/accent/scopes/language.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/accent/scopes/language.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Scopes.Language do @doc """ ## Examples iex> Accent.Scopes.Language.from_search(Accent.Language, "") Accent.Language iex> Accent.Scopes.Language.from_search(Accent.Language, nil) Accent.Language iex> Accent.Scopes.Language.from_search(Accent.Language, 1234) Accent.Language ...
33.842105
77
0.710731
9e64ed7293709e4c297a5c7171e2f55271d8bb80
1,317
ex
Elixir
lib/absinthe/plug/document_provider/compiled/check.ex
aleqsio/absinthe_plug
94083e836944993f411f0c1510d153077b03e553
[ "MIT" ]
234
2016-03-02T07:38:25.000Z
2022-03-14T19:44:17.000Z
lib/absinthe/plug/document_provider/compiled/check.ex
aleqsio/absinthe_plug
94083e836944993f411f0c1510d153077b03e553
[ "MIT" ]
205
2016-03-02T13:52:53.000Z
2022-03-31T23:31:36.000Z
lib/absinthe/plug/document_provider/compiled/check.ex
aleqsio/absinthe_plug
94083e836944993f411f0c1510d153077b03e553
[ "MIT" ]
168
2016-03-02T09:23:56.000Z
2022-03-31T23:27:58.000Z
defmodule Absinthe.Plug.DocumentProvider.Compiled.Check do @moduledoc false alias Absinthe.{Blueprint, Phase} use Absinthe.Phase @doc """ Run the validation. """ @spec run(Blueprint.t(), Keyword.t()) :: Phase.result_t() def run(input, opts) do do_run(input, Map.new(opts)) end @spec do_run(Bl...
23.517857
88
0.629461
9e650f8f2cdb841acc3ea697b32e5f0e17245c42
3,201
ex
Elixir
lib/white_bread/context.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
lib/white_bread/context.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
lib/white_bread/context.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.Context do alias WhiteBread.Context.StepMacroHelpers alias WhiteBread.Context.Setup @step_keywords [:given_, :when_, :then_, :and_, :but_] @default_test_library :ex_unit @doc false defmacro __using__(opts \\ []) do opts = Keyword.merge [test_library: @default_test_library], opts ...
24.813953
151
0.666354
9e65719e0256352203185478fb1e374532de3cff
1,507
exs
Elixir
config/config.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
2
2017-09-20T08:33:20.000Z
2018-08-17T11:57:09.000Z
config/config.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
5
2017-09-25T21:48:48.000Z
2018-02-26T09:06:01.000Z
config/config.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
null
null
null
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 parent project. For this reason, # if you want to provide default values for your application for # 3rd-party users, it should ...
30.14
70
0.753152
9e65889e89c6e0341993a9652faadec6a2cd92fd
2,404
ex
Elixir
lib/mibli_web.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
lib/mibli_web.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
lib/mibli_web.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
defmodule MibliWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use MibliWeb, :controller use MibliWeb, :view The definitions below will be executed for every view, controller, etc, s...
21.657658
81
0.673461
9e65ab817a4d042227cf309d49668593c652e177
129
ex
Elixir
apps/admin_api/lib/admin_api/mailer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/lib/admin_api/mailer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/mailer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.Mailer do @moduledoc """ The module that sends emails. """ use Bamboo.Mailer, otp_app: :admin_api end
18.428571
40
0.713178