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
1d2c055a3627964bc90a42ef19b3af3b93aca9f4
1,646
ex
Elixir
test/support/example_domain/ticketing/ticket_booking.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
31
2017-11-25T00:18:12.000Z
2022-03-03T20:11:17.000Z
test/support/example_domain/ticketing/ticket_booking.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
12
2018-01-09T21:18:30.000Z
2021-09-06T10:35:43.000Z
test/support/example_domain/ticketing/ticket_booking.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
13
2018-02-08T15:15:11.000Z
2020-08-13T12:25:18.000Z
defmodule ExampleDomain.TicketBooking do @moduledoc false defmodule Commands do defmodule ReserveTicket do @derive Jason.Encoder defstruct [:ticket_uuid, :description, :price, :expires_at] end defmodule TimeoutReservation do @derive Jason.Encoder defstruct [:ticket_uuid] en...
28.877193
96
0.732685
1d2c12befed60454cd3db3df8a7340cab16ea0ad
663
ex
Elixir
lib/plug_ets_cache.ex
jerodsanto/plug_ets_cache
3fdcf2652a8e5b9d78dc572aec6345b5755355e4
[ "MIT" ]
25
2017-04-20T14:05:03.000Z
2021-03-13T02:48:25.000Z
lib/plug_ets_cache.ex
jerodsanto/plug_ets_cache
3fdcf2652a8e5b9d78dc572aec6345b5755355e4
[ "MIT" ]
8
2017-04-21T15:04:59.000Z
2019-02-15T09:39:22.000Z
lib/plug_ets_cache.ex
jerodsanto/plug_ets_cache
3fdcf2652a8e5b9d78dc572aec6345b5755355e4
[ "MIT" ]
9
2017-05-05T15:11:58.000Z
2021-04-09T09:16:41.000Z
defmodule PlugEtsCache do @moduledoc """ Implements an ETS based cache storage for Plug based applications. """ use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(ConCache, [ [ name: app_env(:db_name, :ets_cache), ttl...
22.862069
70
0.645551
1d2c2cb41519c41aefc31e3596175552da531a6c
1,468
exs
Elixir
mix.exs
regno-node/ex_monero
bb14065d4b664297aa919a068aa00eb0735eca40
[ "Unlicense", "MIT" ]
7
2017-09-08T18:17:55.000Z
2021-07-11T01:03:40.000Z
mix.exs
regno-node/ex_monero
bb14065d4b664297aa919a068aa00eb0735eca40
[ "Unlicense", "MIT" ]
11
2017-09-08T10:23:34.000Z
2018-08-24T16:10:09.000Z
mix.exs
libra-ventures/ex_monero
9ef72502b8334bb9d9d9f27bd30601adfe3fb301
[ "Unlicense", "MIT" ]
2
2018-11-12T06:42:31.000Z
2021-07-11T01:33:34.000Z
defmodule Monero.Mixfile do use Mix.Project def project do [ app: :monero, version: version(), elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), package: package(), deps: deps(), test_coverage: [tool: ExCoveralls], ...
25.310345
121
0.540872
1d2c2e5f2f039fda328a2326f663aed39c590419
385
exs
Elixir
config/test.exs
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
config/test.exs
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
config/test.exs
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
1
2021-01-12T00:55:56.000Z
2021-01-12T00:55:56.000Z
use Mix.Config config :authable, Authable.Repo, adapter: Ecto.Adapters.Postgres, username: System.get_env()["DATABASE_POSTGRESQL_USERNAME"] || "postgres", password: System.get_env()["DATABASE_POSTGRESQL_PASSWORD"] || "", database: "authable_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox con...
32.083333
75
0.763636
1d2c31fba1cb754c19d70b5586b4b5940c05fc5f
3,285
ex
Elixir
lib/live_props/validations.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
11
2020-07-02T17:02:18.000Z
2021-10-31T11:27:53.000Z
lib/live_props/validations.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
null
null
null
lib/live_props/validations.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
1
2021-01-04T20:29:07.000Z
2021-01-04T20:29:07.000Z
defmodule LiveProps.Validations do @moduledoc false @valid_attributes [:prop, :state] @doc false def validate_opts!(attribute, name, type, opts) do if Keyword.keyword?(opts) == false do raise ArgumentError, "Options should be a keyword list. Received #{inspect(opts)}" end validate_attribute...
27.14876
99
0.699239
1d2c334bc8960d17329da9440a7abb7eb6e1992f
1,020
ex
Elixir
otp/stack/lib/stack/server.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
4
2016-09-22T03:47:56.000Z
2017-02-02T17:42:57.000Z
otp/stack/lib/stack/server.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
otp/stack/lib/stack/server.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
defmodule Stack.Server do use GenServer def start_link(state) do GenServer.start_link(__MODULE__, state, name: :stack_server) end def pop() do GenServer.call(:stack_server, :pop) end def push(element) do GenServer.cast(:stack_server, {:push, element}) end def cause_error() do GenServer.c...
25.5
84
0.672549
1d2c52738871ea657158b361f9ede16a438355b7
1,892
exs
Elixir
test/budget/token_auth/email_test.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
2
2019-04-02T01:06:40.000Z
2019-05-13T01:12:24.000Z
test/budget/token_auth/email_test.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
7
2018-12-27T12:33:38.000Z
2021-03-08T22:31:14.000Z
test/budget/token_auth/email_test.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
null
null
null
defmodule SimpleBudget.TokenAuth.EmailTest do use SimpleBudget.DataCase alias SimpleBudget.TokenAuth.Email alias SimpleBudget.Users def user_fixture(attrs \\ %{}) do {:ok, user} = Users.create_user(attrs) user end describe "invalid token" do test "returns error" do {:error, message} = ...
30.516129
167
0.692918
1d2c6c737d8c9d27a173e9376d17058bf60d3e84
2,383
exs
Elixir
mix.exs
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
mix.exs
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
mix.exs
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
defmodule Pathex.MixProject do use Mix.Project @version "1.2.0" def project do [ app: :pathex, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: ...
21.862385
68
0.518254
1d2cabbb333b28c0b91e6b2fde97f67f1386d4b5
830
ex
Elixir
lib/robolia_web/channels/match_channel.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2020-01-19T04:27:46.000Z
2020-01-19T04:27:46.000Z
lib/robolia_web/channels/match_channel.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
null
null
null
lib/robolia_web/channels/match_channel.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2018-05-13T14:06:46.000Z
2018-05-13T14:06:46.000Z
defmodule RoboliaWeb.MatchChannel do @moduledoc false use Phoenix.Channel alias Robolia.Games.TicTacToes.{Queries, TicTacToeMoviment, TicTacToeMatch} alias Robolia.Repo alias RoboliaWeb.{MatchSerializer, MovimentSerializer} def join("match:tic-tac-toe:" <> _match_id, _payload, socket) do send(self(), ...
25.151515
87
0.66506
1d2cfd07e6f5eaae3f57603c8d0b638b9e151517
13,216
exs
Elixir
lib/elixir/test/elixir/task/supervisor_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/task/supervisor_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/task/supervisor_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Task.SupervisorTest do use ExUnit.Case @moduletag report: [:supervisor] @moduletag :capture_log setup do {:ok, pid} = Task.Supervisor.start_link() {:ok, supervisor: pid} end def wait_and_send(caller, atom) do send(caller, :ready) ...
33.289673
100
0.630675
1d2d0291d30f9b9e498275451b4769a01a1ca973
19,362
ex
Elixir
lib/phoenix/tracker/state.ex
spscream/phoenix_pubsub
8e497841fcec8a806285448a56215f94088244d5
[ "MIT" ]
null
null
null
lib/phoenix/tracker/state.ex
spscream/phoenix_pubsub
8e497841fcec8a806285448a56215f94088244d5
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/deps/phoenix_pubsub/lib/phoenix/tracker/state.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Tracker.State do @moduledoc """ Provides an ORSWOT CRDT. """ alias Phoenix.Tracker.{State, Clock} @type name :: term @type topic :: String.t @type key :: term @type meta :: map @type ets_id :: :ets.tid @type clock :: pos_integer @type tag ...
33.440415
114
0.600248
1d2d276c44576e73b44b1fe8cb15812a6c07b914
4,172
ex
Elixir
lib/exexif.ex
billperegoy/exexif
ad535f1573fb84c40468fdd81a5452d101afdde1
[ "MIT" ]
null
null
null
lib/exexif.ex
billperegoy/exexif
ad535f1573fb84c40468fdd81a5452d101afdde1
[ "MIT" ]
null
null
null
lib/exexif.ex
billperegoy/exexif
ad535f1573fb84c40468fdd81a5452d101afdde1
[ "MIT" ]
null
null
null
defmodule Exexif do alias Exexif.Decode alias Exexif.Tag @max_exif_len 2 * (65536 + 2) @image_start_marker 0xFFD8 # @image_end_marker 0xffd9 # NOT USED @app1_marker 0xFFE1 def exif_from_jpeg_file(name) when is_binary(name) do {:ok, buffer} = File.open( name, [:read], ...
24.686391
99
0.59372
1d2d28909b6707372079eb10f7d6d74e6aedf71b
695
ex
Elixir
web/models/ui_dismissal.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
web/models/ui_dismissal.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
web/models/ui_dismissal.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.UIDismissal do @moduledoc """ Represents a user having dismissed a portion of the UI, such as a suggestion. """ use CanvasAPI.Web, :model @type t :: %__MODULE__{} schema "ui_dismissals" do field :identifier, :string belongs_to :account, CanvasAPI.Account timestamps() e...
23.166667
79
0.657554
1d2d319e034b5206ba4097cf2e27f6cf3e7f2653
1,833
exs
Elixir
clients/cloud_build/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_build/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
27.358209
102
0.654664
1d2d65c16a71c7c965268de58140d09922cff9bb
144
ex
Elixir
test/support/mix/tasks/compile/surface_test/fake_link.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2021-04-30T14:28:08.000Z
2021-04-30T14:28:08.000Z
test/support/mix/tasks/compile/surface_test/fake_link.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
test/support/mix/tasks/compile/surface_test/fake_link.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.SurfaceTest.FakeLink do use Surface.Component def render(assigns) do ~H""" FAKE LINK """ end end
14.4
51
0.673611
1d2d7ffaea41ae2b10ef96af25914d832fb2eb87
69
ex
Elixir
lib/mcf_phoenix_web/views/layout_view.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
lib/mcf_phoenix_web/views/layout_view.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
lib/mcf_phoenix_web/views/layout_view.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
defmodule McfPhoenixWeb.LayoutView do use McfPhoenixWeb, :view end
17.25
37
0.826087
1d2d8cc820282f26e65352ae40082c1e469bbb1b
8,298
ex
Elixir
lib/livebook/notebook.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Notebook do @moduledoc false # Data structure representing a notebook. # # A notebook is just the representation and roughly # maps to a file that the user can edit. # A notebook *session* is a living process that holds a specific # notebook instance and allows users to collaboratively...
28.515464
87
0.634008
1d2db26ff851f031104d7e5ae2449a6913877811
870
ex
Elixir
lib/k8s/conn/auth/basic_auth.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
lib/k8s/conn/auth/basic_auth.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
2
2022-03-28T03:22:37.000Z
2022-03-28T03:22:54.000Z
lib/k8s/conn/auth/basic_auth.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
defmodule K8s.Conn.Auth.BasicAuth do @moduledoc """ basic auth cluster authentication """ @behaviour K8s.Conn.Auth defstruct [:token] @type t :: %__MODULE__{token: binary} @impl true @spec create(map(), String.t()) :: {:ok, t()} | :skip def create(%{"username" => username, "password" => password}, ...
28.064516
87
0.642529
1d2dc169d582477f996f703eb72ed7a5214b5be0
1,969
ex
Elixir
lib/vim_snake_web/channels/game_channel.ex
theanht1/vim_snake
a7650acf579721917a27d2f6c65f3e0d03e2d893
[ "MIT" ]
19
2020-01-15T05:34:44.000Z
2022-03-01T14:11:00.000Z
lib/vim_snake_web/channels/game_channel.ex
theanht1/vim_snake
a7650acf579721917a27d2f6c65f3e0d03e2d893
[ "MIT" ]
2
2021-09-14T03:06:58.000Z
2022-02-12T04:31:34.000Z
lib/vim_snake_web/channels/game_channel.ex
theanht1/vim_snake
a7650acf579721917a27d2f6c65f3e0d03e2d893
[ "MIT" ]
null
null
null
defmodule VimSnakeWeb.GameChannel do use VimSnakeWeb, :channel alias VimSnake.Store.{Player, Snake, Info} alias VimSnake.Engine.Game def join("game:lobby", payload, socket) do if authorized?(payload) do {:ok, socket} else {:error, %{reason: "unauthorized"}} end end # Channels can ...
26.608108
77
0.659218
1d2dd8bfd1ed536ffa0b55fddef4133151c82486
13,069
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/api/accounts.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...
44.301695
245
0.624761
1d2de12094b9b016c86f320049e5b1d3de3aabd8
1,544
ex
Elixir
lib/maison_web/views/error_helpers.ex
brianjgamble/maison
b1eb2084c013973c0c4f6434c755c567658e76fd
[ "MIT" ]
null
null
null
lib/maison_web/views/error_helpers.ex
brianjgamble/maison
b1eb2084c013973c0c4f6434c755c567658e76fd
[ "MIT" ]
null
null
null
lib/maison_web/views/error_helpers.ex
brianjgamble/maison
b1eb2084c013973c0c4f6434c755c567658e76fd
[ "MIT" ]
null
null
null
defmodule MaisonWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:...
32.166667
75
0.664508
1d2df3f18d417e83383136f9269a18d54ac93131
542
ex
Elixir
lib/ex_hl7/segment/builder.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
38
2015-06-21T17:44:44.000Z
2021-10-03T08:46:08.000Z
lib/ex_hl7/segment/builder.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
2
2019-08-27T17:27:37.000Z
2021-02-05T14:27:28.000Z
lib/ex_hl7/segment/builder.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
14
2016-02-04T15:11:55.000Z
2021-11-13T20:28:19.000Z
defmodule HL7.Segment.Builder do @moduledoc """ Behavior representing a module used to build HL7 segments based on their segment ID. """ alias HL7.Segment alias HL7.Type @callback segment_module(Type.segment_id()) :: {:ok, module} | :error @callback segment_spec(Type.segment_id()) :: {:ok, Segment.spec()...
38.714286
86
0.658672
1d2e0ad48f1e45a73dea790bb3085991953975db
1,802
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/flight.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/v33/model/flight.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/flight.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 ...
32.178571
90
0.689789
1d2e176379223c023d5004878bb456c1e68c0ebf
2,377
ex
Elixir
test/support/pages/page_helper.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/support/pages/page_helper.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/support/pages/page_helper.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule PageHelper do @moduledoc """ Helper functions for writing hound based integration tests to wait for things to happen. For many cases, the default hound timeout/retry functionality will work out for you. For places with a lot of client-side logic, waiting longer may be required. """ use Hound.Hel...
29.345679
97
0.718132
1d2e2c2f30a9a410adc94bd75dc1ae6936de473f
1,555
ex
Elixir
lib/messengyr/web/controllers/page_controller.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/controllers/page_controller.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/controllers/page_controller.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
defmodule Messengyr.Web.PageController do use Messengyr.Web, :controller alias Messengyr.Accounts alias Messengyr.Accounts.Session def index(conn, _params) do user = Guardian.Plug.current_resource(conn) changeset = Accounts.register_changeset() render conn, user_changeset: changeset end def ...
28.796296
65
0.603859
1d2e386413faaad7bfdd3701cf3097c40f6bf316
125
exs
Elixir
apps/neoscan/test/test_helper.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan/test/test_helper.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan/test/test_helper.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
{:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Neoscan.Repo, :manual)
25
54
0.768
1d2e4da888b422a386482971f572ad4a749db1c4
710
ex
Elixir
lib/paddington/apps/helpers/osx.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
6
2016-04-09T00:13:20.000Z
2019-04-15T11:47:59.000Z
lib/paddington/apps/helpers/osx.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
1
2018-03-19T00:08:52.000Z
2018-03-19T00:08:52.000Z
lib/paddington/apps/helpers/osx.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
1
2018-03-18T23:56:29.000Z
2018-03-18T23:56:29.000Z
defmodule Paddington.Apps.Helpers.OSX do defmacro __using__(_opts) do quote do import Paddington.Apps.Helpers.OSX osx_app end end defmacro osx_app do quote do def handle_cast({:osx, name}, state) do state |> Map.put(:osx_app, name) |> with_noreply end ...
19.722222
59
0.560563
1d2e6fe607c41d11f8849d84b27aa69084dd1230
685
exs
Elixir
config/config.exs
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
import Config config :pescarte, ecto_repos: [Pescarte.Repo], generators: [binary_id: true] # Configures the endpoint config :pescarte, PescarteWeb.Endpoint, url: [host: "localhost"], secret_key_base: "A/Tj7LSUyranlrs9b0dK6Vx2NZpbv917rwkX4e8oqzaebvx2mvPmSroOA1PQOMhV", render_errors: [view: PescarteWeb.ErrorV...
28.541667
86
0.754745
1d2e74d6745a2b3dcfa5fc7e9b545e114f72ffce
7,732
ex
Elixir
robotica/lib/robotica/scheduler/executor.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica/lib/robotica/scheduler/executor.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica/lib/robotica/scheduler/executor.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule Robotica.Scheduler.Executor do @moduledoc """ Execute scheduled tasks """ use GenServer require Logger alias Robotica.Scheduler.Classifier alias Robotica.Scheduler.Marks alias Robotica.Scheduler.Schedule alias Robotica.Scheduler.Sequence @timezone Application.compile_env(:robotica, :tim...
28.116364
82
0.626358
1d2ec44c85f720fa65c0a1070ed3563a718b0c49
139,774
ex
Elixir
lib/elixir/lib/enum.ex
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression `Enum.map([1, 2, 3], &(&1 * 2))` invokes `Enumerable.r...
29.149948
118
0.616552
1d2f022a05f5ce3587c89a799b7cd4f68d61b6d6
90
exs
Elixir
test/telcofinder_web/views/layout_view_test.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
test/telcofinder_web/views/layout_view_test.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
test/telcofinder_web/views/layout_view_test.exs
finderbar/telcofinder
9995a14563218bb978bdde86eb8c19ab0dbbbf0c
[ "MIT" ]
null
null
null
defmodule TelcofinderWeb.LayoutViewTest do use TelcofinderWeb.ConnCase, async: true end
22.5
42
0.844444
1d2f306e36f23937403e7feb2e5ca8aaf4d77c35
617
ex
Elixir
lib/mongo/grid_fs/upload.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
286
2017-06-06T04:21:31.000Z
2021-09-11T16:37:59.000Z
lib/mongo/grid_fs/upload.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
202
2017-05-28T13:22:01.000Z
2020-05-15T20:15:51.000Z
lib/mongo/grid_fs/upload.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
120
2016-12-16T17:05:12.000Z
2020-05-15T16:20:17.000Z
defmodule Mongo.GridFs.Upload do @moduledoc """ The main entry point for uploading files into the grid-fs specified by the bucket struct. """ alias Mongo.GridFs.UploadStream @doc """ Opens a stream that the application can write the contents of the file to. The driver generates the file id. User data...
30.85
91
0.714749
1d2f3566fd6290734fa838c106d13256b4a15e9e
11,658
exs
Elixir
lib/elixir/test/elixir/module/types_test.exs
bruteforcecat/elixir
2013b4dc34cd65953615f71e721e2e9c3949ec85
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types_test.exs
bruteforcecat/elixir
2013b4dc34cd65953615f71e721e2e9c3949ec85
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types_test.exs
bruteforcecat/elixir
2013b4dc34cd65953615f71e721e2e9c3949ec85
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Module.TypesTest do use ExUnit.Case, async: true import Bitwise, warn: false alias Module.Types defmacrop quoted_head(patterns, guards \\ [true]) do quote do {patterns, guards} = unquote(Macro.escape(expand_head(patterns, guards))) Ty...
35.43465
98
0.495025
1d2f3b15183100d8dbe18139004c43162739cc6b
1,496
ex
Elixir
clients/poly/lib/google_api/poly/v1/model/remix_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/poly/lib/google_api/poly/v1/model/remix_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/poly/lib/google_api/poly/v1/model/remix_info.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...
31.829787
143
0.726604
1d2f40b1bef13ab20c8a7d33c5aba54fddce7989
1,231
ex
Elixir
lib/todo/server.ex
jaroslav-kubicek/elixir-in-action
8add6a9a01d741c554d7395417838a8e2f5b713a
[ "MIT" ]
null
null
null
lib/todo/server.ex
jaroslav-kubicek/elixir-in-action
8add6a9a01d741c554d7395417838a8e2f5b713a
[ "MIT" ]
null
null
null
lib/todo/server.ex
jaroslav-kubicek/elixir-in-action
8add6a9a01d741c554d7395417838a8e2f5b713a
[ "MIT" ]
null
null
null
defmodule Todo.Server do @moduledoc false use GenServer def start_link(name, init_items \\ []) do GenServer.start_link(__MODULE__, {name, init_items}) end def add_todo(pid, todo) do GenServer.cast(pid, {:add, todo}) end def get_todo(pid, id) do GenServer.call(pid, {:get, id}) end # Be...
22.796296
86
0.628757
1d2f5c7f9b353249140a02e47f0df7e602e8e8e5
7,438
exs
Elixir
test/controllers/admin/variant_controller_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/controllers/admin/variant_controller_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/controllers/admin/variant_controller_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Admin.VariantControllerTest do use Nectar.ConnCase alias Nectar.Repo alias Nectar.Variant @product_attrs %{ name: "Reebok Premium", description: "Reebok Premium Exclusively for you", available_on: Ecto.Date.utc } @master_variant_attrs %{ master: %{ cost_price: "20" ...
39.775401
143
0.70691
1d2f64e77f5178229f644f1ee6cebb3a812b956f
25,831
ex
Elixir
lib/nebulex/adapters/local.ex
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
845
2017-02-14T14:16:11.000Z
2022-03-30T04:13:08.000Z
lib/nebulex/adapters/local.ex
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
146
2017-04-29T16:11:14.000Z
2022-03-29T08:49:05.000Z
lib/nebulex/adapters/local.ex
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
50
2017-08-17T13:44:06.000Z
2022-03-30T11:29:59.000Z
defmodule Nebulex.Adapters.Local do @moduledoc ~S""" Adapter module for Local Generational Cache; inspired by [epocxy](https://github.com/duomark/epocxy). Generational caching using an ets table (or multiple ones when used with `:shards`) for each generation of cached data. Accesses hit the newer generatio...
31.694479
95
0.668615
1d2f687b353e371607e57d06054f49d7b13282db
417
exs
Elixir
test/unit/hologram/compiler/js_encoders/string_type_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/js_encoders/string_type_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/js_encoders/string_type_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.JSEncoder.StringTypeTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.{Context, JSEncoder, Opts} alias Hologram.Compiler.IR.StringType test "encode/3" do ir = %StringType{value: "abc'bcd\ncde"} result = JSEncoder.encode(ir, %Context{}, %Opts{}) ex...
26.0625
61
0.693046
1d2f7f8fac2bb36e55618b6a8cccc7d3f7343ec1
5,861
ex
Elixir
lib/cog/chat/slack/provider.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/chat/slack/provider.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/chat/slack/provider.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.Slack.Provider do require Logger use GenServer use Cog.Chat.Provider alias Carrier.Messaging.ConnectionSup alias Carrier.Messaging.GenMqtt alias Cog.Chat.Slack.Connector alias Greenbar.Renderers.SlackRenderer defstruct [:token, :incoming, :connector, :mbus, :enable_threaded_respon...
37.812903
150
0.675482
1d2f7ffc91ecf8c1142ba5110f5d643c8dec35a9
4,185
exs
Elixir
services/interop-proxy/test/interop_proxy_test.exs
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/test/interop_proxy_test.exs
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/test/interop_proxy_test.exs
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxyTest do use ExUnit.Case alias InteropProxy.Message.Interop.{ Position, AerialPosition, InteropTelem, Odlc } alias InteropProxy.TestHelper import InteropProxy test "get the mission" do mission = get_mission!() assert mission.current_mission === true assert is_float(...
25.833333
77
0.649462
1d2f83d57879c06f22f9bf982cc170135d680938
1,747
ex
Elixir
lib/oban/plugins/fixed_pruner.ex
smaximov/oban
096e9f6b5a397f7863243466dbe002d1aba0d57e
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/fixed_pruner.ex
smaximov/oban
096e9f6b5a397f7863243466dbe002d1aba0d57e
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/fixed_pruner.ex
smaximov/oban
096e9f6b5a397f7863243466dbe002d1aba0d57e
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.FixedPruner do @moduledoc false use GenServer alias Oban.{Config, Job, Query, Telemetry} import Ecto.Query @lock_key 1_159_969_450_252_858_340 @prune_age 60 @prune_interval :timer.seconds(30) @prune_limit 100_000 defmodule State do @moduledoc false defstruct [:conf...
22.986842
83
0.65312
1d2fc510ec93b87a47b78208029fdaaff56db7c0
131
ex
Elixir
lib/simplex_noise/noise_generator.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
7
2016-09-06T23:15:19.000Z
2020-11-12T13:59:00.000Z
lib/simplex_noise/noise_generator.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
null
null
null
lib/simplex_noise/noise_generator.ex
sgeos/simplex_noise
b2fe2da0436d8e824bb398c39170c7ca44d9b215
[ "CC0-1.0" ]
1
2019-10-28T18:53:34.000Z
2019-10-28T18:53:34.000Z
defmodule NoiseGenerator do @doc "Returns a noise value for a given n-tuple coordinate." @callback noise(tuple) :: number end
21.833333
62
0.748092
1d2fd49aa06d8f779b001935f0d75dcc20917d5b
654
ex
Elixir
lib/super_issuer/account_event.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
2
2021-02-12T09:21:56.000Z
2021-02-22T08:52:20.000Z
lib/super_issuer/account_event.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
4
2021-02-22T08:53:43.000Z
2021-06-09T09:24:46.000Z
lib/super_issuer/account_event.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
null
null
null
defmodule SuperIssuer.AccountEvent do use Ecto.Schema import Ecto.Changeset alias SuperIssuer.Repo alias SuperIssuer.{Account, Event} alias SuperIssuer.AccountEvent, as: Ele schema "account_event" do belongs_to :account , Account belongs_to :event, Event end def create(attrs \\ %{}) do %E...
18.166667
44
0.637615
1d2ff897d42a4ca89298634210debf56f9b9ae91
1,774
ex
Elixir
lib/quantum/run_strategy/all.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/run_strategy/all.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/run_strategy/all.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
defmodule Quantum.RunStrategy.All do @moduledoc """ Run job on all node of the node list If the node list is `:cluster`, all nodes of the cluster will be used. ### Mix Configuration config :my_app, MyApp.Scheduler, jobs: [ # Run on all nodes in cluster [schedule: "* * * * *"...
28.612903
107
0.625141
1d301507a673b35d99afe1ca1e9ca21803dd8166
796
exs
Elixir
mix.exs
TheRealReal/algolia-elixir
52ee6347fc5969c3a8ea1eab9ca8dfb2aec0fae5
[ "Apache-2.0" ]
2
2020-04-22T11:29:26.000Z
2021-03-24T18:23:39.000Z
mix.exs
TheRealReal/algolia-elixir
52ee6347fc5969c3a8ea1eab9ca8dfb2aec0fae5
[ "Apache-2.0" ]
1
2021-11-08T17:18:44.000Z
2021-11-08T20:46:26.000Z
mix.exs
TheRealReal/algolia-elixir
52ee6347fc5969c3a8ea1eab9ca8dfb2aec0fae5
[ "Apache-2.0" ]
1
2022-02-28T00:03:53.000Z
2022-02-28T00:03:53.000Z
defmodule Algolia.Mixfile do use Mix.Project def project do [ app: :algolia, version: "0.8.0", description: "Elixir implementation of Algolia Search API", elixir: "~> 1.5", package: package(), deps: deps(), docs: [extras: ["README.md"], main: "readme"] ] end d...
20.410256
71
0.517588
1d301ec2d12a95da00214d137d52a9181021bca0
4,652
ex
Elixir
lib/banchan_web/controllers/user_auth.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/controllers/user_auth.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/controllers/user_auth.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule BanchanWeb.UserAuth do @moduledoc false import Plug.Conn import Phoenix.Controller alias Banchan.Accounts alias BanchanWeb.Endpoint alias BanchanWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token...
29.075
81
0.698839
1d302039b86018efe37eec1b2c76c1f9825fffe4
7,960
exs
Elixir
test/httpoison_test.exs
pedep/httpoison
d76d11f8088577ac87bd91c5fcf35233a4929ca2
[ "MIT" ]
null
null
null
test/httpoison_test.exs
pedep/httpoison
d76d11f8088577ac87bd91c5fcf35233a4929ca2
[ "MIT" ]
null
null
null
test/httpoison_test.exs
pedep/httpoison
d76d11f8088577ac87bd91c5fcf35233a4929ca2
[ "MIT" ]
null
null
null
defmodule HTTPoisonTest do use ExUnit.Case, async: true import PathHelpers test "get" do assert_response(HTTPoison.get("localhost:8080/deny"), fn response -> assert :erlang.size(response.body) == 197 end) end test "get with params" do resp = HTTPoison.get("localhost:8080/get", [], params: ...
29.924812
99
0.638191
1d3043441b731fbb57a7fb59dd97704d83032e19
319
ex
Elixir
apps/tracing_4/lib/supervisor.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tracing_4/lib/supervisor.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tracing_4/lib/supervisor.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule CurrencyConverter.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok) end def init(:ok) do children = [ worker(CurrencyConverter.Cache, []), worker(CurrencyConverter.Converter, []) ] supervise(children, strategy: :one_for_one) end end
19.9375
47
0.695925
1d30592d9afa0df86797558d756953e02ef03176
968
exs
Elixir
elixir/phoenix_socket/config/config.exs
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
421
2016-09-01T14:16:04.000Z
2022-03-11T14:22:29.000Z
elixir/phoenix_socket/config/config.exs
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
48
2016-09-01T23:10:37.000Z
2020-10-28T14:34:47.000Z
elixir/phoenix_socket/config/config.exs
thewillhuang/websocket-shootout
d9046f341dc2a1ed54be5e734a546b392db09b05
[ "MIT" ]
84
2016-09-01T14:37:39.000Z
2021-11-10T16:46:13.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 # General application configuration config :phoenix_socket, ecto_repos: [PhoenixSoc...
34.571429
86
0.771694
1d30697ef9f4ca9c1200e78e7451bf0215cd8376
447
exs
Elixir
server/priv/repo/migrations/20210528125231_create_cart_lists.exs
d-exclaimation/echoppe
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-05-13T00:53:52.000Z
2021-05-13T00:53:52.000Z
server/priv/repo/migrations/20210528125231_create_cart_lists.exs
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-06-02T19:18:10.000Z
2021-06-07T16:44:36.000Z
server/priv/repo/migrations/20210528125231_create_cart_lists.exs
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
null
null
null
defmodule Echoppe.Repo.Migrations.CreateCartLists do use Ecto.Migration def change do create table(:cart_lists, primary_key: false) do add :id, :binary_id, primary_key: true add :title, :string add :description, :text add :due_date, :utc_datetime_usec add :user_id, references(:use...
24.833333
80
0.684564
1d306df87444d11e642aec39c1df0452d0317d3e
2,614
ex
Elixir
lib/osc.ex
camshaft/osc_ex
fe6c00fcee0da012cfdf836d4e8eec57dcaf5472
[ "MIT" ]
9
2016-01-28T09:48:14.000Z
2022-01-04T08:10:39.000Z
lib/osc.ex
camshaft/osc_ex
fe6c00fcee0da012cfdf836d4e8eec57dcaf5472
[ "MIT" ]
null
null
null
lib/osc.ex
camshaft/osc_ex
fe6c00fcee0da012cfdf836d4e8eec57dcaf5472
[ "MIT" ]
2
2020-10-24T06:35:53.000Z
2020-12-08T01:54:39.000Z
defmodule OSC do alias OSC.Encoder alias OSC.Parser @doc """ Encode a value to OSC. iex> OSC.encode(%OSC.Message{address: "/foo", arguments: ["hello"]}) {:ok, <<47, 102, 111, 111, 0, 0, 0, 0, 44, 115, 0, 0, 104, 101, 108, 108, 111, 0, 0, 0>>} """ @spec encode(Encoder.t, Keyword.t) :: {:ok, ioda...
34.394737
106
0.574981
1d3097c69bd683537dd039cbc722adb4d112b29b
924
ex
Elixir
lib/grapevine/featured.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
lib/grapevine/featured.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
lib/grapevine/featured.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Grapevine.Featured do @moduledoc """ Updates the home page with featured games nightly Selection includes: - Games sorted by average player count, top 6 taken - Games that are connected to the chat network, random 3 - Any game not included above, a random 3 Soon to include: - Games that use ...
24.972973
75
0.722944
1d30aaca8acdd854e9fbab60bf3c0e8e8ca113a9
1,895
exs
Elixir
config/dev.exs
toranb/elixir-gleam-match
2102b071de2d45a7b528fc4fc7172e62dc72ce50
[ "MIT" ]
22
2020-09-06T22:18:35.000Z
2022-01-30T13:58:33.000Z
config/dev.exs
toranb/elixir-gleam-match
2102b071de2d45a7b528fc4fc7172e62dc72ce50
[ "MIT" ]
1
2020-09-10T14:54:30.000Z
2020-09-10T18:38:30.000Z
config/dev.exs
toranb/elixir-gleam-match
2102b071de2d45a7b528fc4fc7172e62dc72ce50
[ "MIT" ]
2
2020-09-06T23:02:38.000Z
2020-09-09T05:23:03.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :game, GameWeb.Endpoint, http: [port: 4000], d...
27.867647
68
0.680739
1d30afffe77b2989b1acfe2eb9f7924ef06271b7
602
ex
Elixir
apps/admin_app/lib/admin_app_web/views/taxonomy_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app_web/views/taxonomy_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app_web/views/taxonomy_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminAppWeb.TaxonomyView do use AdminAppWeb, :view alias Snitch.Data.Schema.{VariationTheme, Taxonomy} alias Snitch.Core.Tools.MultiTenancy.Repo import Ecto.Query def get_taxon_name({taxon, list}) do taxon.name end def get_taxon_id({taxon, list}) do taxon.id end def is_root({taxo...
18.242424
55
0.682724
1d30caa6faf5c7567799936397cd897034e2869c
333
ex
Elixir
apps/plant_monitor/test/factories/device_factory.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor/test/factories/device_factory.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor/test/factories/device_factory.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitor.DeviceFactory do @moduledoc """ `PlantMonitor.Device` schema factory. """ defmacro __using__(_opts) do quote do def device_factory do %PlantMonitor.Device{ name: sequence("Measuring device #"), place: sequence("HomePlace") } end en...
17.526316
47
0.615616
1d30d54b0804bfb1ebb922e9f79fed290ffb2bdc
3,138
ex
Elixir
lib/mix/tasks/plug_rest.gen.resource.ex
ashishthete/plug_rest
0dff5e130e3627909df54cb410bb8f891e3fa60c
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/plug_rest.gen.resource.ex
ashishthete/plug_rest
0dff5e130e3627909df54cb410bb8f891e3fa60c
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/plug_rest.gen.resource.ex
ashishthete/plug_rest
0dff5e130e3627909df54cb410bb8f891e3fa60c
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.PlugRest.Gen.Resource do @shortdoc "Generates a PlugRest resource" @moduledoc """ Generates a PlugRest resource in your Plug application. mix plug_rest.gen.resource UserResource The generator will add the following files to `lib/`: * a resource file in lib/my_app/resources/user...
27.526316
84
0.643085
1d30e799002a2f01e7f66d7542f46e4f8f44592b
1,033
ex
Elixir
lib/lucidboard_web/controllers/user_controller.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
1
2019-07-04T03:23:31.000Z
2019-07-04T03:23:31.000Z
lib/lucidboard_web/controllers/user_controller.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
null
null
null
lib/lucidboard_web/controllers/user_controller.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
null
null
null
defmodule LucidboardWeb.UserController do use LucidboardWeb, :controller alias Ecto.Changeset alias Lucidboard.{Repo, User} alias LucidboardWeb.Router.Helpers, as: Routes @themes Application.get_env(:lucidboard, :themes) def signin(conn, _params) do if signed_in?(conn) do conn |> put_statu...
27.918919
77
0.640852
1d30ec7e1c5ec31b111fc76d5add412bb918443c
1,609
ex
Elixir
test/support/test_workspace.ex
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
1
2020-05-15T20:41:00.000Z
2020-05-15T20:41:00.000Z
test/support/test_workspace.ex
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
3
2021-08-18T20:39:11.000Z
2022-01-11T22:45:06.000Z
test/support/test_workspace.ex
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
null
null
null
defmodule Wallaby.TestSupport.TestWorkspace do @moduledoc """ Test helpers that create temporary directory that exists for the lifetime of the test. """ import ExUnit.Callbacks, only: [on_exit: 1] @deprecated "Use mkdir!/0 inside test instead" def create_test_workspace(_) do workspace_path = mkdir!(...
22.985714
82
0.67371
1d31020f9097b9aae03bbbf60c15a05f1ad05529
581
exs
Elixir
exercises/practice/alphametics/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/alphametics/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/alphametics/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Alphametics.MixProject do use Mix.Project def project do [ app: :alphametics, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.034483
87
0.580034
1d31064674d3fd48cf48d3cd979b53b8e7d34c2d
4,886
exs
Elixir
mix.exs
treble37/prom_ex
f5bb45279cf9576b1c4533de0ad555d3b2987f76
[ "MIT" ]
null
null
null
mix.exs
treble37/prom_ex
f5bb45279cf9576b1c4533de0ad555d3b2987f76
[ "MIT" ]
null
null
null
mix.exs
treble37/prom_ex
f5bb45279cf9576b1c4533de0ad555d3b2987f76
[ "MIT" ]
null
null
null
defmodule PromEx.MixProject do use Mix.Project def project do [ app: :prom_ex, version: "1.0.0", elixir: "~> 1.10", name: "PromEx", source_url: "https://github.com/akoutmos/prom_ex", homepage_url: "https://hex.pm/packages/prom_ex", description: "Prometheus metrics and ...
32.357616
190
0.595784
1d3108005ab56257233790ab7522b9811bb8c31f
8,156
ex
Elixir
lib/livebook/notebook.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Notebook do @moduledoc false # Data structure representing a notebook. # # A notebook is just the representation and roughly # maps to a file that the user can edit. # A notebook *session* is a living process that holds a specific # notebook instance and allows users to collaboratively...
28.819788
88
0.640142
1d31097519027e5a7c07a19a94aac1738051e4a5
2,613
ex
Elixir
clients/file/lib/google_api/file/v1/model/network_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/file/lib/google_api/file/v1/model/network_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/network_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.660714
451
0.714122
1d3122733a1b47b57f8d2fb5314d86592359287b
18,432
ex
Elixir
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.166276
187
0.614855
1d3173785e057ff874388456c41103c10e28cbad
1,856
ex
Elixir
clients/script/lib/google_api/script/v1/model/list_user_processes_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/model/list_user_processes_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/model/list_user_processes_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.392157
131
0.753772
1d31a8b08228bf166df11980101a67ef46268cfc
853
exs
Elixir
mix.exs
thiagoesteves/parse_kyc
8ac6dc3fc68559c44bd84ad6947d7b7c85b3084e
[ "Apache-2.0" ]
null
null
null
mix.exs
thiagoesteves/parse_kyc
8ac6dc3fc68559c44bd84ad6947d7b7c85b3084e
[ "Apache-2.0" ]
null
null
null
mix.exs
thiagoesteves/parse_kyc
8ac6dc3fc68559c44bd84ad6947d7b7c85b3084e
[ "Apache-2.0" ]
null
null
null
defmodule ParseKyc.MixProject do use Mix.Project def project do [ app: :parse_kyc, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), escript: escript() ] end defp escript do [ main_module: Parse.Kyc, path: "bin/p...
18.543478
59
0.541618
1d31ab630a9419efd455859cf4dc598c8d437c0f
1,367
exs
Elixir
test/memcache_client_serialization_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
15
2015-06-01T12:47:33.000Z
2017-12-15T13:46:42.000Z
test/memcache_client_serialization_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
6
2016-03-19T05:57:26.000Z
2017-05-08T06:33:21.000Z
test/memcache_client_serialization_test.exs
tsharju/memcache_client
de67ac3ce707b111ef9fe3a51c91efe27ae39ad3
[ "MIT" ]
14
2015-11-14T14:44:35.000Z
2017-10-14T19:21:04.000Z
defmodule Memcache.ClientTest.Serialization do use ExUnit.Case alias Memcache.Client.Serialization test "encode request with only header and key" do header = %Serialization.Header{opcode: :get} bytes = Serialization.encode_request(header, "test") <<magic :: size(8), opcode :: size(8), _rest :: ...
30.377778
88
0.605706
1d31bd7714fd11dd59bce53dc036ea82e3f96909
421
ex
Elixir
lib/cforum/jobs/auditing_cleanup_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/jobs/auditing_cleanup_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/jobs/auditing_cleanup_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule Cforum.Jobs.AuditingCleanupJob do use Oban.Worker, queue: :background, max_attempts: 5 import Ecto.Query, warn: false require Logger alias Cforum.Repo alias Cforum.System.Auditing def perform(_, _) do Logger.info("Starting auditing cleanup…") from(au in Auditing, where: au.created_at <...
22.157895
65
0.712589
1d31df572991efa50c4eb53ef378f440335b03ba
268
ex
Elixir
lib/btrz_ex_api_client/accounts/account.ex
Betterez/btrz-ex-api-client
92e56fb8944de4cf4926aa0192525d33d77e87b4
[ "MIT" ]
2
2019-02-18T20:18:20.000Z
2019-02-25T22:38:04.000Z
lib/btrz_ex_api_client/accounts/account.ex
Betterez/btrz-ex-api-client
92e56fb8944de4cf4926aa0192525d33d77e87b4
[ "MIT" ]
null
null
null
lib/btrz_ex_api_client/accounts/account.ex
Betterez/btrz-ex-api-client
92e56fb8944de4cf4926aa0192525d33d77e87b4
[ "MIT" ]
null
null
null
defmodule BtrzExApiClient.Accounts.Account do @moduledoc """ Available Account endpoints in `btrz-api-accounts`. """ use BtrzExApiClient.API, [:retrieve] def path do Application.get_env(:btrz_ex_api_client, :services)[:accounts] <> "accounts" end end
24.363636
80
0.731343
1d3213a06a77726c107379e9fedf8adb4b955466
1,077
ex
Elixir
lib/phx_template_web/channels/user_socket.ex
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
lib/phx_template_web/channels/user_socket.ex
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
lib/phx_template_web/channels/user_socket.ex
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
defmodule PhxTemplateWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PhxTemplateWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for al...
31.676471
86
0.700093
1d323d937668de7d89d07de289d6bcaf60b4f650
247
ex
Elixir
apps/web/lib/web/track.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
1
2019-10-30T19:38:12.000Z
2019-10-30T19:38:12.000Z
apps/web/lib/web/track.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
3
2018-05-23T11:53:24.000Z
2022-02-10T15:53:08.000Z
apps/web/lib/web/track.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
null
null
null
defmodule Web.Track do alias Kaur.Result alias Koop.Schema.Track def list(_params) do DB.Repo.all(Track) |> Result.ok() end def get_path(track_id) do track = Track |> DB.Repo.get(track_id) track.filename end end
14.529412
28
0.65587
1d323dcdd296e351313d1a19645894ba400ac8cd
74
exs
Elixir
test/plexy_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
153
2016-11-07T15:11:52.000Z
2021-11-16T23:20:52.000Z
test/plexy_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
21
2016-11-07T14:55:09.000Z
2022-03-30T18:31:31.000Z
test/plexy_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
5
2018-07-09T05:02:53.000Z
2019-11-01T01:08:09.000Z
defmodule PlexyTest do use ExUnit.Case, async: true doctest Plexy end
14.8
30
0.77027
1d32435a8148ec5c83b05457f0ea0c346640169a
1,248
ex
Elixir
test/support/conn_case.ex
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
test/support/conn_case.ex
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
test/support/conn_case.ex
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
defmodule ElectionWeb.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 t...
28.363636
70
0.725962
1d324d7b74c234a824afd4c58d785b402072f56a
2,626
ex
Elixir
lib/file_type.ex
kianmeng/file_type
616cfef0323fd7037febf11422e697d67e3a4ce0
[ "MIT" ]
null
null
null
lib/file_type.ex
kianmeng/file_type
616cfef0323fd7037febf11422e697d67e3a4ce0
[ "MIT" ]
null
null
null
lib/file_type.ex
kianmeng/file_type
616cfef0323fd7037febf11422e697d67e3a4ce0
[ "MIT" ]
null
null
null
defmodule FileType do @moduledoc """ Detect the MIME type of a file based on it's content. """ import FileType.Utils.Hex @required_bytes 262 @enforce_keys [:ext, :mime] defstruct [:ext, :mime] @type ext :: binary() @type mime :: binary() @type t :: {ext(), mime()} @type error :: File.posix() |...
23.035088
96
0.595963
1d32505cc8e7263a49d5745b9c4960ac5e7ca189
7,690
ex
Elixir
lib/oban/notifiers/postgres.ex
stevelead/oban
96f8ce2a8bf9f37f49052512176a73b136bd3731
[ "Apache-2.0" ]
null
null
null
lib/oban/notifiers/postgres.ex
stevelead/oban
96f8ce2a8bf9f37f49052512176a73b136bd3731
[ "Apache-2.0" ]
null
null
null
lib/oban/notifiers/postgres.ex
stevelead/oban
96f8ce2a8bf9f37f49052512176a73b136bd3731
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Notifiers.Postgres do @moduledoc """ A Postgres Listen/Notify based Notifier. ## Usage Specify the `Postgres` notifier in your Oban configuration: config :my_app, Oban, notifier: Oban.Notifiers.Postgres ## Caveats The notifications system is built on PostgreSQL's `LISTEN/NO...
25.296053
98
0.624447
1d32544a5dae6975d4c46b37c6db8c5209d680b3
7,951
exs
Elixir
test/scenic/cache/hash_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/cache/hash_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/cache/hash_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on November 12, 2017. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Cache.HashTest do use ExUnit.Case, async: true doctest Scenic.Cache.File alias Scenic.Cache.Hash # import IEx @valid_hash_path "test/test_data/valid_hash_file.txt.aqw2vpKePkeD...
37.861905
98
0.654006
1d32547622c10aca21d1ccb7bb8884b044d70cb2
244
exs
Elixir
apps/memo/priv/repo/migrations/20171022123338_create_entries.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/priv/repo/migrations/20171022123338_create_entries.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/priv/repo/migrations/20171022123338_create_entries.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
defmodule Memo.Repo.Migrations.CreateEntries do use Ecto.Migration def change do create table(:entries) do add :key, :string add :value, :string timestamps() end create unique_index(:entries, :key) end end
17.428571
47
0.663934
1d3265feef8830270141c54a6b4742ea5b3dc9c2
1,968
ex
Elixir
lib/plug_ets_cache/store.ex
icecube11/plug_ets_cache
2e9330b7eefdf1bbbf85823b6f9f3a93394e22d6
[ "MIT" ]
25
2017-04-20T14:05:03.000Z
2021-03-13T02:48:25.000Z
lib/plug_ets_cache/store.ex
andreapavoni/phoenix_ets_cache
610a686df57f09107cd213c02c6c883b1d5e4c82
[ "MIT" ]
8
2017-04-21T15:04:59.000Z
2019-02-15T09:39:22.000Z
lib/plug_ets_cache/store.ex
andreapavoni/phoenix_ets_cache
610a686df57f09107cd213c02c6c883b1d5e4c82
[ "MIT" ]
9
2017-05-05T15:11:58.000Z
2021-04-09T09:16:41.000Z
defmodule PlugEtsCache.Store do @moduledoc """ This module contains functions to get/set cached responses. Example usage: conn = %Plug.Conn{request_path: "/test", query_string: ""} PlugEtsCache.Store.set(conn, "text/plain", "Hello cache") PlugEtsCache.Store.get(conn) # %{type: "text/plain", v...
29.373134
117
0.659045
1d327be0e31bc1bf0ae1ce3e71dc76f61e81c852
85
exs
Elixir
test/test_helper.exs
jbosse/crux_rest
d99fff0d39efc4574504084b62fb57ef27d748bc
[ "MIT" ]
6
2018-05-22T07:13:48.000Z
2021-05-04T14:10:11.000Z
test/test_helper.exs
jbosse/crux_rest
d99fff0d39efc4574504084b62fb57ef27d748bc
[ "MIT" ]
1
2021-05-05T17:02:36.000Z
2021-05-05T21:10:54.000Z
test/test_helper.exs
jbosse/crux_rest
d99fff0d39efc4574504084b62fb57ef27d748bc
[ "MIT" ]
1
2021-05-04T14:10:14.000Z
2021-05-04T14:10:14.000Z
Mox.defmock(Crux.Rest.HTTPMock, for: Crux.Rest.HTTP) ExUnit.start(capture_log: true)
28.333333
52
0.788235
1d32841a1b0724cd2bca369302be13ca1a18c4cf
450
exs
Elixir
apps/podder_web/test/podder_web/views/error_view_test.exs
chattes/podder_umbrella
a2662a21a067fd3f0cd02b98cb63afd958c895db
[ "MIT" ]
null
null
null
apps/podder_web/test/podder_web/views/error_view_test.exs
chattes/podder_umbrella
a2662a21a067fd3f0cd02b98cb63afd958c895db
[ "MIT" ]
null
null
null
apps/podder_web/test/podder_web/views/error_view_test.exs
chattes/podder_umbrella
a2662a21a067fd3f0cd02b98cb63afd958c895db
[ "MIT" ]
null
null
null
defmodule PodderWeb.ErrorViewTest do use PodderWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(PodderWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.json" ...
28.125
91
0.68
1d328cae2064d4677d1a880ec73d28bc635c7f04
4,009
exs
Elixir
test/fwatch_test.exs
ryo33/fwatch-ex
2be9d0ca79ef5b0da22bb5196ffe53700b855a4f
[ "MIT" ]
6
2016-02-21T20:28:37.000Z
2019-08-28T01:03:52.000Z
test/fwatch_test.exs
ryo33/fwatch-ex
2be9d0ca79ef5b0da22bb5196ffe53700b855a4f
[ "MIT" ]
2
2016-02-22T11:04:49.000Z
2016-11-19T12:31:02.000Z
test/fwatch_test.exs
ryo33/fwatch-ex
2be9d0ca79ef5b0da22bb5196ffe53700b855a4f
[ "MIT" ]
null
null
null
defmodule FwatchTest do use ExUnit.Case doctest Fwatch setup do pid = Process.whereis(:fwatch) {:ok, agent} = Agent.start_link(fn -> [] end) {:ok, pid: pid, agent: agent} end defp send_file_event(pid, path, agent) do send pid, {self(), {:fs, :file_event}, {to_char_list(path), :created}} ...
33.132231
75
0.576453
1d32a804922bfae7b85310f7aa28885ad37309d0
425
ex
Elixir
lib/hl7/2.5.1/segments/sft.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/sft.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/sft.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.SFT do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, software_vendor_organization: DataTypes.Xon, software_certified_version_or_release_number: nil, software_product_name: nil, software_bina...
23.611111
56
0.724706
1d32e3ce0d65dbdb15482507ae7b99b7951bec63
55
ex
Elixir
demo/lib/demo_web/views/page_view.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
40
2017-09-07T03:25:23.000Z
2022-02-27T04:47:14.000Z
demo/lib/demo_web/views/page_view.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
7
2017-09-06T23:56:36.000Z
2019-09-06T09:49:16.000Z
demo/lib/demo_web/views/page_view.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
15
2017-09-29T09:16:11.000Z
2022-01-19T22:48:14.000Z
defmodule DemoWeb.PageView do use DemoWeb, :view end
13.75
29
0.781818
1d3315c5f289ba4113ba8d6325096761db6d07dd
2,597
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.1
245
0.766269
1d331e65bc2a5c53061e3eb00eecf1657c9a31a4
1,670
ex
Elixir
lib/retrospectivex/retrospectives/managers/card.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex/retrospectives/managers/card.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex/retrospectives/managers/card.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule Retrospectivex.Retrospectives.Managers.Card do import Ecto.Query, warn: false alias Retrospectivex.Repo alias Retrospectivex.Retrospectives.Schemas.Card @doc """ Returns the list of cards. ## Examples iex> list_cards() [%Card{}, ...] """ def list_cards do Repo.all(Card) ...
16.534653
59
0.578443
1d332132eedb6bc8b7e3b4f09e37c1e15c72a5b6
2,149
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/deserializer.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...
35.816667
139
0.687762
1d3342a5b61564e1a0a271ac83662f25c218279a
249
ex
Elixir
engine/lib/engine.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
null
null
null
engine/lib/engine.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
9
2018-06-30T09:51:19.000Z
2018-07-03T13:14:47.000Z
engine/lib/engine.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
null
null
null
defmodule Engine do @moduledoc """ Engine keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.9
66
0.751004
1d335679a358210d17a83955d7f735eca462ce63
188
exs
Elixir
apps/uniflow_web/test/uniflow_web/controllers/page_controller_test.exs
andyl/uniflow
049050d2e41b8242bb1e6c543d715caa0d0e7f02
[ "MIT" ]
null
null
null
apps/uniflow_web/test/uniflow_web/controllers/page_controller_test.exs
andyl/uniflow
049050d2e41b8242bb1e6c543d715caa0d0e7f02
[ "MIT" ]
9
2021-05-10T18:31:22.000Z
2021-05-27T12:57:20.000Z
apps/uniflow_web/test/uniflow_web/controllers/page_controller_test.exs
andyl/uniflow
049050d2e41b8242bb1e6c543d715caa0d0e7f02
[ "MIT" ]
null
null
null
defmodule UniflowWeb.PageControllerTest do use UniflowWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Uniflow" end end
20.888889
48
0.675532
1d3361a664e8387fcc4bc46f94b413be306ced6e
771
ex
Elixir
hiyoko/test/support/channel_case.ex
rykawamu/phoenix_liveview_template
4a8c354d927aeedfc31acd8e71b3900e762f987f
[ "MIT" ]
null
null
null
hiyoko/test/support/channel_case.ex
rykawamu/phoenix_liveview_template
4a8c354d927aeedfc31acd8e71b3900e762f987f
[ "MIT" ]
1
2019-09-11T14:22:29.000Z
2019-09-11T14:22:29.000Z
hiyoko/test/support/channel_case.ex
rykawamu/phoenix_liveview_practice_01
e30ab2304473a995a3b36335ceb212a9bbed012f
[ "MIT" ]
null
null
null
defmodule HiyokoWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wi...
24.09375
59
0.726329
1d336f35d5b350af8cd80a2be43bd798fa4c6efa
49
exs
Elixir
test/veml6030_test.exs
groxio-learning/veml6080
e5f68d74753a7d178c6a28ff818a077c058c6860
[ "MIT" ]
null
null
null
test/veml6030_test.exs
groxio-learning/veml6080
e5f68d74753a7d178c6a28ff818a077c058c6860
[ "MIT" ]
null
null
null
test/veml6030_test.exs
groxio-learning/veml6080
e5f68d74753a7d178c6a28ff818a077c058c6860
[ "MIT" ]
null
null
null
defmodule VEML6030Test do use ExUnit.Case end
9.8
25
0.795918
1d33a11faf9f0ab4a01fdfebf2aa4bc651f52a0c
3,435
exs
Elixir
test/bodyguard/plug_test.exs
lpotepa/bodyguard
22202bdf76bcacb0bddffd469d31075329800b86
[ "MIT" ]
null
null
null
test/bodyguard/plug_test.exs
lpotepa/bodyguard
22202bdf76bcacb0bddffd469d31075329800b86
[ "MIT" ]
null
null
null
test/bodyguard/plug_test.exs
lpotepa/bodyguard
22202bdf76bcacb0bddffd469d31075329800b86
[ "MIT" ]
null
null
null
defmodule PlugTest do use ExUnit.Case, async: true import Bodyguard.Action alias Bodyguard.Action setup do conn = Plug.Test.conn(:get, "/") allow_user = %TestContext.User{allow: true} deny_user = %TestContext.User{allow: false} {:ok, conn: conn, allow_user: allow_user, deny_user: deny_user} e...
28.155738
101
0.661135
1d340d211feec069c1066ecb6c395507b344c45f
353
ex
Elixir
lib/ds_wrapper/mutation_store.ex
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
lib/ds_wrapper/mutation_store.ex
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
lib/ds_wrapper/mutation_store.ex
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
defmodule DsWrapper.MutationStore do @moduledoc false use Agent def start_link do Agent.start_link(fn -> [] end) end def put(pid, mutations) do Agent.update(pid, &(&1 ++ mutations)) end def get_all(pid) do Agent.get(pid, & &1) end def stop(pid) do if Process.alive?(pid) do A...
14.708333
41
0.628895
1d340fd4a953cd692450c2dfeda76438d5c960b2
20,354
ex
Elixir
lib/elixir/lib/task.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Task do @moduledoc """ Conveniences for spawning and awaiting tasks. Tasks are processes meant to execute one particular action throughout their life-cycle, often with little or no communication with other processes. The most common use case for tasks is to convert sequential code into concurrent...
33.422003
101
0.671907
1d3432ef4f8cce1c2727ed1c06b5817e57911f86
99
exs
Elixir
test/views/layout_view_test.exs
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
1
2015-10-05T20:58:46.000Z
2015-10-05T20:58:46.000Z
test/views/layout_view_test.exs
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
defmodule PhoenixDokkuExample.LayoutViewTest do use PhoenixDokkuExample.ConnCase, async: true end
33
47
0.868687
1d3442365a741447cc5724af70c9f9247dc88f2c
3,063
exs
Elixir
packages/api/config/runtime.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
1
2022-02-10T20:08:10.000Z
2022-02-10T20:08:10.000Z
packages/api/config/runtime.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
packages/api/config/runtime.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.2875
82
0.695397
1d34660fc47a2630e042a69366da512cee872ff5
904
ex
Elixir
web/models/user.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/models/user.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/models/user.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.User do use FutureCyborg.Web, :model import Comeonin.Bcrypt, only: [hashpwsalt: 1] schema "users" do field :username, :string field :password, :string field :email, :string has_many :videos, FutureCyborg.Post has_many :shopping_lists, FutureCyborg.ShoppingList time...
25.111111
61
0.71792
1d346f6aeef37ddfe2cb588ca3b00e8e8a4c6124
715
exs
Elixir
test/api/operator/add_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
test/api/operator/add_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
test/api/operator/add_test.exs
emeric-martineau/cloud_stack_lang
50c9164c06b2a683d3de84c493aaddd3e55de8b8
[ "Apache-2.0" ]
null
null
null
# # Copyright 2020 Cloud Stack Lang Contributors # # 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 ag...
35.75
74
0.772028
1d349c75f2bcc435d66c2ecabf291bf1b58ba61d
1,479
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_advance_test_order_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_advance_test_order_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/orders_advance_test_order_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.468085
161
0.747126
1d34a2c2c3adceaf103848de6c6e4ff5e33d4444
237
ex
Elixir
lib/bip39/words_list.ex
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
lib/bip39/words_list.ex
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
lib/bip39/words_list.ex
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
defmodule Bip39.WordsList do defmacro __using__(_) do quote do import unquote(__MODULE__) end end defmacro defwords(words) do quote do @words unquote(words) def words(), do: @words end end end
14.8125
32
0.64135
1d34a8987b144b5c4b4605d410e6b3f35d7a2125
307
ex
Elixir
lib/vex/exceptions.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
560
2015-01-12T00:07:27.000Z
2022-02-07T03:21:44.000Z
lib/vex/exceptions.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
55
2015-02-16T18:59:57.000Z
2021-12-23T12:34:25.000Z
lib/vex/exceptions.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
63
2015-02-12T03:49:50.000Z
2021-12-12T00:11:01.000Z
defmodule Vex.InvalidValidatorError do defexception file: nil, line: nil, validator: nil, sources: [] def message(exception) do "#{Exception.format_file_line(exception.file, exception.line)}validator #{ inspect(exception.validator) } from sources #{inspect(exception.sources)}" end end
30.7
78
0.736156
1d34b37bb704bc077aa6a4d3666cbd3d1934e564
10,367
ex
Elixir
lib/central_web/controllers/account/group_controller.ex
Teifion/teiserver
131e002160e1e948cb55e56d62370ba66a972cba
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central_web/controllers/account/group_controller.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
lib/central_web/controllers/account/group_controller.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule CentralWeb.Account.GroupController do use CentralWeb, :controller alias Central.Account alias Central.Account.GroupTypeLib plug :add_breadcrumb, name: 'Account', url: '/account' plug :add_breadcrumb, name: 'Groups', url: '/account/groups' def index(conn, params) do groups = Account.li...
32.911111
94
0.623903