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
1cef7600a41b677d11fb73cc524942546b82d445
511
ex
Elixir
lib/foundation_phoenix_web/views/error_view.ex
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
null
null
null
lib/foundation_phoenix_web/views/error_view.ex
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
2
2021-03-10T11:28:36.000Z
2021-05-11T07:00:39.000Z
lib/foundation_phoenix_web/views/error_view.ex
PanyPy/foundation_phoenix
571aaa0b274c1428b4cf8e370777ae82c9167eb2
[ "MIT" ]
null
null
null
defmodule FoundationPhoenixWeb.ErrorView do use FoundationPhoenixWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from ...
30.058824
61
0.745597
1cef8e029fad43424605c512b3dfe22fd4cecf7d
14,924
exs
Elixir
test/ecto/query/planner_test.exs
ashneyderman/ecto
16f27f64c5ca2480568fad10e40c26522ffbf793
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
ashneyderman/ecto
16f27f64c5ca2480568fad10e40c26522ffbf793
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
ashneyderman/ecto
16f27f64c5ca2480568fad10e40c26522ffbf793
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Model schema "comments" do field :text, :string ...
39.170604
108
0.593809
1cef8fb857be04e9a208a271b4fe973ad8219299
1,406
ex
Elixir
lib/ucx_ucc/utils.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/utils.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/utils.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UcxUcc.Utils do defmacro __using__(_) do quote do import unquote(__MODULE__) end end defmacro is_falsey(value) do quote do (unquote(value) == nil or unquote(value) == false) end end defmacro is_falsy(value) do quote do is_falsey(unquote(value)) end end ...
22.31746
84
0.659317
1cef943a685c769fb8a02794330d1a2d2a610a05
1,127
exs
Elixir
config/config.exs
maxiwoj/AddressBook
0d2b7171aa533f1afca6cb7347a6775c523c0489
[ "Apache-2.0" ]
null
null
null
config/config.exs
maxiwoj/AddressBook
0d2b7171aa533f1afca6cb7347a6775c523c0489
[ "Apache-2.0" ]
null
null
null
config/config.exs
maxiwoj/AddressBook
0d2b7171aa533f1afca6cb7347a6775c523c0489
[ "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. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.753327
1cefa6e88bb1809ddc9822c34202cd7f1a974cd3
958
ex
Elixir
lib/cargo_elixir/application.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
9
2020-11-13T18:24:25.000Z
2022-03-17T19:03:02.000Z
lib/cargo_elixir/application.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
8
2020-12-07T17:41:01.000Z
2022-01-05T10:51:21.000Z
lib/cargo_elixir/application.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
5
2020-12-07T07:16:21.000Z
2022-03-21T00:44:39.000Z
defmodule CargoElixir.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository CargoElixir.Re...
29.9375
70
0.722338
1cefbcccdad8b04c89d63a61d1369fcaf406d67e
940
ex
Elixir
clients/keto/elixir/lib/keto/model/create_relation_tuple_internal_server_error_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/model/create_relation_tuple_internal_server_error_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/model/create_relation_tuple_internal_server_error_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Keto.Model.CreateRelationTupleInternalServerErrorBody do @moduledoc """ CreateRelationTupleInternalServerErrorBody CreateRelationTupleInternalServ...
26.111111
179
0.688298
1cefdd91fce2274ba9fe0906a684d9e04488ebc1
5,929
ex
Elixir
kousa/lib/beef/follows.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
1
2021-04-19T19:32:51.000Z
2021-04-19T19:32:51.000Z
kousa/lib/beef/follows.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
null
null
null
kousa/lib/beef/follows.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
1
2021-03-12T21:31:01.000Z
2021-03-12T21:31:01.000Z
defmodule Beef.Follows do @moduledoc """ Context module for Follows. This will eventually go away and be replaced by using associations on users. """ import Ecto.Query @fetch_limit 21 alias Beef.Schemas.Follow alias Beef.Schemas.User alias Beef.Schemas.Room @spec get_followers_online_and_not_...
26.46875
85
0.560128
1ceff6687b8fffcf7bbf3f6edc839b8b9c377c85
529
ex
Elixir
lib/anchore_engine_api_server/model/policy_rule_params.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/policy_rule_params.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/policy_rule_params.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.PolicyRuleParams do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :name, :value ] @t...
18.892857
77
0.699433
1cf0088643ace1ec262d046a460dda42fa151fb1
2,347
exs
Elixir
mix.exs
alboratech/bitcraft
40a8d6d1d72b3b6a9b9b70793f12edd1e133cd8d
[ "MIT" ]
5
2021-08-20T08:41:19.000Z
2022-02-02T22:04:05.000Z
mix.exs
cabol/bitcraft
40a8d6d1d72b3b6a9b9b70793f12edd1e133cd8d
[ "MIT" ]
null
null
null
mix.exs
cabol/bitcraft
40a8d6d1d72b3b6a9b9b70793f12edd1e133cd8d
[ "MIT" ]
null
null
null
defmodule Bitcraft.MixProject do use Mix.Project @source_url "https://github.com/alboratech/bitcraft" @version "0.1.0" def project do [ app: :bitcraft, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), aliases: aliases(), deps: deps(), ...
21.144144
90
0.532169
1cf074eefb369985c322b6a310784ad74c2d2146
10,187
exs
Elixir
lib/ex_unit/test/ex_unit/formatter_test.exs
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/formatter_test.exs
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/ex_unit/test/ex_unit/formatter_test.exs
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.FormatterTest do use ExUnit.Case import ExUnit.Formatter doctest ExUnit.Formatter defmacrop catch_assertion(expr) do quote do try do unquote(expr) rescue ex -> ex end end end defp test_module do ...
31.636646
94
0.556101
1cf08489c46b1a3d504c2b77f51ae6da190ee8d6
2,803
exs
Elixir
test/dice_test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
test/dice_test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
test/dice_test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
defmodule Bot.Dice.Test do use ExUnit.Case alias Bot.Dice describe "handle_roll()" do setup do on_exit(fn -> Bot.Util.Rng.clear_stored_numbers() :ok end) :ok end test "returns no values for no dice" do results = Dice.handle_roll("") assert results == {D...
29.505263
98
0.602569
1cf0b467b5fa714da504e130ae7d3c11f7d0f5a1
21,642
exs
Elixir
test/scenic/color_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/color_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/color_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.ColorTest do @moduledoc false use ExUnit.Case, async: true doctest Scenic.Color alias Scenic.Color test "to_g implied" do # from bisque g = round((0xFF + 0xE4 + 0xC4) / 3) assert Color.to_g(128) == {:color_g, 128} assert Color.to_g({128, 200}) == {:color_g, 128} assert C...
47.150327
97
0.633352
1cf0d051c9b12b6963764c6d35f1b43d5994a675
2,243
exs
Elixir
config/prod.exs
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
config/prod.exs
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
config/prod.exs
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.477612
67
0.71868
1cf1172ff5c968be2f003c479e1b08bb6eb72ac2
1,068
ex
Elixir
lib/silver_vine/token/oauth2/refresh_token.ex
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
lib/silver_vine/token/oauth2/refresh_token.ex
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
1
2021-10-19T10:41:22.000Z
2021-10-19T10:41:22.000Z
lib/silver_vine/token/oauth2/refresh_token.ex
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
defmodule SilverVine.Token.OAuth2.RefreshToken do @moduledoc """ A module to represent OAuth 2.0 Refresh Token using JWT. """ @behaviour SilverVine.Token.Base @jwt_header_typ "rt+jwt" alias SilverVine.Token alias KittenBlue.JWK @doc """ Generate a token string (JWS) from the Payload map and key in...
26.04878
74
0.564607
1cf154ca3d643c0800206781db85c81636f7eb5f
897
ex
Elixir
apps/interface/lib/interface/ui/reset_network.ex
rosetta-home/example_fw
7359bd0dec05dc2df73b49b815fb844af842098d
[ "Apache-2.0" ]
67
2017-03-25T19:18:09.000Z
2021-02-15T13:09:57.000Z
apps/interface/lib/interface/ui/reset_network.ex
rosetta-home/example_fw
7359bd0dec05dc2df73b49b815fb844af842098d
[ "Apache-2.0" ]
2
2018-08-21T20:12:58.000Z
2020-04-29T23:06:53.000Z
apps/interface/lib/interface/ui/reset_network.ex
rosetta-home/example_fw
7359bd0dec05dc2df73b49b815fb844af842098d
[ "Apache-2.0" ]
15
2017-03-25T19:16:04.000Z
2020-07-06T00:14:09.000Z
defmodule Interface.UI.ResetNetwork do require Logger alias Cicada.{NetworkManager} defmodule State do defstruct hostname: nil end def init({:tcp, :http}, req, _opts) do {host, req} = :cowboy_req.host(req) {:ok, req, %State{:hostname => host }} end def handle(req, state) do :ok = Networ...
27.181818
103
0.610925
1cf1664713e077752c7cff36ac1c2d2910fdda4a
621
ex
Elixir
lib/matryoshka/server.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
2
2019-03-03T20:32:55.000Z
2019-05-14T11:46:56.000Z
lib/matryoshka/server.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
null
null
null
lib/matryoshka/server.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
null
null
null
defmodule Matryoshka.Server do use Plug.Router plug :match plug :fetch_query_params plug :skip_favicon plug Matryoshka.OpenImagePlug plug Matryoshka.Transformations plug Matryoshka.ServeImagePlug plug :dispatch def skip_favicon(%Plug.Conn{request_path: "/favicon.ico"} = conn, _) do conn |>...
20.7
73
0.674718
1cf1694745aff9da25544f15be354f06cfe41632
6,422
ex
Elixir
lib/oban/queue/executor.ex
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/executor.ex
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/executor.ex
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.Executor do @moduledoc false alias Oban.{ Breaker, Config, CrashError, Job, PerformError, Query, Telemetry, TimeoutError, Worker } require Logger @type success :: {:success, Job.t()} @type failure :: {:failure, Job.t(), Worker.t(), atom(), term()} ...
24.325758
94
0.585176
1cf181dd419cd00dfe7397a3d3abd963881a9525
1,769
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings_backup_option.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings_backup_option.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_content_ads_settings_backup_option.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.38
192
0.752968
1cf1a03641c0d75cbe53771c2bcf8219739b5a2f
1,129
ex
Elixir
lib/stixex/object/intrusion_set.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/object/intrusion_set.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/object/intrusion_set.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Object.IntrusionSet do use StixEx.Object, type_name: "intrusion-set" @required_fields [:name] embedded_schema do common_fields() field(:name, :string) field(:description, :string) field(:first_seen, :utc_datetime) field(:last_seen, :utc_datetime) field(:aliases, {:array,...
28.225
96
0.690877
1cf1a646a500e2a750a4bc4c5c5adc56d797c448
4,660
ex
Elixir
lib/pixie.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule Pixie do use Application @default_timeout 25_000 # 25 seconds. # @default_transports ~w| long-polling cross-origin-long-polling callback-polling websocket eventsource | @default_transports ~w| long-polling cross-origin-long-polling callback-polling websocket | @default_backend [name: :ETS] @bayeu...
26.936416
107
0.696137
1cf1b2102994bf382ebb12eda032af05cf073675
67
exs
Elixir
test/cineplex_test.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
test/cineplex_test.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
test/cineplex_test.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
defmodule CineplexTest do use ExUnit.Case doctest Cineplex end
13.4
25
0.80597
1cf1c88c8b5c739661ab7c348ea95ead3af3272a
357
ex
Elixir
day25/day25.ex
kjelloh/advent_of_code_2021
656c26a418a4b379ef48a45ac6ffd978c17a744f
[ "CC0-1.0" ]
null
null
null
day25/day25.ex
kjelloh/advent_of_code_2021
656c26a418a4b379ef48a45ac6ffd978c17a744f
[ "CC0-1.0" ]
null
null
null
day25/day25.ex
kjelloh/advent_of_code_2021
656c26a418a4b379ef48a45ac6ffd978c17a744f
[ "CC0-1.0" ]
null
null
null
Initial state: ...>... ....... ......> v.....> ......> ....... ..vvv.. After 1 step: ..vv>.. ....... >...... v.....> >...... ....... ....v.. After 2 steps: ....v>. ..vv... .>..... ......> v>..... ....... ....... After 3 steps: ......> ..v.v.. ..>v... >...... ..>.... v...... ....... After 4 steps: >...... ..v.... .....
8.113636
14
0.210084
1cf20209cf21731372ad47802b0c8803ff1c13bc
1,250
ex
Elixir
phoenix/lib/hello_web/endpoint.ex
JesterPrince/docker-web-framework-examples
eb30151283f7236a9b90791c4a1f3cee981aab4a
[ "MIT" ]
216
2018-06-14T19:53:34.000Z
2022-03-10T20:27:52.000Z
phoenix/lib/hello_web/endpoint.ex
JesterPrince/docker-web-framework-examples
eb30151283f7236a9b90791c4a1f3cee981aab4a
[ "MIT" ]
10
2018-06-15T00:19:39.000Z
2021-04-15T21:39:44.000Z
phoenix/lib/hello_web/endpoint.ex
JesterPrince/docker-web-framework-examples
eb30151283f7236a9b90791c4a1f3cee981aab4a
[ "MIT" ]
46
2018-06-20T03:12:42.000Z
2021-10-14T03:27:34.000Z
defmodule HelloWeb.Endpoint do use Phoenix.Endpoint, otp_app: :hello socket "/socket", HelloWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static file...
26.595745
69
0.7064
1cf2057667d24072d22c2edd2c568b3ab6fd4f4f
399
exs
Elixir
priv/repo/migrations/20181219010630_create_celestial_bodies.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
6
2019-01-25T12:07:43.000Z
2021-09-09T20:31:39.000Z
priv/repo/migrations/20181219010630_create_celestial_bodies.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
144
2019-01-26T02:20:07.000Z
2021-07-21T06:28:23.000Z
priv/repo/migrations/20181219010630_create_celestial_bodies.exs
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
2
2019-07-31T21:11:00.000Z
2020-04-15T19:51:14.000Z
defmodule KerbalMaps.Repo.Migrations.CreateCelestialBodies do @moduledoc false use Ecto.Migration def change do create table(:celestial_bodies) do add :name, :text, null: false add :parent_id, references(:celestial_bodies), null: true timestamps() end create unique_index(:celestia...
23.470588
63
0.714286
1cf2171944dfa05ad1be96e447aff7320289b739
1,768
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/file_image_media_metadata_location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/drive/lib/google_api/drive/v3/model/file_image_media_metadata_location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file_image_media_metadata_location.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.358491
92
0.717195
1cf2846f9cdb3670957b68f3ca1c7f014a068bf1
1,671
ex
Elixir
lib/stellar/base/memo.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
1
2019-12-19T14:12:20.000Z
2019-12-19T14:12:20.000Z
lib/stellar/base/memo.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
null
null
null
lib/stellar/base/memo.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
4
2019-10-09T20:58:35.000Z
2021-12-06T23:00:46.000Z
defmodule Stellar.Base.Memo do defstruct type: nil, value: nil def new(:none), do: none() def new(_), do: {:error, "Invalid memo type"} def new(:id, id), do: id(id) def new(:text, text), do: text(text) def new(:hash, hash), do: hash(hash) def new(:return, hash), do: return(hash) def new(_, _), do: {:er...
26.109375
80
0.605625
1cf2f5ae8a069c987fdf3368430d5bb4e400855b
2,341
exs
Elixir
config/prod.exs
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
82
2018-01-08T16:57:13.000Z
2021-12-25T07:34:21.000Z
config/prod.exs
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
8
2018-05-21T10:31:27.000Z
2018-11-25T07:17:56.000Z
config/prod.exs
cogini/elixir-deploy-template
eebe9e335ebbc54ef9388faf50c6fd64936a85aa
[ "MIT" ]
15
2018-05-21T10:18:16.000Z
2021-03-30T17:14:40.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # DeployTemplateWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there....
33.927536
71
0.733874
1cf31a37b014a2bc97fe4b90d0136530670609e1
7,881
exs
Elixir
test/text_delta/composition_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
48
2017-05-29T19:39:42.000Z
2022-03-28T15:53:29.000Z
test/text_delta/composition_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
1
2017-05-26T15:03:30.000Z
2017-05-26T15:37:16.000Z
test/text_delta/composition_test.exs
document-delta/text_delta
a37ccbcabf83c845a1040dd4fb4de9f45382aaf0
[ "MIT" ]
6
2017-11-30T16:54:27.000Z
2021-05-19T10:27:12.000Z
defmodule TextDelta.CompositionTest do use ExUnit.Case use EQC.ExUnit import TextDelta.Generators doctest TextDelta.Composition property "(a + b) + c = a + (b + c)" do forall doc <- document() do forall delta_a <- document_delta(doc) do doc_a = TextDelta.compose(doc, delta_a) fora...
21.952646
70
0.53813
1cf32391112765fee12cc6420e6d01f91ce2afc7
1,117
exs
Elixir
config/config.exs
gyson/t
e0f272abd78528cfc284c2dc523e76437c3e4260
[ "MIT" ]
null
null
null
config/config.exs
gyson/t
e0f272abd78528cfc284c2dc523e76437c3e4260
[ "MIT" ]
null
null
null
config/config.exs
gyson/t
e0f272abd78528cfc284c2dc523e76437c3e4260
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.748433
1cf3250ba7b3b1d591293c4e99284a41a96bc786
1,679
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/perf_sample.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/perf_sample.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/perf_sample.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...
33.58
123
0.736152
1cf3285985b20cd5ec8bc0cefef31e95eea49dae
2,657
ex
Elixir
lib/stream_stats.ex
whossname/stream_stats
6eca90186d5c36ccabde750b8d07757142878883
[ "MIT" ]
1
2019-09-27T03:30:22.000Z
2019-09-27T03:30:22.000Z
lib/stream_stats.ex
whossname/stream_stats
6eca90186d5c36ccabde750b8d07757142878883
[ "MIT" ]
null
null
null
lib/stream_stats.ex
whossname/stream_stats
6eca90186d5c36ccabde750b8d07757142878883
[ "MIT" ]
null
null
null
defmodule StreamStats do @moduledoc """ Enables concurrent calculation of count, mean and standard deviation. New values can be aggregated into an existing stat tuple and two stat tuples can be merged into one. Inspired by the following article by John D. Cook: https://www.johndcook.com/blog/skewness_kurto...
27.391753
94
0.655627
1cf330ea8f6d6caa1c5528fdaee9481dfe7c87a1
6,747
ex
Elixir
lib/poxa/pusher_event.ex
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
lib/poxa/pusher_event.ex
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
lib/poxa/pusher_event.ex
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
defmodule Poxa.PusherEvent do @moduledoc """ This module contains a set of functions to work with pusher events Take a look at http://pusher.com/docs/pusher_protocol#events for more info """ require Logger alias Poxa.PresenceSubscription import Poison, only: [encode!: 1] @doc """ Return a JSON for a...
32.752427
113
0.619535
1cf34471e025b0d5530aeb8316af311fde3cb048
3,139
exs
Elixir
farmbot_ext/test/farmbot_ext/mqtt/sync_handler_support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_ext/test/farmbot_ext/mqtt/sync_handler_support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/mqtt/sync_handler_support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotExt.SyncHandlerSupportTest do use ExUnit.Case use Mimic alias FarmbotExt.MQTT.SyncHandlerSupport, as: Support alias FarmbotExt.MQTT.SyncHandler, as: State alias FarmbotCore.{BotState, JSON, Leds, Asset} alias FarmbotExt.MQTT alias FarmbotExt.API.EagerLoader @fake_state %State{ cli...
24.912698
88
0.61612
1cf3536163585d70d883bef7d460e639ed1338f0
706
ex
Elixir
web/gettext.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
1
2018-03-14T23:48:57.000Z
2018-03-14T23:48:57.000Z
web/gettext.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
null
null
null
web/gettext.ex
marcsugiyama/restfully
8352bc5718c1298c836ed72fc9d7b5cd4a9695bb
[ "Apache-2.0" ]
2
2018-06-04T12:37:32.000Z
2021-06-15T11:45:05.000Z
defmodule Restfully.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Restfully.Gettext # Simple translation gettext "Here is the ...
28.24
71
0.679887
1cf38b417bf5b82832622573d9736f30900c21fe
1,683
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/installs_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/installs_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/installs_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.808511
246
0.754011
1cf39e6b7ad98db751d063001554db6dbaa1a6d0
3,572
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
43.560976
196
0.664894
1cf3d334ec291a1387c1e693e91589ec17408eca
969
ex
Elixir
lib/nimble_options/validation_error.ex
lud/nimble_options
0cbf16243948ef8b287f4aeb4bdecb69ba3c632a
[ "Apache-2.0" ]
293
2020-04-03T15:58:27.000Z
2022-03-29T10:29:32.000Z
lib/nimble_options/validation_error.ex
lud/nimble_options
0cbf16243948ef8b287f4aeb4bdecb69ba3c632a
[ "Apache-2.0" ]
60
2020-04-04T15:46:00.000Z
2022-02-09T14:09:59.000Z
lib/nimble_options/validation_error.ex
lud/nimble_options
0cbf16243948ef8b287f4aeb4bdecb69ba3c632a
[ "Apache-2.0" ]
23
2020-04-04T15:43:10.000Z
2022-02-09T13:03:38.000Z
defmodule NimbleOptions.ValidationError do @moduledoc """ An error that is returned (or raised) when options are invalid. Only the following documented fields are considered public. All other fields are considered private and should not be referenced: * `:key` - The key that did not successfully validate....
28.5
87
0.670795
1cf3fbf05dc682936e22ff77d724f0502aa2ff48
4,289
ex
Elixir
apps/omg_api/lib/monitor.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/monitor.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/monitor.ex
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...
33.771654
118
0.697599
1cf4845435e9e156e69a5238227b984f59cecf4b
495
ex
Elixir
lib/jalka2021_web/views/error_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/views/error_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/views/error_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
defmodule Jalka2021Web.ErrorView do use Jalka2021Web, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template ...
29.117647
61
0.737374
1cf48a265da097feee3869b9b6cb8903628bdce7
258
exs
Elixir
priv/repo/migrations/20200416000727_add_timers_table.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
6
2017-06-16T10:26:35.000Z
2021-04-07T15:01:00.000Z
priv/repo/migrations/20200416000727_add_timers_table.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
2
2020-04-14T02:17:46.000Z
2021-03-10T11:09:05.000Z
priv/repo/migrations/20200416000727_add_timers_table.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
null
null
null
defmodule Militerm.Repo.Migrations.AddTimersTable do use Ecto.Migration def change do create table(:timers) do add :entity_id, :string add :data, :map timestamps() end create unique_index(:timers, [:entity_id]) end end
17.2
52
0.670543
1cf4a605e2bcf424caa8cd6548a881bc97e072dc
5,288
ex
Elixir
lib/liblink/cluster/discover/service.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/cluster/discover/service.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/cluster/discover/service.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 Xerpa # 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, soft...
31.664671
97
0.625946
1cf4b014e439b39bafa35ca2e7c6d36e6fb57eb8
1,152
ex
Elixir
lib/movement/builders/revision_uncorrect_all.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/movement/builders/revision_uncorrect_all.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/movement/builders/revision_uncorrect_all.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Movement.Builders.RevisionUncorrectAll do @behaviour Movement.Builder import Movement.Context, only: [assign: 3] alias Accent.Scopes.Translation, as: TranslationScope alias Accent.{Repo, Translation} alias Movement.Mappers.Operation, as: OperationMapper @action "uncorrect_conflict" def build...
28.8
99
0.716146
1cf4c3b9ba6c66424dc5f7c0ba7251b74c738a0a
108
ex
Elixir
lib/wolfgang/repo.ex
davidenglishmusic/wolfgang
7f8c29278be4f12412afb35efcf342455a805004
[ "MIT" ]
null
null
null
lib/wolfgang/repo.ex
davidenglishmusic/wolfgang
7f8c29278be4f12412afb35efcf342455a805004
[ "MIT" ]
null
null
null
lib/wolfgang/repo.ex
davidenglishmusic/wolfgang
7f8c29278be4f12412afb35efcf342455a805004
[ "MIT" ]
null
null
null
defmodule Wolfgang.Repo do use Ecto.Repo, otp_app: :wolfgang, adapter: Ecto.Adapters.Postgres end
18
35
0.731481
1cf4f4ba3712b2abc8b35c092af21316d99ee935
1,195
ex
Elixir
lib/exq/heartbeat/server.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
1,406
2015-01-16T03:00:32.000Z
2022-03-28T11:38:22.000Z
lib/exq/heartbeat/server.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
372
2015-01-08T05:15:11.000Z
2022-03-18T18:05:34.000Z
lib/exq/heartbeat/server.ex
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
217
2015-02-01T20:21:36.000Z
2022-01-28T16:19:55.000Z
defmodule Exq.Heartbeat.Server do use GenServer require Logger alias Exq.Support.Config alias Exq.Redis.Heartbeat defmodule State do defstruct [:namespace, :node_id, :redis, :interval] end def start_link(options) do GenServer.start_link( __MODULE__, %State{ namespace: Keyword...
23.431373
85
0.651883
1cf53aec216374751ed743ac5d32a6ff03ea76dd
1,707
ex
Elixir
lib/gremlex/deserializer.ex
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
61
2018-05-10T17:03:41.000Z
2021-04-28T21:45:27.000Z
lib/gremlex/deserializer.ex
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
19
2018-05-10T17:14:42.000Z
2020-12-17T20:43:07.000Z
lib/gremlex/deserializer.ex
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
24
2018-08-23T17:42:26.000Z
2022-03-22T20:31:16.000Z
defmodule Gremlex.Deserializer do @moduledoc """ Deserializer module for deserializing data returned back from Gremlin. """ alias Gremlex.{Edge, Vertex, VertexProperty} def deserialize(%{"result" => result}) do case result["data"] do nil -> nil %{"@type" => type, "@value" => value} -...
22.168831
72
0.630931
1cf550ff7eca21734755bc9ca60d104e334797f3
4,613
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v4/api/pagespeedapi.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v4/api/pagespeedapi.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v4/api/pagespeedapi.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...
43.518868
187
0.653588
1cf55604dc4c7ae621363255fae4add71826752c
2,013
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/audit_log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/audit_log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/audit_log_config.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...
40.26
316
0.735221
1cf559acdfc0fdef63eac9502af17d295cfef5a1
1,941
ex
Elixir
lib/todays_pizza_web.ex
JohnB/todays_pizza
816c8f4f566558bbf8910ef6dd20e363bcddf8fd
[ "MIT" ]
null
null
null
lib/todays_pizza_web.ex
JohnB/todays_pizza
816c8f4f566558bbf8910ef6dd20e363bcddf8fd
[ "MIT" ]
null
null
null
lib/todays_pizza_web.ex
JohnB/todays_pizza
816c8f4f566558bbf8910ef6dd20e363bcddf8fd
[ "MIT" ]
null
null
null
defmodule TodaysPizzaWeb 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 TodaysPizzaWeb, :controller use TodaysPizzaWeb, :view The definitions below will be executed for every view, ...
23.670732
76
0.693457
1cf564c7dcc640f42307346ad70292c58aa7f50c
926
ex
Elixir
lib/lib/token.ex
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
lib/lib/token.ex
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
lib/lib/token.ex
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
defmodule Xin.Token do import Joken @moduledoc """ jwt token模块 配置 config.exs config :xin, :token, secret: "xxxxxxxxxxxxxxxx" """ @secret Application.get_env(:xin, :token)[:secret] || "secret_key" # 创建一个token def new(_conn, data) do data |> token |> with_signer(hs256(@secret)) |>...
17.148148
68
0.616631
1cf5b94815c9e8ddb33f06232bb7de0f2f0d1718
1,738
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metros_list_response.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/metros_list_response.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/metros_list_response.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...
34.76
154
0.7313
1cf5bbfae52621f4be147915294dfc62d869c988
3,063
exs
Elixir
mix.exs
Api2sem2021/5-ADS2020-2-equipe6-api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
null
null
null
mix.exs
Api2sem2021/5-ADS2020-2-equipe6-api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
3
2020-09-20T22:59:35.000Z
2020-09-20T23:00:47.000Z
mix.exs
SEGURANCA-DA-INFORMACAO-LGPD/sakavault_api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
null
null
null
defmodule SakaVault.MixProject do use Mix.Project def project do [ app: :sakavault, version: "0.1.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), test_coverage: [tool: ExCoveralls], compilers: [:phoenix] ++ Mix.compilers(), start_permanent: Mix.env() == ...
26.405172
84
0.538035
1cf5ca44a87cba4d2f10c70ea76a68ffe5228b01
76,712
ex
Elixir
lib/mint/http2.ex
moogle19/mint
80ecfad07dfcefd70d3c729624f7ae3c147ae052
[ "Apache-2.0" ]
null
null
null
lib/mint/http2.ex
moogle19/mint
80ecfad07dfcefd70d3c729624f7ae3c147ae052
[ "Apache-2.0" ]
null
null
null
lib/mint/http2.ex
moogle19/mint
80ecfad07dfcefd70d3c729624f7ae3c147ae052
[ "Apache-2.0" ]
null
null
null
defmodule Mint.HTTP2 do @moduledoc """ Processless HTTP client with support for HTTP/2. This module provides a data structure that represents an HTTP/2 connection to a given server. The connection is represented as an opaque struct `%Mint.HTTP2{}`. The connection is a data structure and is not backed by a pr...
35.351152
107
0.675931
1cf5d22600d56e6a1d2257e6bb1dee33b7cbdd58
10,222
ex
Elixir
lib/ex_unit/lib/ex_unit/runner.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Runner do @moduledoc false alias ExUnit.EventManager, as: EM def run(async, sync, opts, load_us) do {opts, config} = configure(opts) :erlang.system_flag(:backtrace_depth, Keyword.fetch!(opts, :stacktrace_depth)) {run_us, _} = :timer.tc fn -> E...
27.777174
93
0.603404
1cf5e969a5959f57e21b3f2ba95ec08099022b19
206
exs
Elixir
test/test_helper.exs
StephenTurley/opencensus_ecto
b15f0b54ee07203e61714edb840ff165f8d4a719
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
StephenTurley/opencensus_ecto
b15f0b54ee07203e61714edb840ff165f8d4a719
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
StephenTurley/opencensus_ecto
b15f0b54ee07203e61714edb840ff165f8d4a719
[ "BSD-3-Clause" ]
1
2022-01-11T19:06:00.000Z
2022-01-11T19:06:00.000Z
Application.ensure_all_started(:opencensus) Application.ensure_all_started(:telemetry) OpencensusEcto.TestRepo.start_link() ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(OpencensusEcto.TestRepo, :manual)
25.75
64
0.84466
1cf5f288f18c2ceb81d6c70dee874a07e05675d7
1,218
ex
Elixir
lib/portunes_core/repository.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
1
2021-02-25T16:49:20.000Z
2021-02-25T16:49:20.000Z
lib/portunes_core/repository.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
null
null
null
lib/portunes_core/repository.ex
portunes/portunes-core
24112f9f593275611e96d59cc0f0e4117ed0d21f
[ "Apache-2.0" ]
null
null
null
defmodule PortunesCore.Repository do @moduledoc """ Defines the API for accessing configuration repositories, for example a Git repo, a http site or any other place where we might persist the configuration. """ alias PortunesCore.Snapshot alias PortunesCore.Repositories @type repo_name :: String.t() @...
36.909091
98
0.716749
1cf60d5fda31b6f8264b3becdc519ab67bd82dc1
1,351
ex
Elixir
lib/ex_mon_web/router.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
lib/ex_mon_web/router.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
lib/ex_mon_web/router.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
defmodule ExMonWeb.Router do use ExMonWeb, :router pipeline :api do plug :accepts, ["json"] end pipeline :auth do plug ExMonWeb.Auth.Pipeline end scope "/api", ExMonWeb do pipe_through :api post "/trainers", TrainersController, :create post "/trainers/signin", TrainersController, :sig...
28.145833
78
0.698742
1cf66fbb79ec35b7d31773217ada5c91ce51b2a6
718
ex
Elixir
lib/chatbot_api_web/gettext.ex
GregoireLoens/chatbot_api
0a09ae821332b40d9b0fe1cec0b348fccb874613
[ "Apache-2.0" ]
null
null
null
lib/chatbot_api_web/gettext.ex
GregoireLoens/chatbot_api
0a09ae821332b40d9b0fe1cec0b348fccb874613
[ "Apache-2.0" ]
null
null
null
lib/chatbot_api_web/gettext.ex
GregoireLoens/chatbot_api
0a09ae821332b40d9b0fe1cec0b348fccb874613
[ "Apache-2.0" ]
null
null
null
defmodule ChatbotApiWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import ChatbotApiWeb.Gettext # Simple translation gettext "Her...
28.72
72
0.685237
1cf6734286115304ccfa9cb9bb8a8937ca1e65b7
726
ex
Elixir
lib/plausible_web/plugs/session_timeout_plug.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-04-08T16:39:00.000Z
2020-04-08T16:39:00.000Z
lib/plausible_web/plugs/session_timeout_plug.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible_web/plugs/session_timeout_plug.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.SessionTimeoutPlug do import Plug.Conn def init(opts \\ []) do opts end def call(conn, opts) do timeout_at = get_session(conn, :session_timeout_at) user_id = get_session(conn, :current_user_id) cond do user_id && timeout_at && now() > timeout_at -> conn ...
22.6875
100
0.669421
1cf6765e9719bd10194a717f9d229991dee7cb41
1,983
ex
Elixir
lib/advent_of_code_2019/day08.ex
scorphus/advent-of-code-2019
48305ff3b13b23cac60bed02349775d8feb05a3b
[ "BSD-3-Clause" ]
null
null
null
lib/advent_of_code_2019/day08.ex
scorphus/advent-of-code-2019
48305ff3b13b23cac60bed02349775d8feb05a3b
[ "BSD-3-Clause" ]
null
null
null
lib/advent_of_code_2019/day08.ex
scorphus/advent-of-code-2019
48305ff3b13b23cac60bed02349775d8feb05a3b
[ "BSD-3-Clause" ]
null
null
null
defmodule AdventOfCode2019.SpaceImageFormat do @moduledoc """ Day 8 — https://adventofcode.com/2019/day/8 """ @doc """ iex> ["123456789012"] |> AdventOfCode2019.SpaceImageFormat.part1() 4 """ @spec part1(Enumerable.t()) :: integer() def part1(in_stream) do in_stream |> Stream.map(fn line -> ...
26.797297
96
0.577408
1cf686f6626e674388209d3c39dcfd8288c96e39
1,092
ex
Elixir
bleacher_fire/lib/bleacher_fire/application.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
null
null
null
bleacher_fire/lib/bleacher_fire/application.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
1
2021-03-10T05:45:29.000Z
2021-03-10T05:45:29.000Z
bleacher_fire/lib/bleacher_fire/application.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
null
null
null
defmodule BleacherFire.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the endpoint when the application start...
33.090909
71
0.737179
1cf6957206bb416d23becaf425b7cf450e4103c5
1,983
exs
Elixir
meetup/meetup.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
meetup/meetup.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
meetup/meetup.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
defmodule Meetup do @moduledoc """ Calculate meetup dates. """ @map %{ 1 => :monday, 2 => :tuesday, 3 => :wednesday, 4 => :thursday, 5 => :friday, 6 => :saturday, 7 => :sunday, } @type weekday :: :monday | :tuesday | :wednesday | :thursday | :friday | :saturday | :sun...
25.423077
89
0.602118
1cf695d9181c543ff0bab6203caaf7246b811e72
46
ex
Elixir
lib/ex_no_cache.ex
zentetsukenz/ex_no_cache
b88c02ab0c91d81a1e4d516f843310f2d7db45df
[ "Apache-2.0" ]
null
null
null
lib/ex_no_cache.ex
zentetsukenz/ex_no_cache
b88c02ab0c91d81a1e4d516f843310f2d7db45df
[ "Apache-2.0" ]
null
null
null
lib/ex_no_cache.ex
zentetsukenz/ex_no_cache
b88c02ab0c91d81a1e4d516f843310f2d7db45df
[ "Apache-2.0" ]
null
null
null
defmodule ExNoCache do @moduledoc false end
11.5
22
0.804348
1cf6b37f87ce2748364271e218b9b68e592d9cf2
2,803
exs
Elixir
mix.exs
crwedman/earmark
55b38ed5ff5ee3d0b48edcecb61f40635b68d17c
[ "Apache-1.1" ]
null
null
null
mix.exs
crwedman/earmark
55b38ed5ff5ee3d0b48edcecb61f40635b68d17c
[ "Apache-1.1" ]
null
null
null
mix.exs
crwedman/earmark
55b38ed5ff5ee3d0b48edcecb61f40635b68d17c
[ "Apache-1.1" ]
null
null
null
defmodule Earmark.Mixfile do use Mix.Project @version "1.4.4" @url "https://github.com/pragdave/earmark" @deps [ # {:credo, "~> 0.10", only: [:dev, :test]}, # {:dialyxir, "~> 0.5", only: [:dev, :test]} {:benchfella, "~> 0.3.0", only: [:dev]}, {:excoveralls, "~> 0.11.2", only: [:test]}, {:...
25.026786
109
0.572958
1cf6b40b7144b9db07863c6e8a6befec0d4eaf62
2,036
ex
Elixir
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_inspect_content_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_inspect_content_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_inspect_content_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.921569
252
0.777505
1cf6d22dbf967f682c1ae3d0f9e3d1da446edfbd
228
ex
Elixir
lib/rockelivery_web/views/orders_view.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-09-27T06:15:08.000Z
2021-09-27T06:15:08.000Z
lib/rockelivery_web/views/orders_view.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
null
null
null
lib/rockelivery_web/views/orders_view.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-12-21T12:47:59.000Z
2021-12-21T12:47:59.000Z
defmodule RockeliveryWeb.OrdersView do use RockeliveryWeb, :view alias Rockelivery.Order def render("create.json", %{order: %Order{} = order}) do %{ message: "Order created", order: order } end end
17.538462
58
0.649123
1cf6f16fb8b0537e5e123467ffd233c36cb6cc3f
99
exs
Elixir
rtp_to_hls/.iex.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
84
2020-08-01T14:57:29.000Z
2022-03-27T13:28:23.000Z
rtp_to_hls/.iex.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
75
2020-08-24T08:01:53.000Z
2022-03-17T10:41:22.000Z
rtp_to_hls/.iex.exs
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
17
2020-09-15T21:04:23.000Z
2022-03-31T07:43:48.000Z
{:ok, variable}= Membrane.Demo.RtpToHls.Pipeline.start_link(5000) Membrane.Pipeline.play(variable)
33
65
0.808081
1cf738a3deb227df63d54c69ea93399163b3ffd5
1,188
exs
Elixir
test/exceptions_test.exs
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
464
2015-03-24T22:03:51.000Z
2022-03-31T06:24:40.000Z
test/exceptions_test.exs
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
104
2015-03-25T09:52:34.000Z
2022-03-11T11:22:47.000Z
test/exceptions_test.exs
blake-education/csv
7a9ace3b0f844f0832f96e2b04286ef1a6f4689c
[ "MIT" ]
93
2015-03-25T08:58:00.000Z
2021-12-08T19:44:45.000Z
defmodule ExceptionsTest do use ExUnit.Case alias CSV.EncodingError alias CSV.EscapeSequenceError alias CSV.StrayQuoteError test "exception messaging about encoding errors" do exception = EncodingError.exception(line: 1, message: "BAD ENCODING") assert exception.message == "BAD ENCODING on line 1" ...
33.942857
110
0.689394
1cf73eea495834e8a9d4421932bf730082932799
1,674
ex
Elixir
lib/twivia/accounts.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
lib/twivia/accounts.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
lib/twivia/accounts.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
defmodule Twivia.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Twivia.Repo alias Twivia.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo.all(User) end @do...
15.942857
59
0.565114
1cf74977e72e985a9082acaeeb02ac2429a749bd
1,570
exs
Elixir
test/order_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
test/order_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
test/order_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
defmodule Multicloud.Ingram.OrderManagementTest do use ExUnit.Case alias Ingram.Marketplace.Model alias Ingram.Marketplace.{CustomerManagement, OrderManagement} test "Order Management" do customer = TestHelper.customer_factory() assert {:ok, %Model.GetCustomerDetails{} = customer} = Custo...
28.545455
80
0.612102
1cf79efb8bb98114a62daaa52e0f6d303e5c6381
2,159
ex
Elixir
apps/olx/lib/problem.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
6
2021-07-19T20:00:22.000Z
2021-11-03T03:27:40.000Z
apps/olx/lib/problem.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
null
null
null
apps/olx/lib/problem.ex
betrybe/esperanto
65e40c28914397ef77f5d2c4c29001330beba19f
[ "Apache-2.0" ]
null
null
null
defmodule Esperanto.Olx.Problem do @moduledoc """ Parse and OLX problem """ alias Esperanto.Parser alias Esperanto.Parsers.TopLevel alias Esperanto.Walker def parse(input) do parsers = [ {Esperanto.Olx.Parsers.Label, nil}, {Esperanto.Olx.Parsers.IncorrectChoice, nil}, {Esperanto.Ol...
19.990741
73
0.624826
1cf7c1fddf469a07419a656f3d0d0d1299d42fe4
817
exs
Elixir
mix.exs
kianmeng/gun
fcd889a598ff90aab21f24fc3ca1a304dad00b0a
[ "0BSD" ]
null
null
null
mix.exs
kianmeng/gun
fcd889a598ff90aab21f24fc3ca1a304dad00b0a
[ "0BSD" ]
2
2020-02-03T03:25:53.000Z
2021-12-23T13:27:11.000Z
mix.exs
kianmeng/gun
fcd889a598ff90aab21f24fc3ca1a304dad00b0a
[ "0BSD" ]
7
2019-08-15T15:38:45.000Z
2021-12-31T13:15:07.000Z
defmodule Gun.Mixfile do use Mix.Project def project do [ app: :gun, version: "2.0.0", description: description(), deps: deps(), package: package() ] end defp description do """ HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP. """ end defp deps do ...
19.926829
91
0.531212
1cf7ceb4711acf4911ae67e28b53754fae741c56
2,585
ex
Elixir
lib/credo/execution/task/validate_config.ex
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
lib/credo/execution/task/validate_config.ex
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
lib/credo/execution/task/validate_config.ex
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
defmodule Credo.Execution.Task.ValidateConfig do @moduledoc false use Credo.Execution.Task alias Credo.Check alias Credo.CLI.Output.UI def call(exec, _opts) do exec |> validate_checks() |> remove_missing_checks() |> inspect_config_if_debug() end defp validate_checks(%Execution{checks: ...
25.097087
96
0.638685
1cf7d5a7349f0c29ba6a5e5f46b9dcb97541fdfa
1,765
ex
Elixir
lib/weather/cli.ex
LanfordCai/ElixirWeather
a7667bde35b6ee1073c324266ae15dbadb6d33f7
[ "MIT" ]
1
2016-02-17T19:10:42.000Z
2016-02-17T19:10:42.000Z
lib/weather/cli.ex
LanfordCai/ElixirWeather
a7667bde35b6ee1073c324266ae15dbadb6d33f7
[ "MIT" ]
null
null
null
lib/weather/cli.ex
LanfordCai/ElixirWeather
a7667bde35b6ee1073c324266ae15dbadb6d33f7
[ "MIT" ]
null
null
null
defmodule Weather.CLI do @moduledoc """ Handle the command line parsing and dispatching to the respective functions that list the weather conditions of provided city. """ def main(argv) do argv |> parse_args |> process end @doc """ 'argv' can be -h or --help, which returns :help. Other...
24.513889
97
0.642493
1cf7f872619cfec14bce547409585ee08fc6d583
2,497
ex
Elixir
lib/git_bisect_app_web.ex
bdubaut/git-bisect-talk
5b8691935a4e73307d3099d8b1b3af7dddbc2904
[ "MIT" ]
null
null
null
lib/git_bisect_app_web.ex
bdubaut/git-bisect-talk
5b8691935a4e73307d3099d8b1b3af7dddbc2904
[ "MIT" ]
null
null
null
lib/git_bisect_app_web.ex
bdubaut/git-bisect-talk
5b8691935a4e73307d3099d8b1b3af7dddbc2904
[ "MIT" ]
null
null
null
defmodule GitBisectAppWeb 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 GitBisectAppWeb, :controller use GitBisectAppWeb, :view The definitions below will be executed for every view,...
22.495495
81
0.685623
1cf7ffbe3e1db9dadc6f76b54a2d26cae180d08f
452
ex
Elixir
lib/lle_cymraeg/ecto_enums.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg/ecto_enums.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg/ecto_enums.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
import EctoEnum defenum(AccountRole, :account_role, [:admin, :person]) defenum(Gender, :gender, [:male, :female, :other]) defenum(InvitationType, :invitation_type, [:direct, :location]) defenum(InvitationStatus, :invitation_status, [:pending, :accepted, :declined, :maybe]) defenum(LanguageFrequency, :language_frequenc...
50.222222
97
0.767699
1cf80bdc26496efde9083d6b940e0be8d84cc690
6,883
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/log_metric.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/log_metric.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/log_metric.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...
98.328571
1,075
0.766236
1cf82a0b61cbefb7c8827f65039bf416d3e93c9c
13,377
ex
Elixir
lib/oli/delivery/attempts/core.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/attempts/core.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/attempts/core.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.Core do import Ecto.Query, warn: false alias Oli.Repo alias Oli.Delivery.Sections alias Oli.Delivery.Sections.{Section, Enrollment} alias Oli.Publishing.PublishedResource alias Oli.Resources.Revision alias Oli.Delivery.Attempts.Core.{ PartAttempt, ResourceAccess,...
30.402273
114
0.650146
1cf83f8adf9c0b788e073e4cd87765b993e1613d
6,042
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/student_submission.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/student_submission.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/student_submission.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...
42.549296
190
0.693644
1cf8a0ceae1c4379ab4e04e6495eb86a3d092461
1,323
ex
Elixir
web/models/oauth/client.ex
deadmp/core
4c244af3326f362ac6411e8996fb1cff0b5a29e6
[ "MIT" ]
null
null
null
web/models/oauth/client.ex
deadmp/core
4c244af3326f362ac6411e8996fb1cff0b5a29e6
[ "MIT" ]
null
null
null
web/models/oauth/client.ex
deadmp/core
4c244af3326f362ac6411e8996fb1cff0b5a29e6
[ "MIT" ]
null
null
null
defmodule Core.OAuth.Client do @moduledoc """ OAuth2 Clients """ #https://developers.google.com/oauthplayground/#step1&url=https%3A%2F%2F&content_type=application%2Fjson&http_method=GET&useDefaultOauthCred=unchecked&oauthEndpointSelect=Custom&oauthAuthEndpointValue=http%3A%2F%2Flocalhost%3A4000%2Foauth%2Fv1%2Fa...
37.8
547
0.751323
1cf8b801a12cb6536cc49ed131aa1158a641296d
2,311
ex
Elixir
apps/tfcon/lib/tfcon/schemas/user.ex
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
apps/tfcon/lib/tfcon/schemas/user.ex
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
2
2021-03-10T02:00:57.000Z
2021-05-10T21:22:39.000Z
apps/tfcon/lib/tfcon/schemas/user.ex
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
defmodule Tfcon.Accounts.User do @moduledoc """ This schema is used for storing the user information. Only name is required for create a user. However, you won't be able to authenticate without a password Account number and balance are auto generated. fields: * name - self described * password - self...
30.012987
101
0.701428
1cf8bd1bedc3efc744857e202ae27f2f89670ff5
608
exs
Elixir
mix.exs
jschoch/ndecode
d7718f28359068e5b56e2f7e615b39b7bbddebd5
[ "MIT" ]
1
2016-05-05T14:08:48.000Z
2016-05-05T14:08:48.000Z
mix.exs
jschoch/ndecode
d7718f28359068e5b56e2f7e615b39b7bbddebd5
[ "MIT" ]
1
2015-04-09T15:34:10.000Z
2015-04-09T15:34:10.000Z
mix.exs
jschoch/ndecode
d7718f28359068e5b56e2f7e615b39b7bbddebd5
[ "MIT" ]
null
null
null
defmodule Ndecode.Mixfile do use Mix.Project def project do [app: :ndecode, version: "0.0.2", elixir: "~> 1.0", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger]] end # Depe...
19.612903
77
0.601974
1cf8d34933f6b30bb4b7ca5deb02776db59187b9
1,511
exs
Elixir
test/connection_test.exs
nulian/amqp
4b22f46f2b7b6b6d98e17ad97629bab91a559dfb
[ "MIT" ]
null
null
null
test/connection_test.exs
nulian/amqp
4b22f46f2b7b6b6d98e17ad97629bab91a559dfb
[ "MIT" ]
null
null
null
test/connection_test.exs
nulian/amqp
4b22f46f2b7b6b6d98e17ad97629bab91a559dfb
[ "MIT" ]
null
null
null
defmodule ConnectionTest do use ExUnit.Case import AMQP.Core alias AMQP.Connection test "open connection with default settings" do assert {:ok, conn} = Connection.open() assert :ok = Connection.close(conn) end test "open connection with host as binary" do assert {:ok, conn} = Connection.open(h...
30.836735
91
0.677035
1cf8ddddffdc670f2650a729085ba4feb269115d
15,180
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_operations.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_operations.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_operations.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...
46.851852
434
0.637154
1cf8ed64b1f21902f808ef4a0409f8bff5cf41ac
1,185
ex
Elixir
Chapter9/dynamic_workers/lib/todo/database.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/database.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/database.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
# Todo Database [supervisor] # This module supervises the creation of database workers defmodule Todo.Database do @db_folder "./persist" @pool_size 3 # --------- # Interface functions # --------- @spec store(charlist, any) :: :ok def store(key, data) do key |> choose_worker() |> Todo.Databas...
20.431034
72
0.629536
1cf8ef79fa2b61fa27fc8827c8b20875427d664b
3,607
ex
Elixir
apps/dockup_ui/lib/dockup_ui/callback_protocol.ex
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
1
2019-08-20T07:45:10.000Z
2019-08-20T07:45:10.000Z
apps/dockup_ui/lib/dockup_ui/callback_protocol.ex
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
null
null
null
apps/dockup_ui/lib/dockup_ui/callback_protocol.ex
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
2
2019-03-08T10:51:34.000Z
2019-08-20T07:45:13.000Z
defprotocol DockupUi.CallbackProtocol do # All deployments are created with this initial status. Payload is nil def queued(callback_data, deployment, payload) # Called when deployment is picked up from the queue and handed off for deployment def processing(callback_data, deployment, payload) # Called before...
52.275362
109
0.764624
1cf8ff3c16434c257faf83d5db57056dc2e1f73a
44
exs
Elixir
test/cli_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
test/cli_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
test/cli_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
defmodule CliTest do use ExUnit.Case end
8.8
20
0.772727
1cf902d54a7e016a91e6bc501eb74cb849dd9f7d
1,467
exs
Elixir
config/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
config/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
config/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "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 # By default, the umbrella project as well as each child # application will require this configuration file, ensuring # they all use the same configuration. While one could # configu...
34.116279
75
0.738923
1cf908507ec33bd43d0e136e90225a9f411eff53
260
ex
Elixir
test/support/test_setup/shipment_unit.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/support/test_setup/shipment_unit.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/support/test_setup/shipment_unit.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.TestSetup.ShipmentUnit do def create_shipment_units do cart = Nectar.TestSetup.Order.setup_cart {:ok, %{shipment_units: shipment_units}} = Nectar.Workflow.CreateShipmentUnits.run(Nectar.Repo, cart) shipment_units end end
28.888889
64
0.761538
1cf90dedd67edf3480b1616da39a7ac3e29fdf36
2,336
ex
Elixir
lib/open890_web.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
45
2021-01-24T01:54:04.000Z
2022-02-28T03:28:13.000Z
lib/open890_web.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
57
2021-01-28T19:18:33.000Z
2022-01-23T17:31:50.000Z
lib/open890_web.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
5
2021-01-27T02:29:42.000Z
2022-01-15T14:03:24.000Z
defmodule Open890Web 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 Open890Web, :controller use Open890Web, :view The definitions below will be executed for every view, controller, ...
21.831776
76
0.680651
1cf91e6aa2ac316bae9853cfc3498e0fad3b74ce
6,765
exs
Elixir
test/lib/bamboo/adapters/mandrill_adapter_test.exs
davidlibrera/bamboo
57d6f7627df4370ea243688dbc626937ca3b78c1
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mandrill_adapter_test.exs
davidlibrera/bamboo
57d6f7627df4370ea243688dbc626937ca3b78c1
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mandrill_adapter_test.exs
davidlibrera/bamboo
57d6f7627df4370ea243688dbc626937ca3b78c1
[ "MIT" ]
1
2021-03-29T17:43:54.000Z
2021-03-29T17:43:54.000Z
defmodule Bamboo.MandrillAdapterTest do use ExUnit.Case alias Bamboo.Email alias Bamboo.MandrillHelper alias Bamboo.MandrillAdapter @config %{adapter: MandrillAdapter, api_key: "123_abc"} @config_with_bad_key %{adapter: MandrillAdapter, api_key: nil} defmodule FakeMandrill do use Plug.Router pl...
30.066667
92
0.602365
1cf92fbb10593b4908106828faa9038fa1d593af
672
exs
Elixir
episode15/todo_list/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/todo_list/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/todo_list/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule TodoList.Mixfile do use Mix.Project def project do [app: :todo_list, 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...
20.363636
77
0.608631
1cf93ab61ca7a7b541cf2c6ddbe7d41040213799
2,428
ex
Elixir
lib/ex_doc/markdown/earmark.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/markdown/earmark.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/markdown/earmark.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Markdown.Earmark do @moduledoc """ ExDoc extension for the Earmark MarkDown parser. """ @behaviour ExDoc.Markdown @doc """ Check if the Earmark Markdown parser module is available. """ def available? do match?({:ok, _}, Application.ensure_all_started(:earmark)) and Code.ensure_loade...
24.039604
95
0.631796
1cf93df33eb17405622b26d4795bf8e6e24f89ca
4,447
ex
Elixir
apps/admin_api/lib/admin_api/v1/controllers/transaction_request_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/transaction_request_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/transaction_request_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.TransactionRequestController do use AdminAPI, :controller import AdminAPI.V1.ErrorHandler alias AdminAPI.V1.AccountHelper alias EWallet.TransactionRequestPolicy alias EWallet.Web.{SearchParser, SortParser, Paginator, Preloader} alias EWallet.{ TransactionRequestGate, Transacti...
34.742188
95
0.67034
1cf97c8982f5dd89368b055ca2ab7dcbb4c2f9b0
2,075
exs
Elixir
mix.exs
cyberhck/guardian_db
57bc0fecaf26e4c7d63e5fa1d18a7d527ba73bff
[ "MIT" ]
3
2021-04-22T03:44:56.000Z
2021-11-15T11:13:53.000Z
mix.exs
aleDsz/guardian_db
72b2799a0f97e55e7f1efb1c807f5bc9435e656d
[ "MIT" ]
null
null
null
mix.exs
aleDsz/guardian_db
72b2799a0f97e55e7f1efb1c807f5bc9435e656d
[ "MIT" ]
null
null
null
defmodule Guardian.DB.Mixfile do use Mix.Project @version "2.1.0" @source_url "https://github.com/ueberauth/guardian_db" def project do [ name: "Guardian.DB", app: :guardian_db, version: @version, description: "DB tracking for token validity", elixir: "~> 1.4 or ~> 1.5", ...
22.802198
72
0.519518
1cf996cc027344622533e2e84730ff8e8ecdf5be
1,373
ex
Elixir
lib/examples/static_data.ex
QuinnWilton/wormwood
320bec700cb454e81f953bb8a13debadff2a70ad
[ "MIT" ]
null
null
null
lib/examples/static_data.ex
QuinnWilton/wormwood
320bec700cb454e81f953bb8a13debadff2a70ad
[ "MIT" ]
null
null
null
lib/examples/static_data.ex
QuinnWilton/wormwood
320bec700cb454e81f953bb8a13debadff2a70ad
[ "MIT" ]
null
null
null
defmodule Wormwood.Examples.StaticData do @moduledoc false def users do [ %{:id => 1, :name => "Foilz", :email => "ilovesecurity@please-dont-email-this.really"}, %{:id => 2, :name => "Batman", :email => "i@ambat.man"}, %{:id => 3, :name => "Vivi", :email => "blackmages@zidane.beep"}, %{:...
49.035714
131
0.538966
1cf9c6c4d3804ae3a09093f9f12554388e810769
1,613
exs
Elixir
mix.exs
huiqing/libcluster
78d366c03d8b180aa4db8bb25bf85a1ee70deb59
[ "MIT" ]
null
null
null
mix.exs
huiqing/libcluster
78d366c03d8b180aa4db8bb25bf85a1ee70deb59
[ "MIT" ]
null
null
null
mix.exs
huiqing/libcluster
78d366c03d8b180aa4db8bb25bf85a1ee70deb59
[ "MIT" ]
null
null
null
defmodule Cluster.Mixfile do use Mix.Project @version "3.2.2" @source_url "https://github.com/bitwalker/libcluster" def project do [app: :libcluster, version: @version, elixir: "~> 1.5", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: "Automatic E...
25.203125
101
0.584005
1cf9fddce9246aa27aa6b2180a7b2f3dd532b16f
407
ex
Elixir
lib/stixex/marking_definition/tlp.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/marking_definition/tlp.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/marking_definition/tlp.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.MarkingDefinition.TLP do use Ecto.Schema import Ecto.Changeset @derive Jason.Encoder @valid_colours ~w[white green amber red] @required_fields [:tlp] embedded_schema do field(:tlp, :string) end def changeset(struct, params) do struct |> cast(params, [:tlp]) |> validat...
20.35
47
0.707617
1cfa0b6cce4991eb0b130d1efa1e441699614dc4
403
exs
Elixir
priv/repo/migrations/20161214024453_create_coto.exs
reallinfo/cotoami
faaee71710019fa55a8215ea60d1d3bafc30d506
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
priv/repo/migrations/20161214024453_create_coto.exs
reallinfo/cotoami
faaee71710019fa55a8215ea60d1d3bafc30d506
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
priv/repo/migrations/20161214024453_create_coto.exs
reallinfo/cotoami
faaee71710019fa55a8215ea60d1d3bafc30d506
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule Cotoami.Repo.Migrations.CreateCoto do use Ecto.Migration def change do create table(:cotos, primary_key: false) do add :id, :uuid, primary_key: true add :content, :text, null: false add :amishi_id, references(:amishis, on_delete: :delete_all, type: :uuid), null: false timesta...
25.1875
92
0.682382
1cfa7b73493b6af14f90e0cc630bb97c8c01c34a
563
ex
Elixir
lib/inmana/supplies/get_by_expiration.ex
andrermartins/inmana
19f36e3b7ab509ea72af2eff22981adf2ffcacab
[ "MIT" ]
null
null
null
lib/inmana/supplies/get_by_expiration.ex
andrermartins/inmana
19f36e3b7ab509ea72af2eff22981adf2ffcacab
[ "MIT" ]
null
null
null
lib/inmana/supplies/get_by_expiration.ex
andrermartins/inmana
19f36e3b7ab509ea72af2eff22981adf2ffcacab
[ "MIT" ]
null
null
null
defmodule Inmana.Supplies.GetByExpiration do import Ecto.Query alias Inmana.{Repo, Restaurant, Supply} def call do today = Date.utc_today() begin_of_week = Date.beginning_of_week(today) end_of_week = Date.end_of_week(today) query = from supply in Supply, where: supply.ex...
24.478261
84
0.662522
1cfa7ea6b786c65ef2a3b7376b210fd82f75c216
3,739
ex
Elixir
lib/chat_api_web/controllers/lambda_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/lambda_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/lambda_controller.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.LambdaController do use ChatApiWeb, :controller alias ChatApi.Lambdas alias ChatApi.Lambdas.Lambda action_fallback(ChatApiWeb.FallbackController) plug(:authorize when action in [:show, :update, :delete, :deploy, :invoke]) @spec authorize(Plug.Conn.t(), any()) :: any() defp authori...
35.273585
100
0.632255