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
9eeffd1212fba84366cb3f8b71aefc0244d8f103
43
exs
Elixir
elixir/86.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/86.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/86.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
square = &(&1 * &1) square.(8) |> IO.puts
10.75
21
0.488372
9ef03f6c64c7dccffa6e9fa030211701eb014f76
763
exs
Elixir
mix.exs
hirokazumiyaji/dynamodb
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
1
2017-02-01T12:42:45.000Z
2017-02-01T12:42:45.000Z
mix.exs
hirokazumiyaji/dynamodb-elixir
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
null
null
null
mix.exs
hirokazumiyaji/dynamodb-elixir
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
null
null
null
defmodule DynamoDB.Mixfile do use Mix.Project def project do [app: :dynamodb, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for mo...
21.8
77
0.588467
9ef04810aee367db0a2574c4dbe902ffedf58938
243
ex
Elixir
lib/jerry/utils/macros.ex
nroi/jerry
77b7e1371f5323a2e8956d58e7a16e458d2c6170
[ "MIT" ]
1
2018-01-25T22:43:19.000Z
2018-01-25T22:43:19.000Z
lib/jerry/utils/macros.ex
nroi/jerry
77b7e1371f5323a2e8956d58e7a16e458d2c6170
[ "MIT" ]
6
2017-09-17T11:33:24.000Z
2017-10-08T21:16:26.000Z
lib/jerry/utils/macros.ex
nroi/jerry
77b7e1371f5323a2e8956d58e7a16e458d2c6170
[ "MIT" ]
null
null
null
defmodule Jerry.Utils.Macros do @moduledoc false defmacro source(regex) do quote do Regex.source(unquote(regex)) end end defmacro compile(string) do quote do Regex.compile!(unquote(string)) end end end
14.294118
37
0.666667
9ef05df8cb80455e019b80d30be76e329ba93c47
1,882
ex
Elixir
lib/oli/delivery/evaluation/evaluator.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/delivery/evaluation/evaluator.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/delivery/evaluation/evaluator.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Evaluation.Evaluator do alias Oli.Delivery.Evaluation.{EvaluationContext, Result} alias Oli.Activities.Model.{Part, Response} alias Oli.Delivery.Evaluation.Rule alias Oli.Activities.ParseUtils @doc """ Evaluates a student input for a given activity part. In a successful evaluation...
30.354839
83
0.628055
9ef062ed796a07bbdd8aa80f78349867a38356b6
289
exs
Elixir
priv/repo/migrations/20190222013947_create_users.exs
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
null
null
null
priv/repo/migrations/20190222013947_create_users.exs
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
2
2021-03-09T00:49:12.000Z
2021-05-08T03:13:05.000Z
priv/repo/migrations/20190222013947_create_users.exs
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
null
null
null
defmodule Reserva.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :usbid, :string add :type, :string add :name, :string add :email, :string add :phone_number, :string timestamps() end end end
17
48
0.629758
9ef065d9c56407b62fbe46490374cb0ed6a38485
305
exs
Elixir
test/auth/auth_user_test.exs
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
31
2021-02-16T20:50:46.000Z
2022-02-03T10:38:07.000Z
test/auth/auth_user_test.exs
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
6
2021-04-07T21:50:20.000Z
2022-02-06T21:54:04.000Z
test/auth/auth_user_test.exs
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
4
2021-03-25T17:59:44.000Z
2021-04-25T16:28:22.000Z
defmodule Potionx.Auth.UserTest do use Potionx.ConnCase test "test user json gets decoded into a user struct" do json = Jason.encode!(%PotionxTest.User{id: 1, roles: [:admin]}) |> Jason.decode! assert %PotionxTest.User{roles: [:admin]} = PotionxTest.User.from_json(json) end end
30.5
80
0.691803
9ef07b00b0b55812782608b6485caa839ba68105
407
ex
Elixir
lib/infinity_one_web/channel.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one_web/channel.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one_web/channel.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOneWeb.Channel do @moduledoc """ Channel helpers """ @type socket :: Phoenix.Socket.t @doc """ Return the :noreply tuple """ @spec noreply(socket) :: {:noreply, socket} def noreply(socket), do: {:noreply, socket} @doc """ Return the reply tuple """ @spec reply(any, socket)...
19.380952
55
0.633907
9ef09892225af11230ed4b54e799bbbd05837e56
778
ex
Elixir
apps/artemis/lib/artemis/schemas/reaction.ex
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis/lib/artemis/schemas/reaction.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis/lib/artemis/schemas/reaction.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule Artemis.Reaction do use Artemis.Schema use Artemis.Schema.SQL schema "reactions" do field :resource_id, :string field :resource_type, :string field :value, :string belongs_to :user, Artemis.User timestamps() end # Callbacks def updatable_fields, do: [ :resource_i...
15.56
43
0.597686
9ef0de75c9a8933f0febfd2fa2962e6035f0397a
2,108
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeed_status_error.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/datafeed_status_error.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/datafeed_status_error.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...
37.642857
169
0.703985
9ef0f4ecb41575dfe82c708a3a82b7ba8749b6c8
973
ex
Elixir
generated_code_examples/elixir/regression/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/regression/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/regression/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
defmodule Model do @compile {:inline, read: 2} defp read(bin, pos) do <<_::size(pos)-unit(64)-binary, value::float, _::binary>> = bin value end defp list_to_binary(list) do for i <- list, into: <<>>, do: <<i::float>> end def score(input) do input = list_to_binary(...
64.866667
633
0.5889
9ef16ea02d16363cecfce1688c1c4a8c04104746
307
ex
Elixir
lib/messaging_status_service/error_sink_behaviour.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
lib/messaging_status_service/error_sink_behaviour.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
lib/messaging_status_service/error_sink_behaviour.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
defmodule MessagingStatusService.Calls.ErrorSinkBehaviour do @type message :: IO.chardata() | String.Chars.t() @type metadata :: keyword(String.Chars.t()) @type message_t :: (() -> message) | {message, keyword} @callback error(message_t) :: any() @callback error(message_t, metadata) :: any() end
38.375
60
0.700326
9ef18700a281ad2572be0926f571d139477c45d0
1,103
ex
Elixir
lib/hexdocs/store/impl.ex
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
29
2016-10-13T07:32:04.000Z
2022-03-25T05:59:14.000Z
lib/hexdocs/store/impl.ex
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
21
2016-02-24T03:59:35.000Z
2021-07-30T08:44:39.000Z
lib/hexdocs/store/impl.ex
hexpm/hexdocs
808d0b06bbd1a36c639231225ed78cec8c182cae
[ "Apache-2.0" ]
12
2016-02-28T19:57:36.000Z
2022-03-18T07:47:39.000Z
defmodule Hexdocs.Store.Impl do @behaviour Hexdocs.Store.Repo @behaviour Hexdocs.Store.Docs def list(bucket, prefix) do {impl, name} = bucket(bucket) impl.list(name, prefix) end def get(bucket, key, opts) do {impl, name} = bucket(bucket) impl.get(name, key, opts) end def head_page(bucke...
22.06
44
0.646419
9ef1c6c1bc69e347f191bb23aea83b4f47e169e5
666
ex
Elixir
lib/andy/actuation/actuator_config.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/actuation/actuator_config.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/actuation/actuator_config.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.ActuatorConfig do @moduledoc "An actuator's configuration" defstruct name: nil, type: nil, specs: nil, activations: nil, intents: nil @doc "Make a new actuator conf" def new(name: name, type: type, specs: specs, activations: activations) do config = %Andy.ActuatorConfig{name: name, type: ty...
28.956522
97
0.689189
9ef1cb2350d65860d9ce4c7319ee724596104659
45,322
ex
Elixir
lib/ecto/schema.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Schema do @moduledoc ~S""" Defines a schema for a model. A schema is a struct with associated metadata that is persisted to a repository. Every schema model is also a struct, that means that you work with models just like you would work with structs. ## Example defmodule User do ...
34.623377
105
0.665085
9ef1cb6805b4dfb150391f3c09e484d60868676a
1,372
ex
Elixir
web/channels/room_channel.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
korczis/zaas
6e04c210f324aac853a64b01e63855bd2dfb95d9
[ "MIT" ]
null
null
null
defmodule Chat.RoomChannel do @moduledoc """ Auth controller responsible for handling Ueberauth responses """ use Phoenix.Channel require Logger @doc """ Authorize socket to subscribe and broadcast events on this channel & topic Possible Return Values `{:ok, socket}` to authorize subscription for ...
25.407407
76
0.652332
9ef1d2eaca553c3e2424d9687d7ccf78851b9679
2,278
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activities_generate_tag_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activities_generate_tag_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/floodlight_activities_generate_tag_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.610169
277
0.755926
9ef1e3b1ea64f746b1fd44f92af4c9983d6bea1e
1,831
ex
Elixir
lib/assent/jwt_adapter.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
160
2019-09-25T01:07:16.000Z
2022-03-08T00:45:16.000Z
lib/assent/jwt_adapter.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
47
2019-09-25T00:38:44.000Z
2022-03-21T17:35:43.000Z
lib/assent/jwt_adapter.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
30
2019-10-04T15:58:06.000Z
2021-12-10T16:43:52.000Z
defmodule Assent.JWTAdapter do @moduledoc """ JWT adapter helper module. ## Usage defmodule MyApp.MyJWTAdapter do @behaviour Assent.JWTAdapter @impl true def sign(claims, alg, secret, opts) do # ... end @impl true def verify(token, secret, opts) ...
28.169231
99
0.600765
9ef22230fe9c825cf586f184b4c2b01dfb306fa7
6,860
ex
Elixir
lib/validators/time.ex
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
lib/validators/time.ex
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
lib/validators/time.ex
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
defmodule EctoCommons.TimeValidator do @moduledoc ~S""" This module provides validators for `Time`s. You can use the following checks: * `:is` to check if a `Time` is exactly some `Time`. You can also provide a `:delta` option (in seconds) to specify a delta around which the `Time` is still considere...
42.875
195
0.616035
9ef23930963108e02442f49bc1e9f3147fa42f93
1,384
ex
Elixir
kousa/lib/broth/message/room/update_scheduled.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
2
2021-05-01T16:57:50.000Z
2021-07-07T22:01:14.000Z
kousa/lib/broth/message/room/update_scheduled.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
kousa/lib/broth/message/room/update_scheduled.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
defmodule Broth.Message.Room.UpdateScheduled do use Broth.Message.Call, reply: __MODULE__ alias Beef.Repo @derive {Jason.Encoder, only: [:name, :scheduledFor, :description]} @primary_key {:id, :binary_id, []} schema "scheduled_rooms" do field(:name, :string) field(:scheduledFor, :utc_datetime_us...
26.615385
82
0.638728
9ef28b084996b210346687a3472ef9b556c3d8d3
625
ex
Elixir
lib/changelog_web/views/admin/episode_request_view.ex
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog_web/views/admin/episode_request_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/episode_request_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.EpisodeRequestView do use ChangelogWeb, :admin_view alias ChangelogWeb.{PersonView} def description(request) do {:ok, date} = Timex.format(request.inserted_at, "{M}/{D}") "##{request.id}" <> " by " <> request.submitter.handle <> " (on #{date}) " <> pitch_pr...
23.148148
62
0.624
9ef28d5951172589dcfb785a5dc05c777b9b8390
851
ex
Elixir
elixir/lib/homework/transactions/transaction.ex
phantomxc/web-homework
28e31e604d9c19a07424b742e34e9fc45b1968de
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
phantomxc/web-homework
28e31e604d9c19a07424b742e34e9fc45b1968de
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
phantomxc/web-homework
28e31e604d9c19a07424b742e34e9fc45b1968de
[ "MIT" ]
null
null
null
defmodule Homework.Transactions.Transaction do use Ecto.Schema import Ecto.Changeset alias Homework.Merchants.Merchant alias Homework.Users.User @primary_key {:id, :binary_id, autogenerate: true} schema "transactions" do field(:amount, :float) field(:credit, :boolean, default: false) field(:deb...
30.392857
97
0.702703
9ef29b9bc13ac3595aa603ce89958210c9b110a3
178
exs
Elixir
test/fluxir/encoder_test.exs
nallwhy/fluxir
5f380d01df67d4efcc1357e5d1b3f1ebfe6b65b9
[ "Apache-2.0" ]
null
null
null
test/fluxir/encoder_test.exs
nallwhy/fluxir
5f380d01df67d4efcc1357e5d1b3f1ebfe6b65b9
[ "Apache-2.0" ]
16
2021-11-27T18:13:13.000Z
2021-11-29T23:02:28.000Z
test/fluxir/encoder_test.exs
nallwhy/fluxir
5f380d01df67d4efcc1357e5d1b3f1ebfe6b65b9
[ "Apache-2.0" ]
null
null
null
defmodule Fluxir.EncoderTest do use ExUnit.Case, async: true alias Fluxir.Encoder test "encode/2" do assert ~s("string") = Encoder.encode(:string, "string") end end
19.777778
59
0.702247
9ef2a65a1c9bc7b1b6ae75c75c46681d326b7a28
74
exs
Elixir
.formatter.exs
ks1venberg/mailibex
01115dba93560257c6641efea3baacaa9ac03a39
[ "MIT" ]
1
2019-01-24T10:43:29.000Z
2019-01-24T10:43:29.000Z
.formatter.exs
ks1venberg/mailibex
01115dba93560257c6641efea3baacaa9ac03a39
[ "MIT" ]
1
2019-06-24T14:24:46.000Z
2019-06-24T14:24:46.000Z
.formatter.exs
ks1venberg/mailibex
01115dba93560257c6641efea3baacaa9ac03a39
[ "MIT" ]
2
2019-06-14T13:27:17.000Z
2020-02-17T12:19:38.000Z
# Used by "mix format" [ inputs: ["mix.exs", "config/*.exs", "lib/*"] ]
14.8
46
0.527027
9ef304bb50a448906b85263c01c1e934fe83a931
135
exs
Elixir
.formatter.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
25
2020-12-03T08:14:51.000Z
2021-09-01T15:34:30.000Z
.formatter.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
5
2021-02-13T12:56:56.000Z
2021-07-30T01:27:51.000Z
.formatter.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
2
2021-03-15T00:37:13.000Z
2021-07-26T15:21:55.000Z
# Used by "mix format" [ import_deps: [:stream_data], line_length: 120, inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
19.285714
56
0.6
9ef30588aae3e8c12cee80ccfdbd6b2dd2d62916
4,799
ex
Elixir
lib/glimesh_web/live/user_live/components/report_button.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/report_button.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/report_button.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserLive.Components.ReportButton do use GlimeshWeb, :live_view @impl true def render(assigns) do ~L""" <%= if @user do %> <div class="text-center"> <a href="#" phx-click="show_modal" class="text-danger"> <%= gettext("Report User") %> <i class="fas fa-flag"><...
38.392
185
0.507189
9ef31034e2c6900f447b6495f0ddfd0de9c83078
2,436
ex
Elixir
elixir/simple-linked-list/lib/linked_list.ex
yuriploc/exercism
11d8629cabebd4b72ba55df0ffd5bffd8699ac5f
[ "MIT" ]
null
null
null
elixir/simple-linked-list/lib/linked_list.ex
yuriploc/exercism
11d8629cabebd4b72ba55df0ffd5bffd8699ac5f
[ "MIT" ]
null
null
null
elixir/simple-linked-list/lib/linked_list.ex
yuriploc/exercism
11d8629cabebd4b72ba55df0ffd5bffd8699ac5f
[ "MIT" ]
null
null
null
defmodule LinkedList do @opaque t :: map() @empty_list %{value: nil, next: nil} @empty_list_error {:error, :empty_list} @doc """ Construct a new LinkedList """ @spec new() :: t def new(), do: @empty_list @doc """ Push an item onto a LinkedList """ @spec push(t, any()) :: t def push(list, ele...
24.857143
90
0.602217
9ef330d739ef0ab1dd31aea72785ff08a1d97141
3,667
ex
Elixir
clients/web_fonts/lib/google_api/web_fonts/v1/api/webfonts.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/web_fonts/lib/google_api/web_fonts/v1/api/webfonts.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/web_fonts/lib/google_api/web_fonts/v1/api/webfonts.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...
42.149425
196
0.644669
9ef343ed4b15e91d2a3559a5f35619eb168dfe67
3,127
exs
Elixir
lib/logger/test/logger/error_handler_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/logger/test/logger/error_handler_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/logger/test/logger/error_handler_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Logger.ErrorHandlerTest do use Logger.Case @moduletag :error_logger test "add_translator/1 and remove_translator/1" do defmodule CustomTranslator do def t(:debug, :info, :format, {'hello: ~p', [:ok]}) do :skip end def t(:debug, :info, :format, {'world: ~p', [:ok]}) do ...
31.908163
98
0.626799
9ef34a44357154001ec0d5d0e4a0e4508041f06b
668
exs
Elixir
test/langue/java_properties/formatter_test.exs
charlesdemers/accent
eeea52feb30d16ada5023c05fef37c08c267eff0
[ "BSD-3-Clause" ]
null
null
null
test/langue/java_properties/formatter_test.exs
charlesdemers/accent
eeea52feb30d16ada5023c05fef37c08c267eff0
[ "BSD-3-Clause" ]
null
null
null
test/langue/java_properties/formatter_test.exs
charlesdemers/accent
eeea52feb30d16ada5023c05fef37c08c267eff0
[ "BSD-3-Clause" ]
null
null
null
defmodule AccentTest.Formatter.JavaProperties.Formatter do Code.require_file("expectation_test.exs", __DIR__) use ExUnit.Case, async: true alias AccentTest.Formatter.JavaProperties.Expectation.{Simple} alias Langue.Formatter.JavaProperties.{Parser, Serializer} @tests [ Simple ] test "java properti...
29.043478
104
0.755988
9ef370c330432d94c2552e65b37595217c828ebb
2,954
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disk_instantiation_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/disk_instantiation_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/disk_instantiation_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.75
830
0.738321
9ef3e2e5510956a138cedb26df47d4689e65e18b
788
ex
Elixir
test/support/state_machines/order.ex
baldmountain/beepbop
c361d451189801d1f084a14cda21c0b7fbedfa70
[ "MIT" ]
null
null
null
test/support/state_machines/order.ex
baldmountain/beepbop
c361d451189801d1f084a14cda21c0b7fbedfa70
[ "MIT" ]
null
null
null
test/support/state_machines/order.ex
baldmountain/beepbop
c361d451189801d1f084a14cda21c0b7fbedfa70
[ "MIT" ]
null
null
null
defmodule BeepBop.Example.OrderMachine do @moduledoc """ ## Defined events * `:foobar` Has no "to_state", and the event callback has full freedom to set the `to_state`. In fact, there is no validation on the `to_state`. """ use BeepBop, ecto_repo: BeepBop.TestRepo state_machine( BeepBop.Example...
25.419355
73
0.616751
9ef3fccc7958484d2227414c3cb0977f66d64290
48
exs
Elixir
test/test_helper.exs
Selvaticus/loki
58006dcf5752595ed7b875bee265423074895ae4
[ "MIT" ]
83
2016-11-27T11:15:58.000Z
2021-12-24T21:04:04.000Z
test/test_helper.exs
Selvaticus/loki
58006dcf5752595ed7b875bee265423074895ae4
[ "MIT" ]
28
2016-12-08T14:18:32.000Z
2019-01-08T10:57:54.000Z
test/test_helper.exs
Selvaticus/loki
58006dcf5752595ed7b875bee265423074895ae4
[ "MIT" ]
9
2017-02-08T21:56:18.000Z
2019-06-09T02:14:07.000Z
Loki.TestHelpers.prepare_tests() ExUnit.start()
16
32
0.8125
9ef43a6e89bb2367cb264d16c0f985192f21dc80
3,049
ex
Elixir
deps/gettext/lib/gettext/fuzzy.ex
luishendrix92/exrez
c9a001ff32c2081449ce190d151e7df09a0a42ee
[ "MIT" ]
null
null
null
deps/gettext/lib/gettext/fuzzy.ex
luishendrix92/exrez
c9a001ff32c2081449ce190d151e7df09a0a42ee
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/deps/gettext/lib/gettext/fuzzy.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
defmodule Gettext.Fuzzy do @moduledoc false alias Gettext.PO alias Gettext.PO.Translation alias Gettext.PO.PluralTranslation @type translation_key :: binary | {binary, binary} @doc """ Returns a matcher function that takes two translation keys and checks if they match. `String.jaro_distance/2` (wh...
39.089744
95
0.716956
9ef48ab5a093d8141c5fe4f52c9b25721bd94f6f
771
ex
Elixir
server/lib/project_web/views/comment_view.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
server/lib/project_web/views/comment_view.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
server/lib/project_web/views/comment_view.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
defmodule ProjectWeb.CommentView do use ProjectWeb, :view alias ProjectWeb.UserView alias ProjectWeb.CommentView alias ProjectWeb.ChangesetView def render("index.json", %{comments: comments}) do %{data: render_many(comments, CommentView, "comment.json")} end def render("show.json", %{comment: commen...
26.586207
63
0.690013
9ef4c1f7ec868da089a22cf65069801d48ed7d3f
1,927
ex
Elixir
lib/stein/timer.ex
smartlogic/stein
785dff2d0400925b896d78b0f092fc501b685d0c
[ "MIT" ]
14
2019-03-07T22:06:51.000Z
2021-06-05T19:27:22.000Z
lib/stein/timer.ex
smartlogic/stein
785dff2d0400925b896d78b0f092fc501b685d0c
[ "MIT" ]
1
2019-03-07T16:46:11.000Z
2019-03-07T16:46:11.000Z
lib/stein/timer.ex
smartlogic/stein
785dff2d0400925b896d78b0f092fc501b685d0c
[ "MIT" ]
null
null
null
defmodule Stein.Timer do @moduledoc """ Functions around daily timer processes """ @type runs_at_opts() :: Keyword.t() @type milliseconds :: integer() alias Stein.Time @doc """ Calculate the delay to the next daily cycle """ @spec calculate_daily_cycle_delay(DateTime.t(), runs_at_opts()) :: mill...
25.025974
84
0.636222
9ef4cf53e72e9f05b6575a83650bc73bdad93c76
15,907
exs
Elixir
lib/ex_unit/test/ex_unit/formatter_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/ex_unit/test/ex_unit/formatter_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/ex_unit/test/ex_unit/formatter_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.FormatterTest do use ExUnit.Case import ExUnit.Formatter doctest ExUnit.Formatter defmacrop catch_assertion(expr) do quote do try do unquote(expr) rescue ex -> ex end end end defp test_module do ...
32.135354
134
0.533664
9ef4d0496452be384611b254042aaa9c2511dfd0
84
ex
Elixir
lib/ecto_schema_store/gettext.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
8
2016-10-27T15:53:18.000Z
2022-01-03T23:47:45.000Z
lib/ecto_schema_store/gettext.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
5
2017-04-25T15:28:29.000Z
2017-10-05T16:08:57.000Z
lib/ecto_schema_store/gettext.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
3
2017-08-28T18:51:24.000Z
2020-01-16T22:30:33.000Z
defmodule EctoSchemaStore.Gettext do use Gettext, otp_app: :ecto_schema_store end
21
42
0.833333
9ef4ed71bde840504e025587ecc0c9581e9a9b8e
4,167
ex
Elixir
test/support/live_views/upload_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/support/live_views/upload_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/support/live_views/upload_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveViewTest.UploadLive do use Phoenix.LiveView def render(%{uploads: _} = assigns) do ~H""" <%= for preflight <- @preflights do %> preflight:<%= inspect(preflight) %> <% end %> <%= for name <- @consumed do %> consumed:<%= name %> <% end %> <form phx-change="va...
24.656805
97
0.573314
9ef50057d0eefec1d20ea63face83bb8a53efe4c
1,612
exs
Elixir
test/20_run/steps/schema__check_against_given_fields_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/20_run/steps/schema__check_against_given_fields_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/20_run/steps/schema__check_against_given_fields_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Run.Steps.CheckAgainstGivenFieldsTest do use EctoTestDSL.Case use T.Drink.AndRun alias Run.Steps use Mockery import T.RunningStubs import T.Parse.InternalFunctions setup do stub(name: :example, neighborhood: %{}, usually_ignore: []) stub(result_matches: :unused) # result_matches is che...
26.42623
89
0.628412
9ef5035c33e2f29f9ebe065cbd5c7ab08a572ecb
1,127
exs
Elixir
config/config.exs
kianmeng/logfmt-elixir
1130de2e05d87f67788d3c37e673fd85762526dd
[ "MIT" ]
21
2015-06-03T19:15:08.000Z
2022-02-26T03:39:09.000Z
config/config.exs
kianmeng/logfmt-elixir
1130de2e05d87f67788d3c37e673fd85762526dd
[ "MIT" ]
14
2015-06-01T02:52:45.000Z
2022-01-10T19:34:03.000Z
config/config.exs
kianmeng/logfmt-elixir
1130de2e05d87f67788d3c37e673fd85762526dd
[ "MIT" ]
11
2016-05-04T11:31:43.000Z
2021-07-07T12:10:30.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.750665
9ef508f0eb6bd484ba3e6b98645c32f4b016f488
197
ex
Elixir
web/controllers/page_controller.ex
KazuCocoa/react_phoenix
7cd2fe0bdcddf8a0fdd876517232893783bf21e5
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
KazuCocoa/react_phoenix
7cd2fe0bdcddf8a0fdd876517232893783bf21e5
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
KazuCocoa/react_phoenix
7cd2fe0bdcddf8a0fdd876517232893783bf21e5
[ "MIT" ]
null
null
null
defmodule ReactPhoenix.PageController do use ReactPhoenix.Web, :controller plug :action def index(conn, _params) do # render conn, "index.html" json conn, %{id: "sample"} end end
17.909091
40
0.695431
9ef580af400e17b3ccda7d9a2b910aa5a853a2d1
1,421
ex
Elixir
lib/plug/fetch_component_access_token.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
12
2019-03-07T01:34:12.000Z
2021-09-11T06:40:29.000Z
lib/plug/fetch_component_access_token.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
6
2019-10-12T10:48:07.000Z
2021-03-03T07:06:34.000Z
lib/plug/fetch_component_access_token.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
5
2019-03-07T01:34:31.000Z
2021-01-06T08:01:51.000Z
if Code.ensure_loaded?(Plug) do defmodule WeChat.Plug.FetchComponentAccessToken do @moduledoc false use Plug.Builder require Logger def call(conn, opts) do conn = fetch_query_params(conn) adapter_storage = opts[:adapter_storage] query_params = conn.query_params result = ...
24.929825
92
0.55102
9ef589fb25deffe08ba36509fed0a3dc1cfe7825
2,676
ex
Elixir
web/views/helpers/view_helpers.ex
zhangsoledad/Doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
6
2016-03-17T08:45:34.000Z
2016-10-10T01:20:37.000Z
web/views/helpers/view_helpers.ex
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
null
null
null
web/views/helpers/view_helpers.ex
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
2
2016-04-01T06:28:56.000Z
2016-04-28T09:35:07.000Z
defmodule Doom.ViewHelpers do use Phoenix.HTML def side_li_tag(conn, views) when is_list(views) do info = conn.private case (info[:phoenix_view] in views) do true -> tag(:li, class: "active") _ -> tag(:li) end end def avatar_url(user_name) do name = Pinyin.from_stri...
28.468085
140
0.62855
9ef5be689825ab032918b49013154d8c3eb56425
1,155
exs
Elixir
clients/cloud_tasks/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.CloudTasks.V2beta2.Mixfile do use Mix.Project @version "0.0.1" def project do [app: :google_api_cloud_tasks, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: packag...
23.571429
105
0.592208
9ef60bbec9387d52b2a993db4bfdf021431ddc95
1,738
ex
Elixir
apps/auth_engine/lib/api/create_user.ex
dottogame/overdot
95aee9621e7036ab4857f49c6a745aaca4d645c5
[ "MIT" ]
null
null
null
apps/auth_engine/lib/api/create_user.ex
dottogame/overdot
95aee9621e7036ab4857f49c6a745aaca4d645c5
[ "MIT" ]
null
null
null
apps/auth_engine/lib/api/create_user.ex
dottogame/overdot
95aee9621e7036ab4857f49c6a745aaca4d645c5
[ "MIT" ]
null
null
null
defmodule Api.CreateUser do use Raxx.Server @impl Raxx.Server def handle_request(req, state) do req_data = Poison.decode!(req.body) # check for all needed params has_all = ["email", "nick", "pass"] |> Enum.all?(&Map.has_key?(req_data, &1)) # check if email is taken {status, _} = Couchdb.Con...
27.587302
84
0.543728
9ef612835d73921ae20e78c5319d54e69c500f47
1,829
ex
Elixir
lib/sftp_client/operations/download_file.ex
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
21
2019-08-06T01:39:15.000Z
2021-04-15T20:08:04.000Z
lib/sftp_client/operations/download_file.ex
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
19
2019-07-10T17:10:34.000Z
2021-04-18T11:16:58.000Z
lib/sftp_client/operations/download_file.ex
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
11
2019-07-04T14:56:37.000Z
2021-04-26T19:09:22.000Z
defmodule SFTPClient.Operations.DownloadFile do @moduledoc """ A module that provides functions to download files from an SFTP server. """ alias SFTPClient.Conn alias SFTPClient.ConnError alias SFTPClient.InvalidOptionError alias SFTPClient.OperationError alias SFTPClient.Operations.StreamFile @doc ...
31
78
0.706397
9ef632052b1296fef3011df601baaf7f983d36dd
3,066
ex
Elixir
lib/event_store/storage/stream.ex
davydog187/eventstore
085602a8cfae7401e6d89472a053fd52f586832f
[ "MIT" ]
576
2017-11-03T14:11:07.000Z
2022-03-29T06:18:47.000Z
lib/event_store/storage/stream.ex
davydog187/eventstore
085602a8cfae7401e6d89472a053fd52f586832f
[ "MIT" ]
129
2017-11-08T06:10:20.000Z
2021-09-15T16:18:14.000Z
lib/event_store/storage/stream.ex
davydog187/eventstore
085602a8cfae7401e6d89472a053fd52f586832f
[ "MIT" ]
118
2017-11-14T14:10:09.000Z
2022-03-28T13:13:56.000Z
defmodule EventStore.Storage.Stream do @moduledoc false alias EventStore.Page alias EventStore.Sql.Statements alias EventStore.Streams.StreamInfo def stream_info(conn, stream_uuid, opts) do {schema, opts} = Keyword.pop(opts, :schema) query = Statements.query_stream_info(schema) case Postgrex.q...
26.205128
82
0.616765
9ef699791adb47cf72ba23841c615b8dc5a7110d
75
exs
Elixir
impl/elixir/.formatter.exs
hunterwb/ascii-transliteration
55afaa37b8af7159442e9f2aad13d32197e4d75e
[ "0BSD" ]
5
2020-01-14T21:52:27.000Z
2020-07-25T17:39:24.000Z
impl/elixir/.formatter.exs
hunterwb/ascii-transliteration
55afaa37b8af7159442e9f2aad13d32197e4d75e
[ "0BSD" ]
null
null
null
impl/elixir/.formatter.exs
hunterwb/ascii-transliteration
55afaa37b8af7159442e9f2aad13d32197e4d75e
[ "0BSD" ]
null
null
null
# Used by "mix format" [ inputs: ["*.exs", "{lib,test}/**/*.{ex,exs}"] ]
15
47
0.48
9ef6a14af12c4a4fe4bbf60865d9e146f5ab605d
2,029
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_followup_intent_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2019-01-03T22:30:36.000Z
2019-01-03T22:30:36.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_followup_intent_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_followup_intent_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.232143
195
0.754066
9ef6a86cdd5e34a58b202254594f24308be80194
1,640
ex
Elixir
lib/ex_neo4j/model/build_method.ex
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
2
2015-07-28T16:12:56.000Z
2015-10-09T21:21:16.000Z
lib/ex_neo4j/model/build_method.ex
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
1
2015-11-01T16:14:34.000Z
2015-11-02T10:35:48.000Z
lib/ex_neo4j/model/build_method.ex
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
null
null
null
defmodule ExNeo4j.Model.BuildMethod do def generate(metadata) do quote do require ExNeo4j.Model.ModelBuilder def build, do: ExNeo4j.Model.ModelBuilder.build(__MODULE__) def build(params) when is_list(params) or is_map(params) do ExNeo4j.Model.ModelBuilder.build(__MODULE__, params) ...
31.538462
114
0.636585
9ef6b23f1f7c6e4839191049c950f6357d94f236
1,638
ex
Elixir
lib/chat_api/emails/email.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
1
2020-08-13T15:11:12.000Z
2020-08-13T15:11:12.000Z
lib/chat_api/emails/email.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
lib/chat_api/emails/email.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
defmodule ChatApi.Emails.Email do import Swoosh.Email import Ecto.Changeset @from_address System.get_env("FROM_ADDRESS") @backend_url System.get_env("BACKEND_URL") || "" defstruct to_address: nil, message: nil # TODO: Move conversation id out the mailer should only care about the message def send(to_ad...
34.851064
122
0.632479
9ef6cb39422b038766a08ef22631e02696c726ad
12,082
ex
Elixir
lib/radius/packet.ex
bearice/elixir-radius
cbfb612957eec6afd3bf0c7839c2df1158fb2e0d
[ "MIT" ]
11
2015-05-20T05:14:52.000Z
2020-09-24T13:34:28.000Z
lib/radius/packet.ex
bearice/elixir-radius
cbfb612957eec6afd3bf0c7839c2df1158fb2e0d
[ "MIT" ]
2
2015-10-23T05:00:19.000Z
2021-01-16T19:04:19.000Z
lib/radius/packet.ex
bearice/elixir-radius
cbfb612957eec6afd3bf0c7839c2df1158fb2e0d
[ "MIT" ]
3
2015-02-14T20:37:32.000Z
2019-11-22T14:19:03.000Z
defmodule Radius.Packet do require Logger alias Radius.Dict.Attribute alias Radius.Dict.Vendor alias Radius.Dict.Value alias Radius.Dict.EntryNotFoundError defstruct [ code: nil, id: nil, length: nil, auth: nil, attrs: [], raw: nil, secret: nil, ] @doc """ Decode radius ...
29.980149
123
0.620096
9ef6cd557028d87b4bb1ad36472ba82f3bfb2d43
249
ex
Elixir
lib/big_brother/utils/misc.ex
luismasuelli/elixir-websockets-auth
845b826c4f2b612565930771497188081e6af71c
[ "MIT" ]
null
null
null
lib/big_brother/utils/misc.ex
luismasuelli/elixir-websockets-auth
845b826c4f2b612565930771497188081e6af71c
[ "MIT" ]
null
null
null
lib/big_brother/utils/misc.ex
luismasuelli/elixir-websockets-auth
845b826c4f2b612565930771497188081e6af71c
[ "MIT" ]
null
null
null
defmodule BigBrother.Utils.Misc do @moduledoc """ Several utils functions for this app. """ def get_keywords(options, defaults) do options = Keyword.merge(defaults, options) Enum.map Keyword.keys(defaults), &(options[&1]) end end
22.636364
51
0.706827
9ef6e5199706df4dce2322091728901995abcc8c
2,299
ex
Elixir
lib/calamity/event_store/list_event_store.ex
Cantido/calamity
203c95eca8cbe6cf7eab8a8f88f14ece6246935f
[ "MIT" ]
null
null
null
lib/calamity/event_store/list_event_store.ex
Cantido/calamity
203c95eca8cbe6cf7eab8a8f88f14ece6246935f
[ "MIT" ]
1
2022-02-28T11:22:00.000Z
2022-02-28T11:22:00.000Z
lib/calamity/event_store/list_event_store.ex
Cantido/calamity
203c95eca8cbe6cf7eab8a8f88f14ece6246935f
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Rosa Richter # # SPDX-License-Identifier: MIT defmodule Calamity.EventStore.ListEventStore do @moduledoc """ A simple in-memory event store. """ alias Calamity.EventMetadata defstruct streams: %{}, subscribers: %{} defimpl Calamity.EventStore do def append(...
26.125
94
0.595911
9ef6f19434c82c02f4395e29c7b94b0c299181a0
8,179
exs
Elixir
integration_test/sql/sandbox.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
1
2020-10-18T09:11:56.000Z
2020-10-18T09:11:56.000Z
integration_test/sql/sandbox.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
1
2020-06-29T20:59:38.000Z
2020-06-29T20:59:38.000Z
integration_test/sql/sandbox.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
1
2019-05-31T02:43:25.000Z
2019-05-31T02:43:25.000Z
defmodule Ecto.Integration.SandboxTest do use ExUnit.Case alias Ecto.Adapters.SQL.Sandbox alias Ecto.Integration.{PoolRepo, TestRepo} alias Ecto.Integration.Post import ExUnit.CaptureLog Application.put_env(:ecto_sql, __MODULE__.DynamicRepo, Application.get_env(:ecto_sql, TestRepo)) defmodule DynamicR...
29.210714
120
0.647879
9ef6fe6debf7993ce305cb167a004c22603f6b6b
423
ex
Elixir
lib/jsonapi/paginator.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
1
2020-10-29T19:28:23.000Z
2020-10-29T19:28:23.000Z
lib/jsonapi/paginator.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
1
2020-12-01T21:30:00.000Z
2020-12-01T21:30:00.000Z
lib/jsonapi/paginator.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
null
null
null
defmodule JSONAPI.Paginator do @moduledoc """ Pagination strategy behaviour """ alias Plug.Conn @type page :: map() @type options :: Keyword.t() @type links :: %{ first: String.t() | nil, last: String.t() | nil, next: String.t() | nil, prev: String.t() | nil ...
20.142857
90
0.548463
9ef704fee20a97f6062ebe553d26fd25d4b2e47c
562
exs
Elixir
17-Conway3d/test/conway4d_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
1
2020-12-02T01:34:06.000Z
2020-12-02T01:34:06.000Z
17-Conway3d/test/conway4d_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
17-Conway3d/test/conway4d_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
defmodule Conway4dTest do use ExUnit.Case doctest Conway4d test "puzzle 1: count after boot" do assert Conway4d.count_after_6(input()) == 2236 end def input(path \\ "input.txt"), do: File.read!(path) def input_lines(path \\ "input.txt"), do: input(path) |> String.split("\n", trim: true) def input_pa...
31.222222
96
0.656584
9ef7055cbb512b7e992ea4ce78d7dec43e5ccfb7
310
exs
Elixir
test/support/fixtures/dynamic/schema_with_duplicate_names.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/support/fixtures/dynamic/schema_with_duplicate_names.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/support/fixtures/dynamic/schema_with_duplicate_names.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Fixtures.SchemaWithDuplicateNames do use Absinthe.Schema query do # Query type must exist end object :person do description "A person" field :name, :string end object :another_person, name: "Person" do description "A person" field :type, :string end end
17.222222
55
0.7
9ef7071740d26ad0271daaf0927fa14ab4dd3a18
2,814
exs
Elixir
test/glimesh_web/controllers/user_session_controller_test.exs
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
test/glimesh_web/controllers/user_session_controller_test.exs
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
test/glimesh_web/controllers/user_session_controller_test.exs
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserSessionControllerTest do use GlimeshWeb.ConnCase, async: true import Glimesh.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/log_in" do test "renders log in page", %{conn: conn} do conn = get(conn, Routes.user_session_path(conn, :new)) ...
33.105882
89
0.614072
9ef70da1367f2cb374250ec407bed8f4c30fc1e9
261
ex
Elixir
lib/edgedb/application.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/application.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/application.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Application do @moduledoc false use Application @impl Application def start(_type, _args) do children = [ EdgeDB.Borrower ] Supervisor.start_link(children, strategy: :one_for_one, name: EdgeDB.Supervisor) end end
17.4
84
0.712644
9ef735f1907260a504f8935efbbcf46af6064f4f
1,798
exs
Elixir
test/wobserver/util/metrics_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
984
2017-02-06T17:13:48.000Z
2022-03-18T22:46:55.000Z
test/wobserver/util/metrics_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
52
2017-02-13T16:12:10.000Z
2021-04-08T22:31:28.000Z
test/wobserver/util/metrics_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
74
2017-02-13T15:23:49.000Z
2021-07-30T07:43:27.000Z
defmodule Wobserver.Util.MetricsTest do use ExUnit.Case alias Wobserver.Util.Metrics describe "overview" do test "returns a list" do assert is_list(Metrics.overview) end test "returns a keyword list" do assert Keyword.keyword?(Metrics.overview) end end describe "register" do ...
26.057971
100
0.607898
9ef779f1efdbb6983a529ac39a48834346bc041b
2,357
exs
Elixir
config/config.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
486
2019-05-30T09:19:59.000Z
2021-04-28T07:51:31.000Z
config/config.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
131
2019-06-29T12:43:24.000Z
2021-04-24T19:40:07.000Z
config/config.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
52
2019-06-24T10:13:41.000Z
2021-03-28T07:36:42.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
34.15942
131
0.72465
9ef7805f5e36d0530f7ebe91f30b4957bef6b69b
1,650
ex
Elixir
lib/erlsom/model.ex
kim-company/soapex
46ac23ee621ce1259cad5e8f64ed6480be8511c3
[ "MIT" ]
null
null
null
lib/erlsom/model.ex
kim-company/soapex
46ac23ee621ce1259cad5e8f64ed6480be8511c3
[ "MIT" ]
null
null
null
lib/erlsom/model.ex
kim-company/soapex
46ac23ee621ce1259cad5e8f64ed6480be8511c3
[ "MIT" ]
2
2019-05-28T15:10:28.000Z
2021-03-17T10:13:26.000Z
defmodule Erlsom.Model do #from_model = Erlsom.Model.extract_records(model, tag) #from_hrl = Record.Extractor.extract(tag, from: hrl) #^from_model = from_hrl # Record.defrecord :model, # Record.extract(:model, from_lib: "erlsom/include/../src/erlsom_parse.hrl") ## Record.extract(:model, from_lib: "erlsom/../.....
34.375
114
0.626061
9ef788b8e061f08c140912a0edf261fdd2c8ba6c
666
exs
Elixir
config/config.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
config/config.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
config/config.exs
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "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 # Overrides for unit tests: # # * udhcpc_handler: capture whatever happens with udhcpc # * udhcpd_handler: capture whatever happens with udhcpd # * resolvconf: don't update the real ...
37
61
0.783784
9ef7bb8f5b708d92f7ee2167842c00181bea1758
2,649
ex
Elixir
lib/shopify_api/router.ex
pixelunion/elixir-shopifyapi
d6c57bda6e59006d68ffb16a2a8b80bcc2f1cc96
[ "Apache-2.0" ]
18
2019-06-07T13:36:39.000Z
2021-08-03T21:06:36.000Z
lib/shopify_api/router.ex
pixelunion/elixir-shopifyapi
d6c57bda6e59006d68ffb16a2a8b80bcc2f1cc96
[ "Apache-2.0" ]
158
2018-08-30T22:09:00.000Z
2021-09-22T01:18:59.000Z
lib/shopify_api/router.ex
pixelunion/elixir-shopifyapi
d6c57bda6e59006d68ffb16a2a8b80bcc2f1cc96
[ "Apache-2.0" ]
4
2020-09-05T00:48:46.000Z
2020-09-30T15:53:50.000Z
defmodule ShopifyAPI.Router do use Plug.Router require Logger alias Plug.Conn alias ShopifyAPI.{App, AuthToken, AuthTokenServer, ConnHelpers} alias ShopifyAPI.Shop plug(:match) plug(:dispatch) get "/install/:app" do install_app(conn) end get "/install" do install_app(conn) end # Sho...
26.757576
97
0.619102
9ef7dabae109d9d7e8d5269ad25207eed4f917b9
21,331
ex
Elixir
lib/phoenix/channel.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
null
null
null
lib/phoenix/channel.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
null
null
null
lib/phoenix/channel.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
null
null
null
defmodule Phoenix.Channel do @moduledoc ~S""" Defines a Phoenix Channel. Channels provide a means for bidirectional communication from clients that integrate with the `Phoenix.PubSub` layer for soft-realtime functionality. ## Topics & Callbacks Every time you join a channel, you need to choose which part...
33.805071
107
0.653509
9ef7e0d0aeb97fb3fa7fb2d10c8092adb64e8054
1,282
ex
Elixir
chapter_11/todo_web/lib/todo/web.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_11/todo_web/lib/todo/web.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_11/todo_web/lib/todo/web.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
defmodule Todo.Web do use Plug.Router alias Todo.Cache.Client, as: CacheClient alias Todo.Server.Client, as: ServerClient plug(:match) plug(:dispatch) def child_spec(_) do Plug.Adapters.Cowboy.child_spec( scheme: :http, options: [port: 5454], plug: __MODULE__ ) end get "/en...
24.188679
68
0.637285
9ef7f24bcfad96071e386a632d0d829c19adae1f
1,115
exs
Elixir
elixir/day3/states/config/config.exs
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "MIT" ]
null
null
null
elixir/day3/states/config/config.exs
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "MIT" ]
null
null
null
elixir/day3/states/config/config.exs
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "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.967742
73
0.750673
9ef8224be35507dfc5d915668b67d1e398f0b729
196
ex
Elixir
exercises/practice/square-root/lib/square_root.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/square-root/lib/square_root.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/square-root/lib/square_root.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule SquareRoot do @doc """ Calculate the integer square root of a positive integer """ @spec calculate(radicand :: pos_integer) :: pos_integer def calculate(radicand) do end end
21.777778
57
0.72449
9ef840ece43aae1527d5827847d12c30b213150a
1,304
exs
Elixir
apps/activity_logger/priv/repo/migrations/20180907173648_add_audit.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/activity_logger/priv/repo/migrations/20180907173648_add_audit.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/activity_logger/priv/repo/migrations/20180907173648_add_audit.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 ...
31.047619
74
0.712423
9ef854b1cc393c280b05319f339959969fe9c1db
88
exs
Elixir
phoenix_webpack/test/views/page_view_test.exs
davejmac/phoenix-webpack
b7d0076069529311abfa6d4b6eda332bb970a24b
[ "MIT" ]
null
null
null
phoenix_webpack/test/views/page_view_test.exs
davejmac/phoenix-webpack
b7d0076069529311abfa6d4b6eda332bb970a24b
[ "MIT" ]
null
null
null
phoenix_webpack/test/views/page_view_test.exs
davejmac/phoenix-webpack
b7d0076069529311abfa6d4b6eda332bb970a24b
[ "MIT" ]
null
null
null
defmodule PhoenixWebpack.PageViewTest do use PhoenixWebpack.ConnCase, async: true end
22
42
0.840909
9ef89e3290a9cdbfeeff35d46426e7c8629b96a1
912
exs
Elixir
mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
2
2021-03-10T02:00:57.000Z
2021-05-10T21:22:39.000Z
mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
defmodule Tfcon.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, deps: deps() ] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://git...
24
77
0.547149
9ef8ae6cb9879abd23a5e3caccd09fbd330554c7
15,325
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/forwarding_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/forwarding_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/forwarding_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
78.589744
539
0.732594
9ef8d05c66783dcfcbe66371fc55e48dfaf6053e
1,152
exs
Elixir
apps/kv/config/config.exs
rockerBOO/kv_umbrella
1dbf121b48022c0aaaf1b75d29085d9d2130451d
[ "MIT" ]
null
null
null
apps/kv/config/config.exs
rockerBOO/kv_umbrella
1dbf121b48022c0aaaf1b75d29085d9d2130451d
[ "MIT" ]
null
null
null
apps/kv/config/config.exs
rockerBOO/kv_umbrella
1dbf121b48022c0aaaf1b75d29085d9d2130451d
[ "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...
38.4
73
0.716146
9ef8fa00ef0f99b019a5b40e6858a44e66d5010f
2,671
exs
Elixir
mix.exs
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Mixfile do use Mix.Project @source_url "https://github.com/elixir-lang/ex_doc" @version "0.26.0" def project do [ app: :ex_doc, version: @version, elixir: "~> 1.10", deps: deps(), aliases: aliases(), package: package(), escript: escript(), el...
23.637168
89
0.5541
9ef90913603882e68d65aef05518676e6cb8a670
3,567
ex
Elixir
lib/restlax/client.ex
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
1
2021-02-09T09:25:37.000Z
2021-02-09T09:25:37.000Z
lib/restlax/client.ex
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
3
2021-05-17T01:33:35.000Z
2022-01-27T00:23:31.000Z
lib/restlax/client.ex
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
1
2022-01-27T00:06:03.000Z
2022-01-27T00:06:03.000Z
defmodule Restlax.Client do @moduledoc """ ## Rest Client builder ### Options * `:adapter` - `module()` One of the Tesla Adapters or your own customzied adapter * `:adapter_opts` - `keyword()` options for the adapter * `:logger_opts` - `keyword()` options for `Tesla.Middleware.Logger` * `:base_url` - `...
30.487179
105
0.634987
9ef90fa63560c3e50480937aa31d6c693ee49a4c
470
ex
Elixir
lib/daily_meals_web/controllers/fallback_controller.ex
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
lib/daily_meals_web/controllers/fallback_controller.ex
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
lib/daily_meals_web/controllers/fallback_controller.ex
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
defmodule DailyMealsWeb.FallbackController do use DailyMealsWeb, :controller alias DailyMeals.Error alias DailyMealsWeb.ErrorView def call(conn, {:error, %Error{status: status, result: result}}) do conn |> put_status(status) |> put_view(ErrorView) |> render("error.json", result: result) end ...
22.380952
69
0.676596
9ef91e11b3b267f65ffce37873acc000593b832c
1,106
exs
Elixir
mix.exs
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
7
2022-02-03T15:21:42.000Z
2022-03-28T02:50:49.000Z
mix.exs
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
1
2022-03-16T00:38:40.000Z
2022-03-25T13:12:22.000Z
mix.exs
tashirosota/dynamo_db_migrator
5f517df225fb64c60880491856e528af021cbafe
[ "Apache-2.0" ]
1
2022-03-28T02:50:52.000Z
2022-03-28T02:50:52.000Z
defmodule DynamoMigration.MixProject do use Mix.Project @source_url "https://github.com/tashirosota/dynamo_migration" @description "Version management tool for migration file of DynamoDB." def project do [ app: :dynamo_migration, version: "0.2.0", elixir: "~> 1.10", description: @de...
21.269231
72
0.550633
9ef93b0f07dc26773a4a0d73b041c412ee47d576
267
ex
Elixir
test/support/test_helpers.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/support/test_helpers.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/support/test_helpers.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Timber.TestHelpers do def parse_log_line(line) do IO.puts("Splitting #{line}") split_string = String.split(line, "@metadata") [message, metadata] = split_string metadata_map = Poison.decode!(metadata) {message, metadata_map} end end
26.7
50
0.707865
9ef9608035022c2ede3def717c80deb4c7abbc33
2,302
ex
Elixir
lib/ws/models/birds.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
3
2015-02-26T22:42:32.000Z
2017-06-01T10:56:17.000Z
lib/ws/models/birds.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
null
null
null
lib/ws/models/birds.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
null
null
null
defmodule Ws.Models.Bird do @moduledoc """ A model entry. A struct is currently the preferred data structure vs, say, a record. """ defstruct name: "<new>", type: "<type>", age: 0 end defmodule Ws.Models.Birds do require Ws.Models.Bird use GenServer @moduledoc """ Demonstrates a simple Model consistin...
24.752688
93
0.678975
9ef97201fe5c6f4084ab11ebdab8b6b08c822bcb
4,384
ex
Elixir
lib/hexpm/accounts/user.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/accounts/user.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/accounts/user.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Accounts.User do use Hexpm.Web, :schema @derive {Hexpm.Web.Stale, assocs: [:emails, :owned_packages, :organizations, :keys]} @derive {Phoenix.Param, key: :username} schema "users" do field :username, :string field :full_name, :string field :password, :string field :service, :bo...
31.539568
114
0.671077
9ef97b15171033f40794857665eef44bbbbdfc26
7,405
ex
Elixir
lib/playwright/config.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
lib/playwright/config.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
lib/playwright/config.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Playwright.Config do @moduledoc """ Configuration for Playwright. ## Overview config :playwright, ConnectOptions, [...] config :playwright, LaunchOptions, [...] config :playwright, PlaywrightTest, [...] ## Details for `ConnectOptions` Configuration for...
24.358553
96
0.644564
9ef982e778787fbe866bd64919bc22ccbd511841
2,311
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.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...
43.603774
569
0.723064
9ef9bc25943b89e025d31396a5d73fecebc801cd
1,863
ex
Elixir
lib/fun_with_flags/store/persistent/ecto/record.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
736
2017-02-16T12:55:57.000Z
2022-03-31T19:50:43.000Z
lib/fun_with_flags/store/persistent/ecto/record.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
86
2017-04-02T16:42:33.000Z
2022-03-25T01:07:13.000Z
lib/fun_with_flags/store/persistent/ecto/record.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
63
2017-04-28T23:38:15.000Z
2022-03-28T12:49:02.000Z
if Code.ensure_loaded?(Ecto) do defmodule FunWithFlags.Store.Persistent.Ecto.Record do @moduledoc false use Ecto.Schema import Ecto.Changeset alias FunWithFlags.{Gate, Config} @primary_key {:id, :id, autogenerate: true} schema Config.ecto_table_name() do field :flag_name, :string field :gate_type...
25.875
78
0.683843
9ef9d25db1c4d11d79ecbfb4ca9776d65e718523
727
ex
Elixir
lib/transhook_web/live/live_helpers.ex
linjunpop/transhook
59000e5a346c6c059d95c5a1f48190f698b4e7a3
[ "0BSD" ]
null
null
null
lib/transhook_web/live/live_helpers.ex
linjunpop/transhook
59000e5a346c6c059d95c5a1f48190f698b4e7a3
[ "0BSD" ]
null
null
null
lib/transhook_web/live/live_helpers.ex
linjunpop/transhook
59000e5a346c6c059d95c5a1f48190f698b4e7a3
[ "0BSD" ]
null
null
null
defmodule TranshookWeb.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `TranshookWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Examples <%= live_modal TranshookWeb.Hook...
30.291667
80
0.702889
9ef9e37f14d08aad7727aa608c46406773170ae5
1,000
ex
Elixir
test/support/conn_case.ex
ohyecloudy/phoenix-prometheus-grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
1
2020-04-23T08:18:08.000Z
2020-04-23T08:18:08.000Z
test/support/conn_case.ex
ohyecloudy/phoenix_prometheus_grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ohyecloudy/phoenix_prometheus_grafana
e956f27a34c794e85d1e89fc61af79be18a0ce35
[ "MIT" ]
null
null
null
defmodule PpgWeb.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 data structures and query the data layer. Finally, if the te...
28.571429
60
0.733
9ef9f1462f39b88da3b53539f46536d822be5f30
2,895
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_event_input.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_v2beta1_event_input.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_v2beta1_event_input.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...
54.622642
678
0.745423
9ef9f83604103a9cb872df0e1574516a6a75de00
1,127
exs
Elixir
couchdb_docs/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_docs/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_docs/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.753327
9efa0d44384b5f5341de3bca19d4b70cb2e9aa6d
500
ex
Elixir
lib/receipt_verifier/error.ex
kianmeng/receipt_verifier
7111c95ba23ab57c4ea78e88f8816a05536c9e50
[ "MIT" ]
18
2016-09-05T15:04:27.000Z
2022-02-11T12:27:24.000Z
lib/receipt_verifier/error.ex
W-Games/receipt_verifier
c1230578e0c9b72a5988574d8ff0e82686aa3d94
[ "MIT" ]
13
2017-08-25T19:58:20.000Z
2022-01-16T19:20:34.000Z
lib/receipt_verifier/error.ex
W-Games/receipt_verifier
c1230578e0c9b72a5988574d8ff0e82686aa3d94
[ "MIT" ]
8
2017-10-27T11:31:20.000Z
2021-04-21T05:12:34.000Z
defmodule ReceiptVerifier.Error do @moduledoc """ The error sturct The `code` is status code returns from Apple's Server, The `message` is the detailed description of the error ## Example ```elixir %ReceiptVerifier.Error{code: 21002, message: "The data in the receipt-data property was malformed or mis...
20.833333
113
0.636
9efa11d64e58224e15acf22ecdb1391f94e16b16
4,826
ex
Elixir
lib/eqrcode/svg.ex
dcdourado/eqrcode
825590149941f7c98bbf01481da738b70c109092
[ "MIT" ]
null
null
null
lib/eqrcode/svg.ex
dcdourado/eqrcode
825590149941f7c98bbf01481da738b70c109092
[ "MIT" ]
null
null
null
lib/eqrcode/svg.ex
dcdourado/eqrcode
825590149941f7c98bbf01481da738b70c109092
[ "MIT" ]
null
null
null
defmodule EQRCode.SVG do @moduledoc """ Render the QR Code matrix in SVG format ```elixir qr_code_content |> EQRCode.encode() |> EQRCode.svg(color: "#cc6600", shape: "circle", width: 300) ``` You can specify the following attributes of the QR code: * `background_color`: In hexadecimal format or `:t...
29.975155
153
0.62557
9efa26f319cc6a677ac19d041a574be55ac399de
915
exs
Elixir
test/configuration/config_before_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
test/configuration/config_before_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
test/configuration/config_before_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ConfigBeforeTest do use ExUnit.Case, async: true ESpec.configure(fn c -> c.before(fn tags -> {:shared, %{answer: 42, tags: tags}} end) end) test "set before in config" do assert(is_function(ESpec.Configuration.get(:before))) end defmodule SomeSpec do use ESpec it do: ...
22.875
85
0.632787
9efa353cb2e94352bbc78410806696be38812afb
1,406
exs
Elixir
config/config.exs
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
48
2015-10-02T19:16:02.000Z
2022-01-18T20:50:00.000Z
config/config.exs
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
1
2017-01-29T21:46:11.000Z
2017-05-09T02:47:01.000Z
config/config.exs
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
8
2015-10-02T19:18:37.000Z
2019-09-11T06:25:28.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :survey, Survey.Endpoint, url: [host: "localhost"]...
27.038462
86
0.738265
9efa381c39d95a408bf9d6afbee2d1b59c4bc72a
1,418
ex
Elixir
test/support/data_case.ex
CMcDonald82/phoenix-starter
757e91326f7c82813dfb22a6eaa24147689b6dc8
[ "MIT" ]
1
2018-05-29T11:50:17.000Z
2018-05-29T11:50:17.000Z
test/support/data_case.ex
CMcDonald82/phoenix-starter
757e91326f7c82813dfb22a6eaa24147689b6dc8
[ "MIT" ]
null
null
null
test/support/data_case.ex
CMcDonald82/phoenix-starter
757e91326f7c82813dfb22a6eaa24147689b6dc8
[ "MIT" ]
null
null
null
defmodule PhoenixStarter.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, it cannot be async. For this reason, eve...
26.259259
77
0.687588
9efa3b40661579959df8ccab8f8feb1c4e669ff1
4,118
ex
Elixir
lib/ueberauth/strategy/google.ex
andykent/ueberauth_google
b696c6d188790c5f6a848de828963bd3ff57d508
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/google.ex
andykent/ueberauth_google
b696c6d188790c5f6a848de828963bd3ff57d508
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/google.ex
andykent/ueberauth_google
b696c6d188790c5f6a848de828963bd3ff57d508
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Google do @moduledoc """ Google Strategy for Überauth. """ use Ueberauth.Strategy, uid_field: :sub, default_scope: "email", hd: nil alias Ueberauth.Auth.Info alias Ueberauth.Auth.Credentials alias Ueberauth.Auth.Extra @doc """ Handles initial request for Google authenti...
27.271523
99
0.643031
9efa464d9a2e3a4a8da2e76fbc4ceb2d315cbdad
5,895
exs
Elixir
test/oli_web/live/system_message_live_test.exs
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
test/oli_web/live/system_message_live_test.exs
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
test/oli_web/live/system_message_live_test.exs
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
defmodule OliWeb.SystemMessageLiveTest do use ExUnit.Case use OliWeb.ConnCase import Phoenix.LiveViewTest import Oli.Factory alias Oli.Notifications alias Oli.Notifications.SystemMessage @live_view_index_route Routes.live_path(OliWeb.Endpoint, OliWeb.SystemMessageLive.IndexView) describe "user canno...
30.544041
99
0.64665
9efa794eb2616555e2fa74bae3429d9a9bf1186b
230
ex
Elixir
lib/battle_city/tank/level3.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
lib/battle_city/tank/level3.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
38
2020-12-17T12:40:44.000Z
2022-03-31T02:05:59.000Z
lib/battle_city/tank/level3.ex
clszzyh/battle_city
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
defmodule BattleCity.Tank.Level3 do @moduledoc false use BattleCity.Tank.Base, points: 4000, health: 1, move_speed: 2, bullet_speed: 2, level: 3 @impl true def handle_level_up(_), do: Tank.Level4 end
16.428571
41
0.673913
9efa944de498a5a104a9e4cdc3babfeca2e0fe7a
14,004
exs
Elixir
apps/neo_node/test/neo_node/neo_node_test.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neo_node/test/neo_node/neo_node_test.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neo_node/test/neo_node/neo_node_test.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
defmodule NeoNodeTest do use ExUnit.Case @fake_node_url "http://fakenode" test "post/3" do assert {:ok, _} = NeoNode.post(@fake_node_url, "getblock", [0, 1]) assert {:error, _} = NeoNode.post(@fake_node_url, "getblockerror", [0, 1]) end test "get_block_by_height/2" do assert { :ok,...
42.825688
98
0.417738
9efa9a3aa68e49df044ace06c6f96594ea357c36
3,309
exs
Elixir
lib/ex_unit/test/ex_unit/doc_test_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/ex_unit/test/ex_unit/doc_test_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/doc_test_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule ExUnit.DocTestTest.GoodModule do @doc """ iex> test_fun 1 iex> test_fun + 1 2 """ def test_fun, do: 1 @doc """ iex> a = 1 iex> b = a + 2 3 iex> a + b 4 """ def single_context, do: :ok @doc """ iex> 1 + (fn() -> "" end).() *...
18.383333
95
0.654276
9efaa64fb79e604a043bb4ca684311aa64f89451
2,016
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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.529412
332
0.75
9efab5e913d9de800b0edbde169a0244b1b85641
1,003
exs
Elixir
test/http/client_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
test/http/client_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
test/http/client_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
defmodule Http.ClientTest do use ExUnit.Case, async: true import Mock alias Http.Client alias Http.Config alias Http.ClientMock defp config_get_client!() do ClientMock end describe "given client with configured client" do setup_with_mocks([ {Config, [:passthrough], [ ge...
18.924528
51
0.497507