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
9e84181f10f06d18fcff0f9a561edc164d4df9aa
865
exs
Elixir
ch14-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch14-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch14-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# Do the same as 14-03, but have the child raise an exception. What difference # do you see in the tracing? defmodule Programming.Elixir do defmodule CallMeIfYouDie do import :timer, only: [sleep: 1] def child do raise "oops" # The exception gets logged end def start do Process.flag(:tr...
23.378378
153
0.616185
9e8469e879d9dc36ac594236d8e30894d35e0e50
2,091
ex
Elixir
lib/changelog/data/news/news_ad.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_ad.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_ad.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.NewsAd do use Changelog.Data alias Changelog.{Files, NewsIssueAd, NewsSponsorship, Regexp} schema "news_ads" do field :url, :string field :headline, :string field :story, :string field :image, Files.Image.Type field :active, :boolean, default: true field :newsletter,...
27.513158
107
0.684362
9e849896ea7d8362075098b135b0e14ccc58adb5
2,624
ex
Elixir
3-TobogganTrajectory/lib/toboggan_trajectory.ex
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
1
2020-12-02T01:34:06.000Z
2020-12-02T01:34:06.000Z
3-TobogganTrajectory/lib/toboggan_trajectory.ex
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
3-TobogganTrajectory/lib/toboggan_trajectory.ex
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
defmodule TobogganTrajectory do @moduledoc """ Documentation for `TobogganTrajectory`. """ @doc """ iex> forest = TobogganTrajectory.parse_forest(TobogganTrajectory.sample_forest()) iex> TobogganTrajectory.five_slopes_product(forest) 336 """ def five_slopes_product(forest) do five_slopes(forest) ...
23.428571
102
0.567073
9e84c88bbd14e3f6852bda590e50857d2de8b9d3
7,712
ex
Elixir
lib/web/router/impl.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/router/impl.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/router/impl.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Router.Impl do @moduledoc """ Internal functions to implement request routing. """ alias Antikythera.{Http.Method, PathSegment, PathInfo, Request.PathMatches} @typep route_entry :: {Method.t, String.t, ...
43.818182
151
0.661696
9e84d2d76d4328c24104170c87447dff51052b48
472
ex
Elixir
throwaway/hello/deps/postgrex/lib/postgrex/extensions/raw.ex
BryanJBryce/programming-phoenix
ced3b5c383ada2575237d377430ef0a2743da0a2
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/postgrex/lib/postgrex/extensions/raw.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/extensions/raw.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
defmodule Postgrex.Extensions.Raw do @moduledoc false use Postgrex.BinaryExtension, [send: "bpcharsend", send: "textsend", send: "varcharsend", send: "byteasend", send: "enum_send", send: "unknownsend", type: "citext"] def encode(_, bin, _, _) when is_binary(bin), do: bin def encode(type_in...
27.764706
80
0.667373
9e84fc01498ef71fb36695473de240a1b88838c4
12,562
ex
Elixir
apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex
lucacervello/elixir-ls
6a786d7d9e7ca97a2c9c77ea4acd0057a98734d8
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex
lucacervello/elixir-ls
6a786d7d9e7ca97a2c9c77ea4acd0057a98734d8
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex
lucacervello/elixir-ls
6a786d7d9e7ca97a2c9c77ea4acd0057a98734d8
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Providers.ExecuteCommand.ManipulatePipes do @moduledoc """ This module implements a custom command for converting function calls to pipe operators and pipes to function calls. Returns a formatted source fragment. """ import ElixirLS.LanguageServer.Protocol alias ElixirL...
30.940887
102
0.596004
9e84fd3932e1290d0d184da9e677cd159acb42c7
46,036
ex
Elixir
lib/aws/generated/iot_site_wise.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_site_wise.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_site_wise.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.IoTSiteWise do @moduledoc """ Welcome to the AWS IoT SiteWise API Reference. AWS IoT SiteWise is an AWS service that connects [Industrial Internet of Things (IIoT)](https://en.wikipedia.org...
23.535787
260
0.613976
9e8528a3e0604f5545d15f6dc09286abd7627b90
2,750
exs
Elixir
mix.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
null
null
null
mix.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
4
2021-06-23T16:48:58.000Z
2021-07-08T17:25:11.000Z
mix.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
null
null
null
defmodule Blog.MixProject do use Mix.Project @github_url "https://github.com/romenigld/blog" def project do [ app: :blog, version: "0.1.0", elixir: "~> 1.11", description: "Projeto para aprender fundamentos do Phoenix com Elixir", source_url: @github_url, homepage_url: @g...
28.947368
84
0.565091
9e852ddc77507a0a59de13242b47a28670a9f007
115
exs
Elixir
.formatter.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T14:17:42.000Z
2022-03-01T17:31:03.000Z
.formatter.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T12:27:01.000Z
2021-08-10T08:54:22.000Z
.formatter.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
null
null
null
[ import_deps: [:phoenix], inputs: ["*.{ex,exs}", "{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
23
83
0.53913
9e8572d9973f193b95fcc52443928095711346bc
5,272
exs
Elixir
test/json_schema_test_suite/draft6/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft6/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft6/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft6.OneOfTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|oneOf| do setup do %{schema: JsonXema.new(%{"oneOf" => [%{"type" => "integer"}, %{"minimum" => 2}]})} end test ~s|first oneOf valid|, %{schema: schema} do assert valid?(schem...
25.346154
91
0.531108
9e8575b6cc356e4a120403725dac9841ed992ec4
368
ex
Elixir
lib/hl7/2.3/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/msa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.Segments.MSA do @moduledoc false require Logger alias HL7.V2_3.{DataTypes} use HL7.Segment, fields: [ segment: nil, acknowledgement_code: nil, message_control_id: nil, text_message: nil, expected_sequence_number: nil, delayed_acknowledgement_type: nil...
20.444444
40
0.684783
9e85a3976addfb5209b32d6433c7b4b401aab2c7
500
exs
Elixir
config/integration.exs
SmartColumbusOS/smart_city_registry
6e656cfd7d34443fac44f87207218dc2670e60c0
[ "Apache-2.0" ]
1
2019-07-09T15:48:32.000Z
2019-07-09T15:48:32.000Z
config/integration.exs
SmartColumbusOS/smart_city_registry
6e656cfd7d34443fac44f87207218dc2670e60c0
[ "Apache-2.0" ]
6
2019-05-21T04:16:45.000Z
2019-12-12T21:36:01.000Z
config/integration.exs
SmartColumbusOS/smart_city_registry
6e656cfd7d34443fac44f87207218dc2670e60c0
[ "Apache-2.0" ]
null
null
null
use Mix.Config host = case System.get_env("HOST_IP") do nil -> "127.0.0.1" defined -> defined end config :smart_city_registry, redis: [ host: host ] config :smart_city_registry, divo: %{ version: "3.4", services: %{ redis: %{ image: "redis:5.0.3", ports: ["6379:637...
19.230769
114
0.56
9e85b528aaeb073813b84a39f2a6a09d1158e3f5
2,131
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.462963
191
0.733458
9e85b88152a389a8c92342444d6a9d7c789cc9bc
6,665
exs
Elixir
test/asteroid_web/controllers/api/oauth2/device_authorization_controller_test.exs
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
36
2019-07-23T20:01:05.000Z
2021-08-05T00:52:34.000Z
test/asteroid_web/controllers/api/oauth2/device_authorization_controller_test.exs
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
19
2019-08-23T19:04:50.000Z
2021-05-07T22:12:25.000Z
test/asteroid_web/controllers/api/oauth2/device_authorization_controller_test.exs
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
3
2019-09-06T10:47:20.000Z
2020-09-09T03:43:31.000Z
defmodule AsteroidWeb.API.OAuth2.DeviceAuthorizationControllerTest do use AsteroidWeb.ConnCase, async: true import Asteroid.Utils alias OAuth2Utils.Scope alias AsteroidWeb.Router.Helpers, as: Routes alias Asteroid.Token.DeviceCode # error cases test "no credentials for confidential client", %{conn: co...
30.714286
97
0.667967
9e85ba35f3633f0b8cfc0aa6ab4db219fbeb59e1
263
ex
Elixir
test/unit/fixtures/template/renderers/element_node_renderer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/fixtures/template/renderers/element_node_renderer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/fixtures/template/renderers/element_node_renderer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Test.Fixtures.Template.ElementNodeRenderer.Module2 do use Hologram.Component def init(_props) do %{ component_2_state_key: "component_2_state_value" } end def template do ~H""" (in component 2) """ end end
16.4375
72
0.680608
9e8601557ca3d28d804e8ee4b900c75f906330a8
483
exs
Elixir
test/validation/rules/odd_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
60
2019-09-13T13:37:01.000Z
2021-01-06T05:20:32.000Z
test/validation/rules/odd_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
1
2019-12-16T13:57:22.000Z
2019-12-16T13:57:22.000Z
test/validation/rules/odd_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
5
2019-09-13T19:14:24.000Z
2019-11-26T17:33:08.000Z
defmodule Validation.Rules.OddTest do use ExUnit.Case alias Validation.Rules.Odd, as: V doctest Validation test "valid odd" do assert V.validate?(1) assert V.validate?(3) assert V.validate?(5) assert V.validate?(-1) assert V.validate?(9_999_999) end test "invalid odd" do refute V.v...
21
37
0.666667
9e860f41b420d2332960e6ad6ff99395a657c041
447
exs
Elixir
priv/repo/migrations/20210226191952_add_more_fields_to_widget_settings.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
priv/repo/migrations/20210226191952_add_more_fields_to_widget_settings.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
priv/repo/migrations/20210226191952_add_more_fields_to_widget_settings.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApi.Repo.Migrations.AddMoreFieldsToWidgetSettings do use Ecto.Migration def change do alter table(:widget_settings) do add(:is_open_by_default, :boolean, default: false) add(:icon_variant, :string, default: "outlined") add(:custom_icon_url, :string) add(:iframe_url_overrid...
29.8
66
0.722595
9e8647762b2f4e4066377a56bdb526ed78460ee6
1,582
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_line_items_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_line_items_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/download_line_items_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.659574
166
0.755373
9e864ee827cb3ee77dee1e1d1c9f9bd09913a1ef
80
ex
Elixir
lib/component/definitions/enemy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/component/definitions/enemy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/component/definitions/enemy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.Component defcomponent Enemy do member :is_enemy, true end
13.333333
27
0.8
9e865a53098238f637a5f76bd9837d1d5e4a1f42
1,291
exs
Elixir
mix.exs
Schultzer/clicky
4018f4b37dc08e4323cc53d3251cdeb744f49ccc
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
Schultzer/clicky
4018f4b37dc08e4323cc53d3251cdeb744f49ccc
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
Schultzer/clicky
4018f4b37dc08e4323cc53d3251cdeb744f49ccc
[ "Unlicense", "MIT" ]
null
null
null
defmodule Clicky.Mixfile do use Mix.Project @version "0.1.0" def project do [ app: :clicky, version: @version, elixir: "~> 1.5", name: "Clicky", source_url: "https://github.com/schultzer/clicky", description: description(), package: package(), docs: docs(), ...
18.985294
89
0.536793
9e866b8128ed0111e8c7b35a56e68afa45e76997
3,369
ex
Elixir
apps/core/lib/core/legal_entities/legal_entity.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/legal_entities/legal_entity.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/legal_entities/legal_entity.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.LegalEntities.LegalEntity do @moduledoc false use Ecto.Schema alias Core.Divisions.Division alias Core.Employees.Employee alias Core.LegalEntities.EdrData alias Core.LegalEntities.License alias Core.LegalEntities.MedicalServiceProvider alias Core.LegalEntities.RelatedLegalEntity alias...
34.731959
114
0.732858
9e8671312a461ed9d84615d54c95f312af0a9452
1,635
exs
Elixir
test/boggle_engine/neighbor/transform/standard_map_test.exs
rtvu/boggle_engine
ae40c2c95dc3e1c1bcd684a19cba11e583828b9d
[ "MIT" ]
null
null
null
test/boggle_engine/neighbor/transform/standard_map_test.exs
rtvu/boggle_engine
ae40c2c95dc3e1c1bcd684a19cba11e583828b9d
[ "MIT" ]
null
null
null
test/boggle_engine/neighbor/transform/standard_map_test.exs
rtvu/boggle_engine
ae40c2c95dc3e1c1bcd684a19cba11e583828b9d
[ "MIT" ]
null
null
null
defmodule BoggleEngine.Neighbor.Transform.StandardMapTest do use ExUnit.Case alias BoggleEngine.Neighbor.Transform.StandardMap test "errors are passed through" do assert {:error, _, _} = StandardMap.transform({:error, nil, nil}) end test "boggle inner corners are valid" do assert {:ok, 0, {5, -1, -...
45.416667
88
0.581651
9e86a81b87f5f709fd5f80ab42338ca575739bde
729
exs
Elixir
config/releases.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
1
2019-11-15T15:39:24.000Z
2019-11-15T15:39:24.000Z
config/releases.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
166
2020-06-30T16:07:48.000Z
2021-11-25T00:02:24.000Z
config/releases.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
null
null
null
import Config database_url = System.fetch_env!("DATABASE_URL") secret_key_base = System.fetch_env!("SECRET_KEY_BASE") config :juntos, Juntos.Repo, # ssl: true, url: database_url, pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10") config :juntos, JuntosWeb.Endpoint, url: [scheme: "https", host:...
30.375
70
0.737997
9e86b2a9b1286c9371c3faa2617ebb98e9c9cc5e
1,026
exs
Elixir
test/multiverse_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/multiverse_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/multiverse_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.MultiverseTest do # tests to make sure we can imbue StateServer with # the ability to forward its caller. use Multiverses, with: DynamicSupervisor defmodule TestServer do use StateServer, on: [] def start_link(opts) do StateServer.start_link(__MODULE__, nil, opts) ...
25.02439
92
0.695906
9e86bcd2c8ef072e4e1601a357d3fd481c66a34e
4,347
ex
Elixir
lib/venture_bot/client.ex
oestrich/venture_bot
366a4726f3c952e2c850c79f1b36fa054b5f7a24
[ "MIT" ]
4
2018-11-08T17:59:44.000Z
2019-09-13T15:10:50.000Z
lib/venture_bot/client.ex
oestrich/venture_bot
366a4726f3c952e2c850c79f1b36fa054b5f7a24
[ "MIT" ]
null
null
null
lib/venture_bot/client.ex
oestrich/venture_bot
366a4726f3c952e2c850c79f1b36fa054b5f7a24
[ "MIT" ]
null
null
null
defmodule VentureBot.Client do use GenServer require Logger alias VentureBot.Client.Bot alias VentureBot.Parser def start_link(_) do GenServer.start_link(__MODULE__, []) end def push(pid, string) do send(pid, {:send, string}) end def init(_) do Logger.info("Starting bot") {:ok, %{...
24.698864
80
0.534392
9e86c0b8f6fc1e925848cc8c049b036b80a191b0
3,654
exs
Elixir
samples/benchmarks.exs
zacky1972/monochrome_filter
bcf9acdc3a5981910d5e6ee31f39f5ed4850d784
[ "Apache-2.0" ]
null
null
null
samples/benchmarks.exs
zacky1972/monochrome_filter
bcf9acdc3a5981910d5e6ee31f39f5ed4850d784
[ "Apache-2.0" ]
null
null
null
samples/benchmarks.exs
zacky1972/monochrome_filter
bcf9acdc3a5981910d5e6ee31f39f5ed4850d784
[ "Apache-2.0" ]
null
null
null
Application.put_env(:exla, :clients, default: [platform: :host], cuda: [platform: :cuda] ) defmodule Mono do import Nx.Defn @defn_compiler EXLA defn host32(n), do: MonochromeFilter.monochrome_filter_32(n) @defn_compiler EXLA defn host16(n), do: MonochromeFilter.monochrome_filter_16(n) @defn_compiler...
34.8
113
0.714559
9e86fdba21ccf59db9a16f10e26f9a8bc7ed9d2f
2,087
exs
Elixir
apps/api_web/test/api_web/views/stop_view_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/views/stop_view_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/views/stop_view_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule ApiWeb.StopViewTest do @moduledoc false use ApiWeb.ConnCase, async: true import Phoenix.View import ApiWeb.StopView alias ApiWeb.StopView alias Model.Stop @stop %Stop{ id: "72", name: "Massachusetts Ave @ Pearl St", description: "description", latitude: 42.364915, longitude:...
32.107692
92
0.591759
9e86ffc04414fd3a991aa43dfdc75d842130125f
48,124
ex
Elixir
lib/absinthe/schema/notation.ex
bmuller/absinthe
5d41e37b0b1bee5e124b826f7157478955c5e9f1
[ "MIT" ]
null
null
null
lib/absinthe/schema/notation.ex
bmuller/absinthe
5d41e37b0b1bee5e124b826f7157478955c5e9f1
[ "MIT" ]
null
null
null
lib/absinthe/schema/notation.ex
bmuller/absinthe
5d41e37b0b1bee5e124b826f7157478955c5e9f1
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Notation do alias Absinthe.Blueprint.Schema alias Absinthe.Utils @moduledoc """ Provides a set of macro's to use when creating a schema. Especially useful when moving definitions out into a different module than the schema itself. ## Example defmodule MyAppWeb.Schema.Types...
24.465684
280
0.64953
9e87375ee2c01cc69c3b10b34d810b1a020657ed
197
exs
Elixir
.formatter.exs
elixir-consul/consul_kv
456234fd6c0fc8c66d37b760043c2f4337c55892
[ "Apache-2.0" ]
null
null
null
.formatter.exs
elixir-consul/consul_kv
456234fd6c0fc8c66d37b760043c2f4337c55892
[ "Apache-2.0" ]
null
null
null
.formatter.exs
elixir-consul/consul_kv
456234fd6c0fc8c66d37b760043c2f4337c55892
[ "Apache-2.0" ]
null
null
null
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], locals_without_parens: [ # for maxwell adapter: :*, plug: :* ], line_length: 100 ]
17.909091
70
0.558376
9e87590be0cfec02f0757fddb6e469ea9cda8e94
1,805
exs
Elixir
test/game/command/typo_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/command/typo_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/command/typo_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Command.TypoTest do use ExVenture.CommandCase import Ecto.Query alias Game.Command.Typo alias Game.Session.State setup do state = %State{socket: :socket, state: "active", mode: "editor", commands: %{typo: %{lines: []}}} %{state: state} end describe "creating a new typo" do t...
30.083333
101
0.607202
9e876383fbc778df6220048bc84bbfae5192b04d
2,726
exs
Elixir
test/chit_chat_web/controllers/user_controller_test.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
test/chit_chat_web/controllers/user_controller_test.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
test/chit_chat_web/controllers/user_controller_test.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChatWeb.UserControllerTest do use ChitChatWeb.ConnCase alias ChitChat.Accounts @create_attrs %{name: "some name", username: "some username"} @update_attrs %{name: "some updated name", username: "some updated username"} @invalid_attrs %{name: nil, username: nil} def fixture(:user) do {:o...
30.629213
83
0.652238
9e876596b8be0217a8272e689d716e2b58b114c5
2,282
ex
Elixir
lib/live_web.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
lib/live_web.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
lib/live_web.ex
donkeybanana/s2i-elixir
c13796ec3e66bd372d08f08a36f5704d6da98015
[ "MIT" ]
null
null
null
defmodule LiveWeb 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 LiveWeb, :controller use LiveWeb, :view The definitions below will be executed for every view, controller, etc, so k...
22.15534
78
0.676599
9e87693fc06efb2f3570823b7bc7c543d021b296
28,889
ex
Elixir
lib/elixir/lib/code.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
defmodule Code do @moduledoc """ Utilities for managing code compilation, code evaluation and code loading. This module complements Erlang's [`:code` module](http://www.erlang.org/doc/man/code.html) to add behaviour which is specific to Elixir. Almost all of the functions in this module have global side effe...
31.265152
97
0.682924
9e877d968db160a19cb9bc48037b3f196afd02fb
155
ex
Elixir
lib/hl7/2.3.1/datatypes/qip.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/datatypes/qip.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/datatypes/qip.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.DataTypes.Qip do @moduledoc false use HL7.DataType, fields: [ field_name: nil, value1value2value3: nil ] end
15.5
37
0.664516
9e87e3b9f0580cf1a389bb421ec08a3374fad4b0
2,131
ex
Elixir
lib/phoenix/live_dashboard/info/app_info_component.ex
feng19/phoenix_live_dashboard
a415422e2ef11527c983a29fb9f3c9e03808439c
[ "MIT" ]
1,733
2020-03-03T14:39:31.000Z
2022-03-29T14:11:23.000Z
lib/phoenix/live_dashboard/info/app_info_component.ex
feng19/phoenix_live_dashboard
a415422e2ef11527c983a29fb9f3c9e03808439c
[ "MIT" ]
306
2020-03-06T08:28:01.000Z
2022-03-23T06:38:29.000Z
deps/phoenix_live_dashboard/lib/phoenix/live_dashboard/info/app_info_component.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
169
2020-03-05T05:04:10.000Z
2022-03-28T18:36:27.000Z
defmodule Phoenix.LiveDashboard.AppInfoComponent do use Phoenix.LiveDashboard.Web, :live_component alias Phoenix.LiveDashboard.{PageBuilder, SystemInfo, ReingoldTilford} @impl true def render(assigns) do ~H""" <div class="app-info"> <%= if @alive do %> <svg width={@width} height={@height...
35.516667
118
0.593618
9e88050aa5b8fac402bdace4783ddc7553716c70
3,333
exs
Elixir
mix.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
mix.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
mix.exs
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.MixProject do use Mix.Project @version "0.16.0-dev" def project do [ app: :phoenix_live_view, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), compilers: compilers(Mix.env()), ...
27.319672
99
0.60456
9e88425b0aadee295aef4fac44879a82ad04978d
1,629
exs
Elixir
test/fixes/readability/alias_order_test.exs
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
test/fixes/readability/alias_order_test.exs
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
test/fixes/readability/alias_order_test.exs
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
defmodule CredoFixesTest.Fixes.Readability.AliasOrder do use ExUnit.Case, async: true import CredoFixes.Test cases = [ %{ name: "orders aliases", original: ~S""" defmodule Test do alias J alias C # Comment for B alias B alias A alias H ...
17.516129
60
0.452425
9e884424dc07f92339b08532c095151960302e05
1,746
exs
Elixir
discuss/mix.exs
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
discuss/mix.exs
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
discuss/mix.exs
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
defmodule Discuss.Mixfile do use Mix.Project def project do [app: :discuss, 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, aliase...
30.103448
89
0.598511
9e886ecd5936b212803c841c5dfd42ba5f48119a
3,587
exs
Elixir
apps/reaper/mix.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/reaper/mix.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/reaper/mix.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Reaper.MixProject do use Mix.Project def project do [ app: :reaper, version: "2.0.5", elixir: "~> 1.10", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", start_permanent: Mix.env() ...
32.609091
114
0.499582
9e8871c976d4cf2d4c2b1134f0d2af89cdb7ae54
2,211
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_log_file.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_log_file.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_log_file.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.482143
382
0.751244
9e887482f90e756a10695804a9780746c78f5089
908
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.62963
74
0.765419
9e8876f9334653925492efb1f3ac6d7ee4a37dc7
12,958
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/api/folders.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/api/folders.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/api/folders.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...
105.349593
892
0.737768
9e887dde6058df7df1f107171177223b17556d97
928
ex
Elixir
apps/snitch_core/priv/repo/seed/payment_methods.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/snitch_core/priv/repo/seed/payment_methods.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/snitch_core/priv/repo/seed/payment_methods.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule Snitch.Seed.PaymentMethods do @moduledoc """ Seeds supported PaymentMethods. Snitch comes with some payment methods built-in: 1. credit or debit cards ## Cards This payment method is backed by the `Snitch.Data.Schema.CardPayments` schema and table. ## Roadmap Snitch will support "Store ...
22.095238
90
0.633621
9e8893a606331edd651a013893e0e577057f607e
1,507
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/list_filters_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gmail/lib/google_api/gmail/v1/model/list_filters_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gmail/lib/google_api/gmail/v1/model/list_filters_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...
32.06383
112
0.735899
9e88954654db8d08a86c96a45f8a42229a47f064
1,587
exs
Elixir
config/dev.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
config/dev.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
config/dev.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :alumni_book, AlumniBookWeb.Endpoint, http: [p...
28.854545
85
0.712035
9e88aec4ef44fc70279ad151a4cd98983bd88676
438
exs
Elixir
test/web_driver_client/json_wire_protocol_client/response/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
test/web_driver_client/json_wire_protocol_client/response/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
test/web_driver_client/json_wire_protocol_client/response/status_test.exs
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.JSONWireProtocolClient.Response.StatusTest do use ExUnit.Case, async: true alias WebDriverClient.JSONWireProtocolClient.Response.Status test "reason_atom/1 returns the appropriate atom from a code" do assert :success = Status.reason_atom(0) end test "reason_atom/1 raises an ar...
27.375
71
0.767123
9e88afcae420fc27aef83a0a1d86074d589348fb
552
ex
Elixir
lib/rig_inbound_gateway/api_proxy/auth.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
lib/rig_inbound_gateway/api_proxy/auth.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
lib/rig_inbound_gateway/api_proxy/auth.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigInboundGateway.ApiProxy.Auth do @moduledoc """ Authentication check for proxied requests. """ alias RigInboundGateway.ApiProxy.Api alias RigInboundGateway.ApiProxy.Auth.Jwt # --- @spec check(Plug.Conn.t(), Api.t(), Api.endpoint()) :: :ok | {:error, :authentication_failed} def check(conn,...
22.08
95
0.621377
9e88b3520a0703ec26228e27f00bd4afcc22008b
1,222
exs
Elixir
config/config.exs
bmquinn/cardex
012f541808dfa1b59418554ba087032f65ca8b71
[ "Apache-2.0" ]
null
null
null
config/config.exs
bmquinn/cardex
012f541808dfa1b59418554ba087032f65ca8b71
[ "Apache-2.0" ]
null
null
null
config/config.exs
bmquinn/cardex
012f541808dfa1b59418554ba087032f65ca8b71
[ "Apache-2.0" ]
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. # General application configuration use Mix.Config # Configures the endpoint config :cardex, Cardex...
33.027027
86
0.735679
9e88df96237425f2b0793ff99be3b2581e68731e
3,978
ex
Elixir
lib/true_type/table/cmap.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/table/cmap.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/table/cmap.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
# # (c) Copyright 2021 John Vinters <john.vinters@gmail.com> # # 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 applicab...
34
97
0.616642
9e88ec8de7016d6a915bf6781807ebbb2cdf993d
586
ex
Elixir
fw/lib/fw/application.ex
nerves-build/skeleton
d7cd9391471eea27ec6deac4abbb7872a61c6c43
[ "MIT" ]
null
null
null
fw/lib/fw/application.ex
nerves-build/skeleton
d7cd9391471eea27ec6deac4abbb7872a61c6c43
[ "MIT" ]
null
null
null
fw/lib/fw/application.ex
nerves-build/skeleton
d7cd9391471eea27ec6deac4abbb7872a61c6c43
[ "MIT" ]
null
null
null
defmodule Fw.Application do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false # Define workers and child supervisors to be supervised children = [ # worker...
29.3
67
0.711604
9e88ee1a7463dcd062c358908d1569506a21e266
1,222
exs
Elixir
config/config.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
30
2016-05-26T23:30:03.000Z
2022-03-10T18:44:37.000Z
config/config.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
3
2016-05-20T14:55:40.000Z
2020-03-18T11:59:47.000Z
config/config.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
6
2016-09-27T11:19:56.000Z
2019-09-26T07:30:30.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config #config :fuentes #import_config "#{Mix.env}.exs" # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this projec...
32.157895
73
0.745499
9e88f85fb809376fefb552c99e5514612ca5eb7b
67,752
ex
Elixir
lib/rethinkdb/query.ex
scottdavis/rethinkdb-elixir
28727810d6af07f07056082ce471be90cb10f4a0
[ "MIT" ]
6
2018-09-21T09:15:06.000Z
2020-12-05T21:50:35.000Z
lib/rethinkdb/query.ex
scottdavis/rethinkdb-elixir
28727810d6af07f07056082ce471be90cb10f4a0
[ "MIT" ]
44
2018-09-25T13:16:41.000Z
2021-08-02T13:14:38.000Z
lib/rethinkdb/query.ex
scottdavis/rethinkdb-elixir
28727810d6af07f07056082ce471be90cb10f4a0
[ "MIT" ]
3
2019-03-13T03:11:47.000Z
2020-12-15T00:50:54.000Z
defmodule RethinkDB.Query do @moduledoc """ Querying API for RethinkDB """ alias RethinkDB.Q import RethinkDB.Query.Macros @type t :: %Q{} @type reql_string :: String.t() | t @type reql_number :: integer | float | t @type reql_array :: [term] | t @type reql_bool :: boolean | t @type reql_obj ::...
35.232449
149
0.690976
9e894463e8b1a631070c799c73a07b7f7aa95752
282
exs
Elixir
test/ble_live_sample_web/views/layout_view_test.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
4
2019-04-06T15:36:48.000Z
2019-10-20T05:55:10.000Z
test/ble_live_sample_web/views/layout_view_test.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
null
null
null
test/ble_live_sample_web/views/layout_view_test.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
1
2021-05-04T10:59:57.000Z
2021-05-04T10:59:57.000Z
defmodule BleLiveSampleWeb.LayoutViewTest do use BleLiveSampleWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
31.333333
65
0.776596
9e895080dc010bdfb8f6751e823ee314fe3474d6
128
exs
Elixir
test/flightex_test.exs
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
test/flightex_test.exs
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
test/flightex_test.exs
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
defmodule FlightexTest do use ExUnit.Case # test "greets the world" do # assert Flightex.hello() == :world # end end
16
39
0.671875
9e895a5e3fec65f6619e605900ad8006f882de3c
1,489
ex
Elixir
apps/slacking/lib/slacking/bot_wrapper.ex
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
1
2018-12-30T04:37:15.000Z
2018-12-30T04:37:15.000Z
apps/slacking/lib/slacking/bot_wrapper.ex
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
null
null
null
apps/slacking/lib/slacking/bot_wrapper.ex
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
null
null
null
defmodule Slacking.BotWrapper do @moduledoc """ Wraps the Bot process, so that its pid is known. Waits 1 second to start to prevent thrashing if we can not start. """ use GenServer require Logger import Slacking, only: [slack_channel: 0] alias Slacking.BotHandler @name __MODULE__ @connect_delay ...
25.237288
84
0.655473
9e895d3f21bcd6aac8a459a45524244d8a571e21
865
ex
Elixir
lib/nitro/routes.ex
enterprizing/iot
1c8d71b2f779fabdad2a33b3ce3133ec2799eb9c
[ "0BSD" ]
2
2019-07-27T13:29:35.000Z
2019-07-28T08:56:46.000Z
lib/nitro/routes.ex
erpuno/iot
1c8d71b2f779fabdad2a33b3ce3133ec2799eb9c
[ "0BSD" ]
1
2019-07-29T22:37:22.000Z
2019-07-29T22:37:22.000Z
lib/nitro/routes.ex
enterprizing/iot
1c8d71b2f779fabdad2a33b3ce3133ec2799eb9c
[ "0BSD" ]
null
null
null
defmodule NITRO.Routes do use N2O, with: [:n2o, :nitro] def finish(state, context), do: {:ok, state, context} def init(state, context) do %{path: path} = cx(context, :req) {:ok, state, cx(context, path: path, module: route_prefix(path))} end defp route_prefix(<<"/ws/", p::binary>>), do: route(p) ...
34.6
69
0.609249
9e8961dcec3e10e13f2cf547a6506292769f524c
2,517
ex
Elixir
lib/platforms/old_danbooru.ex
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
2
2018-05-24T17:34:19.000Z
2019-01-24T20:05:02.000Z
lib/platforms/old_danbooru.ex
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/platforms/old_danbooru.ex
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
defmodule DevRandom.Platforms.OldDanbooru.PostAttachment do @enforce_keys [:url, :type] defstruct [:url, :type] end defimpl DevRandom.Platforms.Attachment, for: DevRandom.Platforms.OldDanbooru.PostAttachment do def type(data), do: data.type def phash(data) do file_data = HTTPoison.get!(data.url).body ...
25.424242
97
0.598729
9e89766bb47b257c1ce0537301dfa725672c5dba
2,607
ex
Elixir
apps/admin_panel/lib/admin_panel/application.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_panel/lib/admin_panel/application.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_panel/lib/admin_panel/application.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
35.22973
81
0.686613
9e8980c8af0b240d2e84d8f43d282fe65f22bea3
505
ex
Elixir
lib/elixir_runtime/loop/client.ex
RTLS/aws-lambda-elixir-runtime
0b7799ea680b36528db441c8c8094575fb7c5d39
[ "MIT-0" ]
3
2019-09-10T22:12:27.000Z
2022-01-06T01:21:04.000Z
lib/elixir_runtime/loop/client.ex
Xerpa/aws-lambda-elixir-runtime
a673c0e934ce49aab9e1f3eea51218c29d3cafde
[ "MIT-0" ]
null
null
null
lib/elixir_runtime/loop/client.ex
Xerpa/aws-lambda-elixir-runtime
a673c0e934ce49aab9e1f3eea51218c29d3cafde
[ "MIT-0" ]
2
2020-08-13T05:37:17.000Z
2022-01-06T01:24:02.000Z
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 defmodule ElixirRuntime.Loop.Client do @moduledoc "The Lambda Runtime Service Client behavior this runtime requires" @type id :: String.t() @type body :: String.t() @type context :: Map.t() @type invoc...
31.5625
79
0.722772
9e8980e652c97f3131b26a4ec7a9f6c2d1bd47f4
2,426
ex
Elixir
lib/changelog_web/controllers/auth_controller.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog_web/controllers/auth_controller.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog_web/controllers/auth_controller.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.AuthController do use ChangelogWeb, :controller alias Changelog.{Person, Mailer} alias ChangelogWeb.Email plug RequireGuest, "before signing in" when action in [:new, :create] plug Ueberauth def new(conn, %{"auth" => %{"email" => email}}) do if person = Repo.get_by(Person, emai...
30.708861
90
0.664056
9e8983cbff41a254e4a54724a78769d1fc9fc68c
26,186
ex
Elixir
deps/jason/lib/decoder.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/jason/lib/decoder.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/jason/lib/decoder.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Jason.DecodeError do @type t :: %__MODULE__{position: integer, data: String.t} defexception [:position, :token, :data] def message(%{position: position, token: token}) when is_binary(token) do "unexpected sequence at position #{position}: #{inspect token}" end def message(%{position: p...
39.796353
120
0.610861
9e898d50eeca0b05e89976b3b8a873df153f2ce0
925
ex
Elixir
lib/packets/handshake.ex
JayPeet/McQueryEx
0beee833de53e2e8b1f41cc8af69124bb4a97edc
[ "MIT" ]
null
null
null
lib/packets/handshake.ex
JayPeet/McQueryEx
0beee833de53e2e8b1f41cc8af69124bb4a97edc
[ "MIT" ]
null
null
null
lib/packets/handshake.ex
JayPeet/McQueryEx
0beee833de53e2e8b1f41cc8af69124bb4a97edc
[ "MIT" ]
null
null
null
defmodule McQueryEx.Handshake do @moduledoc """ McQueryEx.Handshake creates Handshake requests, and decodes Handshake responses. Used internally with each request. """ @type t :: <<_::56>> @spec create(McQueryEx.t()) :: __MODULE__.t() def create(%McQueryEx{session_id: id}) do <<...
34.259259
120
0.603243
9e89931aed584ec762284dbe1b05f680250bac7d
450
ex
Elixir
lab4/lib/lab4.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab4/lib/lab4.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab4/lib/lab4.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
defmodule Lab4.Email do import Bamboo.Email @from "no-reply@myapp.com" def make_email(to \\ "alexburlacu96@gmail.com", body \\ "Thanks for joining!") do new_email( to: to, from: @from, subject: "Welcome to the app.", text_body: bod...
21.428571
52
0.52
9e8a263797c91825dbae305d0a4d3111a3f41927
716
ex
Elixir
examples/clock/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
5
2020-04-05T16:03:03.000Z
2022-02-07T22:11:04.000Z
examples/clock/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
16
2020-03-28T17:46:13.000Z
2021-08-25T08:35:48.000Z
examples/clock/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
null
null
null
defmodule FakeUtcDateTime do @moduledoc false use Agent @behaviour TimeZoneInfo.UtcDateTime def start_link(_) do Agent.start_link(fn -> 0 end, name: __MODULE__) end @impl true def now, do: now(:datetime) @impl true def now(:datetime) do offset = case Process.whereis(__MODULE__) do n...
20.457143
75
0.668994
9e8a3f9407bbdbac8d3e600562c0d538732e3cda
129
ex
Elixir
lib/cbl2019/misc/math.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
1
2019-03-22T17:10:48.000Z
2019-03-22T17:10:48.000Z
lib/cbl2019/misc/math.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
lib/cbl2019/misc/math.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
defmodule Cbl2019.Misc.Math do @moduledoc """ Mini-module with math functions """ def increment(x) do x + 1 end end
16.125
33
0.658915
9e8a9c175e7bed09102b2d62fb5ea0c3d8f6d409
8,338
ex
Elixir
lib/pay_nl/transaction_options.ex
smeevil/pay_nl
8b62ed5c01405aba432e56e8c2b6c5774da1470a
[ "WTFPL" ]
3
2017-10-03T12:30:57.000Z
2020-01-06T00:23:59.000Z
lib/pay_nl/transaction_options.ex
smeevil/pay_nl
8b62ed5c01405aba432e56e8c2b6c5774da1470a
[ "WTFPL" ]
null
null
null
lib/pay_nl/transaction_options.ex
smeevil/pay_nl
8b62ed5c01405aba432e56e8c2b6c5774da1470a
[ "WTFPL" ]
1
2019-02-11T11:12:17.000Z
2019-02-11T11:12:17.000Z
defmodule PayNL.TransactionOptions do @moduledoc """ This module will validate and format all options that can be passed to pay.nl """ use Ecto.Schema import Ecto.Changeset @primary_key false schema "options" do field :amount_in_cents, :integer field :api_token, :string field :token_id, :str...
40.086538
263
0.685776
9e8a9cefde58b7a7735e2cdd4d5877c39fcfd9d9
6,507
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/routine.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query/lib/google_api/big_query/v2/model/routine.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/routine.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...
75.662791
1,088
0.714461
9e8aabe50de2acf6fe4ae37c6afe2227243f7e12
716
ex
Elixir
lib/perspective/storage/load_local_file.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/storage/load_local_file.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/storage/load_local_file.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.LoadLocalFile do def load(file_path) do try do read_from_disk(file_path) |> decrypt() |> decompress() rescue File.Error -> {:error, Perspective.LocalFileNotFound.exception(file_path)} end end def load!(file_path) do case load(file_path) do {:err...
18.358974
80
0.639665
9e8ae24038e6861cb385b7b533941302d0fa930a
1,476
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.142857
282
0.76084
9e8aedae59ee8c95fe364c987258aeac66048bc1
3,409
exs
Elixir
test/mmdb2/result/city_test.exs
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
3
2018-03-03T18:59:55.000Z
2020-12-31T19:36:59.000Z
test/mmdb2/result/city_test.exs
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
3
2019-07-17T12:55:41.000Z
2020-08-31T18:55:15.000Z
test/mmdb2/result/city_test.exs
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
4
2019-07-15T10:07:16.000Z
2021-09-22T15:46:04.000Z
defmodule Geolix.Adapter.MMDB2.Result.CityTest do use ExUnit.Case, async: true alias Geolix.Adapter.MMDB2.Record.Subdivision alias Geolix.Adapter.MMDB2.Result.City test "result type" do result = Geolix.lookup("2.125.160.216", where: :fixture_city) assert %City{} = result assert %Subdivision{} = h...
28.889831
81
0.682312
9e8af044a2dc2e079cb00c101ba5f989f0b57be5
5,401
ex
Elixir
lib/phoenix/router/scope.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
2
2016-11-01T15:01:48.000Z
2016-11-01T15:07:20.000Z
lib/phoenix/router/scope.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
null
null
null
lib/phoenix/router/scope.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.Scope do alias Phoenix.Router.{Scope, Route} @moduledoc false @stack :phoenix_router_scopes @pipes :phoenix_pipeline_scopes @top :phoenix_top_scopes defstruct path: [], alias: [], as: [], pipes: [], host: nil, private: %{}, assigns: %{} @doc """ Initializes the scope. """ ...
28.130208
107
0.648769
9e8b00940832a4a08614b13ba750fbba7ab1e1f1
687,743
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/api/projects.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...
52.809875
3,984
0.636037
9e8b07b4957e7875d0bfe128f80a97475f970510
319
exs
Elixir
config/rpi3.exs
trarbr/nerves_livebook
ac5a5f7f8b80fb0c63cfe81e565c439e912973dc
[ "Apache-2.0" ]
51
2021-09-21T12:23:41.000Z
2022-03-31T08:37:17.000Z
config/rpi3.exs
trarbr/nerves_livebook
ac5a5f7f8b80fb0c63cfe81e565c439e912973dc
[ "Apache-2.0" ]
37
2021-09-21T11:35:28.000Z
2022-03-18T13:00:31.000Z
config/rpi3.exs
trarbr/nerves_livebook
ac5a5f7f8b80fb0c63cfe81e565c439e912973dc
[ "Apache-2.0" ]
7
2021-09-26T22:33:35.000Z
2022-02-20T10:59:29.000Z
import Config # Configure the network using vintage_net # See https://github.com/nerves-networking/vintage_net for more information config :vintage_net, config: [ {"eth0", %{type: VintageNetEthernet, ipv4: %{method: :dhcp}}}, {"wlan0", %{type: VintageNetWiFi}} ] config :nerves_livebook, :ui, led: "led0"
26.583333
75
0.705329
9e8b08c596922cdf50030b6ec4ccfe8d49b68bec
57,380
ex
Elixir
lib/elixir/lib/kernel/special_forms.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/kernel/special_forms.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "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. We define them in this module. Some of these forms are lexical (like `alias/2`, `case/2`, etc). The macros `{}/1` and `<<>>/1` are also special forms u...
28.072407
115
0.630254
9e8b1151b5e21cc5820f56abf5c61b43f60a012e
1,488
ex
Elixir
graphql/web/web.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
graphql/web/web.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
graphql/web/web.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
defmodule GOTStats.GraphQL.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use GOTStats.GraphQL.Web, :controller use GOTStats.GraphQL.Web, :view The definitions below will be executed for every view, contro...
22.208955
88
0.696909
9e8b31de25ce1e2410fbc85671c26a9389ed8981
28,466
exs
Elixir
lib/mix/test/mix/release_test.exs
ShPakvel/elixir
75e5609364a2358f7eb475478ec8bdec98ddf07c
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/release_test.exs
ShPakvel/elixir
75e5609364a2358f7eb475478ec8bdec98ddf07c
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/release_test.exs
ShPakvel/elixir
75e5609364a2358f7eb475478ec8bdec98ddf07c
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Mix.ReleaseTest do use MixTest.Case import Mix.Release doctest Mix.Release _ = Application.ensure_started(:eex) _ = Application.ensure_started(:runtime_tools) @erts_version :erlang.system_info(:version) @erts_source Path.join(:code.root_dir(),...
36.635779
109
0.608972
9e8b4346c12276c98705973f9df1082f80073e18
5,594
ex
Elixir
lib/ex_ari/http/bridges.ex
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
13
2020-04-17T16:48:00.000Z
2022-03-25T19:16:51.000Z
lib/ex_ari/http/bridges.ex
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
1
2020-04-02T12:18:59.000Z
2020-04-02T12:18:59.000Z
lib/ex_ari/http/bridges.ex
rijavskii/ex_ari
1fd5eabd9b4cb815e260867b0190a7fe635ee38a
[ "MIT" ]
7
2020-04-28T19:45:50.000Z
2022-03-25T21:42:03.000Z
defmodule ARI.HTTP.Bridges do @moduledoc """ HTTP Interface for CRUD operations on Bridge Objects REST Reference: https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Bridges+REST+API Bridge Object: https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+REST+Data+Models#Asterisk16RESTDataModels-Bridge """...
27.421569
120
0.594744
9e8b60c4031e78693b67211821ec2644f63021be
5,383
exs
Elixir
test/plug_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
4
2020-04-23T09:44:01.000Z
2020-10-29T17:02:29.000Z
test/plug_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
13
2020-04-23T09:39:28.000Z
2020-11-05T15:59:25.000Z
test/plug_test.exs
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
1
2019-10-21T13:10:09.000Z
2019-10-21T13:10:09.000Z
defmodule Exvalidate.PlugTest do use ExUnit.Case, async: true use Plug.Test alias Exvalidate.Plug, as: PlugValidate alias Exvalidate.PlugError defmodule TestRouterJson do use Plug.Router plug(Plug.Parsers, parsers: [:urlencoded, :multipart]) plug(:match) plug(PlugValidate, on_error: &PlugEr...
26.387255
89
0.582946
9e8b9613da6ada7a0fe3bd537ef2bcecfa87bf77
80
exs
Elixir
apps/welcome/test/welcome_web/views/page_view_test.exs
norbu09/e_no_time
16a0db136dd91cdcf38d4aab5f11b0684dae289d
[ "BSD-2-Clause" ]
null
null
null
apps/welcome/test/welcome_web/views/page_view_test.exs
norbu09/e_no_time
16a0db136dd91cdcf38d4aab5f11b0684dae289d
[ "BSD-2-Clause" ]
null
null
null
apps/welcome/test/welcome_web/views/page_view_test.exs
norbu09/e_no_time
16a0db136dd91cdcf38d4aab5f11b0684dae289d
[ "BSD-2-Clause" ]
null
null
null
defmodule WelcomeWeb.PageViewTest do use WelcomeWeb.ConnCase, async: true end
20
38
0.825
9e8b96663e7bf3ec49cdc9523fdffb8d2bd7acf6
5,797
ex
Elixir
lib/microdata.ex
chefconnie/microdata
e43c890bab184e196fd943207c6232dbcf1123d2
[ "MIT" ]
3
2018-11-12T07:06:57.000Z
2020-11-01T19:00:02.000Z
lib/microdata.ex
chefconnie/microdata
e43c890bab184e196fd943207c6232dbcf1123d2
[ "MIT" ]
1
2019-01-31T19:00:53.000Z
2019-01-31T19:00:53.000Z
lib/microdata.ex
anulman/microdata
e43c890bab184e196fd943207c6232dbcf1123d2
[ "MIT" ]
4
2019-08-14T19:40:16.000Z
2020-11-01T19:41:06.000Z
defmodule Microdata do @moduledoc """ `Microdata` is an Elixir library for parsing [microdata](https://www.w3.org/TR/microdata) from a provided document. ### Dependencies #### Meeseeks + Rust Microdata parses HTML with [Meeseeks](https://github.com/mischov/meeseeks), which depends on [html5ever](https://gith...
39.168919
277
0.662412
9e8bbdc3dc2e1c32d6bf6020405663733921a59d
1,038
exs
Elixir
test/faktory_worker/job_supervisor_test.exs
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
17
2019-04-14T21:35:33.000Z
2019-10-26T10:36:35.000Z
test/faktory_worker/job_supervisor_test.exs
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
75
2019-03-12T12:09:34.000Z
2020-01-04T14:19:11.000Z
test/faktory_worker/job_supervisor_test.exs
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.JobSupervisorTest do use ExUnit.Case alias FaktoryWorker.JobSupervisor describe "child_spec/1" do test "should return a default child_spec" do opts = [name: FaktoryWorker] child_spec = JobSupervisor.child_spec(opts) assert child_spec == %{ id: Faktor...
28.833333
92
0.665703
9e8bd620fafa3184376488ee8b2d47d2bff5407a
4,242
exs
Elixir
test/oli/delivery/paywall/providers/stripe_test.exs
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
null
null
null
test/oli/delivery/paywall/providers/stripe_test.exs
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
null
null
null
test/oli/delivery/paywall/providers/stripe_test.exs
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Paywall.Providers.StripeTest do use Oli.DataCase alias Oli.Delivery.Sections alias Oli.Delivery.Paywall alias Oli.Delivery.Paywall.Providers.Stripe alias Lti_1p3.Tool.ContextRoles alias Oli.Publishing import Ecto.Query, warn: false alias Oli.Test.MockHTTP import Mox descri...
31.191176
88
0.623762
9e8bdf08f0dbb4d945987d7681af813caa4d4719
251
ex
Elixir
ecc/lib/evaluator.ex
SaladinoBelisario/c201-hadoken
96a9fd4e10831f45d29cbb4e96043cb76d455085
[ "BSD-2-Clause" ]
1
2021-04-23T05:03:49.000Z
2021-04-23T05:03:49.000Z
ecc/lib/evaluator.ex
SaladinoBelisario/c201-hadoken
96a9fd4e10831f45d29cbb4e96043cb76d455085
[ "BSD-2-Clause" ]
null
null
null
ecc/lib/evaluator.ex
SaladinoBelisario/c201-hadoken
96a9fd4e10831f45d29cbb4e96043cb76d455085
[ "BSD-2-Clause" ]
null
null
null
defmodule Evaluator do def evaluator_lexer(tokens) when tokens != [] do head= hd tokens tail= tl tokens if is_list(head) do head else evaluator_lexer(tail) end end def evaluator_lexer(tokens) do [] end end
16.733333
50
0.63745
9e8be765ad4d054e6dc22038349db34ac329f0ac
5,509
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue.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...
82.223881
884
0.753313
9e8bea4a3d44bb6a5e1218f2a8aca21a3e40c862
1,319
ex
Elixir
apps/omg_watcher_rpc/lib/web/validators/helpers.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/validators/helpers.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/validators/helpers.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.975
98
0.662623
9e8c0a9ae9c760dbe20ab7136b273af1e006f167
1,563
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
37.214286
345
0.763276
9e8c36f12da073b4d7510aeb5076bc8f671ad59a
803
ex
Elixir
fisherman_server/lib/fisherman_server_web/live/linear_shells_table/shell_record_component.ex
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
1
2020-05-14T06:07:21.000Z
2020-05-14T06:07:21.000Z
fisherman_server/lib/fisherman_server_web/live/linear_shells_table/shell_record_component.ex
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
19
2020-05-04T17:29:44.000Z
2020-07-05T18:15:10.000Z
fisherman_server/lib/fisherman_server_web/live/linear_shells_table/shell_record_component.ex
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
null
null
null
defmodule FishermanServerWeb.Live.LinearShellsTable.ShellRecordComponent do @moduledoc """ Component for a rendered shell record object """ use Phoenix.LiveComponent @no_error_color "#a0cf93" @error_color "#f79292" def render(assigns) do ~L""" <div class="shell-record" style="top: <%= @y_o...
22.942857
75
0.613948
9e8c5c34a28bfeff874f8978419ec2fdce9babb9
736
ex
Elixir
lib/stripe/list.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
lib/stripe/list.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
lib/stripe/list.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.List do @moduledoc """ Work with Stripe list objects. A list is a general-purpose Stripe object which holds one or more other Stripe objects in its "data" property. In its current iteration it simply allows serializing into a properly typed struct. In future iterations, it should: - ...
25.37931
71
0.661685
9e8c7d6e4354ee9f82f9e283f92eef93cb7190f5
66,218
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/devices.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/devices.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/devices.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...
52.9744
1,005
0.6396
9e8c98960e0aa7bf8261f9c39c0068472ac0a01a
1,097
ex
Elixir
plugins/ucc_admin/test/support/conn_case.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_admin/test/support/conn_case.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_admin/test/support/conn_case.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
# defmodule UccAdminWeb.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. # ...
28.128205
70
0.680036
9e8cc6cad86be4b25113bb6f8d3b23a2d0f9e296
867
ex
Elixir
lib/erlef_web/live/events_live.ex
starbelly/website
385c30eabbb2c4f1026147342a0d69fdadd20f4c
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/live/events_live.ex
starbelly/website
385c30eabbb2c4f1026147342a0d69fdadd20f4c
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/live/events_live.ex
starbelly/website
385c30eabbb2c4f1026147342a0d69fdadd20f4c
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.EventsLive do @moduledoc """ Live view for events. Handles the filtering event """ use Phoenix.LiveView alias Erlef.Data.Query.Event, as: Query def mount(_params, %{"events" => events}, socket) do socket = socket |> assign(:events, events) |> assign(:filter, "") ...
22.815789
77
0.621684
9e8ccf441c3ea0b7c668eb61704390c427bdc188
5,685
ex
Elixir
lib/interpreter/cached_interpreter.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/interpreter/cached_interpreter.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/interpreter/cached_interpreter.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
alias InterpreterTerms.SymbolMatch, as: Sym # We want to check if the first portion of the query consists of a set # of prefixes which we already know. If that is the case, we can # shortcut the definition and pull these prefixes off. # # However, it may be that there are other prefixes after the ones # we've seen. ...
30.72973
96
0.671944
9e8d347d17b37f7e71a2bc46f9c1276d68f269a5
7,061
ex
Elixir
lib/rdf/serializations/turtle_decoder.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/serializations/turtle_decoder.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/serializations/turtle_decoder.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.Turtle.Decoder do @moduledoc false use RDF.Serialization.Decoder import RDF.Serialization.ParseHelper, only: [error_description: 1] alias RDF.{Dataset, Graph, IRI} defmodule State do defstruct base_iri: nil, namespaces: %{}, bnode_counter: 0 def add_namespace(%State{namespaces: name...
35.305
105
0.649058
9e8d3a369576e374124c7ef63403c2626637a1bb
740
exs
Elixir
mix.exs
aussiegeek/astro
b1a0e66459250aaa8e1649c840465ed116290164
[ "BSD-2-Clause" ]
1
2021-01-26T12:05:26.000Z
2021-01-26T12:05:26.000Z
mix.exs
aussiegeek/astro
b1a0e66459250aaa8e1649c840465ed116290164
[ "BSD-2-Clause" ]
null
null
null
mix.exs
aussiegeek/astro
b1a0e66459250aaa8e1649c840465ed116290164
[ "BSD-2-Clause" ]
1
2020-03-08T08:34:11.000Z
2020-03-08T08:34:11.000Z
defmodule Astro.Mixfile do use Mix.Project def project do [app: :astro, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more i...
18.5
77
0.559459
9e8d409f374362c02d1a42ed7af0d85fb03888d6
197
ex
Elixir
test_app/lib/test_app.ex
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
50
2019-01-12T08:58:36.000Z
2022-01-25T22:32:12.000Z
test_app/lib/test_app.ex
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
5
2019-02-13T10:19:20.000Z
2020-04-19T08:49:36.000Z
test_app/lib/test_app.ex
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
6
2019-02-24T18:58:50.000Z
2022-01-25T22:33:32.000Z
defmodule TestApp do @moduledoc """ Documentation for TestApp. """ @doc """ Hello world. ## Examples iex> TestApp.hello :world """ def hello do :world end end
10.368421
28
0.568528
9e8d4d4e69b7ba16951c3e76e6b40f317d744a96
2,487
ex
Elixir
lib/livebook_web/endpoint.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/endpoint.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/endpoint.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.Endpoint do use Phoenix.Endpoint, otp_app: :livebook # 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: "_liveboo...
32.723684
93
0.726176
9e8d579283af001fb8a41395266039e74a88ab1b
4,132
ex
Elixir
lib/text_delta/composition.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
48
2017-05-29T19:39:42.000Z
2022-03-28T15:53:29.000Z
lib/text_delta/composition.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
1
2017-05-26T15:03:30.000Z
2017-05-26T15:37:16.000Z
lib/text_delta/composition.ex
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
6
2017-11-30T16:54:27.000Z
2021-05-19T10:27:12.000Z
defmodule TextDelta.Composition do @moduledoc """ The composition of two non-concurrent deltas into a single delta. The deltas are composed in such a way that the resulting delta has the same effect on text state as applying one delta and then the other: S ○ compose(Oa, Ob) = S ○ Oa ○ Ob In more simple...
28.108844
80
0.61302
9e8d5e05d36deae3ef74c436478258feb39a31cb
580
ex
Elixir
priv/catalogue/pagination/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
priv/catalogue/pagination/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
priv/catalogue/pagination/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.Catalogue.Pagination.Example01 do use Surface.Catalogue.Example, subject: Lotus.Pagination, catalogue: Lotus.Catalogue, title: "Pagination", height: "90px", direction: "vertical", container: {:div, class: "uk-container"} alias Lotus.Page def render(assigns) do ~F""" ...
24.166667
49
0.594828
9e8d8280cc4419ec56c7722a888acb8a8a7fce1d
575
exs
Elixir
elixir/city-office/mix.exs
hoangbits/exercism
11a527d63526e07b1eba114ebeb2fddca8f9419c
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
elixir/city-office/mix.exs
hoangbits/exercism
11a527d63526e07b1eba114ebeb2fddca8f9419c
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
elixir/city-office/mix.exs
hoangbits/exercism
11a527d63526e07b1eba114ebeb2fddca8f9419c
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Form.MixProject do use Mix.Project def project do [ app: :city_office, version: "0.1.0", # elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
19.827586
87
0.575652
9e8d91bf86fcbb881d342922809b8234526ca563
443
exs
Elixir
.iex.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
.iex.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
.iex.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
IO.puts("--------------------------- FEEDEX DATA ---------------------------") import_file_if_available("~/.iex.exs") alias FeedexData.Ctx.Account alias FeedexData.Ctx.Account.{User, Folder, Register, ReadLog} alias FeedexData.Ctx.News alias FeedexData.Ctx.News.{Feed, Post} alias FeedexData.Api alias FeedexData.Api...
20.136364
78
0.693002