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
8516c6c4725bd93e12d7a8189903ff0d7b0dbd48
61
ex
Elixir
pop_kube/lib/pop_kube_web/views/page_view.ex
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
1
2022-01-10T14:55:55.000Z
2022-01-10T14:55:55.000Z
pop_kube/lib/pop_kube_web/views/page_view.ex
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
null
null
null
pop_kube/lib/pop_kube_web/views/page_view.ex
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
null
null
null
defmodule PopKubeWeb.PageView do use PopKubeWeb, :view end
15.25
32
0.803279
8516c83e31a61cc12d7b3bb492aa91c50ec1f7f1
12
exs
Elixir
frameworks/Elixir/WeberFramework/test/test_helper.exs
lhotari/FrameworkBenchmarks
dc7ed9a1be331ba26e84a51dbf1f4de1ab546d62
[ "BSD-3-Clause" ]
616
2015-01-09T03:11:36.000Z
2022-03-16T06:07:55.000Z
frameworks/Elixir/WeberFramework/test/test_helper.exs
ratpack/FrameworkBenchmarks
81604309e46e382fe2ffb7970a87d728f20c8be6
[ "BSD-3-Clause" ]
23
2015-03-22T19:26:58.000Z
2021-01-04T10:42:40.000Z
frameworks/Elixir/WeberFramework/test/test_helper.exs
ratpack/FrameworkBenchmarks
81604309e46e382fe2ffb7970a87d728f20c8be6
[ "BSD-3-Clause" ]
27
2015-03-23T17:41:41.000Z
2020-10-31T13:20:22.000Z
ExUnit.start
12
12
0.916667
8516d55cc0f502804e3c74e7fdca036150e99ea4
1,033
ex
Elixir
examples/bloggy/test/support/conn_case.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
1
2020-01-06T00:38:43.000Z
2020-01-06T00:38:43.000Z
examples/bloggy/test/support/conn_case.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
null
null
null
examples/bloggy/test/support/conn_case.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
null
null
null
defmodule BloggyWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the ...
26.487179
68
0.718296
85170d67fd622689d718c3847da175c01c4da8cd
17,218
ex
Elixir
lib/mix/lib/mix/utils.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Utils do @moduledoc false @doc """ Gets the Mix home. It defaults to `~/.mix` unless the `MIX_HOME` environment variable is set. Developers should only store entries in the `MIX_HOME` directory which are guaranteed to work across multiple Elixir versions, as it is not recommended to s...
25.930723
98
0.61517
851741db6c7ff61e48feefe061a5f95418e65eff
545
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_50.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_50.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_50.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20050 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"answer", :"image" ...
19.464286
91
0.680734
851764e48382537ebe710fadddda1fd0f3aad169
1,786
exs
Elixir
clients/sas_portal/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
26.656716
101
0.650056
8517850f4c2dc00b23cc5c3c7d3e0e942e85d775
1,204
ex
Elixir
lib/yatapp/pluralization/polish.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
2
2019-08-23T09:42:30.000Z
2019-10-29T14:38:36.000Z
lib/yatapp/pluralization/polish.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
6
2019-03-27T13:30:05.000Z
2022-01-14T21:12:29.000Z
lib/yatapp/pluralization/polish.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
2
2019-11-14T13:51:42.000Z
2022-01-14T09:18:03.000Z
defmodule Yatapp.Pluralization.Polish do @behaviour Yatapp.Pluralization @impl Yatapp.Pluralization def parse_key(_, key, 0), do: parse_key(key, :zero) def parse_key(_, key, 1), do: parse_key(key, :one) def parse_key(_, key, count) when is_integer(count) do mod10 = rem(count, 10) mod100 = rem(count,...
33.444444
87
0.640365
8517c6dceaf7c4d87b21e4e4696f519385f04ad1
39,006
ex
Elixir
lib/elixir/lib/code.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "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 eff...
33.713051
145
0.688561
8517fcd8ee9f1c04d01ec04f02a7f0ca817c3e0d
56
ex
Elixir
app/lib/app_web/views/comment_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/app_web/views/comment_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app_web/views/comment_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.CommentView do use AppWeb, :view end
14
31
0.785714
8518280ffa0bdd043c84560e6234cb66e6225ca3
2,005
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/job_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/job_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/job_status.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.803571
150
0.700748
85186414584ea3c5b9829d9f3b494a080d961994
1,088
exs
Elixir
config/config.exs
slime-lang/phoenix_slim_example
8841c7a24c8a7ef1a06103472638c1515aa74d04
[ "MIT" ]
1
2015-12-27T21:22:29.000Z
2015-12-27T21:22:29.000Z
config/config.exs
slime-lang/phoenix_slim_example
8841c7a24c8a7ef1a06103472638c1515aa74d04
[ "MIT" ]
null
null
null
config/config.exs
slime-lang/phoenix_slim_example
8841c7a24c8a7ef1a06103472638c1515aa74d04
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :phoenix_slim_example, PhoenixSlimeExample.Endpoint,...
32
86
0.766544
85186606e35025c55e7d864d4f5ede82f3fe4111
196
ex
Elixir
lib/google_protos/duration.pb.ex
coingaming/google-protos
a0348cb56437040e8e22131a8a15b75f61c3c9a3
[ "MIT" ]
null
null
null
lib/google_protos/duration.pb.ex
coingaming/google-protos
a0348cb56437040e8e22131a8a15b75f61c3c9a3
[ "MIT" ]
null
null
null
lib/google_protos/duration.pb.ex
coingaming/google-protos
a0348cb56437040e8e22131a8a15b75f61c3c9a3
[ "MIT" ]
null
null
null
defmodule Google.Protobuf.Duration do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.9.1", syntax: :proto3 field :seconds, 1, type: :int64 field :nanos, 2, type: :int32 end
24.5
67
0.729592
8518690d8e59c7a00089b3079c4cf5e028ed37df
541
ex
Elixir
elixir/learn_plug/lib/learn_plug/application.ex
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
17
2020-10-21T09:14:35.000Z
2022-02-04T20:47:17.000Z
elixir/learn_plug/lib/learn_plug/application.ex
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
null
null
null
elixir/learn_plug/lib/learn_plug/application.ex
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
5
2020-12-01T15:17:26.000Z
2021-12-18T21:07:27.000Z
defmodule LearnPlug.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Starts a worker by calling: LearnPlug.Worker.start_link(arg) # {LearnPlug.Worker, arg} ...
27.05
68
0.713494
851874c7b2250e01ef9b0024d9185a4f5b3aaa0b
281
exs
Elixir
priv/repo/migrations/20180704024600_create_follows.exs
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
priv/repo/migrations/20180704024600_create_follows.exs
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
priv/repo/migrations/20180704024600_create_follows.exs
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule Mipha.Repo.Migrations.CreateFollows do use Ecto.Migration def change do create table(:follows) do add(:user_id, :integer) add(:follower_id, :integer) timestamps() end create(unique_index(:follows, [:follower_id, :user_id])) end end
18.733333
60
0.676157
8518908733a976c8436c1b35e31f6872ce373c7c
546
ex
Elixir
test/support/test_factory.ex
cnsa/ex_machina
8a55155df735b2d0c143676f451a7a1ee191dc85
[ "MIT" ]
null
null
null
test/support/test_factory.ex
cnsa/ex_machina
8a55155df735b2d0c143676f451a7a1ee191dc85
[ "MIT" ]
null
null
null
test/support/test_factory.ex
cnsa/ex_machina
8a55155df735b2d0c143676f451a7a1ee191dc85
[ "MIT" ]
null
null
null
defmodule ExMachina.TestFactory do use ExMachina.Ecto, repo: ExMachina.TestRepo def custom_factory do %ExMachina.Custom{ non_autogenerated_id: 1, name: "Testing" } end def user_factory do %ExMachina.User{ name: "John Doe", admin: false, articles: [], } end de...
16.058824
46
0.595238
8518dd5ca61dca6bdddd21d1fd8926e9c87618e7
61
ex
Elixir
lib/thrash.ex
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
12
2016-03-07T14:43:34.000Z
2021-01-27T16:18:26.000Z
lib/thrash.ex
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
8
2016-03-12T21:07:09.000Z
2017-09-18T15:00:03.000Z
lib/thrash.ex
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
1
2017-08-25T16:25:36.000Z
2017-08-25T16:25:36.000Z
defmodule Thrash do @moduledoc File.read!("README.md") end
15.25
36
0.737705
8518df4719ca42ca7d8a902891d2ab17f9e8170f
1,917
exs
Elixir
test/html5_test.exs
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
1
2021-02-03T20:00:30.000Z
2021-02-03T20:00:30.000Z
test/html5_test.exs
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
null
null
null
test/html5_test.exs
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
1
2017-03-21T08:02:38.000Z
2017-03-21T08:02:38.000Z
defmodule HtmlSanitizeExScrubberHTML5Test do use ExUnit.Case defp full_html_sanitize(text) do HtmlSanitizeEx.html5(text) end test "strips nothing" do input = "This <b>is</b> <b>an</b> <i>example</i> of <u>space</u> eating." assert input == full_html_sanitize(input) end test "leaves the allowe...
34.854545
125
0.667188
8518ed623c052df3f99305c2475aeb83aac412fe
11,239
ex
Elixir
lib/iex/lib/iex/evaluator.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
1
2021-07-01T17:58:37.000Z
2021-07-01T19:05:37.000Z
lib/iex/lib/iex/evaluator.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def init(command, server, leader, opts) do ref = ...
29.498688
95
0.636889
851919f3bca2c48768f5aefb78428f14034a140e
472
ex
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/distill20/lib/distill20/application.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/distill20/lib/distill20/application.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/distill20/lib/distill20/application.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule Distill20.Application do @moduledoc false use Application @listen_at System.get_env("DISTILL20_PORT", "8001") |> String.to_integer() def start(_type, _args) do children = [ {Distill20.Stack, []}, Plug.Cowboy.child_spec( scheme: :http, plug: Distill20, options...
21.454545
76
0.644068
8519307017f6e26635b9c18f2d485b5bc0a44ee5
634
ex
Elixir
lib/anchore_engine_api_server/model/delete_image_response.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/delete_image_response.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/delete_image_response.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule AnchoreEngineAPIServer.Model.DeleteImageResponse do @moduledoc """ Image deletion response containing status and details """ @derive [Poi...
21.133333
80
0.706625
85193943477d39e4c7d3d2d2d35fda2c4abb3c95
1,827
exs
Elixir
test/etc_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/etc_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/etc_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.EtcTest do use ExUnit.Case, async: true @moduletag :calltests describe "when making calls" do # positive controls: GenServer.call and :gen_statem.call test "GenServer.call has a normal pid ref" do inner_pid = spawn(fn -> from = {from_pid, _ref} = receive do {:"$...
25.732394
84
0.615764
8519510e691ee4d8146e976ad8017e7dae9bdb89
137
exs
Elixir
test/integration/config/config.exs
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
746
2015-12-13T09:55:47.000Z
2022-03-29T21:57:55.000Z
test/integration/config/config.exs
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
176
2015-12-16T08:05:19.000Z
2021-12-21T03:38:55.000Z
test/integration/config/config.exs
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
78
2015-12-16T09:09:52.000Z
2021-11-05T15:06:03.000Z
use Mix.Config config :verk, queues: [queue_one: 5, queue_two: 5], redis_url: "redis://127.0.0.1:6379/5", shutdown_timeout: 3_000
19.571429
40
0.686131
851953ceae5fcd4030f2ef18e03ac23b3c226760
6,154
ex
Elixir
priv/templates/gen.components/catalogue/components_catalogue/helpers.ex
inspired-consulting/gen_components
47c567fb2d6e918341e2efa07c2f7345038a8a90
[ "MIT" ]
2
2022-03-28T21:33:39.000Z
2022-03-30T17:14:34.000Z
priv/templates/gen.components/catalogue/components_catalogue/helpers.ex
inspired-consulting/gen_components
47c567fb2d6e918341e2efa07c2f7345038a8a90
[ "MIT" ]
null
null
null
priv/templates/gen.components/catalogue/components_catalogue/helpers.ex
inspired-consulting/gen_components
47c567fb2d6e918341e2efa07c2f7345038a8a90
[ "MIT" ]
null
null
null
defmodule <%= catalogue_module %>.Helpers do use <%= web_module %>, :component def placeholder(assigns) do assigns = assigns |> assign_new(:height, fn -> "150px" end) |> assign_new(:style, fn -> "" end) ~H""" <div style={" height: #{@height}; line-height: #{@height}; ...
106.103448
558
0.777218
85196544d8e6a38cef620a3bf58b1ff3d6771ac9
1,792
exs
Elixir
config/config.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
config/config.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
config/config.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
import Config config :hexpm, user_confirm: true, user_agent_req: true, secret: "796f75666f756e64746865686578", support_email: "support@hex.pm", repo_bucket: {Hexpm.Store.Local, "repo_bucket"}, logs_bucket: {Hexpm.Store.Local, "logs_bucket"}, cdn_impl: Hexpm.CDN.Local, billing_impl: Hexpm.Billing.Local,...
26.746269
86
0.748326
851996b75c55924350607c8872e6495b4fa6dc44
693
exs
Elixir
apps/telegraph_settings/mix.exs
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
1
2018-12-30T04:37:15.000Z
2018-12-30T04:37:15.000Z
apps/telegraph_settings/mix.exs
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
null
null
null
apps/telegraph_settings/mix.exs
paulanthonywilson/morsey
b72d1eee54db1bcc8d0f2097c345da602995ce43
[ "MIT" ]
null
null
null
defmodule TelegraphSettings.MixProject do use Mix.Project def project do [ app: :telegraph_settings, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", start...
21
59
0.578644
8519d9f7bd81ad8634fa3803790b8dcb9d1ad6c3
3,632
exs
Elixir
lib/elixir/test/elixir/record_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/test/elixir/record_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/record_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule RecordTest do use ExUnit.Case, async: true doctest Record require Record test "extract/2 extracts information from an Erlang file" do assert Record.extract(:file_info, from_lib: "kernel/include/file.hrl") == [size: :undefined, type: :unde...
30.266667
95
0.671531
8519ee11c9a510b7f25731ce6e60da9e0442d2a4
2,726
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.088235
169
0.680484
8519f6bebc9f30c60883bcadfd5d71a90f97d81c
611
ex
Elixir
lib/ash/error/framework/assumption_failed.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
1
2021-12-27T09:43:29.000Z
2021-12-27T09:43:29.000Z
lib/ash/error/framework/assumption_failed.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/error/framework/assumption_failed.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
defmodule Ash.Error.Framework.AssumptionFailed do @moduledoc "Used when unreachable code/conditions are reached in the framework" use Ash.Error def_ash_error([:message], class: :framework) defimpl Ash.ErrorKind do def id(_), do: Ecto.UUID.generate() def code(_), do: "assumption_failed" def messa...
26.565217
119
0.697218
851a51770ba21dbd39b68ff9dc926f5964fe3f00
12,137
ex
Elixir
lib/xtb_client/messages/symbol_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/symbol_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/symbol_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
defmodule XtbClient.Messages.SymbolInfo do defmodule Query do @moduledoc """ Info about the query for symbol info. ## Parameters - `symbol` symbol name. """ @type t :: %__MODULE__{ symbol: binary() } @enforce_keys [:symbol] @derive Jason.Encoder defstr...
33.902235
230
0.620582
851a59a86580f23cd6ea8428b35bab327983fd72
1,166
ex
Elixir
deps/phoenix/lib/phoenix/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/phoenix/lib/phoenix/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
defmodule Phoenix.MissingParamError do @moduledoc """ Raised when a key is expected to be present in the request parameters, but is not. This exception is raised by `Phoenix.Controller.scrub_params/2` which: * Checks to see if the required_key is present (can be empty) * Changes all empty parameters t...
33.314286
79
0.71012
851a5a89bcb1dce18e9d0bd9ad83ba094b497ff1
1,936
exs
Elixir
test/trento/application/projectors/telemetry_projector_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
test/trento/application/projectors/telemetry_projector_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
test/trento/application/projectors/telemetry_projector_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.TelemetryProjectorTest do use ExUnit.Case use Trento.DataCase import Trento.Factory alias Trento.{ HostTelemetryReadModel, TelemetryProjector } alias Trento.Domain.Events.ProviderUpdated alias Trento.ProjectorTestHelper alias Trento.Repo @moduletag :integration test "s...
35.2
88
0.794421
851aa30d4eec4ca904e335facde70e0c6b646fd9
4,274
exs
Elixir
implements/simple-linked-list/linked_list_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/simple-linked-list/linked_list_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/simple-linked-list/linked_list_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
#if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("linked_list.exs", __DIR__) #end ExUnit.start() #ExUnit.configure(exclude: :pending, trace: true) defmodule LinkedListTest do use ExUnit.Case test "length/1 of new list" do list = LinkedList.new() assert LinkedList.length(list) == 0 en...
27.050633
74
0.645063
851ae33c48eb7eedfac931a3c7b68633f59ccbea
2,167
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_feedback_threads_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_feedback_threads_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_feedback_threads_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...
33.338462
185
0.74204
851afd241df542f4c1ff741f0118d2258ceeb92b
829
exs
Elixir
test/users/agent_test.exs
LuizFerK/Exlivery
22c91a2ae71506f694b7d7213bf8343b9201cce1
[ "MIT" ]
null
null
null
test/users/agent_test.exs
LuizFerK/Exlivery
22c91a2ae71506f694b7d7213bf8343b9201cce1
[ "MIT" ]
null
null
null
test/users/agent_test.exs
LuizFerK/Exlivery
22c91a2ae71506f694b7d7213bf8343b9201cce1
[ "MIT" ]
null
null
null
defmodule Exlivery.Users.AgentTest do use ExUnit.Case import Exlivery.Factory alias Exlivery.Users.Agent, as: UserAgent describe "save/1" do test "saves the user" do user = build(:user) UserAgent.start_link(%{}) assert UserAgent.save(user) == :ok end end describe "get/1" do ...
19.27907
66
0.62123
851b1006b89b6131ce94544aa0a2ae537d03f16a
878
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
32.518519
74
0.757403
851b47292c1d88b9b9812dde12097e5d21aeab9d
1,337
ex
Elixir
lib/ticote_web/endpoint.ex
nickel/ticote
ba35d1d11772c068e2ef29064d135e30dcf8ff5a
[ "MIT" ]
null
null
null
lib/ticote_web/endpoint.ex
nickel/ticote
ba35d1d11772c068e2ef29064d135e30dcf8ff5a
[ "MIT" ]
null
null
null
lib/ticote_web/endpoint.ex
nickel/ticote
ba35d1d11772c068e2ef29064d135e30dcf8ff5a
[ "MIT" ]
null
null
null
defmodule TicoteWeb.Endpoint do use Phoenix.Endpoint, otp_app: :ticote # 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: "_ticote_key"...
27.854167
69
0.709798
851b5d051ab7a972ec64f0c7861796e5194a2ace
5,393
ex
Elixir
lib/mix/tasks/phoenix.gen.html.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
lib/mix/tasks/phoenix.gen.html.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
lib/mix/tasks/phoenix.gen.html.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phoenix.Gen.Html do use Mix.Task @shortdoc "Generates controller, model and views for an HTML based resource" @moduledoc """ Generates a Phoenix resource. mix phoenix.gen.html User users name:string age:integer The first argument is the module name followed by its plural name (...
36.439189
116
0.602633
851b76f25738334828c464be42cbf2a19866b1af
1,191
ex
Elixir
ELIXIR/discuss/lib/discuss/endpoint.ex
lcr0815/iex
0fc5eadd5a28e7ba2fb225b6117f6d540937ff78
[ "MIT" ]
null
null
null
ELIXIR/discuss/lib/discuss/endpoint.ex
lcr0815/iex
0fc5eadd5a28e7ba2fb225b6117f6d540937ff78
[ "MIT" ]
null
null
null
ELIXIR/discuss/lib/discuss/endpoint.ex
lcr0815/iex
0fc5eadd5a28e7ba2fb225b6117f6d540937ff78
[ "MIT" ]
null
null
null
defmodule Discuss.Endpoint do use Phoenix.Endpoint, otp_app: :discuss socket "/socket", Discuss.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
27.697674
69
0.714526
851b7977c31d5aa799110acb7089e253e671bf08
84
exs
Elixir
test/fancy_chat_web/views/page_view_test.exs
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
1
2020-07-27T14:33:02.000Z
2020-07-27T14:33:02.000Z
test/fancy_chat_web/views/page_view_test.exs
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
null
null
null
test/fancy_chat_web/views/page_view_test.exs
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
null
null
null
defmodule FancyChatWeb.PageViewTest do use FancyChatWeb.ConnCase, async: true end
21
40
0.833333
851b8a99a4abec1dda611b588f5d7b6ddd076ec6
90
ex
Elixir
web/views/message_view.ex
dddrb/phoenix-channel-example
0f3d52ee97a0b687b3f6464893619024aabd05e8
[ "MIT" ]
null
null
null
web/views/message_view.ex
dddrb/phoenix-channel-example
0f3d52ee97a0b687b3f6464893619024aabd05e8
[ "MIT" ]
null
null
null
web/views/message_view.ex
dddrb/phoenix-channel-example
0f3d52ee97a0b687b3f6464893619024aabd05e8
[ "MIT" ]
null
null
null
defmodule PhoenixChannelExample.MessageView do use PhoenixChannelExample.Web, :view end
22.5
46
0.855556
851b90d9619a6a0dbc61cf679a1ee9c9e1ae786b
2,108
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/maintenance_window.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/maintenance_window.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/maintenance_window.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.133333
121
0.694972
851b9efbdef3bd054e71d1f5860b7af942693d66
4,986
ex
Elixir
lib/nys_etl/engines/e3/index_case_producer.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
lib/nys_etl/engines/e3/index_case_producer.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
lib/nys_etl/engines/e3/index_case_producer.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Engines.E3.IndexCaseProducer do @moduledoc """ Find IndexCase records to process by the CommcareCaseLoader and created or updated in CommCare. """ use GenStage import Ecto.Query alias NYSETL.Commcare alias NYSETL.Repo require Logger defstruct ~w{ find_with_events_matching re...
33.019868
133
0.644204
851babffbdf2284bab30d84d350551cd21251239
144
ex
Elixir
lib/stabby_flies/visitor.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
8
2019-01-15T09:31:05.000Z
2020-04-20T13:59:01.000Z
lib/stabby_flies/visitor.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
2
2019-01-06T02:53:44.000Z
2019-05-30T20:30:20.000Z
lib/stabby_flies/visitor.ex
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
1
2019-01-04T04:37:21.000Z
2019-01-04T04:37:21.000Z
defmodule StabbyFlies.Visitor do use Ecto.Schema schema "visitor" do field :ip_address, :string field :nickname, :string end end
16
32
0.715278
851be6906b9660ff9a4316f2fac19de716b3bd2a
360
exs
Elixir
exercism/grains/grains.exs
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/grains/grains.exs
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/grains/grains.exs
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
defmodule Grains do use Bitwise @doc """ Calculate two to the power of the input minus one. """ @spec square(pos_integer) :: pos_integer def square(number) do bsl(1, number - 1) end @doc """ Adds square of each number from 1 to 64. """ @spec total :: pos_integer def total do Enum.sum(f...
18
52
0.627778
851bece1f671dfc3c6fbbba88dbb374b985a78c1
10,082
exs
Elixir
apps/omg_api/test/integration/happy_path_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/integration/happy_path_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/integration/happy_path_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
# 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...
43.834783
117
0.690637
851bf1f292e5aa399da61c6c9036f47023cafde6
1,808
ex
Elixir
apps/omg_watcher_info/lib/omg_watcher_info/block_application_consumer.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/lib/omg_watcher_info/block_application_consumer.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/lib/omg_watcher_info/block_application_consumer.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 ...
27.815385
100
0.702987
851c0634cad44a24e417ee1b9a82231f55347dca
532
ex
Elixir
lib/mipha/utils/store.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha/utils/store.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha/utils/store.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule Mipha.Utils.Store do @moduledoc """ 文件储存 """ alias Cachex @doc """ 读取文件信息 ## Example iex> Mipha.Utils.Store.get(a) {:ok, "b"} """ def get(cache_key) do Cachex.get(:app_cache, cache_key) end def get!(cache_key) do Cachex.get!(:app_cache, cache_key) end @doc ...
14.777778
51
0.62594
851c1015a0017ca2c79102468471aa6e31bd060f
9,202
ex
Elixir
apps/omg_watcher_info/lib/omg_watcher_info/db/block.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/lib/omg_watcher_info/db/block.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/lib/omg_watcher_info/db/block.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
32.515901
116
0.672136
851c2bc80a35855d78c0dab4ad0ff8b3b8badf05
2,715
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_content_details.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_content_details.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_content_details.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...
46.016949
361
0.717864
851c2de8851a790026740ac847ac4b46a466c404
1,199
exs
Elixir
test/acceptance/nquads_w3c_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/acceptance/nquads_w3c_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/acceptance/nquads_w3c_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defmodule RDF.NQuads.W3C.TestSuite do @moduledoc """ The official W3C RDF 1.1 N-Quads Test Suite. from <https://www.w3.org/2013/N-QuadsTests/> """ use ExUnit.Case, async: false use EarlFormatter, test_suite: :nquads alias RDF.{TestSuite, NQuads} alias TestSuite.NS.RDFT @path RDF.TestData.path("N-Q...
28.547619
83
0.654712
851c5a49da9eaf123863f56ea3b4ed66282c2575
829
ex
Elixir
lib/sealax_web/views/item_view.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
lib/sealax_web/views/item_view.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
9
2021-08-19T01:09:55.000Z
2022-03-08T01:18:45.000Z
lib/sealax_web/views/item_view.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
defmodule SealaxWeb.ItemView do use SealaxWeb, :view alias SealaxWeb.ItemView def render("index.json", %{item: item, sync_token: sync_token}) do %{ items: render_many(item, ItemView, "item.json"), sync_token: sync_token } end def render("show.json", %{item: item}) do %{item: render_...
21.815789
74
0.633293
851c5a6db48fe0cc16b969acb6d1b30948262106
1,661
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
29.660714
111
0.737508
851c6ec5f5aaae16ff5255fadae41cbf7bc3d4a0
1,326
ex
Elixir
Microsoft.Azure.Management.Subscription/lib/microsoft/azure/management/subscription/api/tenants.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Subscription/lib/microsoft/azure/management/subscription/api/tenants.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Subscription/lib/microsoft/azure/management/subscription/api/tenants.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Subscription.Api.Tenants do @moduledoc """ API calls for all endpoints tagged `Tenants`. """ alias Microsoft.A...
34
158
0.720211
851cb3a9217245b7e39d71e916371c050a2a854a
10,997
exs
Elixir
test/json_schema_test_suite/draft7/unique_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/json_schema_test_suite/draft7/unique_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/json_schema_test_suite/draft7/unique_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule JsonSchemaTestSuite.Draft7.UniqueItemsTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|uniqueItems validation| do setup do %{ schema: Xema.from_json_schema( %{"uniqueItems" => true}, draft: "draft7", atom: :force ...
30.294766
98
0.546513
851cc18fd865764d49c896afac3752e97e434224
804
exs
Elixir
test/log_test.exs
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
test/log_test.exs
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
test/log_test.exs
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
defmodule SobelowTest.LogTest do use ExUnit.Case alias Sobelow.{Utils, FindingLog} # log_json_finding(line_no, filename, fun_name, var, severity, type) test "Log JSON finding with function as function name" do output = """ { "sobelow_version": "1.0.0", "total_findings": "1", "findings...
23.647059
90
0.522388
851ccbdb6a93786e5ab557c2abd66a1701660a2f
568
ex
Elixir
lib/gpex.ex
joeyates/gpex
d54059e5c8cc36bf84cd2cf5201e43ab248c768b
[ "MIT" ]
null
null
null
lib/gpex.ex
joeyates/gpex
d54059e5c8cc36bf84cd2cf5201e43ab248c768b
[ "MIT" ]
null
null
null
lib/gpex.ex
joeyates/gpex
d54059e5c8cc36bf84cd2cf5201e43ab248c768b
[ "MIT" ]
null
null
null
defmodule Gpex.Point do import SweetXml defstruct longitude: nil, latitude: nil, elevation: nil, time: nil end defmodule Gpex do import SweetXml def parse(xml) do xml |> trkpts() |> points() end defp trkpts(gpx) do gpx |> xpath( ~x"/gpx/trk/trkseg/trkpt"l, elevation: ~x"/trkpt/ele/te...
17.75
68
0.598592
851d42631b63d159235e9198cd2483ed7442fbe5
340
exs
Elixir
priv/repo/migrations/20210731160050_create_oban_jobs_table.exs
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
1
2022-02-21T18:25:14.000Z
2022-02-21T18:25:14.000Z
priv/repo/migrations/20210731160050_create_oban_jobs_table.exs
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
32
2021-07-27T20:48:30.000Z
2022-03-26T10:35:43.000Z
priv/repo/migrations/20210731160050_create_oban_jobs_table.exs
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
null
null
null
defmodule Fuschia.Repo.Migrations.CreateObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.down(ve...
24.285714
88
0.720588
851d4d51f29b39d9078f0140188b3bb3d055eaae
8,676
ex
Elixir
lib/msgpax/packer.ex
lexmag/msgpax
bcec987c4d693197241ffc675c557b7b754c09b3
[ "0BSD" ]
252
2015-01-14T10:08:03.000Z
2022-03-16T15:42:29.000Z
lib/msgpax/packer.ex
lexmag/msgpax
bcec987c4d693197241ffc675c557b7b754c09b3
[ "0BSD" ]
44
2015-05-31T15:41:30.000Z
2021-11-19T12:23:48.000Z
lib/msgpax/packer.ex
lexmag/msgpax
bcec987c4d693197241ffc675c557b7b754c09b3
[ "0BSD" ]
36
2015-04-01T22:37:31.000Z
2021-02-25T12:41:47.000Z
defmodule Msgpax.PackError do @moduledoc """ Exception that represents an error in packing terms. This exception has a `:reason` field that can have one of the following values: * `{:not_encodable, term}` - means that the given argument is not serializable. For example, this is returned when you try...
27.197492
96
0.625058
851d52de7d535c6e10264b7e0077e0f1eb8fa111
5,064
ex
Elixir
lib/ex_png/decoding.ex
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
10
2015-03-15T16:12:00.000Z
2021-02-09T09:30:17.000Z
lib/ex_png/decoding.ex
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
1
2019-04-20T12:09:24.000Z
2019-04-20T12:09:24.000Z
lib/ex_png/decoding.ex
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
5
2019-01-19T19:47:09.000Z
2021-11-11T23:54:25.000Z
defmodule ExPNG.Decoding do import ExPNG.Utils, only: [inflate: 1, crc32: 2, null_terminated: 1] alias ExPNG.Chunks, as: Chunks @doc "Decodes a binary stream into a list of chunks" def decode(stream) do {:ok, stream} = verify_signature(stream) decode_chunks(stream) end # # # defp verify_s...
32.461538
104
0.670616
851d7468ff25f824cbbac640fcd4e8d1f4e582a0
2,283
ex
Elixir
deps/absinthe/lib/absinthe/blueprint/execution.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/blueprint/execution.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/execution.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.Execution do @moduledoc """ Blueprint Execution Data The `%Absinthe.Blueprint.Execution{}` struct holds on to the core values that drive a document's execution. Here's how the execution flow works. Given a document like: ``` { posts { title author { name } ...
24.031579
91
0.652212
851d92237eb7b31b2a9fd084cc213173d1917670
80,064
ex
Elixir
lib/aws/generated/s3_control.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/s3_control.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/s3_control.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.S3Control do @moduledoc """ AWS S3 Control provides access to Amazon S3 control plane actions. """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ ...
32.506699
227
0.699016
851da48a36d87ccbd55de0ea1fe14aa2a30f2107
1,715
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style_font.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_style_font.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_style_font.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 &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 ...
34.3
174
0.728863
851df84368b06bfc3f133f33ab830d5c0ebd8e73
9,678
exs
Elixir
integration_test/cases/execute_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
integration_test/cases/execute_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
integration_test/cases/execute_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
defmodule ExecuteTest do use ExUnit.Case, async: true alias TestPool, as: P alias TestAgent, as: A alias TestQuery, as: Q alias TestResult, as: R test "execute returns result" do stack = [ {:ok, :state}, {:ok, %R{}, :new_state}, {:ok, %R{}, :new_state} ] {:ok, agent} = A.st...
30.149533
113
0.555383
851dfc8e0cfad9a908d60bdf9204caffc3449f59
2,615
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/language_settings.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/gmail/lib/google_api/gmail/v1/model/language_settings.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/gmail/lib/google_api/gmail/v1/model/language_settings.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.621212
114
0.727725
851e21060e1c86d39c4cbeeb3cfbe2480ab7b379
180
ex
Elixir
lib/blockfrost/response/ipfs/pin_object_response.ex
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
13
2021-08-31T03:54:37.000Z
2022-01-30T17:39:40.000Z
lib/blockfrost/response/ipfs/pin_object_response.ex
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
6
2021-08-30T04:45:52.000Z
2021-09-23T09:15:08.000Z
lib/blockfrost/response/ipfs/pin_object_response.ex
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
null
null
null
defmodule Blockfrost.Response.PinObjectResponse do @type t :: Blockfrost.Shared.ObjectPinInfo.t() @doc false defdelegate cast(body), to: Blockfrost.Shared.ObjectPinInfo end
25.714286
61
0.788889
851e335b5cac5017bb541d52b1a054eaa394f52a
222
ex
Elixir
crawler_challenge/test/support/factory.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
crawler_challenge/test/support/factory.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
3
2021-05-08T08:50:39.000Z
2022-02-10T19:40:38.000Z
crawler_challenge/test/support/factory.ex
tuliostarling/elixir-crawler
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
defmodule CrawlerChallenge.Factory do use ExMachina.Ecto, repo: CrawlerChallenge.Repo use CrawlerChallenge.{ DetailsFactory, CourtsFactory, MovementsFactory, PartiesFactory, ProcessFactory } end
18.5
49
0.752252
851e34661187d3684c5dd4a0f7b9c704f71750bb
700
exs
Elixir
test/test_dep_table.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-18T14:32:15.000Z
2022-03-24T06:33:21.000Z
test/test_dep_table.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-25T08:30:42.000Z
2022-03-27T17:13:46.000Z
test/test_dep_table.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
null
null
null
defmodule MishkaInstaller.Repo.Migrations.TestDepTable do use Ecto.Migration def change do create table(:dependencies, primary_key: false) do add(:id, :uuid, primary_key: true) add(:app, :string, size: 200, null: false) add(:version, :string, size: 200, null: false) add(:type, :integer, ...
33.333333
88
0.651429
851e35adff159c9d635ac8e8dbbb808b136adafa
4,670
exs
Elixir
test/vutuv/publications_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
test/vutuv/publications_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
test/vutuv/publications_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule Vutuv.PublicationsTest do use Vutuv.DataCase import Vutuv.Factory import VutuvWeb.AuthTestHelpers alias Vutuv.{UserConnections, UserProfiles, Publications, Publications.Post} @create_post_attrs %{ body: Faker.Company.bs(), title: Faker.Company.name(), visibility_level: "private" } ...
36.484375
98
0.671949
851e549bc8690c00e16824c244c30acced2fa6af
1,171
exs
Elixir
bench/vector_bench.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
16
2016-03-29T11:44:45.000Z
2020-01-14T20:48:15.000Z
bench/vector_bench.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
3
2019-02-28T02:17:01.000Z
2021-12-23T12:26:20.000Z
bench/vector_bench.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
7
2017-04-28T17:25:17.000Z
2021-05-17T13:00:00.000Z
defmodule VectorBench do use Benchfella import Vector @values [-1, 0, 1, 2] @vectors (for x <- @values, y <- @values, do: {x, y}) ++ (for x <- @values, y <- @values, z <- @values, do: {x, y, z}) @zero_2 {0, 0} @zero_3 {0, 0, 0} def run_vector_set_2(func) do for a <- @vectors, b <- @vectors, do: func...
23.42
120
0.581554
851e63217459ecf59206d18585ec9a873d0c4a9b
14,929
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/global_addresses.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/global_addresses.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/api/global_addresses.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
51.836806
434
0.656909
851e7f1e3587c6aa889cc46af59bcf4a01117d3f
13,978
ex
Elixir
lib/elixir/lib/code/normalizer.ex
zacky1972/elixir
5700b6d6ec28a101da6198df0ed3cad060774141
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/normalizer.ex
zacky1972/elixir
5700b6d6ec28a101da6198df0ed3cad060774141
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/normalizer.ex
zacky1972/elixir
5700b6d6ec28a101da6198df0ed3cad060774141
[ "Apache-2.0" ]
null
null
null
defmodule Code.Normalizer do @moduledoc false defguard is_literal(x) when is_integer(x) or is_float(x) or is_binary(x) or is_atom(x) @doc """ Wraps literals in the quoted expression to conform to the AST format expected by the formatter. """...
27.734127
98
0.594506
851ee535b448899d7522336004d8913f0adaff77
1,118
exs
Elixir
config/config.exs
GabrielMalakias/nidavellir
9e786f6813aa3e014f44bdedbf88a7c8259fe1f9
[ "MIT" ]
1
2021-01-20T04:15:01.000Z
2021-01-20T04:15:01.000Z
config/config.exs
GabrielMalakias/nidavellir
9e786f6813aa3e014f44bdedbf88a7c8259fe1f9
[ "MIT" ]
null
null
null
config/config.exs
GabrielMalakias/nidavellir
9e786f6813aa3e014f44bdedbf88a7c8259fe1f9
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
34.9375
73
0.755814
851eeb47e017ce82f512a2be20b5da42a1657d3e
5,220
ex
Elixir
apps/massa_proxy/lib/massa_proxy/util.ex
drowzy/massa
624cb02e0039b0624c534636f96fd157b1e34a95
[ "Apache-2.0" ]
5
2021-04-21T22:26:04.000Z
2021-11-08T12:00:24.000Z
apps/massa_proxy/lib/massa_proxy/util.ex
drowzy/massa
624cb02e0039b0624c534636f96fd157b1e34a95
[ "Apache-2.0" ]
15
2021-08-03T15:39:44.000Z
2022-02-28T19:21:35.000Z
apps/massa_proxy/lib/massa_proxy/util.ex
drowzy/massa
624cb02e0039b0624c534636f96fd157b1e34a95
[ "Apache-2.0" ]
null
null
null
defmodule MassaProxy.Util do @moduledoc false require Logger alias Injectx.Context def setup() do Logger.info( "Available BEAM Schedulers: #{System.schedulers()}. Online BEAM Schedulers: #{ System.schedulers_online() }" ) :ets.new(:servers, [:set, :public, :named_table]) E...
26.497462
95
0.648659
851f035d136526729e25810bbf636020510524f9
693
exs
Elixir
test/console/plural/context_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
6
2021-11-17T21:10:49.000Z
2022-02-16T19:45:28.000Z
test/console/plural/context_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
18
2021-11-25T04:31:06.000Z
2022-03-27T04:54:00.000Z
test/console/plural/context_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
null
null
null
defmodule Console.Plural.ContextTest do use ExUnit.Case alias Console.Plural.Context describe "#merge/2" do test "it can merge both bundle and configuration data" do {:ok, old} = Context.get() {:ok, _} = Context.merge( %{"airflow" => %{"merged" => "value"}}, %Context.Bundle{repos...
25.666667
67
0.577201
851f1828f54873e36a9f40d9352338885495849f
284
ex
Elixir
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/academic_group_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/academic_group_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/academic_group_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2Web.AcademicGroupView do use StudentsCrmV2Web, :view use JaSerializer.PhoenixView attributes([ :description, :established_on, :name ]) has_many(:students, links: [related: "/api/v1/academic_groups/:id/students?page%5Bsize%5D=1000"]) end
21.846154
99
0.735915
851f22f79771b0bf06165733324bb938a492816e
1,613
exs
Elixir
test/singyeong/utils_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
70
2018-10-25T06:06:37.000Z
2022-03-14T19:51:56.000Z
test/singyeong/utils_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
140
2019-02-19T06:52:59.000Z
2022-03-01T11:13:41.000Z
test/singyeong/utils_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
9
2019-03-20T12:17:28.000Z
2021-03-11T18:51:00.000Z
defmodule Singyeong.UtilsTest do use ExUnit.Case alias Singyeong.Utils test "that list concat works" do assert [1, 2] == Utils.fast_list_concat([1], [2]) refute [2, 1] == Utils.fast_list_concat([1], [2]) assert [1, 2] == Utils.fast_list_concat(1, [2]) assert [1, 2] == Utils.fast_list_concat([1], ...
36.659091
118
0.606324
851f5e8eb2470dcb79171bf86ce7cc074c236ba8
258
ex
Elixir
lib/sna_lib.ex
runasio/sna_lib
0b2fa37d9d9d3d3e28c256e62495fe30c0ec3ab1
[ "Apache-2.0" ]
3
2019-07-16T13:40:59.000Z
2019-07-17T07:49:20.000Z
lib/sna_lib.ex
runasio/sna_lib
0b2fa37d9d9d3d3e28c256e62495fe30c0ec3ab1
[ "Apache-2.0" ]
null
null
null
lib/sna_lib.ex
runasio/sna_lib
0b2fa37d9d9d3d3e28c256e62495fe30c0ec3ab1
[ "Apache-2.0" ]
1
2019-07-17T07:02:59.000Z
2019-07-17T07:02:59.000Z
defmodule SnaLib do @moduledoc """ Documentation for SnaLib. """ def new() do %{ ref: :erlang.make_ref(), data: %SnaLib.Data{}, meta: %SnaLib.Meta{}, rule: %SnaLib.Rule{}, cred: %SnaLib.Credential{} } end end
16.125
32
0.546512
851fa46a9a9322bd0696662e93fad4f56c384c48
1,367
exs
Elixir
2015/day12/test/task2_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day12/test/task2_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day12/test/task2_test.exs
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Task2Test do use ExUnit.Case doctest Task2 test ~s({"d":"red","e":[1,2,3,4],"f":5}) do assert Task2.solution(~s({"d":"red","e":[1,2,3,4],"f":5})) == 0 end test ~s([1,2,3]) do assert Task2.solution(~s([1,2,3])) == 6 end test ~s([1,{"c":"red","b":2},3]) do assert Task2.solution(~s([...
30.377778
97
0.441843
851fa7908025b29f815b6419e9b61b21bca65113
199
ex
Elixir
lib/phone/kw.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/kw.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/kw.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.KW do @moduledoc false use Helper.Country def regex, do: ~r/^(965)()(.{8})/ def country, do: "Kuwait" def a2, do: "KW" def a3, do: "KWT" matcher(:regex, ["965"]) end
15.307692
35
0.592965
851fa7f0f723556e33f199e9dbefdb7b256b36ee
2,001
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/resource_policy_hourly_cycle.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/resource_policy_hourly_cycle.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/resource_policy_hourly_cycle.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...
37.754717
185
0.722639
85200fee42e266e632ee311165fd358d5fbac138
1,639
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_record_condition.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_record_condition.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_record_condition.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...
34.145833
121
0.76083
85203653bb7d8f1b1fb2ff8c4a2067e6e7f24c28
1,299
exs
Elixir
mix.exs
DriesDeBackker/bquarp-reactivity
28c28fba7c60dcf0a4bee6cbcb2c67545dc5122c
[ "MIT" ]
1
2019-07-18T12:44:08.000Z
2019-07-18T12:44:08.000Z
mix.exs
DriesDeBackker/bquarp-reactivity
28c28fba7c60dcf0a4bee6cbcb2c67545dc5122c
[ "MIT" ]
null
null
null
mix.exs
DriesDeBackker/bquarp-reactivity
28c28fba7c60dcf0a4bee6cbcb2c67545dc5122c
[ "MIT" ]
null
null
null
defmodule BQuarp.MixProject do use Mix.Project def project do [ app: :bquarp, version: "0.6.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), source_url: "https://github.com/DriesDeBackker/bqu...
27.0625
116
0.622017
85203bdecdb96dbf60655cf15e9b4eefce444eec
771
exs
Elixir
02-udemy/cards/mix.exs
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
02-udemy/cards/mix.exs
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
02-udemy/cards/mix.exs
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
defmodule Cards.MixProject do use Mix.Project def project do [ app: :cards, version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
24.09375
87
0.55642
8520c124dc43aa122f626dc5037ccd11677194fb
1,519
ex
Elixir
lib/mix/tasks/clientcreate.ex
kevinbaisas/oauth2_server
b622bb2c3f5f6e930a014d7ead7e3bfe14baed22
[ "MIT" ]
13
2016-05-16T13:27:42.000Z
2017-03-14T19:57:33.000Z
lib/mix/tasks/clientcreate.ex
kvnbai/oauth2_server
b622bb2c3f5f6e930a014d7ead7e3bfe14baed22
[ "MIT" ]
null
null
null
lib/mix/tasks/clientcreate.ex
kvnbai/oauth2_server
b622bb2c3f5f6e930a014d7ead7e3bfe14baed22
[ "MIT" ]
1
2016-06-23T18:14:53.000Z
2016-06-23T18:14:53.000Z
defmodule Mix.Tasks.Oauth2Server.Clientcreate do use Mix.Task alias Oauth2Server.OauthClient alias Oauth2Server.Repo @shortdoc "Creates an oauth client." @moduledoc """ The list of grant types are : password client_credentials refresh_token you can execute this command by: mi...
26.649123
101
0.682028
8520e6dee90ebf7adce6baf5dab46f5e10fa748d
1,057
ex
Elixir
lib/live_blog_ex/application.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
lib/live_blog_ex/application.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
lib/live_blog_ex/application.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
defmodule LiveBlogEx.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Telemetry supervisor LiveBlogExWeb.Telemetry, # Start the Pu...
28.567568
68
0.707663
8520edab4a828a871dd450e188b0b004bd453860
369
ex
Elixir
lib/bench_macros.ex
iboard/repox
3b2d1a74439ae8ee6634bc8b37756773d1bed51d
[ "Unlicense" ]
null
null
null
lib/bench_macros.ex
iboard/repox
3b2d1a74439ae8ee6634bc8b37756773d1bed51d
[ "Unlicense" ]
3
2015-05-10T20:49:22.000Z
2015-05-20T19:18:12.000Z
lib/bench_macros.ex
iboard/repox
3b2d1a74439ae8ee6634bc8b37756773d1bed51d
[ "Unlicense" ]
null
null
null
defmodule BenchMacros do @moduledoc """ Some helper macros used in several bench/** scripts """ @doc "Add entries to gateways 1 to n" defmacro add_to_gateway(gw, count) do quote do Enum.each 1..unquote(count), fn(n) -> value = "This is entry number #{n}" Gateway.put(unquote(gw), %{i...
23.0625
56
0.617886
8520f144847c952066503d4e16d889cce4094ea5
4,913
ex
Elixir
lib/chat_api/intercom/client.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api/intercom/client.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api/intercom/client.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
defmodule ChatApi.Intercom.Client do @moduledoc """ A module to handle interacting with the Intercom API """ require Logger use Tesla alias ChatApi.Intercom.IntercomAuthorization plug(Tesla.Middleware.BaseUrl, "https://api.intercom.io") plug(Tesla.Middleware.Headers, [ {"Accept", "application/j...
30.32716
98
0.627315
8520f8f7dc417b27839ae16eee3a839825aee863
94
ex
Elixir
lib/program.ex
ronanboiteau/TV-Show-Randomizer
3c87565d0a379457a79ee292652454a7d36f5704
[ "MIT" ]
1
2018-02-24T12:10:37.000Z
2018-02-24T12:10:37.000Z
lib/program.ex
ronanboiteau/TV-Show-Randomizer
3c87565d0a379457a79ee292652454a7d36f5704
[ "MIT" ]
1
2018-02-24T12:06:14.000Z
2018-02-24T12:10:51.000Z
lib/program.ex
ronanboiteau/TV-Show-Randomizer
3c87565d0a379457a79ee292652454a7d36f5704
[ "MIT" ]
null
null
null
defmodule Program do def abort(err_msg) do IO.puts(err_msg) System.halt(1) end end
15.666667
23
0.691489
85211f82f06d2c4fbe50dc996c9aef721dbdd3a0
5,864
ex
Elixir
lib/state_chart/interpreter.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
null
null
null
lib/state_chart/interpreter.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
null
null
null
lib/state_chart/interpreter.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
1
2020-11-11T15:57:52.000Z
2020-11-11T15:57:52.000Z
defmodule StateChart.Interpreter do require Logger defmacrop debug(int, message) do quote do # TODO add int info (sessionid, name?) int = unquote(int) # Logger.debug(fn -> unquote(message) end) int end end alias StateChart.{Context,Event,Document,Queue,Runtime.Invoke} alias Do...
30.541667
112
0.633186
852123ccfab9b07794ef1c48ec5ddb43be44763a
4,828
exs
Elixir
test/bitcoin/protocol/messages/tx_test.exs
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
81
2017-04-20T17:42:59.000Z
2022-02-08T03:49:22.000Z
test/bitcoin/protocol/messages/tx_test.exs
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
2
2017-09-07T13:58:57.000Z
2018-01-13T10:38:07.000Z
test/bitcoin/protocol/messages/tx_test.exs
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
22
2017-08-16T14:19:44.000Z
2021-12-22T04:36:57.000Z
defmodule Bitcoin.Protocol.Messages.TxTest do use ExUnit.Case alias Bitcoin.Protocol.Messages.Tx @payload1 Base.decode16!("01000000" <> # version, 1 "01" <> # number of inputs, 1 "6DBDDB085B1D8AF75184F0BC01FAD58D" <> # previous output (outpoint), ...
56.139535
371
0.486537
852189243264295483583ac976998e23e11cdce2
2,705
ex
Elixir
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/delivery_control.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/delivery_control.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/delivery_control.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.615385
207
0.733087
852195ba6563ac9ad507f576f09690e49a45245e
3,225
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__timestamped_object.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__timestamped_object.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__timestamped_object.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...
39.329268
218
0.748217
8521a438b93e083acef4e121abf10eb1ff6c3310
1,834
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/url_channel.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/url_channel.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/model/url_channel.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...
34.603774
199
0.706652
8521ba56d0d1c340a9ef7213ca1f7ab2fd605f0b
3,946
ex
Elixir
lib/glimesh_web/live/support_modal/donate_form.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
lib/glimesh_web/live/support_modal/donate_form.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
lib/glimesh_web/live/support_modal/donate_form.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.SupportModal.DonateForm do use GlimeshWeb, :live_component @impl true def render(assigns) do assigns = Map.put_new(assigns, :stripe_error, nil) assigns = Map.put_new(assigns, :amount, 5.00) assigns = Map.put_new(assigns, :streamer_amount, calculate_streamer_amount(5.00)) ~H"...
34.920354
190
0.598834
8521e510765dd57bdf4009aabe03074f7fbb6ba2
323
exs
Elixir
test/test_helper.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
test/test_helper.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
test/test_helper.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
# Dont run feature tests by default # Run wallaby feature tests with `mix test --include feature` ExUnit.configure(exclude: :feature) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Linkir.Repo, :manual) {:ok, _} = Application.ensure_all_started(:wallaby) Application.put_env(:wallaby, :base_url, LinkirWeb.Endpoint.url(...
32.3
66
0.770898
8521e777fe29d3b05e144524c3ccddb1cbe690be
1,726
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/mcf_data_column_headers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/mcf_data_column_headers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics/lib/google_api/analytics/v3/model/mcf_data_column_headers.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...
32.566038
160
0.712051
8521e83ba9aa7f60bb74f5e800b1a824276d4524
623
ex
Elixir
lib/polaris_web/controllers/page_controller.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-05-02T00:16:35.000Z
2020-06-18T11:43:17.000Z
lib/polaris_web/controllers/page_controller.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2021-03-10T10:35:32.000Z
2021-05-11T06:13:28.000Z
lib/polaris_web/controllers/page_controller.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-12-03T10:41:14.000Z
2022-01-17T20:22:50.000Z
defmodule PolarisWeb.PageController do use PolarisWeb, :controller alias Polaris.Page alias Polaris.Site def index(conn, _params) do %Page{title: title, content: content} = Site.index() conn |> assign(:page_title, title) |> assign(:pars, content["pars"]) |> render("index.html") end d...
24.92
118
0.640449
8521ece2631575a87cd191d1bc58183509a3c06f
4,672
ex
Elixir
lib/strategy/rancher.ex
svrdlans/libcluster
b5b2f068f1ff6e715a99748ff1b37d5fce74dc2d
[ "MIT" ]
1,571
2016-09-30T20:38:30.000Z
2022-03-31T15:06:38.000Z
lib/strategy/rancher.ex
svrdlans/libcluster
b5b2f068f1ff6e715a99748ff1b37d5fce74dc2d
[ "MIT" ]
140
2016-10-11T10:03:06.000Z
2022-03-18T21:06:32.000Z
lib/strategy/rancher.ex
svrdlans/libcluster
b5b2f068f1ff6e715a99748ff1b37d5fce74dc2d
[ "MIT" ]
167
2016-10-24T09:47:16.000Z
2022-03-15T11:59:50.000Z
defmodule Cluster.Strategy.Rancher do @moduledoc """ This clustering strategy is specific to the Rancher container platform. It works by querying the platform's metadata API for containers belonging to the same service as the node and attempts to connect them. (see: http://rancher.com/docs/rancher/latest/en/r...
26.39548
100
0.585402
8521ff6a4271d69c3ce361818e8f6bcebcc2fbc9
775
ex
Elixir
lib/traveling_salesman.ex
joaoeliandro/traveling_salesman_elx
293422b51a5867d103125711e3702627ae053278
[ "MIT" ]
null
null
null
lib/traveling_salesman.ex
joaoeliandro/traveling_salesman_elx
293422b51a5867d103125711e3702627ae053278
[ "MIT" ]
null
null
null
lib/traveling_salesman.ex
joaoeliandro/traveling_salesman_elx
293422b51a5867d103125711e3702627ae053278
[ "MIT" ]
null
null
null
defmodule TravelingSalesman do alias TravelingSalesman.Modules.{Graph, SortVector} # @spec find_route :: {:ok, list} def find_route do graph = Graph.build() {:ok, map} = graph # Enum.each(map, &show_adjacent(&1)) sort_vector = SortVector.build(15) result = map |> Enum.map(&Sor...
22.794118
85
0.659355
85224167ca74137ddf1556894750f578fd9ec97c
1,633
exs
Elixir
mix.exs
quolpr/ecto_job
db3a71b239199bf805267ef733f5ccf7720dc383
[ "MIT" ]
1
2019-06-04T17:23:36.000Z
2019-06-04T17:23:36.000Z
mix.exs
stone-payments/ecto_job
b0c42c597aa5b5dd4651306d1d2a9b5b04194180
[ "MIT" ]
65
2019-08-20T06:55:57.000Z
2021-08-03T05:25:49.000Z
mix.exs
quolpr/ecto_job
db3a71b239199bf805267ef733f5ccf7720dc383
[ "MIT" ]
1
2018-08-28T16:11:11.000Z
2018-08-28T16:11:11.000Z
defmodule EctoJob.Mixfile do use Mix.Project @version "1.0.0" @url "https://github.com/mbuhot/ecto_job" def project do [ app: :ecto_job, description: "A transactional job queue built with Ecto, PostgreSQL and GenStage.", version: @version, elixir: "~> 1.6", elixirc_paths: eli...
22.680556
89
0.548683