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
7471adf5fe6c9c419eb8635c81440250cc658c96
690
ex
Elixir
lib/khafra/job/index_opts.ex
praxis-of-nines/khemia-search
554df16836b8d98e993d72a2a2b17894f1e25454
[ "MIT" ]
7
2019-02-05T20:58:56.000Z
2020-05-29T13:34:32.000Z
lib/khafra/job/index_opts.ex
praxis-of-nines/khafra-search
554df16836b8d98e993d72a2a2b17894f1e25454
[ "MIT" ]
null
null
null
lib/khafra/job/index_opts.ex
praxis-of-nines/khafra-search
554df16836b8d98e993d72a2a2b17894f1e25454
[ "MIT" ]
null
null
null
defmodule Khafra.Job.IndexOpts do @moduledoc """ Run through command line options and convert them to full option list for Index job. """ alias Khafra.Job.Index, as: IndexJob def run(cmd_opts), do: run(cmd_opts, [], []) def run(["all"|cmd_opts], indices, opts) do run(cmd_opts, indices, [{:option, "--...
23.793103
86
0.642029
7471bf034572f72e23c9a9daffcc87d54ed85cf3
624
ex
Elixir
lib/vector/errors.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
95
2020-10-18T09:27:46.000Z
2022-03-29T20:03:16.000Z
lib/vector/errors.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2021-09-22T20:30:08.000Z
2021-10-13T23:55:34.000Z
lib/vector/errors.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2020-12-15T12:36:16.000Z
2020-12-15T12:36:16.000Z
defmodule Aja.Vector.IndexError do defexception [:index, :size] @impl true def exception(index: index, size: size) do %__MODULE__{index: index, size: size} end @impl true def message(%__MODULE__{index: index, size: 0}) do "out of bound index: #{index} for empty vector" end def message(%__MODU...
19.5
63
0.663462
7471d61e85eb0aa56ec0086c03ebf81afa3d2352
1,731
ex
Elixir
lib/google_api/big_query/v2/model/dataset_reference.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/dataset_reference.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/dataset_reference.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.055556
233
0.735413
7472136119e3700d2cfde64426a46d511707dc99
5,059
exs
Elixir
test/uuid/ecto/type_test.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
7
2020-10-15T01:39:48.000Z
2022-03-24T16:26:23.000Z
test/uuid/ecto/type_test.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
11
2020-10-14T17:44:23.000Z
2021-03-12T19:51:39.000Z
test/uuid/ecto/type_test.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
null
null
null
defmodule UUID.Ecto.TypeTest do use ExUnit.Case # ---------------------------------------------------------------------------- # Setup # ---------------------------------------------------------------------------- alias UUID.{TestUUID1, TestUUID3, TestUUID4, TestUUID5, TestUUID6} test_types = [TestUUID1,...
27.644809
89
0.551888
74724dec672c302e19f90ad4cf7b38a2c963f3cf
1,533
exs
Elixir
mix.exs
mudphone/ReagentDiffusion
fd2db107c03e726944c30aaa69d972c2026e2f98
[ "MIT" ]
6
2016-05-31T17:41:57.000Z
2016-06-17T03:24:20.000Z
mix.exs
mudphone/ReagentDiffusion
fd2db107c03e726944c30aaa69d972c2026e2f98
[ "MIT" ]
null
null
null
mix.exs
mudphone/ReagentDiffusion
fd2db107c03e726944c30aaa69d972c2026e2f98
[ "MIT" ]
null
null
null
defmodule Diffusion.Mixfile do use Mix.Project def project do [app: :diffusion, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, al...
28.924528
78
0.607306
74727c8dcd64669a467df5129ef0fe0eb1a89c7c
122
ex
Elixir
lib/elixir_neural_network/trainer.ex
ne1ro/elixir-neural-network
d3edcd1a6c2aa1c31ded659c377a1b41a4ced60f
[ "MIT" ]
null
null
null
lib/elixir_neural_network/trainer.ex
ne1ro/elixir-neural-network
d3edcd1a6c2aa1c31ded659c377a1b41a4ced60f
[ "MIT" ]
null
null
null
lib/elixir_neural_network/trainer.ex
ne1ro/elixir-neural-network
d3edcd1a6c2aa1c31ded659c377a1b41a4ced60f
[ "MIT" ]
null
null
null
defmodule ElixixNeuralNetwork.Trainer do @moduledoc """ Neural network trainer """ def start_link do end end
13.555556
40
0.713115
74727fcc0ec12cd16478aad081522c438579ceac
343
ex
Elixir
typeclassopedia_again/lib/category.ex
Shakadak/elixir_playground
3a9c0319d5c8a0e296e19d9ae98fea01f8266f44
[ "MIT" ]
null
null
null
typeclassopedia_again/lib/category.ex
Shakadak/elixir_playground
3a9c0319d5c8a0e296e19d9ae98fea01f8266f44
[ "MIT" ]
null
null
null
typeclassopedia_again/lib/category.ex
Shakadak/elixir_playground
3a9c0319d5c8a0e296e19d9ae98fea01f8266f44
[ "MIT" ]
null
null
null
defmodule Category do defmacro definstance(name, do: body) do quote do defmodule unquote(name) do use Bask.Curry import Bask defoverridable_curried f >>> g, do: open __MODULE__, f .. g defoverridable_curried f <<< g, do: open __MODULE__, g .. f unquote(body) ...
19.055556
67
0.606414
747298f1af00f480bc704d3a7d25e37e8129c3b7
4,587
ex
Elixir
clients/content/lib/google_api/content/v21/model/service.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/service.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/service.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
59.571429
331
0.721605
74729d6abb3b7ac126a91e4cd94f6f4edac0c9e6
4,524
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/translate_document_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/translate/lib/google_api/translate/v3/model/translate_document_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/translate/lib/google_api/translate/v3/model/translate_document_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
69.6
470
0.750221
7472bc18ec42c712c7cc554054b910edafcb6f52
955
exs
Elixir
test/cog/models/types/version_triple_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/models/types/version_triple_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/models/types/version_triple_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Models.Types.VersionTripleTest do use ExUnit.Case, async: true alias Cog.Models.Types.VersionTriple test "things that are not strictly semver still cast" do assert_version_casts_to(1, "1.0.0") assert_version_casts_to(1.0, "1.0.0") assert_version_casts_to("1", "1.0.0") assert_versio...
29.84375
74
0.659686
7472c4ae66fd440e518725d61400f4356677c52e
2,866
ex
Elixir
lib/blue_heron/data_type/manufacturer_data.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/data_type/manufacturer_data.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/data_type/manufacturer_data.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
# MIT License # Copyright (c) 2019 Very # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, ...
31.844444
95
0.68074
7472e339e5025f6b98747082563a776c71092646
138
exs
Elixir
test/sample_rakuten_genre_test.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "MIT" ]
null
null
null
test/sample_rakuten_genre_test.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "MIT" ]
null
null
null
test/sample_rakuten_genre_test.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "MIT" ]
null
null
null
defmodule SampleRakutenGenreTest do use ExUnit.Case doctest SampleRakutenGenre test "the truth" do assert 1 + 1 == 2 end end
15.333333
35
0.724638
747302cb3bde3bda7c1558c53898c6872a99b6b1
655
ex
Elixir
example/version.ex
carguero/carguero_ex_audit
aab186a9e3ed53052869953b3673fc9749d50c85
[ "MIT" ]
2
2021-01-28T00:19:17.000Z
2021-01-29T14:47:02.000Z
example/version.ex
carguero/carguero_ex_audit
aab186a9e3ed53052869953b3673fc9749d50c85
[ "MIT" ]
null
null
null
example/version.ex
carguero/carguero_ex_audit
aab186a9e3ed53052869953b3673fc9749d50c85
[ "MIT" ]
null
null
null
defmodule CargueroExAudit.Test.Version do use Ecto.Schema import Ecto.Changeset schema "versions" do field :patch, CargueroExAudit.Type.Patch field :entity_id, :integer field :entity_schema, CargueroExAudit.Type.Schema field :action, CargueroExAudit.Type.Action field :recorded_at, :utc_dateti...
28.478261
91
0.712977
7473120cbf25b70b2caf0295b907dc5226757159
196
ex
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/sequence17/lib/sequence17/server.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/sequence17/lib/sequence17/server.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/sequence17/lib/sequence17/server.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule Sequence17.Server do use GenServer def init(num), do: {:ok, num} def handle_call(:next_number, _from, current_number) do {:reply, current_number, current_number+1} end end
19.6
57
0.72449
74733b95c763b6870198d0a43a80cbbdd6851bb4
1,120
ex
Elixir
apps/ewallet/test/support/serializer_case.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/support/serializer_case.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/support/serializer_case.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 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 ...
29.473684
74
0.721429
74735618bd01409d1385bab74dbfb2356b9685d3
1,919
ex
Elixir
clients/games/lib/google_api/games/v1/model/event_period_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_period_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_period_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.207547
176
0.721209
74737c0835ad7f2637c61ea918175e96bc07d8f7
265
exs
Elixir
.credo.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
4
2018-01-16T12:25:52.000Z
2020-01-19T03:07:52.000Z
.credo.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
null
null
null
.credo.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
2
2018-09-19T00:11:14.000Z
2019-09-10T07:00:06.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["config/", "lib/", "test/"], excluded: [~r"/_build/", ~r"/deps/"] }, requires: [], check_for_updates: true, strict: true, color: true } ] }
16.5625
47
0.422642
747385939ece7b57cc89ecbe43aa85aabef7babb
982
ex
Elixir
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.769231
77
0.767821
74739b9dce06f8eb8dcb444afb6f32da3f75406f
6,317
ex
Elixir
lib/ex_admin/form/fields.ex
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
lib/ex_admin/form/fields.ex
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
lib/ex_admin/form/fields.ex
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule ExAdmin.Form.Fields do @moduledoc false use ExAdmin.Adminlog import ExAdmin.Utils import ExAdmin.Helpers import ExAdmin.Theme.Helpers import ExAdmin.Gettext import Xain, except: [input: 1] def ext_name(model_name, field_name), do: "#{model_name}_#{field_name}" def input_collection( ...
26.320833
106
0.55596
7473ee0db9fdd5c46ce8ce6aea4d192980dbecd9
2,244
ex
Elixir
fw/lib/fw/backlight.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
31
2018-12-25T19:52:35.000Z
2022-03-20T01:06:46.000Z
fw/lib/fw/backlight.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
4
2018-12-23T18:34:20.000Z
2021-05-10T04:05:45.000Z
fw/lib/fw/backlight.ex
axelson/scenic_asteroids
20fb22af441028b0837016337c5e418c033ded29
[ "BSD-3-Clause" ]
2
2019-04-09T18:35:51.000Z
2020-12-22T15:19:18.000Z
defmodule Fw.Backlight do use GenServer require Logger @default_brightness 255 @brightness_file "/sys/class/backlight/rpi_backlight/brightness" # Public API def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: __MODULE__) end def brightness(value) when value >= 0 and value <= 255...
26.714286
85
0.677807
7473fba097edf8579778b0d3239359388a576032
825
ex
Elixir
lib/astarte_flow/auth/user.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
11
2020-01-30T17:44:35.000Z
2022-01-13T19:17:21.000Z
lib/astarte_flow/auth/user.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
100
2020-02-11T10:01:35.000Z
2022-02-17T10:39:35.000Z
lib/astarte_flow/auth/user.ex
Pavinati/astarte_flow
82b6bee82e23907f7623a94a072239591b19b9d8
[ "Apache-2.0" ]
7
2020-01-30T11:33:20.000Z
2021-05-03T09:48:41.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
26.612903
74
0.70303
7473ffe64303cf7cc6d2ff2e4b2505822f1526d9
675
ex
Elixir
hgw/lib/hub_gateway/helpers/zwave/devices/binary_switch.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
hgw/lib/hub_gateway/helpers/zwave/devices/binary_switch.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
hgw/lib/hub_gateway/helpers/zwave/devices/binary_switch.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
defmodule HubGateway.ZWave.Devices.BinarySwitch do use HubGateway.ZWave.Device, core_type: "switch", attributes: [ {"state", "switch"} ], primary_cc: 0x25 def get_core_type(0x25), do: "switch" def get_core_type(_), do: :error def get_value_for_type("state" = attribute, value) do case...
28.125
78
0.62963
74743b7c1a5a61b78cdab1772bf9b522357ebd99
503
exs
Elixir
bench/parse.exs
UA3MQJ/nats.ex
549ac3180fe08d3a06cf3b085cf5a40759cc090b
[ "MIT" ]
null
null
null
bench/parse.exs
UA3MQJ/nats.ex
549ac3180fe08d3a06cf3b085cf5a40759cc090b
[ "MIT" ]
null
null
null
bench/parse.exs
UA3MQJ/nats.ex
549ac3180fe08d3a06cf3b085cf5a40759cc090b
[ "MIT" ]
null
null
null
msg1024 = :crypto.strong_rand_bytes(1024) msg128 = :crypto.strong_rand_bytes(128) msg16 = :crypto.strong_rand_bytes(16) inputs = %{ "16 byte" => "MSG topic 1 16\r\n#{msg16}\r\n", "128 byte" => "MSG topic 1 128\r\n#{msg128}\r\n", "1024 byte" => "MSG topic 1 1024\r\n#{msg1024}\r\n", } parsec = Gnat.Parsec.new(...
33.533333
93
0.654076
74746181801acb1a382a261e1e066a014cd2b206
6,316
exs
Elixir
server/config/config.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/config/config.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/config/config.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config alias Realtime.{PubSub, RLS} alias RealtimeWeb.{E...
38.278788
126
0.76425
747461e30917e98146c456eb6192b43b31a9d8fa
691
exs
Elixir
backend/test/caffe/ordering/commands/place_order_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/test/caffe/ordering/commands/place_order_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/test/caffe/ordering/commands/place_order_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Ordering.Commands.PlaceOrderTest do use ExUnit.Case, async: true import Caffe.Support.Validation alias Caffe.Ordering.Commands.PlaceOrder describe "validations" do test "the user who places the order is required" do assert %{user_id: ["can't be blank"]} = errors_on(PlaceOrder, %{user...
31.409091
84
0.659913
7474680d3871c88c62cd8a926d387de05ab825d4
69,630
ex
Elixir
lib/phoenix_live_view.ex
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
1
2020-09-15T22:13:16.000Z
2020-09-15T22:13:16.000Z
lib/phoenix_live_view.ex
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to its st...
39.361221
111
0.693078
747468638c4f472faa403b3522eea5bc411a50d9
703
ex
Elixir
lib/fwup.ex
fhunleth/elixir-fwup
6d579a881d885d14bfcb50b29854275fbc61442d
[ "Apache-2.0" ]
null
null
null
lib/fwup.ex
fhunleth/elixir-fwup
6d579a881d885d14bfcb50b29854275fbc61442d
[ "Apache-2.0" ]
null
null
null
lib/fwup.ex
fhunleth/elixir-fwup
6d579a881d885d14bfcb50b29854275fbc61442d
[ "Apache-2.0" ]
null
null
null
defmodule Fwup do @moduledoc """ Configurable embedded Linux firmware update creator and runner """ @doc "Returns a list of `[\"/path/to/device\", byte_size]`" def get_devices do {result, 0} = System.cmd("fwup", ["--detect"]) result |> String.trim() |> String.split("\n") |> Enum.map(&Str...
26.037037
94
0.647226
74746ea1e29b0e0c093365cbb4c864e4e5422433
318
ex
Elixir
web/views/errors_view.ex
spreedly/sample-hyperdrives
ab6d2ff055c574bfb215531d3c523242666c52d9
[ "MIT" ]
null
null
null
web/views/errors_view.ex
spreedly/sample-hyperdrives
ab6d2ff055c574bfb215531d3c523242666c52d9
[ "MIT" ]
null
null
null
web/views/errors_view.ex
spreedly/sample-hyperdrives
ab6d2ff055c574bfb215531d3c523242666c52d9
[ "MIT" ]
null
null
null
defmodule Hyperdrives.ErrorsView do use Hyperdrives.View def render("404.html", _assigns) do "Page not found - 404" end def render("500.html", _assigns) do "Server internal error - 500" end # Render all other templates as 500 def render(_, assigns) do render "500.html", assigns end end
18.705882
37
0.685535
74747a53f49c13aa5086063188a635a1b07bad84
2,637
exs
Elixir
config/dev.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
config/dev.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
32
2020-06-08T14:50:46.000Z
2021-01-01T05:40:44.000Z
config/dev.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
import Config # Configure your database config :jeopardy, Jeopardy.Repo, username: "postgres", password: "postgres", database: "jeopardy_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloadi...
27.757895
77
0.695867
74747f81a175de989d49fd8779cce1ca072527a3
421
ex
Elixir
lib/tru_lock_api/detective.ex
Waasi/tru_lock_api
75750eee3f96e2e2957841ec361c546ae169cdbe
[ "MIT" ]
1
2017-07-09T04:42:25.000Z
2017-07-09T04:42:25.000Z
lib/tru_lock_api/detective.ex
Waasi/tru_lock_api
75750eee3f96e2e2957841ec361c546ae169cdbe
[ "MIT" ]
null
null
null
lib/tru_lock_api/detective.ex
Waasi/tru_lock_api
75750eee3f96e2e2957841ec361c546ae169cdbe
[ "MIT" ]
null
null
null
defmodule TruLockApi.Detective do def validate(%{email: ""}), do: {:error, %{error: "email can't be blank"}} def validate(%{entity_id: ""}), do: {:error, %{error: "entity_id can't be blank"}} def validate(%{image: ""}), do: {:error, %{error: "image can't be blank"}} def validate(%{email: _, entity_id: _, image:...
52.625
84
0.624703
747482a5a96f2110db0594b2a6bdf0ea12e0defc
1,033
ex
Elixir
lib/canvas/resources/account.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/account.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/account.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
defmodule Canvas.Resources.Account do @moduledoc """ Represents an Account. See: - https://canvas.instructure.com/doc/api/accounts - https://canvas.instructure.com/doc/api/accounts#Account """ @type t :: %__MODULE__{ id: integer, name: String.t(), uuid: String.t(), ...
33.322581
93
0.664085
74748c2c32b8ffa0613385d1672e75e65a56a765
77
ex
Elixir
priv/templates/lib/web/views/layout_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
164
2018-02-10T21:33:40.000Z
2022-03-15T06:10:50.000Z
priv/templates/lib/web/views/layout_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
21
2018-02-15T02:31:40.000Z
2021-04-04T07:16:43.000Z
priv/templates/lib/web/views/layout_view.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
14
2018-03-24T11:15:07.000Z
2020-06-28T12:33:38.000Z
defmodule <%= web_module %>.LayoutView do use <%= web_module %>, :view end
19.25
41
0.662338
7474be5ee9c8d08c0939c9cc93bfa46b073efab0
9,545
ex
Elixir
lib/aws/generated/ebs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ebs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ebs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.EBS do @moduledoc """ You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create EBS snapshots, write data directly to your snapshots, read data on your snapshots, and i...
36.155303
165
0.66066
7474c71d7022079c480fa953f7cf8433c408d3aa
116
exs
Elixir
test/nodex_test.exs
mendrugory/nodex
87d878f78b61f134a685c1b034d2f56a40701f8e
[ "MIT" ]
7
2017-11-16T13:32:54.000Z
2019-05-24T13:45:15.000Z
test/nodex_test.exs
mendrugory/nodex
87d878f78b61f134a685c1b034d2f56a40701f8e
[ "MIT" ]
null
null
null
test/nodex_test.exs
mendrugory/nodex
87d878f78b61f134a685c1b034d2f56a40701f8e
[ "MIT" ]
1
2020-04-29T08:00:26.000Z
2020-04-29T08:00:26.000Z
defmodule NodexTest do use ExUnit.Case test "greets the world" do assert Nodex.hello() == :world end end
14.5
34
0.689655
7474d276f49414944ea454328de0585ba97c4695
25,740
exs
Elixir
lib/mix/test/mix/release_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/release_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/release_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Mix.ReleaseTest do use MixTest.Case import Mix.Release doctest Mix.Release _ = Application.ensure_started(:eex) _ = Application.ensure_started(:runtime_tools) @erts_version :erlang.system_info(:version) @erts_source Path.join(:code.root_dir(),...
36.5625
109
0.61115
7474e7067ac47aed6af6f376d40a8f8ee7089c5e
2,069
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_update_user_links_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_update_user_links_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_update_user_links_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.918033
260
0.754471
7474ffec0800a3f0105b5b25f84a9deb771fe2f3
1,076
ex
Elixir
web/channels/user_socket.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
82
2016-02-08T04:33:54.000Z
2022-03-29T07:17:36.000Z
web/channels/user_socket.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
81
2016-03-09T02:17:40.000Z
2021-12-05T07:29:04.000Z
web/channels/user_socket.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
42
2016-04-05T21:35:31.000Z
2021-11-09T11:58:26.000Z
defmodule VerkWeb.UserSocket do use Phoenix.Socket ## Channels channel("rooms:*", VerkWeb.RoomChannel, websocket: true, longpoll: true) # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that...
31.647059
83
0.695167
74750fa74a93a41451b2f3335b5396470e611815
1,165
exs
Elixir
config/config.exs
fteem/filex
0de1a330666a53a96e0c754f6e654a1fda2b455c
[ "MIT" ]
2
2018-12-17T22:33:39.000Z
2018-12-18T09:28:27.000Z
config/config.exs
fteem/filex
0de1a330666a53a96e0c754f6e654a1fda2b455c
[ "MIT" ]
null
null
null
config/config.exs
fteem/filex
0de1a330666a53a96e0c754f6e654a1fda2b455c
[ "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...
35.30303
73
0.745923
7475125f1a01aa8f5573070a7ea8ddcbb3d685b8
3,246
exs
Elixir
test/oban/queue/executor_test.exs
kianmeng/oban
2ee44412f8ed3b5940017131eb29bf5296a7cf55
[ "Apache-2.0" ]
null
null
null
test/oban/queue/executor_test.exs
kianmeng/oban
2ee44412f8ed3b5940017131eb29bf5296a7cf55
[ "Apache-2.0" ]
null
null
null
test/oban/queue/executor_test.exs
kianmeng/oban
2ee44412f8ed3b5940017131eb29bf5296a7cf55
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.ExecutorTest do use Oban.Case, async: true import ExUnit.CaptureLog alias Oban.{CrashError, PerformError} alias Oban.Queue.Executor defmodule Worker do use Oban.Worker @impl Worker def perform(%{args: %{"mode" => "ok"}}), do: :ok def perform(%{args: %{"mode" => "result...
32.46
87
0.605669
74751aee0120f6bd48177a1f7825624ce0de72f1
974
exs
Elixir
test/traktor_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
8
2018-12-27T08:02:49.000Z
2020-06-25T01:57:15.000Z
test/traktor_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
null
null
null
test/traktor_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
1
2019-01-09T18:06:23.000Z
2019-01-09T18:06:23.000Z
defmodule TraktorTest do use ExUnit.Case alias Traktor.Store.InMemory, as: Store alias Traktor.Action.NoOp, as: Action test "prepare and commit" do assert {:ok, ref} = Store.start_link(%{}) assert {:ok, revision, state} = Store.get(ref) assert {:ok, transaction, transaction_ref} = Tr...
30.4375
84
0.641684
747536317ed82ba333ff8ce0f3d2648e0b4b95b1
875
ex
Elixir
lib/epi_contacts/identity_confirmation_session.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
lib/epi_contacts/identity_confirmation_session.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
lib/epi_contacts/identity_confirmation_session.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContacts.IdentityConfirmationSession do @moduledoc """ stores identity confirmation attempts and lockout state """ use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema("identity_confirmation_sessions") do field(:e...
26.515152
107
0.730286
74754d632121a45839e8706e81fdc9e2bca8be37
2,737
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_6_recipes.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_6_recipes.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_6_recipes.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.InlineResponse2006Recipes do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"title",...
27.09901
126
0.604311
74756a2bafe8809ce7364f650fa370676552ace2
2,889
ex
Elixir
web/views/ogp_view.ex
kenta-aktsk/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
99
2016-04-19T11:11:57.000Z
2021-12-12T14:38:02.000Z
web/views/ogp_view.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
48
2016-04-06T02:28:46.000Z
2016-05-31T06:56:56.000Z
web/views/ogp_view.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
32
2016-04-19T11:12:00.000Z
2021-03-25T18:19:52.000Z
defmodule MediaSample.OgpView do use MediaSample.Web, :view alias MediaSample.{Repo, Entry, EntryImageUploader, Enums.UrlType, Enums.StaticPageType, Util} def get_ogp_url(locale, path) do "#{Util.origin_uri}/#{locale}/#{path}" end def get_ogp_type(path) do url_type = get_url_type!(path) cond do ...
30.410526
104
0.635168
74756b976af0c438308ac25a6d1c149dae7f8eb4
693
ex
Elixir
lib/live_beats/media_library/genre.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
1
2021-11-19T07:44:18.000Z
2021-11-19T07:44:18.000Z
lib/live_beats/media_library/genre.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
lib/live_beats/media_library/genre.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
defmodule LiveBeats.MediaLibrary.Genre do use Ecto.Schema use EdgeDBEcto.Mapper import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: false} schema "default::Genre" do field :title, :string field :slug, :string end @doc false def changeset(song, attrs) do song |> cast(at...
21.65625
74
0.676768
747578ea51565d384062e77b0be069c10843cd63
1,818
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/list_phrase_set_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/speech/lib/google_api/speech/v1/model/list_phrase_set_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/speech/lib/google_api/speech/v1/model/list_phrase_set_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...
36.36
189
0.731573
74758621bf3aa43a5c0cd3dd6472f16d72cbafad
1,652
exs
Elixir
day08/test/day08_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day08/test/day08_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
null
null
null
day08/test/day08_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day08Test do use ExUnit.Case doctest Day08 test "part 1 with example" do assert Day08.part1(example2()) == 26 end test "part 1 with my input data" do assert Day08.part1(input()) == 245 end test "part 2 with example" do assert Day08.part2(example1()) == 5353 assert Day08.part2(...
33.04
90
0.697942
74759ea9d56f1ccfb89d3c3896cf869fef83d899
370
ex
Elixir
web/views/error_view.ex
code-mancers/exray
f37a089c98ae3117063865c8d2583fec6d112af5
[ "MIT" ]
1
2016-03-20T05:30:28.000Z
2016-03-20T05:30:28.000Z
web/views/error_view.ex
code-mancers/exray
f37a089c98ae3117063865c8d2583fec6d112af5
[ "MIT" ]
null
null
null
web/views/error_view.ex
code-mancers/exray
f37a089c98ae3117063865c8d2583fec6d112af5
[ "MIT" ]
null
null
null
defmodule Exray.ErrorView do use Exray.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, ass...
20.555556
47
0.694595
7475e901b744a9b6c2e67f96b4689e89cc905f0e
4,918
exs
Elixir
mix.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
null
null
null
mix.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
null
null
null
mix.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
null
null
null
defmodule Phoenix.MixProject do use Mix.Project @version "1.4.0-dev" def project do [ app: :phoenix, version: @version, elixir: "~> 1.4", deps: deps(), package: package(), lockfile: lockfile(), preferred_cli_env: [docs: :docs], consolidate_protocols: Mix.env !...
24.838384
96
0.578691
7475f66dc3484fe72a16cf8ffc4c09642f75b9c8
207
exs
Elixir
test/test_helper.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
test/test_helper.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
test/test_helper.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
{:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(CncfDashboardApi.Repo, :manual) # Ecto.Adapters.SQL.Sandbox.mode(CncfDashboardApi.Repo, {:shared, self()})
34.5
74
0.777778
7475fb2f8f505bcc94637bbf156c94bf94c5194b
9,053
ex
Elixir
lib/membrane_hackney_plugin/source.ex
membraneframework/membrane_hackney_plugin
8d602192c79f4bb2182c900e365134baae1d697e
[ "Apache-2.0" ]
null
null
null
lib/membrane_hackney_plugin/source.ex
membraneframework/membrane_hackney_plugin
8d602192c79f4bb2182c900e365134baae1d697e
[ "Apache-2.0" ]
null
null
null
lib/membrane_hackney_plugin/source.ex
membraneframework/membrane_hackney_plugin
8d602192c79f4bb2182c900e365134baae1d697e
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Hackney.Source do @moduledoc """ This module provides a source element allowing you to receive data as a client using HTTP. It is based upon [Hackney](https://github.com/benoitc/hackney) library that is responsible for making HTTP requests. See the `t:t/0` for the available configuration o...
29.976821
102
0.578924
74763a057d1f84910268189cacdd7e099ab92b4a
363
ex
Elixir
lib/rockelivery/users/update.ex
felipe-jm/ignite-elixir-rockelivery
0c057a081561e7f0518be424dbb3647a7ac2401e
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
lib/rockelivery/users/update.ex
felipe-jm/ignite-elixir-rockelivery
0c057a081561e7f0518be424dbb3647a7ac2401e
[ "MIT" ]
null
null
null
lib/rockelivery/users/update.ex
felipe-jm/ignite-elixir-rockelivery
0c057a081561e7f0518be424dbb3647a7ac2401e
[ "MIT" ]
null
null
null
defmodule Rockelivery.Users.Update do alias Rockelivery.{Error, Repo, User} def call(%{"id" => id} = params) do case Repo.get(User, id) do nil -> {:error, Error.build_user_not_found_error()} user -> do_update(user, params) end end defp do_update(user, params) do user |> User.change...
21.352941
57
0.639118
74765ab21d77a722d531c1585f4ea70fc759a31f
1,078
ex
Elixir
lib/silver_vine/token/oauth2/authorization_code.ex
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
lib/silver_vine/token/oauth2/authorization_code.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/authorization_code.ex
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
defmodule SilverVine.Token.OAuth2.AuthorizationCode do @moduledoc """ A module to represent OAuth 2.0 Authorization Code using JWT. """ @behaviour SilverVine.Token.Base @jwt_header_typ "ac+jwt" alias SilverVine.Token alias KittenBlue.JWK @doc """ Generate a token string (JWS) from the Payload map ...
26.292683
74
0.568646
747675c38f05fbdea4ca4bc85a497618b0bc0699
2,659
ex
Elixir
clients/prediction/lib/google_api/prediction/v16/model/insert2.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/prediction/lib/google_api/prediction/v16/model/insert2.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/prediction/lib/google_api/prediction/v16/model/insert2.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.102941
171
0.73223
747683573fe38f1f8fcd7245c1dbd8f3eb39814f
37,658
exs
Elixir
apps/ewallet_api/test/ewallet_api/v1/controllers/transaction_consumption_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/test/ewallet_api/v1/controllers/transaction_consumption_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/test/ewallet_api/v1/controllers/transaction_consumption_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 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 ...
37.847236
105
0.607095
7476a2c8a5539318bb426fb55ee6e795e19505c5
353
ex
Elixir
lib/chit_chat/blog/tag.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
lib/chit_chat/blog/tag.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
lib/chit_chat/blog/tag.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChat.Blog.Tag do use Ecto.Schema import Ecto.Changeset schema "tags" do field :name, :string, null: false many_to_many :posts, ChitChat.Blog.Post, join_through: "posts_tags" timestamps() end @doc false def changeset(tag, attrs) do tag |> cast(attrs, [:name]) |> vali...
17.65
71
0.665722
7476cdd29cde80ee42cd676df72da267a1e295c5
1,288
exs
Elixir
06/part1.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
06/part1.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
06/part1.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
# Using ETS instead of Map reduces the time taken from 40 to 20 seconds. defmodule LightArray do def str_to_pos(str), do: str |> String.split(",", trim: true) |> Enum.map(&String.to_integer/1) |> List.to_tuple def exec_cmd(cmd_str, grid) do [_, cmd, start_pos, end_pos] = Regex.run(~r/([\w ]+) (\d+,\d+) throug...
29.272727
114
0.552019
7476cfc846f06673f11cf0fa61ddf1b1764d8613
221
ex
Elixir
lib/wise_homex/models/account_user.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
2
2019-03-14T09:09:14.000Z
2020-11-25T06:44:46.000Z
lib/wise_homex/models/account_user.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
139
2019-03-14T06:58:55.000Z
2022-03-29T12:28:09.000Z
lib/wise_homex/models/account_user.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
7
2021-04-09T13:55:45.000Z
2021-04-16T15:49:36.000Z
defmodule WiseHomex.AccountUser do @moduledoc false use WiseHomex.BaseModel embedded_schema do belongs_to :account, WiseHomex.Account belongs_to :user, WiseHomex.User field :api_key, :string end end
18.416667
42
0.755656
7476ed6b6452297ee6509cf90575e6c8b4fe88a0
1,680
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v3alpha1_generic_knowledge_operation_metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v3alpha1_generic_knowledge_operation_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v3alpha1_generic_knowledge_operation_metadata.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...
31.111111
114
0.754167
7476f35f2584d360de24219098fbcb7513b5c367
611
ex
Elixir
lib/rox/utils.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
lib/rox/utils.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
lib/rox/utils.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
defmodule Rox.Utils do @moduledoc false @compile [ inline: [{:decode, 1}, {:encode, 1}] ] def decode({:ok, <<"_$rx:", encoded::binary>>}), do: {:ok, :erlang.binary_to_term(encoded)} def decode(<<"_$rx:", encoded::binary>>), do: :erlang.binary_to_term(encoded) def decode(other), do: other def encode...
23.5
93
0.610475
74773d5cc26e9aabd3e9696d17d3966786022b2d
78
ex
Elixir
lib/jalka2021_web/views/user_reset_password_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/views/user_reset_password_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/views/user_reset_password_view.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
defmodule Jalka2021Web.UserResetPasswordView do use Jalka2021Web, :view end
19.5
47
0.846154
7477ab23631fa16234fbd82151fbe0f9498eaf57
676
ex
Elixir
video-code/28-linking-processes/servy/lib/servy/kick_starter.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
video-code/28-linking-processes/servy/lib/servy/kick_starter.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
video-code/28-linking-processes/servy/lib/servy/kick_starter.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
defmodule Servy.KickStarter do use GenServer def start do IO.puts "Starting the kickstarter..." GenServer.start(__MODULE__, :ok, name: __MODULE__) end def init(:ok) do Process.flag(:trap_exit, true) server_pid = start_server() {:ok, server_pid} end def handle_info({:EXIT, _pid, reason...
12.754717
61
0.659763
7477d3bd3d081c30af318aad0fd29a6abaa49554
1,825
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_export_agent_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_export_agent_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_export_agent_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.181818
186
0.738082
7477da0e033c12e76b0d96f4c48526c455bfb330
1,053
ex
Elixir
lib/ppg_web/channels/user_socket.ex
ohyecloudy/phoenix-prometheus-grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
1
2020-04-23T08:18:08.000Z
2020-04-23T08:18:08.000Z
lib/ppg_web/channels/user_socket.ex
ohyecloudy/phoenix_prometheus_grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
null
null
null
lib/ppg_web/channels/user_socket.ex
ohyecloudy/phoenix_prometheus_grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
null
null
null
defmodule PpgWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PpgWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ie ...
30.970588
83
0.693257
7477de2bd0506e0191f6388be96703fb7d5c1277
1,475
exs
Elixir
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 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...
32.777778
84
0.675932
7477e3d623f18570001446088f54dff7f5fe177a
120
exs
Elixir
config/test.exs
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
config/test.exs
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
config/test.exs
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
use Mix.Config config :sahara, SaharaWeb.Endpoint, http: [port: 4002], server: false config :logger, level: :warn
15
35
0.708333
7477f42a4338e413dfd858e0f53fffd68122a0a8
1,683
ex
Elixir
lib/phoenix13_base_web/endpoint.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
1
2019-03-28T05:47:46.000Z
2019-03-28T05:47:46.000Z
lib/phoenix13_base_web/endpoint.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
null
null
null
lib/phoenix13_base_web/endpoint.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
null
null
null
defmodule Phoenix13BaseWeb.Endpoint do use Phoenix.Endpoint, otp_app: :phoenix13_base socket "/socket", Phoenix13BaseWeb.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 producti...
29.526316
95
0.713607
7478482399439d2fc8c3c94510e2a47590016b2a
458
exs
Elixir
apps/data/priv/repo/migrations/20191003214648_create_blog_posts.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/priv/repo/migrations/20191003214648_create_blog_posts.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/priv/repo/migrations/20191003214648_create_blog_posts.exs
random-mud-pie/grapevine
40688da3413e5216df5ee19ad6f7272932d49e23
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Repo.Migrations.CreateBlogPosts do use Ecto.Migration def change do create table(:blog_posts) do add(:uid, :uuid, default: fragment("uuid_generate_v4()"), null: false) add(:title, :string, null: false) add(:body, :text, null: false) add(:status, :string, default:...
25.444444
76
0.655022
74784ae841a3d2a427abfbd1f9deefa54f83ed6f
1,362
exs
Elixir
mix.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
4
2020-01-12T19:04:46.000Z
2021-09-20T14:37:22.000Z
mix.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
null
null
null
mix.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
1
2021-09-20T14:37:25.000Z
2021-09-20T14:37:25.000Z
defmodule Runlet.Mixfile do use Mix.Project def project do [ app: :runlet, version: "1.2.0", elixir: "~> 1.9", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: "Job command language to...
23.084746
71
0.516153
74785e48ac77bf48056ead2ab9d8376037bb1082
1,235
ex
Elixir
phoenix/web/views/error_helpers.ex
sap-archive/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
1
2020-01-03T16:00:09.000Z
2020-01-03T16:00:09.000Z
phoenix/web/views/error_helpers.ex
SAP/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
null
null
null
phoenix/web/views/error_helpers.ex
SAP/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
null
null
null
defmodule LoginProxy.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error...
30.121951
76
0.669636
747880d5386a5cfd46a5b5e462a85ad6894d139f
413
exs
Elixir
test/shared/cache_test.exs
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
defmodule Nebulex.CacheTest do @moduledoc """ Shared Tests """ defmacro __using__(opts) do quote bind_quoted: [opts: opts] do @cache Keyword.fetch!(opts, :cache) use Nebulex.Cache.ObjectTest, cache: @cache use Nebulex.Cache.QueryableTest, cache: @cache use Nebulex.Cache.Transaction...
24.294118
54
0.687651
74788151efde0624c21d9b43fd4f52039a2ab95f
1,901
ex
Elixir
lib/challenge_gov/submissions/submission_export.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/challenge_gov/submissions/submission_export.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/challenge_gov/submissions/submission_export.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.Submissions.SubmissionExport do @moduledoc """ Submission export schema """ use Ecto.Schema import Ecto.Changeset alias ChallengeGov.Challenges.Challenge alias ChallengeGov.Phases @type t :: %__MODULE__{} @statuses [ %{id: "pending", label: "Draft"}, %{id: "cancelle...
20.223404
69
0.625986
74789c9c2d46a3fdb10142107c169fd56f93a35e
4,641
exs
Elixir
test/unit/hologram/compiler/js_encoders/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/js_encoders/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/js_encoders/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.JSEncoder.ModuleDefinitionTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.{Context, JSEncoder, Opts} alias Hologram.Compiler.IR.{ AtomType, Binding, Block, FunctionDefinition, IntegerType, ModuleAttributeDefinition, ModuleDefinition...
22.75
102
0.511312
7478c88fa204aa7d26cdfdd85f331d4e6c2f2f89
1,190
exs
Elixir
clients/client/elixir/config/config.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/client/elixir/config/config.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/client/elixir/config/config.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "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.060606
73
0.752941
7478caa1d5eb7c14b4dca2233c38d8e0fb75ffae
961
ex
Elixir
lib/surface/components/form/url_input.ex
adrianomitre/surface
08ca850b1114ebbdda03294da181dea7d4b0d9b7
[ "MIT" ]
null
null
null
lib/surface/components/form/url_input.ex
adrianomitre/surface
08ca850b1114ebbdda03294da181dea7d4b0d9b7
[ "MIT" ]
null
null
null
lib/surface/components/form/url_input.ex
adrianomitre/surface
08ca850b1114ebbdda03294da181dea7d4b0d9b7
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.UrlInput do @moduledoc """ An input field that let the user enter a **URL**. Provides a wrapper for Phoenix.HTML.Form's `url_input/3` function. All options passed via `opts` will be sent to `url_input/3`, `value` and `class` can be set directly and will override anything in...
25.972973
74
0.681582
74790e1e35e9b8c8cc27c57649abf2ed931fed87
151
ex
Elixir
lib/sthub/http/http_adapter.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
lib/sthub/http/http_adapter.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
14
2020-07-17T06:00:03.000Z
2020-10-29T20:28:32.000Z
lib/sthub/http/http_adapter.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
defmodule StHub.Http.Adapter do @callback get!(url :: String.t(), headers :: list(), options :: list()) :: StHub.Http.Response.t() end
30.2
76
0.602649
74791f2017a2a03cd6473646e73e3e3043bf9c55
1,623
exs
Elixir
mix.exs
dmitrykleymenov/cortex
b2897306c6cda6683c80b3d4b24cbcdfd5bedd60
[ "MIT" ]
406
2017-06-23T23:44:28.000Z
2022-01-11T14:07:22.000Z
mix.exs
urbint/sentinel
b2897306c6cda6683c80b3d4b24cbcdfd5bedd60
[ "MIT" ]
33
2017-06-25T01:59:25.000Z
2021-05-15T13:34:02.000Z
mix.exs
dmitrykleymenov/cortex
b2897306c6cda6683c80b3d4b24cbcdfd5bedd60
[ "MIT" ]
20
2017-06-24T20:48:58.000Z
2021-05-15T05:39:48.000Z
defmodule Cortex.Mixfile do use Mix.Project def project do [ app: :cortex, version: "0.6.0", elixir: "~> 1.7", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, source_url: "https://github.com/urbint/cortex", deps: deps(), package: package(...
24.590909
79
0.568084
74792081566156c3c5efb0e91b4f6fdbee16e673
978
ex
Elixir
test/support/channel_case.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
test/support/channel_case.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
test/support/channel_case.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
defmodule PhoenixEventsLiveWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case i...
25.736842
79
0.726994
74796b38c3f8cc9b900356d20f9de1e745bf3bc8
24,815
exs
Elixir
test/ex_doc/formatter/html/autolink_test.exs
davidsulc/ex_doc
2caa6e0ec9a7842fede4bfeb685c92bf4b6d164c
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/formatter/html/autolink_test.exs
davidsulc/ex_doc
2caa6e0ec9a7842fede4bfeb685c92bf4b6d164c
[ "Apache-2.0", "CC-BY-4.0" ]
1
2018-10-16T07:07:17.000Z
2018-10-16T07:07:17.000Z
test/ex_doc/formatter/html/autolink_test.exs
davidsulc/ex_doc
2caa6e0ec9a7842fede4bfeb685c92bf4b6d164c
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.HTML.AutolinkTest do use ExUnit.Case, async: true alias ExDoc.Formatter.HTML.Autolink import Autolink, only: [project_doc: 2] @elixir_docs "https://hexdocs.pm/" @erlang_docs "http://www.erlang.org/doc/man/" describe "local" do test "autolinks fun/arity in docs" do asser...
42.13073
120
0.541809
7479d4c58ba068ac1a1f539aa63ff3747ca22045
958
ex
Elixir
final-projects/shop_website/lib/shop_website/application.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
3
2019-07-31T20:06:34.000Z
2021-11-16T11:19:45.000Z
final-projects/shop_website/lib/shop_website/application.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
null
null
null
final-projects/shop_website/lib/shop_website/application.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
1
2019-07-31T16:46:14.000Z
2019-07-31T16:46:14.000Z
defmodule ShopWebsite.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 ShopWebsite.Re...
29.9375
70
0.722338
7479f7ca55dcf424ef14b99e774138e4791c75b1
4,416
exs
Elixir
test/challenge/challenge_test.exs
gissandrogama/challenge_elixir
bf0c2dd3b82857cfc7f39fefbd2be75a5b5d52dd
[ "MIT" ]
null
null
null
test/challenge/challenge_test.exs
gissandrogama/challenge_elixir
bf0c2dd3b82857cfc7f39fefbd2be75a5b5d52dd
[ "MIT" ]
4
2021-01-18T22:25:19.000Z
2021-01-20T17:36:23.000Z
test/challenge/challenge_test.exs
gissandrogama/challenge_elixir
bf0c2dd3b82857cfc7f39fefbd2be75a5b5d52dd
[ "MIT" ]
null
null
null
defmodule ChallengeTest do use ExUnit.Case doctest Handle describe "calculate/2" do test "return empty list" do itens = [] emails = [] result = Handle.calculate(itens, emails) assert result == [] end test "when an item of 1 real is divided for 3 people" do itens = [%{na...
39.783784
95
0.529665
747a954b8d1a483f0c98ad8f80783e0c36889e96
15,405
ex
Elixir
lib/phoenix_live_view/html_engine.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_engine.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_engine.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.HTMLEngine do @moduledoc """ The HTMLEngine that powers `.heex` templates and the `~H` sigil. """ alias Phoenix.LiveView.HTMLTokenizer @behaviour Phoenix.Template.Engine # TODO: Use @impl true instead of @doc false when we require Elixir v1.12 @doc false def compile(path, ...
29.796905
122
0.62642
747a9619798a40c59a91199b9ebfc286de5b60fa
3,483
exs
Elixir
mix.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
mix.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
mix.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.MixProject do use Mix.Project def project do [ app: :epicenter, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(),...
32.25
140
0.575079
747b068e586dca3b2394b9a3176e216d2ff9e19d
1,191
exs
Elixir
config/config.exs
beji/to_yaml
50834e3660ba9a81d52438591753f86dd5990a82
[ "MIT" ]
null
null
null
config/config.exs
beji/to_yaml
50834e3660ba9a81d52438591753f86dd5990a82
[ "MIT" ]
null
null
null
config/config.exs
beji/to_yaml
50834e3660ba9a81d52438591753f86dd5990a82
[ "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...
35.029412
73
0.74895
747b15e0dff7dc632ad12d015175a9832aa477f3
118
exs
Elixir
.formatter.exs
CamonZ/signalrex
2006a8b3d7f33b917072925d0e7447f9201619e9
[ "MIT" ]
null
null
null
.formatter.exs
CamonZ/signalrex
2006a8b3d7f33b917072925d0e7447f9201619e9
[ "MIT" ]
null
null
null
.formatter.exs
CamonZ/signalrex
2006a8b3d7f33b917072925d0e7447f9201619e9
[ "MIT" ]
null
null
null
[ inputs: [ "lib/mix/**/*.{ex,exs}", "lib/**/*.{ex,exs}", "test/**/*.{ex,exs}" ], line_length: 78 ]
13.111111
28
0.398305
747b18cd9c5167cf0f30f93f7d45e1705e0a588f
882
ex
Elixir
lib/internals/postgrex_custom_uuid/postgrex_custom_uuid.ex
luisguilhermemsalmeida/ecto_raw_sql_helpers
210466634e07fe166cf6b941108c1e8b67939d44
[ "MIT" ]
1
2021-11-25T21:03:28.000Z
2021-11-25T21:03:28.000Z
lib/internals/postgrex_custom_uuid/postgrex_custom_uuid.ex
luisguilhermemsalmeida/ecto_raw_sql_helpers
210466634e07fe166cf6b941108c1e8b67939d44
[ "MIT" ]
null
null
null
lib/internals/postgrex_custom_uuid/postgrex_custom_uuid.ex
luisguilhermemsalmeida/ecto_raw_sql_helpers
210466634e07fe166cf6b941108c1e8b67939d44
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Postgrex) do defmodule EctoRawSQLHelpers.Postgrex.CustomUUID do import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, send: "uuid_send" def encode(_) do quote location: :keep do uuid when is_binary(uuid) and byte_size(uuid) == 16 -> [<<16::i...
35.28
136
0.578231
747b361ab78c0cfe1e0b2cd7a69feeb199dda49e
6,806
ex
Elixir
farmbot_ext/lib/farmbot_ext/api.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_ext/lib/farmbot_ext/api.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_ext/lib/farmbot_ext/api.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotExt.API do alias FarmbotExt.{API, JWT} alias FarmbotCore.JSON alias FarmbotCore.Asset.{ FbosConfig, FirmwareConfig, StorageAuth } alias FarmbotCore.{BotState, BotState.JobProgress.Percent, Project} require FarmbotCore.Logger import FarmbotCore.Config, only: [get_config_val...
28.358333
101
0.614458
747b3bfc7b8c24bffdafc108fc6ad98bc702a13a
74
exs
Elixir
chapter5/challenges/jwtchallenge/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter5/challenges/jwtchallenge/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter5/challenges/jwtchallenge/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Jwtchallenge.Repo, :manual)
24.666667
58
0.797297
747b4da12a8fcf5a163d366c2282353ece75acb3
1,072
exs
Elixir
test/benx/encoder_test.exs
sschneider1207/benx
ab3ff74188c6f8bfbc2e494499b5df492dff84ae
[ "MIT" ]
1
2017-02-01T13:17:18.000Z
2017-02-01T13:17:18.000Z
test/benx/encoder_test.exs
sschneider1207/benx
ab3ff74188c6f8bfbc2e494499b5df492dff84ae
[ "MIT" ]
null
null
null
test/benx/encoder_test.exs
sschneider1207/benx
ab3ff74188c6f8bfbc2e494499b5df492dff84ae
[ "MIT" ]
null
null
null
defmodule Benx.EncoderTest do use ExUnit.Case, async: true alias Benx.Encoder test "encode positive integer" do assert flat_encode(42) === 'i42e' end test "encode negative integer" do assert flat_encode(-42) === 'i-42e' end test "encode zero" do assert flat_encode(0) === 'i0e' end test...
20.615385
70
0.606343
747b671482d60a2606ac5b5b098434d7c92167c2
293
ex
Elixir
lib/stripe/dispute.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
70
2016-07-28T16:39:36.000Z
2021-08-03T14:26:19.000Z
lib/stripe/dispute.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
29
2018-09-17T11:35:17.000Z
2021-08-01T11:15:09.000Z
lib/stripe/dispute.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
30
2016-10-11T21:07:27.000Z
2020-12-23T20:15:41.000Z
defmodule Stripe.Dispute do use Stripe.API, [:list, :create, :update] def endpoint do "disputes" end def close_dispute_endpoint(id) do "#{endpoint()}/#{id}/close" end def close(id, opts \\ []) do Stripe.request(:post, close_dispute_endpoint(id), [], opts) end end
18.3125
63
0.648464
747b8dee62741064b85de655a7f0d41ea965053b
3,466
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/policy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/policy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/policy.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 ...
42.268293
636
0.70629
747b91078329ffaec80495fba0851fa479f2e214
5,402
ex
Elixir
lib/rotterdam/cluster_manager.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
lib/rotterdam/cluster_manager.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
lib/rotterdam/cluster_manager.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
defmodule Rotterdam.ClusterManager do use GenServer require Logger import Supervisor.Spec, only: [worker: 3] alias Rotterdam.{Service, Node, Managed} alias Rotterdam.Event.Docker.PipelineSupervisor alias Rotterdam.Event.Docker.{Producer, EventsBroadcast, StateBroadcast} # Public API # ---------- ...
25.72381
126
0.637727
747bb1bc5c7234f1a1382ebc91beca4a66e933a9
654
ex
Elixir
lib/cometoid_web/issue_live/context/overview/item_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/context/overview/item_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/context/overview/item_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule CometoidWeb.IssueLive.Context.Overview.ItemComponent do use CometoidWeb, :live_component alias Cometoid.Model.Tracker.Context def get_highlight context, filtered_contexts, state do if (not is_nil(state.selected_context) and state.selected_context.id == context.id) or (state.context_search_acti...
32.7
87
0.764526
747bc5ed97721160fca188fb1d1d549e89ea4fe6
124
ex
Elixir
lib/nostrum/struct/guild/integration.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
2
2020-03-03T02:51:57.000Z
2021-01-18T02:24:42.000Z
lib/nostrum/struct/guild/integration.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
null
null
null
lib/nostrum/struct/guild/integration.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
1
2020-09-03T13:55:55.000Z
2020-09-03T13:55:55.000Z
defmodule Nostrum.Struct.Guild.Integration do @moduledoc """ Struct representing a Discord guild integration. """ end
20.666667
50
0.758065
747bdd2d13bf68e03a492ac5bc455da04aac4503
1,986
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_update_labeler_pool_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_update_labeler_pool_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_update_labeler_pool_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.842105
195
0.778953
747bf3eb0d5951d0d7f3bb568598bb143e277b4b
62
ex
Elixir
web/views/channel_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
web/views/channel_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
web/views/channel_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
defmodule UcxChat.ChannelView do use UcxChat.Web, :view end
15.5
32
0.790323
747bf6d291417769c1d2f0f2ef9534a3a54b2d43
1,876
ex
Elixir
clients/content/lib/google_api/content/v21/model/accounts_list_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v21/model/accounts_list_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/accounts_list_response.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...
35.396226
151
0.716951
747bfb9c77c9d5da36b56d42108b91155ab2ae02
176
ex
Elixir
test/support/comment.ex
suexcxine/scrivener_ecto
f606bc02dd21e34f38fa2d7f69024c2b8ca9a31f
[ "MIT" ]
509
2016-04-02T03:24:31.000Z
2022-03-23T06:11:01.000Z
test/support/comment.ex
suexcxine/scrivener_ecto
f606bc02dd21e34f38fa2d7f69024c2b8ca9a31f
[ "MIT" ]
85
2016-04-22T21:59:31.000Z
2022-02-10T15:10:32.000Z
test/support/comment.ex
suexcxine/scrivener_ecto
f606bc02dd21e34f38fa2d7f69024c2b8ca9a31f
[ "MIT" ]
125
2016-05-05T01:56:20.000Z
2022-03-24T07:21:06.000Z
defmodule Scrivener.Ecto.Comment do use Ecto.Schema schema "comments" do field(:body, :string) belongs_to(:post, Scrivener.Ecto.Post) timestamps() end end
14.666667
42
0.693182
747c0e5d85da714ab7b92d1f087a9267575bf415
2,540
ex
Elixir
lib/livebook/session/file_guard.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
lib/livebook/session/file_guard.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
411
2021-07-15T07:41:54.000Z
2022-03-31T21:34:22.000Z
lib/livebook/session/file_guard.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule Livebook.Session.FileGuard do @moduledoc false # Serves as a locking mechanism for notebook files. # # Every session process willing to persist notebook # should turn to `FileGuard` to make sure the file # is not already used by another session. use GenServer alias Livebook.FileSystem @t...
25.656566
96
0.662992
747c28cb2a7f7a996808455e84c975391e46c99b
256
exs
Elixir
test/fixtures/ignore_string/mix.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
1,455
2015-01-03T02:53:19.000Z
2022-03-12T00:31:25.000Z
test/fixtures/ignore_string/mix.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
test/fixtures/ignore_string/mix.exs
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
defmodule IgnoreString.Mixfile do use Mix.Project def project do [ app: :ignore_string, version: "0.1.0", dialyzer: [ ignore_warnings: "dialyzer.ignore-warnings", list_unused_filters: true ] ] end end
17.066667
52
0.605469
747c2f36d600f2f2ecc4cb7ae2c986a2581eb08d
2,574
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_update_line_item_shipping_details_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_line_item_shipping_details_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_line_item_shipping_details_request.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...
40.857143
191
0.718337