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
85b31751084fb2482d134fa607c777225a4dabc2
1,937
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/assignment_submission.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/assignment_submission.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/assignment_submission.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 "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...
40.354167
431
0.763552
85b35be0e4a367e83b6558270daf0e850f8a21f2
702
exs
Elixir
mix.exs
ScrimpyCat/Vox
5a9ebf0e6b0d1df6b68800d38d5fe69aafd9d3ef
[ "BSD-2-Clause" ]
1
2021-11-10T08:13:01.000Z
2021-11-10T08:13:01.000Z
mix.exs
ScrimpyCat/Vox
5a9ebf0e6b0d1df6b68800d38d5fe69aafd9d3ef
[ "BSD-2-Clause" ]
null
null
null
mix.exs
ScrimpyCat/Vox
5a9ebf0e6b0d1df6b68800d38d5fe69aafd9d3ef
[ "BSD-2-Clause" ]
1
2022-01-22T02:17:47.000Z
2022-01-22T02:17:47.000Z
defmodule Vox.MixProject do use Mix.Project def project do [ app: :vox, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), docs: [ markdown_processor: ExDocSimpleMarkdown ...
23.4
78
0.445869
85b35c439aabae62c4ba0e5aa4798ae024cd3d86
2,876
ex
Elixir
test/support/live_views/components.ex
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2020-12-23T18:28:30.000Z
2020-12-23T18:28:30.000Z
test/support/live_views/components.ex
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
null
null
null
test/support/live_views/components.ex
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2020-09-23T17:11:30.000Z
2020-09-23T17:11:30.000Z
defmodule Phoenix.LiveViewTest.StatefulComponent do use Phoenix.LiveComponent def mount(socket) do {:ok, assign(socket, name: "unknown", dup_name: nil)} end def update(assigns, socket) do if from = assigns[:from] do send(from, {:updated, assigns}) end {:ok, assign(socket, assigns)} en...
26.145455
97
0.598401
85b3682bc3a3eb94837a2d18c4f7024e341a16d0
799
exs
Elixir
learning/budget/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/budget/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/budget/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule Budget.Mixfile do use Mix.Project def project do [app: :budget, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), default_task: "list_transactions"] end # Configuration for the OTP application # # T...
23.5
79
0.629537
85b37001c22571e015ad9a461d6a1b40fe0f8124
1,413
exs
Elixir
lib/mix/test/mix/tasks/escriptize_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/escriptize_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/escriptize_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.EscriptizeTest do use MixTest.Case defmodule Escript do def project do [ app: :escripttest, version: "0.0.1", escript_embed_elixir: true ] end end defmodule EscriptWithPath do def project do [ app: ...
26.166667
91
0.665959
85b37488550236f81b6d76b1c8ee416d7ac7e8af
3,224
ex
Elixir
lib/hangman/action_human.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
1
2016-12-19T00:10:34.000Z
2016-12-19T00:10:34.000Z
lib/hangman/action_human.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
lib/hangman/action_human.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
defmodule Hangman.Action.Human do @moduledoc """ Implements human action player specific functionality In `Hangman` we have two players. One explict - the one guessing, the other implicit, 'the game', 'the user tracking the penalties'. In this instance, the `Action` is merely the user making and choosi...
28.280702
78
0.675248
85b3b246387e86f2bb9121b3ca4693cf6304732d
211
exs
Elixir
priv/repo/migrations/20201008123816_add_is_gct_to_users.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
priv/repo/migrations/20201008123816_add_is_gct_to_users.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
priv/repo/migrations/20201008123816_add_is_gct_to_users.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.Repo.Migrations.AddIsGctToUsers do use Ecto.Migration def change do alter table(:users) do add :is_gct, :boolean, default: false add :gct_level, :integer end end end
19.181818
52
0.696682
85b3c6b35c5eece9133dc7542ce85cc1b8239748
93
exs
Elixir
test/support/formatter/input/simple.exs
elixir-cldr/cldr_messages
1eeec3234d018b5444a9495a4e93ad8bae6e691d
[ "Apache-2.0" ]
6
2019-06-09T11:55:49.000Z
2021-08-24T07:58:32.000Z
test/support/formatter/input/simple.exs
elixir-cldr/cldr_messages
1eeec3234d018b5444a9495a4e93ad8bae6e691d
[ "Apache-2.0" ]
10
2020-11-14T00:29:20.000Z
2022-01-18T21:19:59.000Z
test/support/formatter/input/simple.exs
elixir-cldr/cldr_messages
1eeec3234d018b5444a9495a4e93ad8bae6e691d
[ "Apache-2.0" ]
6
2020-02-12T11:37:47.000Z
2022-01-03T14:36:52.000Z
~M"It's my cat's {year, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} birthday!"
46.5
92
0.612903
85b3c8c4d51a7f7e27e14fc218a8433df3f4eafe
7,254
ex
Elixir
lib/transaction.ex
feda12/braintree-elixir
03074d763bcd514d87213646d4cad6dac97c54af
[ "MIT" ]
null
null
null
lib/transaction.ex
feda12/braintree-elixir
03074d763bcd514d87213646d4cad6dac97c54af
[ "MIT" ]
null
null
null
lib/transaction.ex
feda12/braintree-elixir
03074d763bcd514d87213646d4cad6dac97c54af
[ "MIT" ]
null
null
null
defmodule Braintree.Transaction do @moduledoc """ Create a new sale. To create a transaction, you must include an amount and either a payment_method_nonce or a payment_method_token. https://developers.braintreepayments.com/reference/response/transaction/ruby """ use Braintree.Construction alias Brai...
29.851852
93
0.587538
85b3d708cdc0aa63e649115aea97fd3ddda869a0
4,682
exs
Elixir
test/branch_deleter_test.exs
gmendonca/bors-ng
b4003e435f8bcd2652b1049f3bc72c668eddd044
[ "Apache-2.0" ]
null
null
null
test/branch_deleter_test.exs
gmendonca/bors-ng
b4003e435f8bcd2652b1049f3bc72c668eddd044
[ "Apache-2.0" ]
null
null
null
test/branch_deleter_test.exs
gmendonca/bors-ng
b4003e435f8bcd2652b1049f3bc72c668eddd044
[ "Apache-2.0" ]
3
2020-11-15T16:17:58.000Z
2021-06-04T11:26:42.000Z
defmodule BorsNG.Worker.BranchDeleterTest do use BorsNG.Worker.TestCase alias BorsNG.Worker.BranchDeleter alias BorsNG.GitHub alias BorsNG.GitHub.Pr alias BorsNG.Database.Installation alias BorsNG.Database.Project alias BorsNG.Database.Patch alias BorsNG.Database.Repo setup do inst = %Installati...
25.308108
69
0.461341
85b3ec270278bfd66fe2c2961e1b319d2a8b287c
5,655
exs
Elixir
test/qrstorage/qr_codes_test.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
test/qrstorage/qr_codes_test.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
test/qrstorage/qr_codes_test.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
defmodule Qrstorage.QrCodesTest do use Qrstorage.DataCase alias Qrstorage.QrCodes describe "qrcodes" do alias Qrstorage.QrCodes.QrCode @valid_attrs %{ delete_after: ~D[2010-04-17], text: "some text", hide_text: false, content_type: "text", language: nil, deltas: %{"i...
33.264706
95
0.665782
85b3ede2df3600ebc52504420fec34b618399d38
309
ex
Elixir
lib/fun_with_flags/ui/simple_actor.ex
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
77
2017-04-24T20:38:08.000Z
2022-03-29T12:14:08.000Z
lib/fun_with_flags/ui/simple_actor.ex
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
19
2017-06-27T01:06:39.000Z
2022-03-20T10:26:57.000Z
lib/fun_with_flags/ui/simple_actor.ex
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
13
2017-06-26T09:53:15.000Z
2022-03-07T14:29:16.000Z
defmodule FunWithFlags.UI.SimpleActor do @moduledoc false defstruct [:id] end # Simply return the unchanged ID. # This is useful because all the function in the # public API of FunWithFlags expect actors. # defimpl FunWithFlags.Actor, for: FunWithFlags.UI.SimpleActor do def id(%{id: id}), do: id end
22.071429
63
0.754045
85b405e45e92c7886a0a5040dbe61792abe3ebad
2,065
exs
Elixir
apps/ae_socket_connector/mix.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
apps/ae_socket_connector/mix.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
apps/ae_socket_connector/mix.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
defmodule SocketConnector.MixProject do use Mix.Project def project do [ app: :ae_socket_connector, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", start_...
42.142857
160
0.609685
85b42f8a371d66a216ef3d977e96addf1cee3d96
379
exs
Elixir
.iex.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
2
2017-09-20T08:33:20.000Z
2018-08-17T11:57:09.000Z
.iex.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
5
2017-09-25T21:48:48.000Z
2018-02-26T09:06:01.000Z
.iex.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
null
null
null
alias Routemaster.Config alias Routemaster.Utils alias Routemaster.Redis alias Routemaster.Cache alias Routemaster.Fetcher alias Routemaster.Publisher alias Routemaster.Director if Mix.env == :dev do # Starts a local echo service to simulate a remote service. # The echo service will accept traffic on http://localh...
27.071429
65
0.794195
85b47831535e696019604b6734e4294426b913c4
1,229
ex
Elixir
authentication/lib/authentication_web/views/error_helpers.ex
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
authentication/lib/authentication_web/views/error_helpers.ex
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
authentication/lib/authentication_web/views/error_helpers.ex
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
defmodule AuthenticationWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a stat...
36.147059
83
0.677787
85b4821df50a24868a93702e262cc508bdb36784
2,526
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_gcs_destination.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...
53.744681
1,102
0.770784
85b49965271fd8977a84c0e26537d6813bcbe6d2
484
ex
Elixir
lib/edgedb/protocol/codecs/builtin/int16.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/codecs/builtin/int16.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/codecs/builtin/int16.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Codecs.Builtin.Int16 do use EdgeDB.Protocol.Codec alias EdgeDB.Protocol.Datatypes defbuiltinscalarcodec( type_name: "std::int16", type_id: Datatypes.UUID.from_string("00000000-0000-0000-0000-000000000103"), type: Datatypes.Int16.t() ) @impl EdgeDB.Protocol.Codec def ...
22
80
0.737603
85b4a2048379939b218612410b9224c4f00aeec8
10,361
ex
Elixir
lib/ipfs_elixir_api/api.ex
tensor-programming/Elixir-Ipfs-Api
e337b2711a1a701a0c64e36d6ae76d209784e986
[ "Apache-2.0" ]
5
2017-10-11T15:24:01.000Z
2019-04-01T21:08:26.000Z
lib/ipfs_elixir_api/api.ex
tensor-programming/Elixir-Ipfs-Api
e337b2711a1a701a0c64e36d6ae76d209784e986
[ "Apache-2.0" ]
null
null
null
lib/ipfs_elixir_api/api.ex
tensor-programming/Elixir-Ipfs-Api
e337b2711a1a701a0c64e36d6ae76d209784e986
[ "Apache-2.0" ]
3
2017-10-12T23:19:56.000Z
2019-06-06T05:07:07.000Z
defmodule IpfsElixir.Api do @moduledoc """ IpfsElixir.Api is where the main commands of the IPFS API reside. Alias this library and you can run the commands via Api.<cmd_name>. ## Examples iex> alias IpfsElixir.Api iex> Api.get_cmd("Multihash_key") <<0, 19, 148, 0, ... >> ...
35.003378
154
0.627063
85b4b70f4aa527792d143f7e9e81cae303dd1997
1,710
ex
Elixir
lib/ex338/application.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338/application.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338/application.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.Application do @moduledoc false use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec redix_uri = :ex338 |> Application.get_env(:pow_redis, uri: "redis...
29.482759
77
0.650292
85b4d7195b937c082c0e0d4d62731e81d2dc12eb
2,098
ex
Elixir
lib/ex_aliyun_ots/client/transaction.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
lib/ex_aliyun_ots/client/transaction.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
lib/ex_aliyun_ots/client/transaction.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
defmodule ExAliyunOts.Client.Transaction do @moduledoc false alias ExAliyunOts.{PlainBuffer, Http} alias ExAliyunOts.TableStore.{ StartLocalTransactionRequest, StartLocalTransactionResponse, CommitTransactionRequest, CommitTransactionResponse, AbortTransactionRequest, AbortTransactionRes...
27.973333
94
0.726883
85b4e030d13f0234e4ea58336bf3335423d5c905
896
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/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/document_ai/lib/google_api/document_ai/v1beta2/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
85b4f7f00b452f4aef9c2783497a90bdabd7aed9
1,412
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_optimal_trials_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_optimal_trials_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_optimal_trials_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...
30.042553
88
0.770538
85b558eed9678de67a6e2e46f9c7b807025e7840
1,989
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/account.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/mirror/lib/google_api/mirror/v1/model/account.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/account.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 ...
35.517857
95
0.698341
85b55c943c6e957627e66310ef8f5f8f54727b6d
7,855
ex
Elixir
clients/books/lib/google_api/books/v1/api/cloudloading.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/cloudloading.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/cloudloading.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...
43.159341
187
0.640102
85b565b3eabbe9c7e8746dd09a87d7cbc0d4a8db
784
ex
Elixir
lib/model/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
3
2017-04-13T05:37:09.000Z
2022-03-14T17:12:11.000Z
lib/model/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
null
null
null
lib/model/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
2
2017-09-02T10:01:58.000Z
2021-06-19T12:47:15.000Z
defmodule Imgur.Model.Comment do defstruct [ :id, :image_id, :comment, :author, :author_id, :on_album, :album_cover, :ups, :downs, :points, :datetime, :parent_id, :deleted, :vote, :children ] @type t :: %Imgur.Model.Comment{ id: integer, image_i...
17.422222
41
0.589286
85b57c22945dfee61dee3f4cf8889946ac75369b
255
exs
Elixir
test/live_props/validation_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
11
2020-07-02T17:02:18.000Z
2021-10-31T11:27:53.000Z
test/live_props/validation_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
null
null
null
test/live_props/validation_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
1
2021-01-04T20:29:07.000Z
2021-01-04T20:29:07.000Z
defmodule LiveProps.ValidationsTest do use ExUnit.Case test "raises on invalid attribute" do assert_raise ArgumentError, ~r/Attribute must be one of/, fn -> LiveProps.Validations.validate_opts!(:badattr, :name, :type, []) end end end
25.5
70
0.717647
85b582b4ea04656acb4806003bbf59227d7349d9
1,757
ex
Elixir
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.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 ...
35.14
206
0.743312
85b5c853aceebeed84edff4659ea9c287aacef42
407
ex
Elixir
lib/ellie_web/views/page_view.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
377
2018-04-05T03:36:00.000Z
2022-03-30T19:12:44.000Z
lib/ellie_web/views/page_view.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
91
2018-05-24T21:56:06.000Z
2022-02-26T03:54:04.000Z
lib/ellie_web/views/page_view.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
34
2018-05-29T03:54:35.000Z
2022-01-13T07:12:46.000Z
defmodule EllieWeb.PageView do use EllieWeb, :view def production?, do: Application.get_env(:ellie, :env) == :prod def development?, do: Application.get_env(:ellie, :env) == :dev def oembed_url(conn) do current = URI.parse(Phoenix.Controller.current_url(conn)) base = current.scheme <> "://" <> current....
33.916667
66
0.692875
85b5ee137ba0938dec8105a63fcea8c4d6f51955
1,307
exs
Elixir
mix.exs
seamon/eth
b4586c5f1404825e24220b86bcef3e69b0c908ee
[ "MIT" ]
null
null
null
mix.exs
seamon/eth
b4586c5f1404825e24220b86bcef3e69b0c908ee
[ "MIT" ]
null
null
null
mix.exs
seamon/eth
b4586c5f1404825e24220b86bcef3e69b0c908ee
[ "MIT" ]
null
null
null
defmodule Eth.Mixfile do use Mix.Project def project() do [ app: :eth, version: "0.5.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description() ] end # Run "mix help compile.app" to learn about appli...
22.534483
75
0.511094
85b5f898b050edaa54f6a954e585df4f2a7f2457
372
ex
Elixir
backend/lib/backend_web/views/about_view.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
null
null
null
backend/lib/backend_web/views/about_view.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
9
2020-02-12T00:40:03.000Z
2021-12-09T01:11:33.000Z
backend/lib/backend_web/views/about_view.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
null
null
null
defmodule BackendWeb.AboutView do use BackendWeb, :view def render("index.json", %{about: about}) do %{data: render_many(about, Backend.AboutView, "about.json")} end def render("show.json", %{about: about}) do %{data: render_one(about, Backend.AboutView, "about.json")} end def render("about.json"...
23.25
64
0.66129
85b61966eb3e3ed781fb274d2d5d1878cab56ea5
495
ex
Elixir
assistant/lib/assistant_web/views/error_view.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/lib/assistant_web/views/error_view.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/lib/assistant_web/views/error_view.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
defmodule AssistantWeb.ErrorView do use AssistantWeb, :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
85b61bbfc8ad645bb75fb3026b873ff88119b4ba
3,914
ex
Elixir
lib/common_test/cluster.ex
Comcast/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
6
2018-07-11T00:22:08.000Z
2022-02-07T22:11:57.000Z
lib/common_test/cluster.ex
DalavanCloud/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
2
2018-07-18T15:53:22.000Z
2018-07-18T16:14:09.000Z
lib/common_test/cluster.ex
DalavanCloud/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
2
2019-02-02T05:40:19.000Z
2020-05-12T10:05:10.000Z
# Copyright 2018 Comcast Cable Communications Management, 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...
26.62585
80
0.634134
85b6355be6ab53f071872059680f766aab6433bf
2,798
ex
Elixir
lib/toy_robot/server.ex
devdug/toy_robot
ec0214c4ea7762136b6913e5da75499643ea7324
[ "MIT" ]
null
null
null
lib/toy_robot/server.ex
devdug/toy_robot
ec0214c4ea7762136b6913e5da75499643ea7324
[ "MIT" ]
null
null
null
lib/toy_robot/server.ex
devdug/toy_robot
ec0214c4ea7762136b6913e5da75499643ea7324
[ "MIT" ]
null
null
null
defmodule ToyRobot.Server do @moduledoc """ The ToyRobot.Server module manages state for the ToyRobot simulation. The `ToyRobot.Logic` module is aliased to provide the logic for valid moves and rules for state changes. """ use GenServer, restart: :transient alias ToyRobot.Logic @doc """ Starts a supervised ...
24.54386
100
0.684417
85b6414855ef9920d6ca24d311dfdc3cb69c6a48
1,533
ex
Elixir
lib/elixir_rpg.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/elixir_rpg.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/elixir_rpg.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
defmodule ElixirRPG do alias ElixirRPG.World alias ElixirRPG.World.Input alias ElixirRPG.RuntimeSystems require Logger def start(world_name, front_end_pid) do name = String.to_atom(world_name) # First create a world {:ok, the_world} = World.start_link(name, front_end_pid) {:ok, input_server...
25.131148
70
0.694716
85b66dd90857ccd8ee6ab01df4cf7b0945b5849f
1,878
ex
Elixir
lib/pong/game/ball.ex
Serneum/expong-oop
a2beafaceb957cd6f924257eb9799cdb5d2555e4
[ "WTFPL" ]
2
2016-08-25T13:55:53.000Z
2016-08-27T23:54:38.000Z
lib/pong/game/ball.ex
Serneum/ex-pong
75a990a672099f4eae0ca1782b3a40f8e244730a
[ "WTFPL" ]
null
null
null
lib/pong/game/ball.ex
Serneum/ex-pong
75a990a672099f4eae0ca1782b3a40f8e244730a
[ "WTFPL" ]
null
null
null
defmodule Pong.Game.Ball do alias Pong.Game.Ball @radius 10 @vel 5 defstruct [:x, :y, :x_vel, :y_vel] def radius, do: @radius def diameter, do: @radius * 2 def init(screen_width, screen_height) do angle = rand_angle %Ball{x: round(screen_width / 2) - radius, y: round(screen_height / 2) - radiu...
26.083333
91
0.63951
85b67fb65e909722609b2a331e692364b93f1b5a
2,058
ex
Elixir
lib/accesslog_parser/parsec.ex
elixytics/accesslog_parser
d8d565fde15df262ba7725f3f7e0095dc443fdb7
[ "Apache-2.0" ]
1
2019-06-12T01:22:01.000Z
2019-06-12T01:22:01.000Z
lib/accesslog_parser/parsec.ex
elixytics/accesslog_parser
d8d565fde15df262ba7725f3f7e0095dc443fdb7
[ "Apache-2.0" ]
null
null
null
lib/accesslog_parser/parsec.ex
elixytics/accesslog_parser
d8d565fde15df262ba7725f3f7e0095dc443fdb7
[ "Apache-2.0" ]
null
null
null
defmodule AccessLogParser.Parsec do @moduledoc false import NimbleParsec dash_or_string = choice([string("-"), ascii_string([not: 32], min: 1)]) date = ascii_string([?a..?z, ?A..?Z, ?0..?9, ?:, ?/], 20) ip = ascii_string([?a..?f, ?A..?F, ?0..?9, ?:, ?.], min: 7) length = integer(min: 1) method = c...
22.866667
73
0.548105
85b688eed042b9c0d8ea7b762787f3c97bedad6e
11,933
ex
Elixir
lib/chat_api_web/controllers/github_controller.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/github_controller.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/github_controller.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.GithubController do use ChatApiWeb, :controller alias ChatApi.{Conversations, Github, Issues, Messages} alias ChatApi.Conversations.Conversation alias ChatApi.Github.GithubAuthorization alias ChatApi.Issues.Issue require Logger action_fallback(ChatApiWeb.FallbackController) @spe...
31.402632
102
0.592307
85b6b7005f660e2960d58829095510df713da952
3,436
exs
Elixir
test/shapt/worker_test.exs
fcevado/shapt
5aa7ca5f1fa76ad9977b9661ed60764e145668a8
[ "Apache-2.0" ]
12
2019-08-05T03:43:48.000Z
2022-03-08T15:06:38.000Z
test/shapt/worker_test.exs
fcevado/shapt
5aa7ca5f1fa76ad9977b9661ed60764e145668a8
[ "Apache-2.0" ]
5
2019-08-05T12:45:57.000Z
2019-09-10T03:47:50.000Z
test/shapt/worker_test.exs
fcevado/shapt
5aa7ca5f1fa76ad9977b9661ed60764e145668a8
[ "Apache-2.0" ]
null
null
null
defmodule Shapt.WorkerTest do use ExUnit.Case, async: true alias Shapt.Worker describe "init/2" do test "fails when provided adapter doesn't implement adapter behaviour" do assert {:error, {A, "not an adapter"}} == Worker.init(adapter: A) end test "fails when adapter config is invalid" do ...
30.954955
100
0.570431
85b6cc5864981d2cd345ff6643ba779a4ced6b7a
5,478
ex
Elixir
lib/exq/worker/server.ex
yknx4/exq
f1bce6f3babc1986c27e8033fcd4e86c7686a993
[ "Apache-2.0" ]
null
null
null
lib/exq/worker/server.ex
yknx4/exq
f1bce6f3babc1986c27e8033fcd4e86c7686a993
[ "Apache-2.0" ]
null
null
null
lib/exq/worker/server.ex
yknx4/exq
f1bce6f3babc1986c27e8033fcd4e86c7686a993
[ "Apache-2.0" ]
null
null
null
defmodule Exq.Worker.Server do @moduledoc """ Worker process is responsible for the parsing and execution of a Job. It then broadcasts results to Stats / Manager. Currently uses the `terminate` callback to track job success/failure . ## Initialization: * `job_serialized` - Full JSON payload of the Job. ...
26.336538
100
0.60387
85b6cc7ab5fa6c48ab175dff7241a68028f4e8b1
429
exs
Elixir
test/phoenix_cms_web/views/error_view_test.exs
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
null
null
null
test/phoenix_cms_web/views/error_view_test.exs
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
17
2021-03-22T06:11:32.000Z
2022-03-28T20:03:58.000Z
test/phoenix_cms_web/views/error_view_test.exs
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
null
null
null
defmodule PhoenixCmsWeb.ErrorViewTest do use PhoenixCmsWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PhoenixCmsWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
85b6cdaf70b0e7abfca94ec3ac74d0976e1c8cf8
332
exs
Elixir
memento/test/memento_web/live/page_live_test.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
1
2020-06-17T14:11:56.000Z
2020-06-17T14:11:56.000Z
memento/test/memento_web/live/page_live_test.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
1
2021-05-11T17:46:53.000Z
2021-05-11T17:46:53.000Z
memento/test/memento_web/live/page_live_test.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
null
null
null
defmodule MementoWeb.PageLiveTest do use MementoWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!...
27.666667
60
0.725904
85b6cec1203d31e56b443ce28907641e0846b770
66
ex
Elixir
apps/roadtrip_web/lib/roadtrip_web/views/vehicle_view.ex
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
2
2022-01-19T17:59:21.000Z
2022-01-19T18:05:05.000Z
apps/roadtrip_web/lib/roadtrip_web/views/vehicle_view.ex
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
apps/roadtrip_web/lib/roadtrip_web/views/vehicle_view.ex
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
defmodule RoadtripWeb.VehicleView do use RoadtripWeb, :view end
16.5
36
0.818182
85b6d4c0311166592de3acd2e90468cd48cd4838
1,371
exs
Elixir
test/stripe/core_resources/customer_test.exs
Deepwalker/stripity_stripe
8c091d4278d29a917bacef7bb2f0606317fcc025
[ "BSD-3-Clause" ]
2
2019-05-02T10:42:09.000Z
2019-12-02T21:29:17.000Z
test/stripe/core_resources/customer_test.exs
Deepwalker/stripity_stripe
8c091d4278d29a917bacef7bb2f0606317fcc025
[ "BSD-3-Clause" ]
null
null
null
test/stripe/core_resources/customer_test.exs
Deepwalker/stripity_stripe
8c091d4278d29a917bacef7bb2f0606317fcc025
[ "BSD-3-Clause" ]
1
2019-07-18T11:44:35.000Z
2019-07-18T11:44:35.000Z
defmodule Stripe.CustomerTest do use Stripe.StripeCase, async: true test "is creatable" do assert {:ok, %Stripe.Customer{}} = Stripe.Customer.create(%{}) assert_stripe_requested(:post, "/v1/customers") end test "is retrievable" do assert {:ok, %Stripe.Customer{}} = Stripe.Customer.retrieve("cus_12...
33.439024
80
0.68709
85b6db51b94e037749aa1b89826d53f4c20c753f
9,347
exs
Elixir
test/valet_test.exs
jjl/valet.ex
d0531fef0c6134d98c539ba040b8fe8790029ea4
[ "Apache-2.0" ]
3
2018-06-26T10:42:42.000Z
2018-10-03T17:45:05.000Z
test/valet_test.exs
jjl/valet.ex
d0531fef0c6134d98c539ba040b8fe8790029ea4
[ "Apache-2.0" ]
null
null
null
test/valet_test.exs
jjl/valet.ex
d0531fef0c6134d98c539ba040b8fe8790029ea4
[ "Apache-2.0" ]
null
null
null
defmodule ValetTest do use ExUnit.Case use ExUnitProperties alias Valet.Schema # alias StreamData, as: SD alias ValetTest.Gen alias Valet.Error.{ NotAtLeast, NotAtMost, NotBetween, LengthNotAtLeast, LengthNotAtMost, LengthNotBetween, } doctest Valet doctest Valet.Integer doctest...
41.914798
113
0.63154
85b6e8e93523b0996b55ee26811d7f773f746e82
755
ex
Elixir
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant_web/metrics.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant_web/metrics.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-01-20T09:52:48.000Z
2020-01-20T09:52:48.000Z
apps/astarte_data_updater_plant/lib/astarte_data_updater_plant_web/metrics.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:50.000Z
2020-02-04T13:15:50.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...
31.458333
74
0.766887
85b70cb6868d0c3f1400d607020cee6dcec8d589
1,564
ex
Elixir
lib/surface/components/form/reset.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2020-12-29T10:43:19.000Z
2020-12-29T10:43:19.000Z
lib/surface/components/form/reset.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
lib/surface/components/form/reset.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.Reset do @moduledoc """ Defines a reset button. Provides a wrapper for Phoenix.HTML.Form's `reset/2` function. All options passed via `opts` will be sent to `reset/2`, `value` and `class` can be set directly and will override anything in `opts`. ## Examples ``` <Re...
24.825397
80
0.693734
85b738bf3600cbf1b800c7dfab4c7607d2f3bc31
750
ex
Elixir
src/lib/changelog/data/data.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog/data/data.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog/data/data.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule Changelog.Data do defmacro __using__(opts) do opts = Keyword.merge([default_sort: :inserted_at], opts) quote do use Ecto.Schema use Changelog.Arc.Ecto.Schema use Timex.Ecto.Timestamps import Ecto import Ecto.Changeset import Ecto.Query, only: [from: 1, from: 2] ...
32.608696
130
0.661333
85b743fad8984cc3e35c8fdb978a89b85e62ce3e
5,476
ex
Elixir
lib/smart_chain/aggregates.ex
esprezzo/elixir-smart-chain
ed031713edd46c610472406f541196a67e07cb59
[ "MIT" ]
null
null
null
lib/smart_chain/aggregates.ex
esprezzo/elixir-smart-chain
ed031713edd46c610472406f541196a67e07cb59
[ "MIT" ]
null
null
null
lib/smart_chain/aggregates.ex
esprezzo/elixir-smart-chain
ed031713edd46c610472406f541196a67e07cb59
[ "MIT" ]
null
null
null
defmodule SmartChain.Aggregates do @moduledoc """ Functions to return metadata and other more useful stats/data than the node returns natively. """ require IEx @doc """ Return recent average difficulty, blocktime, and nethash for last N blocks ## Example: iex> SmartChain.get_recent_averages(20) ...
30.422222
145
0.664536
85b74493b6035bbbb7a4b32ede499cd3377dcb38
285
exs
Elixir
priv/repo/migrations/20140510114425_add_installs_table.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20140510114425_add_installs_table.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20140510114425_add_installs_table.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repo.Migrations.AddInstallsTable do use Ecto.Migration def up do execute """ CREATE TABLE installs ( id serial PRIMARY KEY, hex text, elixir text) """ end def down do execute "DROP TABLE IF EXISTS installs" end end
16.764706
51
0.631579
85b7655e56564761df07229063f746abaa347940
2,302
ex
Elixir
lib/rf24/simple_ping_pair.ex
ConnorRigby/elixir-rf24
bc64e40ae62970f592bd9c94ae6a01230f25fade
[ "Apache-2.0" ]
2
2020-05-30T05:03:47.000Z
2021-10-23T01:22:37.000Z
lib/rf24/simple_ping_pair.ex
ConnorRigby/elixir-rf24
bc64e40ae62970f592bd9c94ae6a01230f25fade
[ "Apache-2.0" ]
null
null
null
lib/rf24/simple_ping_pair.ex
ConnorRigby/elixir-rf24
bc64e40ae62970f592bd9c94ae6a01230f25fade
[ "Apache-2.0" ]
null
null
null
defmodule RF24.SimplePingPair do @moduledoc """ Sample receiver process that will log all received packets via Elixir's Logger. This can be considered a complement to [this arduino example](https://github.com/nRF24/RF24/blob/master/examples/pingpair_irq_simple/pingpair_irq_simple.ino) """ use GenServer ...
29.139241
120
0.676368
85b77444c85b201b26dd49dbb4826bf3c7c3dbb3
3,505
ex
Elixir
lib/livebook_web/live/session_live/cell_upload_component.ex
sobolevn/livebook
f83e51409a00652070f400dfb58f1dbfaefabafc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_upload_component.ex
sobolevn/livebook
f83e51409a00652070f400dfb58f1dbfaefabafc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_upload_component.ex
sobolevn/livebook
f83e51409a00652070f400dfb58f1dbfaefabafc
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.CellUploadComponent do use LivebookWeb, :live_component alias Livebook.{Session, FileSystem} @impl true def mount(socket) do {:ok, assign(socket, name: "", error_message: nil)} end @impl true def render(assigns) do ~H""" <div class="p-6 pb-4 flex flex-col s...
34.029126
103
0.568331
85b7a15290845df70796ba59132fd24119e1c4ad
10,852
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/api/operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/api/operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/api/operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.556863
196
0.637486
85b7aacfc3333029853c98c20666255a057a43fe
491
exs
Elixir
apps/exred_ui/config/test.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/config/test.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/config/test.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :exred_ui, ExredUIWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :exred_ui, ExredUI....
24.55
56
0.733198
85b7d5a9608cacb8b4bcd17ea2096ae476f71254
338
ex
Elixir
lib/whistler_news_reader_web/views/api/user_view.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
lib/whistler_news_reader_web/views/api/user_view.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
lib/whistler_news_reader_web/views/api/user_view.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReaderWeb.Api.UserView do use WhistlerNewsReaderWeb, :view def render("user.json", %{user: user}) do %{ id: user.id, name: user.name, email: user.email, image_url: gravatar_url(user.email) } end defp gravatar_url(email) do ElixirGravatarUrl.url(email, ...
19.882353
47
0.659763
85b7df4c0ec8814a71f299d42fc8feb393d2c4ad
2,137
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_entity_types_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_entity_types_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_entity_types_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.467742
195
0.743566
85b7fb5dbb439bb29fa2d3082005f02393c0b36c
5,073
exs
Elixir
apps/discovery_api/test/integration/discovery_api/stats/completeness_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/integration/discovery_api/stats/completeness_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/integration/discovery_api/stats/completeness_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApi.Stats.CompletenessTest do use ExUnit.Case use Placebo use DiscoveryApi.DataCase import SmartCity.TestHelper alias SmartCity.TestDataGenerator, as: TDG alias DiscoveryApi.Data.Persistence alias DiscoveryApi.Stats.StatsCalculator alias DiscoveryApi.Stats.DataHelper alias Discovery...
30.196429
100
0.59866
85b81b02b2672af2e7af5825aacadfd36c98efed
5,176
exs
Elixir
test/router/endpoint_test.exs
aforward-oss/lazymaru
e656a342e1dc2989b8e27ab399cb2f4c571aa502
[ "BSD-3-Clause" ]
null
null
null
test/router/endpoint_test.exs
aforward-oss/lazymaru
e656a342e1dc2989b8e27ab399cb2f4c571aa502
[ "BSD-3-Clause" ]
null
null
null
test/router/endpoint_test.exs
aforward-oss/lazymaru
e656a342e1dc2989b8e27ab399cb2f4c571aa502
[ "BSD-3-Clause" ]
null
null
null
defmodule Lazymaru.Router.EndpointTest do use ExUnit.Case , async: true alias Lazymaru.Router.Endpoint alias Lazymaru.Router.Param alias Lazymaru.Router.Validator test "validate param" do assert %{id: 1} == Endpoint.validate_params([%Param{attr_name: :id, parser: Lazymaru.ParamType.Integer}], %{"id" => 1...
69.013333
144
0.535549
85b82d5408012a7c563250718cb69d6a311e0cfe
552
ex
Elixir
lib/mailmaid/smtp/auth/cram_md5.ex
tsg-global/mailmaid
1f76beb4a7fe0f397a239baa189a3dac4d5b5602
[ "MIT" ]
6
2018-08-05T14:57:46.000Z
2021-03-19T12:28:43.000Z
lib/mailmaid/smtp/auth/cram_md5.ex
tsg-global/mailmaid
1f76beb4a7fe0f397a239baa189a3dac4d5b5602
[ "MIT" ]
2
2018-05-14T00:41:08.000Z
2018-08-24T19:52:17.000Z
lib/mailmaid/smtp/auth/cram_md5.ex
tsg-global/mailmaid
1f76beb4a7fe0f397a239baa189a3dac4d5b5602
[ "MIT" ]
2
2019-11-27T21:04:11.000Z
2020-07-11T10:50:48.000Z
defmodule Mailmaid.SMTP.Auth.CramMD5 do defp format_bin(<<>>, acc) do Enum.join(Enum.reverse(acc)) end defp format_bin(<<byte, rest :: binary>>, acc) do format_bin(rest, [:io_lib.format("~2.16.0b", [byte]) | acc]) end def compute_digest(key, data) do bin = :crypto.hmac(:md5, key, data) forma...
25.090909
98
0.641304
85b84c72e236bbd4ff91431fe5fa8f8d59554108
16,295
ex
Elixir
lib/ex_notepad/wx/find_replace_dialog.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/wx/find_replace_dialog.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/wx/find_replace_dialog.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
defmodule ExNotepad.Wx.FindReplaceDialog do @moduledoc false require ExNotepad.Records alias ExNotepad.Records, as: R use Bitwise, only_operators: true require Record Record.defrecordp :wx, Record.extract(:wx, from_lib: "wx/include/wx.hrl") Record.defrecordp :wxCommand, Record.extract(:wxCommand, from_...
38.341176
99
0.624793
85b84f52884e398fd0f89b03531720c9d9598c6e
1,887
ex
Elixir
lib/open_submissions/problems/problems.ex
csfalcione/open-submissions-api
b7af153ebe9c1a9bd487f7fc30a25007bdf2b9c3
[ "MIT" ]
7
2019-02-11T14:31:24.000Z
2021-12-28T08:15:00.000Z
lib/open_submissions/problems/problems.ex
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
null
null
null
lib/open_submissions/problems/problems.ex
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
2
2019-02-11T14:31:37.000Z
2021-12-28T08:15:01.000Z
defmodule OpenSubmissions.Problems do @moduledoc """ The Problems context. """ import Ecto.Query, warn: false alias OpenSubmissions.Repo alias OpenSubmissions.Problems.Problem @doc """ Returns the list of problems. ## Examples iex> list_problems() [%Problem{}, ...] """ def list_p...
17.635514
62
0.608903
85b85a225241c291e3e0f9ea48ad9f3c43bff8a8
354
ex
Elixir
lib/application.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
lib/application.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
lib/application.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
defmodule Blog.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ Blog.Repo ] opts = [strategy: :one_for_one, name: Blog.Supervisor] Supervisor.sta...
20.823529
58
0.683616
85b8aa7cca2b5cb17a72b742dfd1f02ef3aa0ee0
1,879
exs
Elixir
rel/config.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
107
2017-02-10T00:26:05.000Z
2022-02-23T00:50:07.000Z
rel/config.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
109
2017-02-09T14:40:20.000Z
2021-04-30T22:01:20.000Z
rel/config.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
25
2017-08-21T20:55:33.000Z
2022-03-06T10:01:13.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. ~w(rel plugins *.exs) |> Path.join() |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Distillery.Releases.Config, ...
30.803279
82
0.722725
85b8c1a315c3a2126dd5ba6e9816eaf343ad8de4
69
ex
Elixir
web/views/layout_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
web/views/layout_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
web/views/layout_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
defmodule JtwebmanCom.LayoutView do use JtwebmanCom.Web, :view end
17.25
35
0.811594
85b8c95aa37ed94eee0391960b172461b54e0c45
1,135
exs
Elixir
config/config.exs
lee-dohm/alfred-bookmarks
7200f0a53907f1e44fa3f5cb33de534cf0ebc7bb
[ "MIT" ]
1
2020-01-26T18:07:57.000Z
2020-01-26T18:07:57.000Z
config/config.exs
lee-dohm/alfred-bookmarks
7200f0a53907f1e44fa3f5cb33de534cf0ebc7bb
[ "MIT" ]
null
null
null
config/config.exs
lee-dohm/alfred-bookmarks
7200f0a53907f1e44fa3f5cb33de534cf0ebc7bb
[ "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.612903
73
0.755066
85b8cb73d8a47446a65a7b00b60b95bd81666a3a
1,526
ex
Elixir
test/support/data_case.ex
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
test/support/data_case.ex
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
test/support/data_case.ex
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
defmodule Reborn.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to th...
27.25
77
0.687418
85b8d86bf051f11236f4026d1eed69270309cbe5
2,693
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_retention_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_retention_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_retention_policy.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...
50.811321
601
0.753435
85b8e8e35d3313a65eb8bea2e2a371e2e63473f7
864
exs
Elixir
deps/gen_stage/mix.exs
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
deps/gen_stage/mix.exs
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
deps/gen_stage/mix.exs
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
defmodule GenStage.Mixfile do use Mix.Project @version "0.14.1" def project do [ app: :gen_stage, version: @version, elixir: "~> 1.5", package: package(), description: "Producer and consumer pipelines with back-pressure for Elixir", start_permanent: Mix.env() == :prod, ...
20.571429
83
0.554398
85b90a3a744d70b5cff79fabba2b54d66d45cf46
1,079
ex
Elixir
apps/bingo_hall/test/support/conn_case.ex
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
2
2018-05-30T11:17:19.000Z
2018-11-08T19:04:09.000Z
apps/bingo_hall/test/support/conn_case.ex
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
null
null
null
apps/bingo_hall/test/support/conn_case.ex
marcdel/bingo
898dc4a5fb53f3941038796793a3bd7606c70567
[ "Unlicense" ]
null
null
null
defmodule BingoHallWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if t...
27.666667
70
0.700649
85b91511b559962a4ce12fb11a8ba78751a775dd
705
ex
Elixir
lib/dailymeal/meals/create.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal/meals/create.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal/meals/create.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule Dailymeal.Meals.Create do alias Dailymeal.{Error, Meal, Repo, User} alias Dailymeal.Users.Get, as: UserGet def call(%{"data" => data, "user_id" => user_id} = params) do with {:ok, data} <- NaiveDateTime.from_iso8601(data), {:ok, %User{}} <- UserGet.by_id(user_id) do Map.put(params, "...
29.375
93
0.622695
85b92157bdfb743b20a449f850996ea41b611683
16,431
ex
Elixir
lib/lattice_observer/observed/lattice.ex
wasmCloud/lattice-observer
723fb0dfb57ba5aa831d8663ebd8df43cffd4e08
[ "Apache-2.0" ]
null
null
null
lib/lattice_observer/observed/lattice.ex
wasmCloud/lattice-observer
723fb0dfb57ba5aa831d8663ebd8df43cffd4e08
[ "Apache-2.0" ]
6
2021-11-22T12:51:35.000Z
2022-02-10T21:29:28.000Z
lib/lattice_observer/observed/lattice.ex
wasmCloud/lattice-observer
723fb0dfb57ba5aa831d8663ebd8df43cffd4e08
[ "Apache-2.0" ]
1
2021-11-27T01:16:42.000Z
2021-11-27T01:16:42.000Z
defmodule LatticeObserver.Observed.Lattice do @annotation_app_spec "wasmcloud.dev/appspec" @moduledoc """ The root structure of an observed lattice. An observed lattice is essentially an event sourced aggregate who state is determined by application of a stream of lattice events """ alias __MODULE__ a...
29.605405
99
0.573063
85b9282f16af2d19b1f84993c0a371136c30a5f0
748
ex
Elixir
test/support/channel_case.ex
trankimhieu/drone-with-elixir
c69c27b0c71e24a2002d5ec81e8364a8989682de
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
trankimhieu/drone-with-elixir
c69c27b0c71e24a2002d5ec81e8364a8989682de
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
trankimhieu/drone-with-elixir
c69c27b0c71e24a2002d5ec81e8364a8989682de
[ "Apache-2.0" ]
1
2021-06-26T15:08:59.000Z
2021-06-26T15:08:59.000Z
defmodule HelloPhoenix.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it canno...
22
56
0.721925
85b92b007b1056afb17f6a4dbaaceca5fe95a706
7,819
ex
Elixir
lib/phoenix/code_reloader/server.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
lib/phoenix/code_reloader/server.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
lib/phoenix/code_reloader/server.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule Phoenix.CodeReloader.Server do @moduledoc false use GenServer require Logger alias Phoenix.CodeReloader.Proxy def start_link(_) do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end def check_symlinks do GenServer.call(__MODULE__, :check_symlinks, :infinity) end def relo...
26.686007
99
0.626167
85b95ebc895aa94aeb9b8c98a066b01c9dd5eac1
464
ex
Elixir
test/support/post.ex
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
test/support/post.ex
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
test/support/post.ex
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
defmodule EctoMultitenantPaginator.Ecto.Post do @moduledoc false use Ecto.Schema import Ecto.Query schema "posts" do field(:title, :string) field(:body, :string) field(:published, :boolean) has_many(:comments, EctoMultitenantPaginator.Ecto.Comment) timestamps() end def published(qu...
17.846154
62
0.676724
85b97d7d6033e1f7717506099613d8d1a0a83cbc
978
ex
Elixir
lib/exedra.ex
rob05c/exedra
550091d95739959f2587f1245c105f2561caf1ab
[ "MIT" ]
1
2020-11-20T01:58:11.000Z
2020-11-20T01:58:11.000Z
lib/exedra.ex
rob05c/exedra
550091d95739959f2587f1245c105f2561caf1ab
[ "MIT" ]
null
null
null
lib/exedra.ex
rob05c/exedra
550091d95739959f2587f1245c105f2561caf1ab
[ "MIT" ]
null
null
null
defmodule Exedra do use Application alias Exedra.Player, as: Player alias Exedra.Room, as: Room alias Exedra.Item, as: Item alias Exedra.NPC, as: NPC alias Exedra.SSHManager, as: SSHManager alias Exedra.SessionManager, as: SessionManager alias Exedra.WorldManager, as: WorldManager alias Exedra.NPCActo...
29.636364
71
0.679959
85b983446cf80c4fd515b9d495fbd906d32844fc
1,047
ex
Elixir
lib/ecto_relations/endpoint.ex
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
lib/ecto_relations/endpoint.ex
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
lib/ecto_relations/endpoint.ex
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
defmodule EctoRelations.Endpoint do use Phoenix.Endpoint, otp_app: :ecto_relations socket "/socket", EctoRelations.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. ...
26.175
69
0.720153
85b98d0ccf063d03ac997d92489963ecd3cb7866
530
ex
Elixir
lib/s3_cache.ex
sysdea-libs/s3_cache
17d44a8651c6553eadc739e1fb895c4653c3315f
[ "MIT" ]
2
2016-02-22T18:20:40.000Z
2020-09-06T08:37:41.000Z
lib/s3_cache.ex
sysdea-libs/s3_cache
17d44a8651c6553eadc739e1fb895c4653c3315f
[ "MIT" ]
null
null
null
lib/s3_cache.ex
sysdea-libs/s3_cache
17d44a8651c6553eadc739e1fb895c4653c3315f
[ "MIT" ]
null
null
null
defmodule S3Cache do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do S3Cache.Supervisor.start_link end def touch(file) do S3Cache.FileRegistry.touch(file) end def get(file) do case :ets....
20.384615
66
0.681132
85b99b9b5060d92818e272138087850bb3077805
1,589
ex
Elixir
lib/nano_planner_web/views/bootstrap_helpers.ex
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
4
2019-04-21T05:46:19.000Z
2021-09-13T01:56:33.000Z
lib/nano_planner_web/views/bootstrap_helpers.ex
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
1
2020-09-24T00:13:40.000Z
2020-09-24T00:13:40.000Z
lib/nano_planner_web/views/bootstrap_helpers.ex
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
3
2019-10-26T01:41:53.000Z
2020-09-21T01:13:02.000Z
defmodule NanoPlannerWeb.BootstrapHelpers do import Phoenix.HTML.Form import Phoenix.HTML.Tag def bootstrap_text_input(form, field, opts \\ []) do text_input(form, field, html_opts(form, field, opts)) end def bootstrap_date_input(form, field, opts \\ []) do date_input(form, field, html_opts(form, fi...
29.425926
69
0.672121
85b9aff2015ab0a911765bad9608f1d190cf9e1b
9,014
ex
Elixir
lib/moebius/database.ex
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
null
null
null
lib/moebius/database.ex
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
null
null
null
lib/moebius/database.ex
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
null
null
null
defmodule Moebius.Database do defmacro __using__(_opts) do quote location: :keep do @name __MODULE__ alias __MODULE__ def start_link(opts) do opts |> prepare_extensions |> Moebius.Database.start_link end def child_spec([]), do: child_spec(Moebius.get_...
34.143939
149
0.598735
85b9f25e07460fe999b37fcee7467c797096db50
562
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/router/message_handler.ex
plaxi0s/ockam
2cc911dff720228bca950d83faf095ea84717981
[ "Apache-2.0" ]
1,912
2019-01-10T14:17:00.000Z
2022-03-30T19:16:44.000Z
implementations/elixir/ockam/ockam/lib/ockam/router/message_handler.ex
plaxi0s/ockam
2cc911dff720228bca950d83faf095ea84717981
[ "Apache-2.0" ]
1,473
2019-01-16T15:14:47.000Z
2022-03-31T23:44:50.000Z
implementations/elixir/ockam/ockam/lib/ockam/router/message_handler.ex
plaxi0s/ockam
2cc911dff720228bca950d83faf095ea84717981
[ "Apache-2.0" ]
219
2019-01-11T03:35:13.000Z
2022-03-31T10:25:56.000Z
defmodule Ockam.Router.MessageHandler do @moduledoc false alias Ockam.Message @typedoc """ A function that accepts an address and a message as arguments. It returns `:ok` or `{:error, reason}`, where `reason` can be any term. """ @type t :: (Message.t() -> :ok | {:error, reason :: any()}) @doc """ ...
26.761905
74
0.677936
85ba26b73912d21d4f487a47634998dd17c3d75c
287
ex
Elixir
lib/ex_ftx/air_drop.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
lib/ex_ftx/air_drop.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
lib/ex_ftx/air_drop.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.AirDrop do alias __MODULE__ @type t :: %AirDrop{ coin: String.t(), id: pos_integer, size: number, time: String.t(), status: String.t() } defstruct ~w[ coin id size time status ]a end
14.35
28
0.494774
85ba2796ffef53db4f4753661583aa1ee7a4e3c5
2,333
ex
Elixir
priv/templates/excaffolder.gen.html/index.ex
pcarvsilva/excaffolder
d3bda1e7a064dc1eb5312ca01728b208684bb503
[ "MIT" ]
3
2019-11-01T22:20:06.000Z
2020-02-09T22:53:13.000Z
priv/templates/excaffolder.gen.html/index.ex
pcarvsilva/excaffolder
d3bda1e7a064dc1eb5312ca01728b208684bb503
[ "MIT" ]
null
null
null
priv/templates/excaffolder.gen.html/index.ex
pcarvsilva/excaffolder
d3bda1e7a064dc1eb5312ca01728b208684bb503
[ "MIT" ]
null
null
null
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>Live.Index do use Phoenix.LiveView alias <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>View alias <%= inspect context.module %> def render(assigns) do ...
25.922222
150
0.589799
85ba3295de42e66a2f3322bcb9ac7040a0a076f9
5,740
ex
Elixir
lib/phoenix/pubsub/local.ex
benjamintanweihao/phoenix
eb4ef03852f447d67cd61355753147c39b520e1f
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/local.ex
benjamintanweihao/phoenix
eb4ef03852f447d67cd61355753147c39b520e1f
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/local.ex
benjamintanweihao/phoenix
eb4ef03852f447d67cd61355753147c39b520e1f
[ "MIT" ]
null
null
null
defmodule Phoenix.PubSub.Local do use GenServer @moduledoc """ PubSub implementation for handling local-node process groups This module is used by Phoenix pubsub adapters to handle their local node topic subscriptions. See `Phoenix.PubSub.PG2` for an example integration. """ @doc """ Starts the ser...
26.451613
83
0.613589
85ba3c9bef71008d108eb015836e83f3d122454f
2,233
exs
Elixir
tests/multicast_listen.exs
EmbeddedNim/fastrpc
5a1a70fb706b6b4b5623038518be2c7ac64c3cb7
[ "Apache-2.0" ]
null
null
null
tests/multicast_listen.exs
EmbeddedNim/fastrpc
5a1a70fb706b6b4b5623038518be2c7ac64c3cb7
[ "Apache-2.0" ]
null
null
null
tests/multicast_listen.exs
EmbeddedNim/fastrpc
5a1a70fb706b6b4b5623038518be2c7ac64c3cb7
[ "Apache-2.0" ]
1
2021-12-30T05:56:18.000Z
2021-12-30T05:56:18.000Z
Mix.install [:msgpax] defmodule UdpThing do # nc -6 -u ff12::1%en3 1 @ip6_protocol [macos: -1, bsd: -1, linux: 41] @ip6_add_membership [macos: 12, bsd: 12, linux: 20] @ip6_drop_membership [macos: 13, bsd: 13, linux: 21] def ipv6_to_binary(ipv6addressstr) when is_binary(ipv6addressstr) do {:ok, {n1,n2,...
29.381579
80
0.557546
85ba4ece1886911ed38726eb75a6e338a3304d90
1,147
ex
Elixir
lib/metar_map_web/live/map_component.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
null
null
null
lib/metar_map_web/live/map_component.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
2
2022-02-19T17:09:09.000Z
2022-02-19T17:10:29.000Z
lib/metar_map_web/live/map_component.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
null
null
null
defmodule MetarMapWeb.MapComponent do use MetarMapWeb, :component alias MetarMap.Station def map(assigns) do ~H""" <div class="p-4 md:p-10 w-full border shadow-lg rounded-xl bg-gray-100 mb-6" style="height: 50vw"> <div class="relative w-full h-full"> <%= for led <- @leds do %> ...
34.757576
171
0.617262
85ba853acb32082975d0d7ebe112f7eaa4509a3f
2,430
ex
Elixir
web/helpers/authentication_helpers.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/helpers/authentication_helpers.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/helpers/authentication_helpers.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.AuthenticationHelpers do use Phoenix.Controller import Canary.Plugs, only: [load_resource: 2] import Canada.Can, only: [can?: 3] import Plug.Conn, only: [halt: 1, put_status: 2, assign: 3] alias JaSerializer.Params def handle_unauthorized(conn = %{assigns: %{authorized: true}}), do: c...
30.759494
105
0.694239
85ba9228dc2f07b6972a6e2a051559bfef688885
2,029
exs
Elixir
test/changelog/policies/admin/episode_request_test.exs
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
test/changelog/policies/admin/episode_request_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
test/changelog/policies/admin/episode_request_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.Policies.Admin.EpisodeRequestTest do use Changelog.PolicyCase alias Changelog.Policies.Admin.EpisodeRequest test "only admins and podcast hosts can get the index" do refute EpisodeRequest.index(@guest, %{}) refute EpisodeRequest.index(@user, %{}) refute EpisodeRequest.index(@edit...
37.574074
66
0.678167
85baa60e5a8c5c8ea16a72f119fb229f4e58bbf2
4,004
ex
Elixir
lib/tz_world/backend/dets.ex
qilongxu/tz_world
010ffae5846006d27fbf613855fb58ee6a40ad33
[ "MIT" ]
null
null
null
lib/tz_world/backend/dets.ex
qilongxu/tz_world
010ffae5846006d27fbf613855fb58ee6a40ad33
[ "MIT" ]
null
null
null
lib/tz_world/backend/dets.ex
qilongxu/tz_world
010ffae5846006d27fbf613855fb58ee6a40ad33
[ "MIT" ]
null
null
null
defmodule TzWorld.Backend.Dets do @moduledoc false @behaviour TzWorld.Backend use GenServer alias Geo.Point @timeout 10_000 @tz_world_version :tz_world_version @doc false def start_link(options \\ []) do GenServer.start_link(__MODULE__, options, name: __MODULE__) end @doc false def init(...
24.120482
79
0.616633
85baa7b57d5d72a56dd15125197d5c6c8429230f
8,200
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload.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...
56.944444
494
0.742927
85babe7396b045182fb567d85b4c3be1d1e8646b
724
ex
Elixir
lib/waffle/transformations/command.ex
xMunch/waffle
2c60c64bb7ccfe878d50ca809dbd6dfe15046558
[ "Apache-2.0" ]
null
null
null
lib/waffle/transformations/command.ex
xMunch/waffle
2c60c64bb7ccfe878d50ca809dbd6dfe15046558
[ "Apache-2.0" ]
null
null
null
lib/waffle/transformations/command.ex
xMunch/waffle
2c60c64bb7ccfe878d50ca809dbd6dfe15046558
[ "Apache-2.0" ]
2
2021-01-12T23:24:19.000Z
2021-01-13T03:41:24.000Z
defmodule Waffle.Transformations.Command do @doc """ Execute a System.cmd command. """ @spec execute(String.t() | atom, list) :: tuple def execute(program, args) when is_atom(program), do: execute(to_string(program), args) def execute(program, args) when is_list(args) do ensure_executable_exists!(p...
30.166667
90
0.719613
85bacaf1fe65c866d05a4e791c4e0912429dedce
2,765
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/alert_center/lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.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...
38.943662
113
0.683906
85baffd100b1ee72acc5e0f55d37ba34bb7e07cb
70
ex
Elixir
lib/test_the_planet.ex
slogsdon/test-the-planet
98fe79abff66326c3bc1c626e3a35c47e7373678
[ "MIT", "Unlicense" ]
1
2020-01-12T19:09:02.000Z
2020-01-12T19:09:02.000Z
lib/test_the_planet.ex
slogsdon/test-the-planet
98fe79abff66326c3bc1c626e3a35c47e7373678
[ "MIT", "Unlicense" ]
null
null
null
lib/test_the_planet.ex
slogsdon/test-the-planet
98fe79abff66326c3bc1c626e3a35c47e7373678
[ "MIT", "Unlicense" ]
null
null
null
defmodule TestThePlanet do @moduledoc File.read!("./README.md") end
17.5
38
0.742857
85bb0a6ce3cc90a82d4a1da6e9e3c42f81944f1c
2,476
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/download_request.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/download_request.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/download_request.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.214286
282
0.718901
85bb14fcc067dca19eb4eada9a541b24ebbfd7e6
374
exs
Elixir
config/config.exs
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
9
2019-09-26T08:18:41.000Z
2021-02-04T19:59:37.000Z
config/config.exs
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
null
null
null
config/config.exs
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
1
2020-07-14T13:50:46.000Z
2020-07-14T13:50:46.000Z
import Config config :asset_import, AssetImportTest.Assets, assets_base_url: "/assets", assets_path: Path.expand("assets"), manifest_path: Path.expand("priv/static/manifest.json"), entrypoints_path: Path.expand("assets/entrypoints.json") config :phoenix, json_library: Jason, template_engines: [leex: Phoen...
26.714286
58
0.759358
85bb1dbd7ac9b2b0dfb702cd4a96ada1c5eb1ddb
3,300
exs
Elixir
mix.exs
spatrik/elixir-type_check
6a10960b6ed4c3785b7f2644a26547e35fcb295e
[ "MIT" ]
null
null
null
mix.exs
spatrik/elixir-type_check
6a10960b6ed4c3785b7f2644a26547e35fcb295e
[ "MIT" ]
null
null
null
mix.exs
spatrik/elixir-type_check
6a10960b6ed4c3785b7f2644a26547e35fcb295e
[ "MIT" ]
null
null
null
defmodule TypeCheck.MixProject do use Mix.Project @source_url "https://github.com/Qqwy/elixir-type_check" def project do [ app: :type_check, version: "0.10.6", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), name: "Ty...
31.428571
247
0.602727
85bb26361c2032aa08035f167c42c0742762608b
3,630
ex
Elixir
lib/tzdata/time_zone_database.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
null
null
null
lib/tzdata/time_zone_database.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
null
null
null
lib/tzdata/time_zone_database.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
null
null
null
defmodule Tzdata.TimeZoneDatabase do @behaviour Calendar.TimeZoneDatabase @moduledoc """ Module for interfacing with the standard library time zone related functions of Elixir 1.8+. Implements the `Calendar.TimeZoneDatabase` behaviour. """ @impl true def time_zone_period_from_utc_iso_days(iso_days, time...
32.702703
97
0.66584
85bb35cfc6069a2009ae81f2d17f00d66e3a23f9
2,385
ex
Elixir
lib/elixircom.ex
mattludwigs/elixircom
09e841d9eb70f132aa3aa0a6ea73789b48c3d2c4
[ "Apache-2.0" ]
5
2018-11-05T14:54:05.000Z
2021-01-06T16:10:03.000Z
lib/elixircom.ex
mattludwigs/elixircom
09e841d9eb70f132aa3aa0a6ea73789b48c3d2c4
[ "Apache-2.0" ]
null
null
null
lib/elixircom.ex
mattludwigs/elixircom
09e841d9eb70f132aa3aa0a6ea73789b48c3d2c4
[ "Apache-2.0" ]
1
2018-11-05T15:04:20.000Z
2018-11-05T15:04:20.000Z
defmodule Elixircom do alias Elixircom.Server @moduledoc """ A serial port terminal emulator for IEx Run interactively be starting it from the `IEx` prompt. Here's an example that uses `Elixircom` to interact with a modem: ```elixir iex> Elixircom.run("/dev/tty.usbmodem14103", speed: 115_200) AT OK...
21.294643
86
0.613417
85bb5fd329cae87982f417eb36e3892132a72150
1,105
ex
Elixir
clients/books/lib/google_api/books/v1/model/metadata_items.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/metadata_items.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/metadata_items.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...
26.95122
77
0.728507
85bb8f8c71f99ef83528bfa5c8d1f092ccbb4096
811
exs
Elixir
youtube/elixir_casts/chat/test/chat_web/channels/water_cooler_channel_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/elixir_casts/chat/test/chat_web/channels/water_cooler_channel_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/elixir_casts/chat/test/chat_web/channels/water_cooler_channel_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule ChatWeb.WaterCoolerChannelTest do use ChatWeb.ChannelCase setup do {:ok, _, socket} = ChatWeb.UserSocket |> socket("user_id", %{some: :assign}) |> subscribe_and_join(ChatWeb.WaterCoolerChannel, "water_cooler:lobby") %{socket: socket} end test "ping replies with status ok",...
28.964286
77
0.636252
85bb938e09cf9901a2c584efc51b0bdfa9cde2d8
10,232
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/sizes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/sizes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/sizes.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...
46.509091
252
0.624218
85bbb76aee54a63d18aa0318e4ee99c40c3b7595
3,971
ex
Elixir
lib/scenario/scene.ex
young-skilled/Yst
9c48c02df24fab93c8b8ec69971082b2ddec660a
[ "MIT" ]
null
null
null
lib/scenario/scene.ex
young-skilled/Yst
9c48c02df24fab93c8b8ec69971082b2ddec660a
[ "MIT" ]
null
null
null
lib/scenario/scene.ex
young-skilled/Yst
9c48c02df24fab93c8b8ec69971082b2ddec660a
[ "MIT" ]
null
null
null
defmodule Scene do @moduledoc """ This structure provides definition of "Scene". Each scene contains multiple actions and checks. Action is a field that ends with "!". Check is a field that ends with "?". Actions that may be defined once per scene: req!, window!, screenshot!, wait_after!, session!, di...
34.530435
96
0.512717